[PD] Pitchshift frequency bins to specific frequencies
peimankhosravi at gmail.com
Thu Oct 24 12:46:58 CEST 2013
Yes, in fact that's exactly what I'm doing in the csound algorithm. I have
a user-defined array, one array of bin amplitudes and one array of bin
frequencies, both written from the analysis window.
The thing is that you need to deal with the amplitudes too. Simply moving
the frequency value from one bin to another doesn't work, because each bin
can only represent a narrow frequency band. So you need to also move the
amplitude content of the bin too.
*www.peimankhosravi.co.uk || RSS
Concert News <http://spectralkimia.wordpress.com/>*
On 23 October 2013 22:56, Ronni Montoya <ronni.montoya at gmail.com> wrote:
> Hi Peiman, thanks for that patch, im gonna try to adapt it to what im
> trying to achieve.
> and Yes i think you understood correctly.
> This warp program is very similar to what im trying to achieve , but
> theres a difference in the way how frequencies are mapped.
> The way I need to do it is in this way:
> First i define an array with a group of frequencies.
> Then i iterate over all the frequency bins of a sound. At each
> iteration it should get the current frequency value of that bin, then
> i need to compare this value with my array of predefined frequencies
> and replace that value with the nearest value in my array.
> i hope its clear, cheers
> 2013/10/23, peiman khosravi <peimankhosravi at gmail.com>:
> > Hello,
> > If I understand you correctly, this is exactly what the GRM Tools plug-in
> > Warp does. http://www.inagrm.com/warp
> > I have a version of this which I made with pd and csound, which I'm
> > attaching. The FFT is done in Csound. To run it just install csound6 and
> > then open up the patch. I've also included the externals with the patch,
> > but they are built for osx so you'll need to replace them if you're on a
> > different platform. I know that the csound~ external is running on osx,
> > I've never tried it on windows so...
> > If you want really precise control over which frequencies you're
> > then you need to change the pd patch a bit but it's just a question of
> > converting bin number to frequency value, which is simple.
> > Best,
> > Peiman
> > *www.peimankhosravi.co.uk || RSS
> > Feed<http://peimankhosravi.co.uk/miscposts.rss> ||
> > Concert News <http://spectralkimia.wordpress.com/>*
> > On 23 October 2013 08:59, Ronni Montoya <ronni.montoya at gmail.com> wrote:
> >> Hi list , i need to iterate over all the frequency bins of a sound
> >> getting each frequency and then i need to map that frequency to a
> >> specific frequency .
> >> Do anybody have tried something like this in pd?
> >> which is the best way of doing this in pd? any hint?
> >> cheers
> >> R.
> >> _______________________________________________
> >> Pd-list at iem.at mailing list
> >> UNSUBSCRIBE and account-management ->
> >> http://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pd-list