wave~ equivalent to write into buffers
I am looking for a method to write into buffers in the way wave~ reads from them. So basically filling a buffer from beginning to end with a signal 0. – 1. determining writing position. loop point would be useful as well.
Interpolation of sample values would be crucial, if sync signal would not cover all sample indexes. (i.e. trying to fill 44100 in the time of samples 32000 samples)
I constructed a mixture of phasor~ – *~ [buffer length in samples] – poke~ abstraction, but i could not get the interpolation issues addressed, a problem especially when speeding up the sync phasor.
any ideas appreciated
make sure you use a [round~] or [trunc~] before the index input of [poke~]
This object wont work unless you are feeding it whole numbers.
thanks for your replies, but this has been what I have been doing. The problem is very clear, if writing samples into a buffer with poke~ will not fill in between sample positions, if the sync signal is so fast that the increments of the sample position is not covering every whole number. That is why wave~ is interpolating during playback. Same problem would occur when attempting to playback with index~.
I isolated a method which shows the problem. This is obviously not doing now anything meaningful.
I am pretty sure that no abstraction build in max/msp will solve this. My jitter experiments have not been successful either, because I need this in realtime. I would like to stay away from ftm for the project in question, if possible.
So I was hoping someone else had come across this and knows of some 3rd party external written in C++ or a java class, able to interpolate during recording as well.
so here is the example
----------begin_max5_patcher---------- 1603.3oc4ZssihiCD8Y5uBKdo2cDSKeIWWsureGqVsJ.FvyDhQwlgt6QCe6a 7EtzcSbL2bZo8EBNjDJeRU04Tk8OeXvvw7mohgf+.72fAC94CCFnOk5DCriG LbYwySJKD5KaXEcCe72FNx7SR5yR8oK4ESWREB.Y2OUsdIesrjJ02Gxd1Y7J of8JUeN7SP6oMWo7kUTisLbH3er+zpB4jErp4+aMchz7qQv3l6DPf4pCopGC .CeBt+dXS0FUig9038Fj5utpXo9eX3eUyJJOxTYU6sT0490COn9Xz0AJx50U S1da.DAadUiE6BVvXhBIP4Z.IJxIrfC.rLgubIsR9AbYRIsnF73lE7Rp3Q.q BHWPAiWOaFsdKf9bwxUkz8FXIqhNgutReu3SBl6PsU0TQyeXgjwqNFXxPZ+k D0mP6G6QkVdCbJ.93mCBoAXRTK.LL..rJhqXN8C.L4I2NcsgSQl3pryAmNuP 227WPvOE2.jYsffn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