• taflon

    Hey, new to the forums, and pretty new to puredata.

    Came on to ask a quick question about switching.

    Basically i'm making guitar pedal that switches between different effect patches in puredata by using a momentary footswitch for each effect. I want to get it so that each effect can be toggled on and off via it's footswitch, and only one effect is on at a time (ie selecting effect 1 when effect 2 is on, switches effect 2 out of the signal path, and effect 1 into it). When no effects are on, adc should connect straight to dac.

    I have each of the effects as abstractions (one two and three) in the main code, and im using pduino to interface with the arduino.

    I can get a numerical 1/0 output into pd from the footswitches on the arduino, but im not sure where to go from there to get the patches to latch on and off.

    Any help would be greatly appreciated

    Thanks
    Richard

    posted in technical issues read more
  • taflon

    Ahh, grerat :)

    I'll try it with the arduino and switches later on and let you know how i go :D

    posted in technical issues read more
  • taflon

    Yeah kind of, so i can toggle between effects as well as toggle them on/off when no effect is wanted. :)

    Can you explain the patch you attatched please? I see how selecting the input works, but can't seem to toggle back off again.

    The footswitches i'm using are non-latching btw, don't know if this information makes a difference.

    Thanks to both of you for your replies :)

    posted in technical issues read more
  • taflon

    I got the switching working really nicely with the abstractions by using the [== x] to trigger a [spigot~]. Still cant figure out how to get it to switch off again on a second button press.

    I've set a bypass line up ([adc~] straight to [dac#]) on [== 0], i was thinking if i could get the [sel 1] to bang a [0( if the value on the line is already equal to [x(, then it would work, but i end up just confusing myself! :P Think i may be in over my head with this bit haha.

    posted in technical issues read more
  • taflon

    Just tried it using toggle boxes, switching works fine doing it this way, just need to figure out how to turn it back off again.

    Also, how do i use this to actually trigger the effect. I've seen [*~] and [spigot~] used. Would that work when triggered by the [== x] object?

    posted in technical issues read more
  • taflon

    You my friend are a lifesaver!

    Is there a way to turn an effect back off as well i.e. by pressing the same switch twice?

    With all the methods i've been trying so far, the output from [sel 1] seems quite unreliable - it doesn't always work. Is this normal?

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!