Kyma Forum
  Kyma Support
  Small Talk question: Sending Variables to multiple sounds

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

next newest topic | next oldest topic
Author Topic:   Small Talk question: Sending Variables to multiple sounds
cristian_vogel
Member
posted 17 January 2007 08:49         Edit/Delete Message   Reply w/Quote
Hi - me again

so in my continued research into power-arrays - I have been working on building the arrays in a script and then sending them to different Sequencer Sounds - but I have come up against a compiler error, and I have some questions.

here's a section of the code ( the variables and arrays have all been defined further up the script)


SeqL7 start: 0 s
durations: (1 to: (L7_size) collect: [ :a | (L7_dur at: a) s])
frequencies: (1 to: (L7_size) collect: [ :b | (L7_freq at: b) hz])
size: L7_size.


SeqL3 start: 0 s
durations: (1 to: (L3_size) collect: [ :c | (L3_dur at: c) s])
frequencies: (1 to: (L3_size) collect: [ :d | (L3_freq at: d) hz])
size: L3_size.

It gives me a weird error - like the value of an integer is not understood by another receiver... So I wondered, is it possible to send messages to different sounds from the same script? Should I be making new variable names for the different sounds or how does it work?



IP: Logged

SSC
Administrator
posted 17 January 2007 11:39         Edit/Delete Message   Reply w/Quote
No problem sending values to more than one Sound in a Script.

What are the values of the the arrays and variables (e.g. L7_size)?

And what was the error message you saw?

IP: Logged

cristian_vogel
Member
posted 18 January 2007 07:33         Edit/Delete Message   Reply w/Quote
L7_size was 577 - its a very big collection..

the error was along the lines of SeqL3 ( which is a sound object ) receiving the message 577 ( which appears to be the value of L7_size ) was not understood.... I am not at the studio at the moment, I'll be there shortly and can upload the sound... there's other issues with it too... it seems I cannot add any hot values to the 8 sequencers, because the Capy runs out of RAM ? this is odd, as the sound is very low on DSP and has only 8 oscillators and 8 sequencers, but, yes, 2 or 3 very large arrays....



IP: Logged

cristian_vogel
Member
posted 24 January 2007 05:43         Edit/Delete Message   Reply w/Quote

CristobalsHOmework.kym

 
sorry this took a while - i been busy

this sound was for a friend's course - its a sonofication of 7 layers of self-similar pitch/duration data generated by his professor...

I wanted to make just one Code block running all the sounds, but I was running up against the error detailed above.

Also, in my current version of the sound, its annoying to see that I cannot use any Kyma magic ( reversing sequences, making Hot Values in the sequencers, without Kyma running out of static RAM - there is hardly any DSP being used, but static RAM???

Anyway, if you could have a look and let me know your thoughts...


IP: Logged

SSC
Administrator
posted 24 January 2007 14:43         Edit/Delete Message   Reply w/Quote

cristobalhomework.kym

 
Right, your Oscillators require so little DSP power that they were all getting scheduled on a single processor (so anything else you tried to do had to fit into the SRAM of a single processor). I tried forcing pairs of Scripts onto specific processors to see whether that gives you a little more SRAM available on each processor for your Kyma magic. ;-)

Some other changes that might be useful (you can remove them if they are not):
* I added a gentle AR envelope to each oscillator (10 ms attack and decay) to avoid the clicks whenever one of them turns on or off
* I replaced the Oscillators with CrossfadingMulticycleOscillators so you can add some brightness (in the form of additional harmonics) using the !Brightness fader. I noticed that the lowest frequencies in L0 were around 32 hz and these were inaudible as sine waves. Now you can hear the lowest frequencies (or bring brightness to zero if you do not want to hear them or if you have a far better subwoofer than I do)

(What class is this for?)

IP: Logged

cristian_vogel
Member
posted 26 January 2007 12:14         Edit/Delete Message   Reply w/Quote
Hi SSC, thanks for taking the time to have a look at this.

Its for a class in generating rythms from an irrational number leading to a Sturm Sequence, to be precise, which happens to be self-similar but not periodic if the number is a so-called Sturm number ( a solution of a quadratic equation ) . . . there is a chapter in the book at http://www-igm.univ-mlv.fr/%7Eberstel/Lothaire/AlgCWContents.html - chapter 3 Sturmian Words - p. 48 , fixed points -

As you can probably tell , I'm here with my friends teacher , Thomas Noll , who is come to listen to the results ... ( and appreciates Kyma alot at his first contact with it in my studio ! )

I am still having a problem, even with the forced processor version, where I cannot generate any of the fields in the sequencers algorithmically or with HotValues, without running out of StaticRAM on compile?

Any thoughts on that and everything else?

thanks again


IP: Logged

SSC
Administrator
posted 29 January 2007 08:04         Edit/Delete Message   Reply w/Quote
I put pairs of Sounds onto each processor. You could try changing the ForcedProcessorAssignments such that each Sound ends up on its own processor to see whether that would make a difference.

IP: Logged

cristian_vogel
Member
posted 30 January 2007 12:09         Edit/Delete Message   Reply w/Quote

CristobalsHOmework.kym

 
yes, i tried what you were suggesting, and still had problems .

Anyway, the excercise is finished, it could be performed much more if I was able to have more hotvalues in the sequencers.

Here it is attached!

Also, I would like to understand why, my original post, I was unable to send variables to various sounds from one script... Could you shed some light on that SSC?


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