First time here? Check out the FAQ!

updating MemoryWriter as an iterative data structure container

0 votes

Hi to everyone,


I'm dealing with the MemoryWriter as a generic array of floats.


My intention is to fill the table with, let's say,  64 floats values, be able to read  them at different speeds (including samplerate), to perform some operation on them (i.e.  even a trivial scaling operation by another audio rate running signal) and to store the output  back in the very same place (so as a continuos iterative process over a finite number of floats). This could be done, cyclically or, on request triggering a gate.


I could use those floats then as normalized frequency values,  scaling factors, filter coefficients, quantized wavetables etc...


Any suggestion from this kind community would be of great help.


Many many thanks !




asked Dec 29, 2017 in Using Kyma by federico-placidi (120 points)
From what you describe, the best approach might be to create 64 Sounds (using Replicator or Script). Then you can use the outputs of those Sounds in multiple ways. You could even place each Sound into a DelayWithFeedback and use the Replicator to set the delays such that each Sound is one sample delayed from the previous one (if you really want to record successive values into a wavetable). But it may not actually be necessary to record the Sounds in a wavetable, since you can iteratively, process, writing into FeedbackLoopInput and read from FeedbackLoopOutput in each of the 64 signal flows.
Nice Tip.
Many thanks and an happy and creative new year to everyone at SSC.

Your answer

To attach a file to this answer:
  1. Type in a name or phrase you would like to use to identify the file (for example, MyExample.kym)
  2. Highlight that name
  3. Click the      button
  4. To upload the file, choose the Upload tab, click Choose file, select the file, click Send it to the Server and OK
  5. If your attachment is already on-line, put the attachment's URL directly into the URL field on the Link Info tab
Uploads are limited to 16 megabytes.
Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.