Kyma Forum
  Tips & Techniques
  Simple script problem

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

next newest topic | next oldest topic
Author Topic:   Simple script problem
ChristianSchloesser
Member
posted 08 February 2013 14:10         Edit/Delete Message   Reply w/Quote

BBDelay_Script_Problem.kym

 
Hello,
i tried to create a script for a "Bouncing Ball" Delay.
Somehow i got stuck and could not figure out how to send each output of the individual delay taps to the same mixer.
I attached a sound with the example how i would like the structure created by a script(BouncingBallDelayExpandedAdnFixedByHand) and my efforts so far(BouncingBallDelayScript).
Any help is appreciated.

Have a nice weekend!
Chris

IP: Logged

SSC
Administrator
posted 08 February 2013 15:20         Edit/Delete Message   Reply w/Quote
An alternative approach to obtaining the same result might be to use a Replicator:

* Take GenericSource live and feed it into Bounce (a DelayWithFeedback)
* Set Bounce's DelayScale to: (1/ ?VoiceNumber)*!DelayScale
* In the Replicator, set Number to 8 and put !DelayScale in DoNotChange

This gives you 8 delays, each with a different feedback control. If you would like a single, shared feedback control, just add !Feedback to the DoNotChange field of the Replicator.

[This message has been edited by SSC (edited 08 February 2013).]

IP: Logged

ChristianSchloesser
Member
posted 09 February 2013 06:39         Edit/Delete Message   Reply w/Quote
quote:
Originally posted by SSC:
An alternative approach to obtaining the same result might be to use a Replicator:

thank you SSC.
Hi again.
I choose this example especially to learn more about "Building" sounds with "scripts".
And i could not figure out how to create this kind of routing with a "script".
The main idea is that one output of a delay feeds the input of the next.
So i could later put some modules in-between.
It would be very interesting to see how to build such routings as in the first sound with a script.
I use the replicator allot and it is great but for some sounds i get strange results. Especially if i use a replicated sound based on lots of ?VoiceNumber and ?NumberVoices variables and i then want to create more instances of it for example with the MIDIVoice.
Also i don see yet how i could replicate in "series" feeding one module into another.

Thanks for your help and lots of greetings
Chris

[This message has been edited by ChristianSchloesser (edited 09 February 2013).]

IP: Logged

SSC
Administrator
posted 09 February 2013 15:01         Edit/Delete Message   Reply w/Quote
Hi Chris,

Sorry I missed the part about each delay feeding the next. Your last Sound does exactly what you describe: eight delay lines in series and the output of each tap added to the mixer. When it explodes, it looks like there are 8 chains of delays, but Kyma recognizes this and the identical modules will be shared when it is actually scheduled on the processor. Cool sound!

IP: Logged

ChristianSchloesser
Member
posted 09 February 2013 15:14         Edit/Delete Message   Reply w/Quote
quote:
Originally posted by SSC:
....Kyma recognizes this and the identical modules will be shared when it is actually scheduled on the processor.

Thats amazing!

Feel free to use the sound as an script example...

Just some questions about scripted structures:

Is there any more elegant way in creating the above structure further more in smalltalk?
Does the message "addSound:" works for other inputs then the script it "self" too?
Can i use a SoundCollectionVariable in scripts too ?
(It would be nice to send several sounds(or an array of sounds)to the same mixer input)

All the best
Chris


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