Adding FX to Synths

Hi,
newbie here. How do I add an FX chain to a synth in a loop? I’ve got the following, and I keep getting errors on line 3 or 4 as I keep trying to figure out why it won’t run. Is this a syntax error on my part or is it not possible to run a synth and add fx to it?

loop do
  use_synth :growl
  with_fx: Wobble do
    with_fx: Compressor do
      play :Gs3, attack: 0.25, sustain: 0.1, decay: 0.1, release: 0.1
      sleep 0.25
      play :Fs3, attack: 0.25, sustain: 0.1, decay: 0.1, release: 0.1
      sleep 0.25
      play :A3, attack: 0.25, sustain: 0.1, decay: 0.1, release: 0.1
      sleep 0.25
      play :B3, attack: 0.25, sustain: 0.1, decay: 0.1, release: 0.1
      sleep 0.5
      
    end
  end
end

Hi mate,

When you type ‘with_fx’, make the next character a space,
and it should bring up a list of the FX’s… then choose the
one you want. So your code should look like this, and it’s
quite an interesting sound too.

Eli…

loop do
  use_synth :growl
  with_fx :wobble do
    with_fx :compressor do
      play :Gs3, attack: 0.25, sustain: 0.1, decay: 0.1, release: 0.1
      sleep 0.25
      play :Fs3, attack: 0.25, sustain: 0.1, decay: 0.1, release: 0.1
      sleep 0.25
      play :A3, attack: 0.25, sustain: 0.1, decay: 0.1, release: 0.1
      sleep 0.25
      play :B3, attack: 0.25, sustain: 0.1, decay: 0.1, release: 0.1
      sleep 0.5
    end
  end
end
1 Like

Hey thanks!
That’s such a silly mistake on my part. :man_facepalming:
Thanks so much!

1 Like

Its easily done… I’ve sat there for hours some nights, because of a
forgotten , or other simple thing. Damned if I could see it even though
SP was giving me the line number :slight_smile:

Eli…

1 Like