[PD] I wanna sing like Paris

Roman Haefeli reduzent at gmail.com
Tue Aug 17 13:39:29 CEST 2010


On Tue, 2010-08-17 at 12:59 +0200, martin brinkmann wrote:

> i will try this when i have found a way to extract
> single-cycle waves from audio input in pd...

Not yet tried it myself, but what about writing live input to a table
(for instance with [tabwrite~]) in order to have access to the audio
data with message based objects? With those it should be fairly easy to
the detect the exact position of a zero crossing. For finding a single
cycle, it would be sufficient to find a positive crossing - for
instance-  and from there find the next one, so you have the exact end
points of one single cycle. 

Of course, there might be waveforms which have several zero crossings
per cycle, but the above approach might be a start.

Roman

  




More information about the Pd-list mailing list