Re: [PD] Pitch envelope

2011-02-27 Thread Mathieu Bouchard
On Mon, 21 Feb 2011, Ed Kelly wrote: What I am looking for is a mathematical way to calculate the length of a transposition envelope relative to its effect on a finite-length sample, and so to derive a length for the envelope that will allow the envelope and the sample to play out over the sam

Re: [PD] Pitch envelope

2011-02-23 Thread Mathieu Bouchard
On Wed, 23 Feb 2011, Andy Farnell wrote: If you have a samplewise integrator That's called [rpole~] in pd. then a small increment value 1/samplerate , lets call it I, will cause the output, let's call that O, to reach a value of 1 in 1 second of time. Try this attachment. Press the bang m

Re: [PD] Pitch envelope

2011-02-23 Thread Andy Farnell
As Matt points out, it's not trivial. Your initial instinct was best IMHO, to use the integral (running accumulation) of normalised pitch. If you have a samplewise integrator then a small increment value 1/samplerate , lets call it I, will cause the output, let's call that O, to reach a value

Re: [PD] Pitch envelope

2011-02-21 Thread Matt Barber
I think it would help me to think of the problem if you could say what you wanted the envelope itself to look/sound like. Is this a continuous glissando (in frequency? pitch?) from low to high? Does it go up then down then up again? Or any of these possibilities? Does it matter more what transposit

Re: [PD] Pitch envelope

2011-02-21 Thread Ed Kelly
le at http://sharktracks.co.uk/puredata From: Andrew Faraday To: morph_2...@yahoo.co.uk; pd-list@iem.at Sent: Sat, 12 February, 2011 10:07:26 Subject: RE: [PD] Pitch envelope What I would do is use your typical sound playback algorithm, ([phasor~] feeding [tab

Re: [PD] Pitch envelope

2011-02-12 Thread Andrew Faraday
nd, as I say, hard to scale as semiquavers.Andrew > Date: Sat, 12 Feb 2011 00:00:57 + > From: morph_2...@yahoo.co.uk > To: pd-list@iem.at > Subject: [PD] Pitch envelope > > So... > > A sample has duration (x) > > A breakpoint envelope has pitch transposition from -60 to +60 se

Re: [PD] Pitch envelope

2011-02-11 Thread Mathieu Bouchard
On Sat, 12 Feb 2011, Ed Kelly wrote: A breakpoint envelope has pitch transposition from -60 to +60 semitones. How do I work out what that would mean for the duration - i.e. how do I make it so the whole pitch envelope happen within the duration of the sample? Make the envelope sync itself with

[PD] Pitch envelope

2011-02-11 Thread Ed Kelly
So... A sample has duration (x) A breakpoint envelope has pitch transposition from -60 to +60 semitones. How do I work out what that would mean for the duration - i.e. how do I make it so the whole pitch envelope happen within the duration of the sample? I'm not a mathematician, and have been