Connecting LED to Audio Effect (then randomizing LED)


#1

I am attempting to connect LEDs to different audio effects.
I have a breadboard with LEDs connected to PA0-PA3.
I'd like to have them triggered randomly.
I would then like to have each LED correspond with a different audio effect.
In the picture I have the way in which I've been making LEDs light up, and also, a basic distortion patch. How could I connect them?

Additionally, if anyone has information on how to randomly trigger the On/Off of an LED, that would also be helpful.

(Yes, I am new at all of this, so I'm sorry if this is obvious!)

Thanks!,
Aaron


#2

Have you tried any of the objects that offer random options ?
Search through the Factory and community contrib library, there might be something there you can use.


#3

awesome, will check now. any ideas on how to connect the on/off of the LED to the effect itself?


#4

Your original post to connect an LED to a distortion patch, can you explain what you want the LED to show ? Do you just want it to show that you have switched the distortion effect on, or something with a lot more involved ?


#5

I'm hoping to to just have it show when distortion is on, and then randomize when distortion is on (with some parameters). That way the musician can respond to the color of the LED and the effect will be synced with that color.
Does that make sense?

So yeah, if I just connect the LED to show when distortion is on, I can randomize when distortion is on separately and the LED will already be linked. (I think...? haha)

Thanks for your help!


#6

So I also see in your original patch, that you have an LFO connected to your digital out so this will switch your LED on when it is above zero, and off when it is below zero, so if you connect the LFO to your Mux/Mux2 object instead of the radio 4 object, the LFO will switch your distortion on and off and the LED should light up at the same time.
Then when you have chosen your means of a random trigger, just replace the LFO with your random trigger, and it should work the same. However if your random trigger is just a pulse, you will want to find a way of it staying on longer so the effect can be applied.
:wink:


#7

awesome, i think i'm getting somewhere! I really appreciate your help! I'm going to play around with it today and then I might have more questions. :blush: