Kyma Forum
  Tips & Techniques
  Feature request: better handling of unique memory names in encapsulated sounds

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

next newest topic | next oldest topic
Author Topic:   Feature request: better handling of unique memory names in encapsulated sounds
SeanFlannery
Member
posted 16 November 2014 18:50         Edit/Delete Message   Reply w/Quote
One issue I find frustrating in Kyma is around the using of unique names for reserved memory in encapsulated sounds.

I completely understand why a uniquely named piece of memory needs to be used but when a sound containing uniquely named memory is encapsulated and then duplicated (in a timeline or another sound) errors occur because of conflicts with named memory duplicates.

This ruins the benefits of encapsulation because to fix it you need to 'unencapsulate' the sound then track down and fix the duplicate names which is often a time consuming process that results in a much more complex sound.

It would be great if the encapsulation process could somehow manage named memory such that multiple copies of an encapsulated sound could be used easily.

Regards,
Sean

IP: Logged

gustl
Member
posted 17 November 2014 12:03         Edit/Delete Message   Reply w/Quote
+1

IP: Logged

ChristianSchloesser
Member
posted 17 November 2014 12:48         Edit/Delete Message   Reply w/Quote
Hello,
you can easily use an extra field with an assigned green variable when you encapsulate the sound. Then you will also have the benefit to assign or share them later.
For a sounds with encapsulated memory-writer i always preferred to create extra fields which i call for example "MemoryName" which uses a greenVariable (for example ?mySampleName1) which is used in the encapsulated sound anywhere it is needed to replace the name of the sample .(memorywriter - samplePlayer pair etc.) don't forget to click "from Memory Writer" when you point to this greenVariable. Of course you will have to give a unique value in this field for every instance of your encapsulated sound but you don't have to change the encapsulated sound "inside" anymore.
An internal automatic assigned namespace for memoryWrites would make it impossible to read from the memory-writer of the encapsulated sound and would not make it very re-usable in a Kyma kind of way.
When you supply the example value for the new class from example function don't forget to put single quotes around the string like:
'mySampleName'.


All the best
Chris

p.s.: I am not in front of my Kyma... but when i remember correctly for delay-lines "Private" or private... does the job.
Of course this does not make sense for a memory write because we want to "read" from it somewhere in our sounds.

[This message has been edited by ChristianSchloesser (edited 17 November 2014).]

IP: Logged

gustl
Member
posted 17 November 2014 14:13         Edit/Delete Message   Reply w/Quote
That's great! Thanks

IP: Logged

ChristianSchloesser
Member
posted 17 November 2014 16:18         Edit/Delete Message   Reply w/Quote
Here just another Tip regarding the use of MemoryWriters and encapsulation:

Very usefull for encapsulation of sounds with MemoryWriters is the ParameterTransformer Prototype. It allows you to access the boolean parameters of a MemoryWriter, Sample Prototype and others with a ?greenVariable (silent, global, cyclic, reverse etc.)

for example:
snd silent isNil ifFalse: [snd silent: snd ?silent].

Somehow i remember that they have to be lowercase in the ParameterTransformer script, although they are named with Uppercase names in the prototype description.

While you create the "new class from example" give a corresponding boolean value as a default -> true or false. In the class editor you declare it as a boolean.
And in the interface it will appear as the typical field with a cross to toggle.

All the best
Chris

IP: Logged

SeanFlannery
Member
posted 17 November 2014 20:03         Edit/Delete Message   Reply w/Quote
Thanks Christian, you've given me some investigation to do

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