I am trying to play back a table in varispeed and am getting artefacts. I looked into vanilla's 'onset* message for tabread4~ but since I want to play tables backwards as well a solution with an audio signal as offset message seems simpler to me. Now iem_dp (double precision) has tabread4~~ which features exactly that. The only thing that is missing is me understanding how to build a wrapper around tabread4~~ so that in can be a drop-in replacement abstraction for tabread4~. How can I derive the offset signal in the first hand place? For messages I would devide the index by a certain numer, for example 100000, truncate the result and use this as the offset. Then I would use [modulo 100000] to get the left input for tabread4~~. Am I correct to go this way?
How would I truncate an audio signal in Pd?
How would I calculate the modulo of an audio signal in Pd?
Is there a more elegant way to do this?
Thank you for all ideas! best, Peter
There's an example in the pd doc, 3.audio.examples/B16.long-varispeed.pd
I should have put an abstraction in 'extra' to do this - will give that some thought.
cheers Miller
On Sat, Mar 05, 2016 at 10:13:59PM +0100, Peter P. wrote:
I am trying to play back a table in varispeed and am getting artefacts. I looked into vanilla's 'onset* message for tabread4~ but since I want to play tables backwards as well a solution with an audio signal as offset message seems simpler to me. Now iem_dp (double precision) has tabread4~~ which features exactly that. The only thing that is missing is me understanding how to build a wrapper around tabread4~~ so that in can be a drop-in replacement abstraction for tabread4~. How can I derive the offset signal in the first hand place? For messages I would devide the index by a certain numer, for example 100000, truncate the result and use this as the offset. Then I would use [modulo 100000] to get the left input for tabread4~~. Am I correct to go this way?
How would I truncate an audio signal in Pd?
How would I calculate the modulo of an audio signal in Pd?
Is there a more elegant way to do this?
Thank you for all ideas! best, Peter
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hi Miller,
There's an example in the pd doc, 3.audio.examples/B16.long-varispeed.pd
Thanks! Would this solution also work with backwards sample playback (decreasing table indices) by the way?
I should have put an abstraction in 'extra' to do this - will give that some thought.
That could be very helpful! There are so many people who might profit of cleaner long table playback who might not be able to understand B16.long-varispeed.pd to a point where they can modify it to fit their own needs.
thanks again P
Still I am wondering how I would derive the signal for the right inlet of tabread4~~ (from the iem_dp library). Is there any way to divide&truncate an audio signal, and also get the remainder (modulo) of that very signal? In my understanding this could get me the two signals needed to drive tabread4~~. Has anyone ever used this object by now?
Thanks for all pointers, P