[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] automated buffer -- How's that get in there?!?



Hi all,
     I'm currently working on an installation piece that must have a recording-to-buffer and read-back-at-certain-intervals component.  I want to set up a series of folders or stages where I

1) record a soundfile (A) into folder or "stage" 1 (possibly just a buffer)

2) that soundfile (A) is then "detected" by a SynthDef which loads it into a buffer and plays it through a filter. (unless already in a buffer)

3) as (A) is played through the filter, it is recorded and sent to folder/"stage" 2.  (The first buffer would be closed to be reused.)

4) another Synthdef takes this prcessed soundfile and filters it again according to the above algorithm and writes the now twice processed soundfile to a third stage, and so on.

I have a good idea how to set up most of this, at least in theory, except for the "detection" bit.  Basically, the SynthDef would run, looking for a soundfile at certain interval periods until it finds one, then goes through the above series of actions.  I'm just not sure how to go about placing and detecting of the soundfile.

Anyone have any ideas?  I'm trying to make this as automated as possible, where all I would have to do was record the soundfile to the correct folder or buffer and start the chain of processing.  Even writing the soundfile directly to a buffer, though, I'm not sure how I would "drop it into" a preexisting Synth...

...does this make any sense?

I can think of ways to script something like this in bash... just pointing at a folder and listing actions at intervals, but have no idea how to impliment it in SC.

All help and comments are, as always, very much appreciated.  

Thanks

-SP(e)

View this message in context: automated buffer -- How's that get in there?!?
Sent from the Supercollider - User forum at Nabble.com.