Kyma Forum
  Kyma Support
  analyse the content of a buffer

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

next newest topic | next oldest topic
Author Topic:   analyse the content of a buffer
dgkiers
Member
posted 31 July 2002 07:13         Edit/Delete Message   Reply w/Quote
I was thinking about a way to analyse the content of a buffer, filled with live input, so that I end up with indices to the start points of the individual components (a la recycle: http://www.propellerheads.se/products/recycle).
A Sound that takes a buffername for the buffer to analyse, a trigger to start analysis, a parameter for the sensitivity of the analysis algorhythm, a parameter for the index to output, maybe the output could be L: start index, R: stop index, to paste f. i. into the Sample Sound, and maybe feedback on the amout of indices returned.
Maybe somebody has allredy found a solution for this using the available Sounds?

Sorry, this was ment to go to the Kyma Support

[This message has been edited by dgkiers (edited 31 July 2002).]

IP: Logged

SSC
Administrator
posted 31 July 2002 10:16         Edit/Delete Message   Reply w/Quote
You might have some luck starting with the live multitrack recording examples in the Sampling examples of the Kyma Sound Library.

In those examples, a triggered MemoryWriter is used to capture the input. In parallel, a FunctionGenerator is triggered (at the same time as the MemoryWriter); the duration of the FunctionGenerator is set to the RecordDuration of the MemoryWriter. Since the waveform is a ramp, the FunctionGenerator's output moves from 0 to 1 indicating the proportion of the MemoryWriter's buffer that has been recorded.

You could use TriggeredSampleAndHolds to capture the value of the FunctionGenerator whenever some condition holds. For example, you could trigger whenever the output of an AmplitudeFollower exceeds a certain threshold.

This captured value (since it indicates a position within the MemoryWriter's buffer) could be used as a Start, LoopStart, LoopEnd, or End value in a Sample playing back the captured recording.

For example, you could use two TriggeredSampleAndHolds: one to capture when some threshold is exceeded and another to capture when the level returns to zero. These could be used in the LoopStart and LoopEnd fields of the Sample to playback (in a loop) the captured input between the two captured times.

IP: Logged

dgkiers
Member
posted 31 July 2002 12:18         Edit/Delete Message   Reply w/Quote
How could I collect the sampled values in an array for later use?
Thank you for the help! David.

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