Kyma Forum
  Kyma Support
  small talk syntax for appending to filenames

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

next newest topic | next oldest topic
Author Topic:   small talk syntax for appending to filenames
cristian_vogel
Member
posted 11 July 2008 05:48         Edit/Delete Message   Reply w/Quote
Hi

I am building a sound that uses the Duplicator

I would like to load the samplefile according to voicenumber.

So I just want to check - what is the syntax ? something along the lines of

'Filename' + ?VoiceNumber to append the voicenumber to the filename which sample loads in?

IP: Logged

cristian_vogel
Member
posted 11 July 2008 06:00         Edit/Delete Message   Reply w/Quote
it would be


('FilenamePrefix' & ?VoiceNumber )

this would give you full sample looping options on multisample when using duplicator

IP: Logged

cristian_vogel
Member
posted 11 July 2008 06:20         Edit/Delete Message   Reply w/Quote
here's my script


code:

| file sampleNumber |

sampleNumber := ('EMS_Filt1' sampleFileNamesInSameFolder) size.
file :=('EMS_Filt' & ((?VoiceNumber mod: sampleNumber) + 1)).
sampl start: 0 s filename: file.


in my example, I sequentially renamed 16 files in one directory , starting with EMS_Filt1

then used the variable ?filename in the filename field of a SampleWithRandomLoop sound... nice result, have a listen!
http://www.no-future.com/siteimages/BCrevs-1.mp3



IP: Logged

SSC
Administrator
posted 11 July 2008 08:27         Edit/Delete Message   Reply w/Quote
Nice! Sounds almost orchestral...

IP: Logged

Mango
Member
posted 11 July 2008 11:52         Edit/Delete Message   Reply w/Quote
Sounds beautiful !

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