Kyma Forum
  Kyma Support
  Using Script-based Sound in Timeline

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

next newest topic | next oldest topic
Author Topic:   Using Script-based Sound in Timeline
Theo_Lipfert
Member
posted 07 July 2010 12:16         Edit/Delete Message   Reply w/Quote
Sorry if this is obvious...

I downloaded a Sound called "randomlyselectandplayentiresample.kym" from the Tweaki. It does exactly what I want -- plays samples from a folder I specify in random order without cutting off the playback.

My question: what do I need to do in order to use this in a timeline? I have tried "compile to disk" and that creates a "compiled sound file" that plays, but is not able to be dragged to my timeline, nor opened by Kyma.

Do I need to substitute actual file names and directories for the variables in the script?

Any help in pointing me in the right direction greatly appreciated.

Thanks!
Theo

IP: Logged

SSC
Administrator
posted 07 July 2010 14:18         Edit/Delete Message   Reply w/Quote
Hi Theo,

If you know which folder you'd like to use, a workaround for now would be:

* In the Multisample, replace the ?filesInSameFolder with:

code:

{ | fileName |
fileName := 'aou-carla.aif'.

fileName fileNamesOfSameTypeInSameFolder}


* In the Script, replace the code that opens the File dialog to ask you for a file and assigns it to the variable FileName with:

code:

fileName := 'aou-carla.aif'.

You shouldn't have to do this with most scripts, but the Timeline is asking this one for how many output channels it has before the variables have been bound to actual values. We will try to fix this for next time. In the meantime, that workaround plays nicely with the Script (and has the advantageous side-effect of not asking you to locate the file all the time!


IP: Logged

Theo_Lipfert
Member
posted 08 July 2010 14:19         Edit/Delete Message   Reply w/Quote
Thanks! That did the trick. I appreciate the help, as always.

Theo


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