Right im wondering if its possible to play an audio file, and at certain points in the file trigger a light to glow.
help please.
Lights with audio
Right im wondering if its possible to play an audio file, and at certain points in the file trigger a light to glow.
help please.
Sure it's possible: this would trigger the light at 3 seconds into the audio.
[bang(
|
[t b b]/[delay 3000]
| |
[pd play-audio] [pd trigger-light]
Look at [readsf~] for playing audio files. If you need to analyze the audio instead of waiting for some time(s), then look at [bonk~] [fiddle~] and the aubio library.
To trigger an external physical light, you might need some additional hardware like arduino or dmx or something else, but you could prototype with Gem or other video library or even just inbuilt GUI elements like [tgl] to get a visual indication of the output.
I'm new to pd and I just wanted to find a way to access audio files and jpg files simultaneously. Nothing I've done seems to work. I'd really appreciate some elp with a patch.
have a look in the browser (help menu)
Dual 1.8 IBM G5: Mac OSX 10.4.11 -- Asus eeePC 701: Pure:Dyne / eeeXubuntu GNU/Linux -- myspace.com/thearifd
Oops! Looks like something went wrong!