Kyma Forum
  Tips & Techniques
  Batch Capturing to Disk

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   Batch Capturing to Disk
speedo
Member
posted 19 May 2014 09:12         Edit/Delete Message   Reply w/Quote
Hello,

I was hoping someone could point me in the right direction with this. I have a sound that mixes 6 different sound "branches". I want to:

1) record each "branch" separately to disk (i assume by putting a DiskRecorder on each one)

2) I have a "!osc_trig" event being sent from max that sends a "gate" to begin recording - each should fire the recordings for 40 seconds.

3) I also have a OSC object with some text that I want to use to name the file (e.g. "Event1-Thursday July 8th 2010").

4) The name of the sound needs to have the event name with the sound "branch" appended.
(e.g. Event1-Thursday July 8th 2010 - WeirdSound1, Event1-Thursday July 8th 2010 - WeirdSound2, etc..)


Are there any prototypes that I should look at to get started? I think the big challenge for me is how to label the file according to an OSC message. I'm not even sure this can be done, can it? I have no idea how to access OSC from a script.

Thanks!

IP: Logged

SSC
Administrator
posted 19 May 2014 14:55         Edit/Delete Message   Reply w/Quote
Hi Speedo,

Is the intention to be able to record an arbitrary number of times and to also play back? If so, then it might be easier to use MemoryWriter and write the samples into RAM instead of to disk.

IP: Logged

speedo
Member
posted 19 May 2014 15:52         Edit/Delete Message   Reply w/Quote
No, not to play back. I will be post processing the files outside of Kyma.

IP: Logged

SSC
Administrator
posted 19 May 2014 17:13         Edit/Delete Message   Reply w/Quote
Maybe you could do this the other way round. Have Kyma send triggers to Max (for example, you could use MIDIOutputEvent to have Kyma send a keyDown to Max) and let Kyma do the recording and file naming.

For example, take a look at "batch record Sounds to disk files" in Kyma:Kyma Sound Library:Scripts:Scripts.kym for some ideas on how to do the recording and algorithmic file-naming.

IP: Logged

speedo
Member
posted 20 May 2014 08:31         Edit/Delete Message   Reply w/Quote
Thanks. I ended up just patching 6 DiskRecorders in parallel with a master trigger switch. Although it's not as automated as I (and my laziness) originally envisioned, it works nonetheless.

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply

Contact Us | Symbolic Sound Home

This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.


Ultimate Bulletin Board 5.45c