bang when starting to play

Thinksamuel's icon

I am using the bpatcher to control the sound source (demosound) where you can choose tom an audio file, ADC, oscillator or noise. I would like to have a bang when I start playing a file but I cannot figure out how. Any ideas on how to do this?

MIB's icon

at some point you'll need to send a "play" message or similar to something in your patch to get it going. simply insert a [trigger bang symbol] object. Send the "play" message on to wherever, and get a bang next out the trigger... if you send a patch it would be easier to show as well...

nonlocality's icon

you'd have to edit the demosound abstraction itself. open it up and look for the sfplay~ object, and give yourself an inlet. the demosound abstraction uses a playbar, but you can bypass that and use your own play message hooked up in the way that MIB described.

that said, if you're only playing sound files and don't need the oscillator/adc options of the demosound, then it'd be much faster to make an sfplay~ rigging of your own

Karen Brown's icon

I can't seem to open up demosound to edit it. Any advice?

If it's impossible, what is demo sound doing to accomplish its pulses in oscillator mode? I can't seem to replicate the effect.

Thanks