Synth Overhead Comparison

Is there a listing of the comparative computer
overhead of the synthesizers ?
I.E…Some pieces will play fine with :piano
but grable with :pretty_bell , playing the same
part …

Not sure anyone has done that level of research… too busy making music.

Eli…

Do you ever have gross distortion ?
( not the groovy fuzz tone kind )
’ PLUCK ’ seems an offender ?

@hitsware - it may be worth providing a sample of the code you are running when you observe the unusual behaviour? (the smallest amount that seems to cause the issue)

1 Like

Occasionally, yes… at which point I usually check my code, and reposition the ‘with_fx’ commands, which clears up a lot of problems.

Consider the following… I’m told the 2nd example has a higher CPU cost, because every time the loop is called, it creates a new with_fx… and I have found in practise that restructuring my code like this does in fact clear up the distortion.

Eli…

use_synth :pluck

define :ch do |note,type,dur=0.25|
  use_synth_defaults detune: 0.01 #play with the detune parameter
  play note,sustain: dur*8*0.9,release: dur*4*0.1
  
  [0,1,2,3,3,2,1,0].shuffle.each do |i| #change to [0,1,2,3,3,2,1,0].shuffle.each
    #next line try type,2 as well as type,3
    play_chord (chord_degree 1, note, type, 2, invert: i),sustain: dur*0.9,release: dur*0.1
    sleep dur
  end
end

with_fx :reverb do
  with_fx :flanger do
    
    live_loop :progressions do
      d=0.4 #arpeggio note duration
      plist=[:c3,:g3,:a3,:e3,:f3,:c3,:g3,:g2]
      typelist=[:major,:major,:minor,:minor,:major,:major,:major,:major,:major]
      plist.zip(typelist).each do |p,type|
        ch(p,type,d)
      end
    end  
  
  end
end
live_loop :progressions do
  
  with_fx :reverb do
    with_fx :flanger do
      
      d=0.4
      plist=[:c3,:g3,:a3,:e3,:f3,:c3,:g3,:g2]
      typelist=[:major,:major,:minor,:minor,:major,:major,:major,:major,:major]
      plist.zip(typelist).each do |p,type|
        ch(p,type,d)
      end
    end
  end

end
1 Like

Thank You ( s )
Can’t recreate problem this morning :blush:

# pluck is O.K.
# When I switch to pretty_bell I get
# distortion after a short time.

#use_synth :pluck
use_synth :pretty_bell

loop do
  play rand_i(60)+36, amp: 0
  play rand_i(60)+36, amp: 0
  play 45
  sleep 0.1
end