Kyma Forum
  Kyma Support
  sequence values

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

next newest topic | next oldest topic
Author Topic:   sequence values
flo
Member
posted 28 March 2006 09:28         Edit/Delete Message   Reply w/Quote

Support.kym

 
Hi,

how can you record/sequence the values as they are put out by the S&H sound in the example? In other words: how can you store them in a sequence? (so to control another hot parameter with it later on)
Thanks in advance.
Best, Florian

p.s. in the sound example you have to press rec first (dur: 6 s) before you can 'play' the S&H values;
moreover you have to load new audio files into the DiskPlayers, or use a Sample sound or Live-Input instead

IP: Logged

pete
Member
posted 28 March 2006 13:03         Edit/Delete Message   Reply w/Quote
Hi Flo

Another Pete's DSP module is called the step writer. If you use this in conjunction with an Up Down Counter you can trigger record values one at a time. If you then used a waveshaper with the same file name as used in the step writer and another Up/Down counter feeding its index you can read through the values at will.

Just make sure that the number of samples in the step writer is the same as in the number of samples in the Up/Down counter and that it is more than the number of values you want to keep.

Is this the kind of thing you mean ?

Pete

IP: Logged

pete
Member
posted 28 March 2006 13:10         Edit/Delete Message   Reply w/Quote
one other thing

If you will be triggering it from a non sample rate trigger, then the trigger width could be up to 1 ms wide, so you would need to feed it through a gate to trigger module before putting it into the up count input of the counter and the write input of the step writer.

IP: Logged

flo
Member
posted 29 March 2006 03:27         Edit/Delete Message   Reply w/Quote
Does that mean that the step writer then gets triggered twice, if you
exceed the trigger width max and don't use a gate to trigger module?
Because this is very interesting for me I have some more questions:
1. You wrote that the number of samples in the StepWriter should be the
same as the number in the UpDownCounter. I suppose it is possible to make this variable? So that the number in the StepWriter automatically
determines the number in the UpDownCounter?
2. Are those sounds downloadable in the tweaky? (they are not part of the microsounds, or are they? didn't look yet...)
Thanks!
Best, Flo



IP: Logged

pete
Member
posted 29 March 2006 09:34         Edit/Delete Message   Reply w/Quote
Hi Flo

Actually it means that if you don't use a gate to trigger it will probably trigger 1000 times
Point 1
No the number of samples in the step writer is a cold parram as it determines how much ram should be put aside at compile time. But you can put a number as big as 4000000 and then reset the counter when ever your current range choose is reached. There are modules to help you do this as well in petes DSP module.
Point 2
They are in petes DSP modules apart from the wave shaper which is a standard Kyma module.

IP: Logged

pete
Member
posted 29 March 2006 15:55         Edit/Delete Message   Reply w/Quote

RamWriteandread.kym

 
Here I've attached a sound that displays how the modules work together.
The cluster may look complicated but thats more to do with haveing to display everything.
These would normaly work at sample rate and wouldn't need all the gate to trigger modules if the triggers were only one sample wide.

I hope it helps

Pete

IP: Logged

SSC
Administrator
posted 29 March 2006 15:56         Edit/Delete Message   Reply w/Quote
"how can you record/sequence the values as they are put out by the S&H sound in the example? In other words: how can you store them in a sequence? (so to control another hot parameter with it later on)"

You can record control values into the Capybara RAM in the same way you can store an audio signal in RAM: by using a MemoryWriter. Then you would use one of the modules that can read from Capybara RAM (like a Sample or a Waveshaper) to read the sequence from memory at a later time in order to control another hot parameter.

I see that you are already using a MemoryWriter to record some triggers. Could you not use a MemoryWriter to record the output of the TriggeredSampleAndHold? Or do you want to record the values *only* when they change (and not on every sample)?

IP: Logged

SSC
Administrator
posted 29 March 2006 16:10         Edit/Delete Message   Reply w/Quote
Another question: how many values are in the sequence? (approximately) If there are on the order of 32 or so, you could take an alternative approach of using a chain of SoundToGlobalControllers and a CapyTalk sampleAndHold: in each Value field (as I outlined in one of the lectures at CCMIX).

IP: Logged

flo
Member
posted 30 March 2006 03:41         Edit/Delete Message   Reply w/Quote
Around 32 could be very well sufficient. Could you maybe send/attach a
simple working example? Because I tried to figure it out, but don't see
at this moment how it could function the way you described (in this context).
The Problem with the MemWriter is indeed that I only need the 'change values'. (and yes...indeed dommage that I haven't been able to discuss
this with you in person at CCMIX, but I was off the country for webdesign-work in NL; hope that I can attend next year, as I'll still be in Paris, if that is fine with Gerard and you...so I hope there's still hope for me ;-)

IP: Logged

SSC
Administrator
posted 30 March 2006 08:29         Edit/Delete Message   Reply w/Quote
On the tweaky at
http://www.symbolicsound.com/cgi-bin/bin/view/Share/Sounds#Control_and_Modulation

The following examples illustrate how to make the "shift-register" for storing short sequences. (Instead of using BPM as the clock, use whatever trigger you are using for the TriggeredSampleAndHold):

cellularAutomataCapyTalk.kym by CarlaScaletti: Live cellular automata evolve and form patterns. Discussion

embraceTheArtifact.kym by CarlaScaletti: Shift registers with nonlinear feedback generate impulses, waveforms--in surround sound!

MadSynth1Granular.kym by CarlaScaletti: One control shape, 3 timescales, feedback.

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