[PD] Frequency Analysis of an existing sound file recorded in a text file
Hello! Might look like a typical beginner question, but I'd like to have some tips on how to do the above mentioned task most efficiently?? I have a sound file that I need to extract all the data and record in a file; ideally by building a txt file with full of each microseconds and equivalent frequency range. It is to be used to construct another sound file from that data, as well as other sorts of applications such as GEM. It seems to be that [fiddle] object is the most conventient, but I'm open to any suggestions to develop it further... Thanks sincerely, Emin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] frequency
hi all can anybody telle me how to get the right frequencys out of a frequency analysis at 22050 samplingrate in an array with 256 adresses thank you in advance der.brandt ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency
if you do a fft and look at the array with the results, you will have the DC at arrayposition 0 and a frequency of SR/WS (samplingrate divided by window size) at position 1. with your settings this would be around 86Hz. the other elements of the array hold multiples of 86Hz. on pos2 2*86, on pos3 3*86... on pos128 you should get the Nyquist frequency (sample rate/2=11025) which is the highest frequency you can analyze. the rest of the array are mirror frequencies, that you don't need for analysis. if you want to get the array position for 5000Hz you do 5000/86... so you should feed the number 58 into your tabread. bear in mind that the fft will use the first 129(!) pins of the 256 array (position 0-128) to put frequency values. that is, because the DC and the nyquist frequency don't have(/need) a phase information. at least that's the theory... marius. bra...@subnet.at wrote: hi all can anybody telle me how to get the right frequencys out of a frequency analysis at 22050 samplingrate in an array with 256 adresses thank you in advance der.brandt ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency components analysis
On Sun, 2008-07-13 at 02:00 -0700, Julian Villegas wrote: I did, in fact I'm using sigmund~ cause somewhere in this list, someone (Miller?) said it was better to use it instead of fiddle~. Can anybody confirm that sigmund~ is better? What do you mean 'better'? What is it you are trying to do? I have a patch that relies on realtime pitch and partials extraction, and I'd like to compare different objects but I have only found sigmund~. Sigmund~ reports peaks by analyzing the FFT of a window, I'd like to compare other methods (stft?, wavelets?, ...?) Any other ideas? You might want to take a look at the xtract_peak_spectrum() function provided in LibXtract. http://www.postlude.co.uk/Software/Libxtract There are Pd bindings provided, and an example of how to use [xtract~ peak_spectrum] is shown in the help file: [f0] - [pd guts] - [pd pda]. Jamie -- www.postlude.co.uk http://www.linkedin.com/in/jamiebullock ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency components analysis
Hi, I did, in fact I'm using sigmund~ cause somewhere in this list, someone (Miller?) said it was better to use it instead of fiddle~. Can anybody confirm that sigmund~ is better? I have a patch that relies on realtime pitch and partials extraction, and I'd like to compare different objects but I have only found sigmund~. Sigmund~ reports peaks by analyzing the FFT of a window, I'd like to compare other methods (stft?, wavelets?, ...?) Any other ideas? Thanks! Julian Villegas Me pregunto de un modo pensativo Que significa ser Colombiano? No se le respondi. Es un acto de fe JLB. - Original Message From: hard off [EMAIL PROTECTED] To: Julian Villegas [EMAIL PROTECTED] Cc: Isidro Gonzalez [EMAIL PROTECTED]; pd-list@iem.at Sent: Saturday, July 12, 2008 8:17:10 PM Subject: Re: [PD] frequency components analysis you looked at [fiddle~] right? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency components analysis
you looked at [fiddle~] right? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency components analysis
You could try the ATS technique by Juan Pampin. You will find it at the SourceForge CVS. It has several applications associated like an object for pd(atsread), several UGs for Csound, a GUI for Analyzing/Editing(ATSH) and a non-gui stand alone program for analysis(Atsa). It runs under Linux, Windows and OS10. Best Isi --- Julian Villegas [EMAIL PROTECTED] wrote: Dear list, I'm using sigmund~ for extracting the freq. components of a sound but I was wondering if you know another object that does the same job using a different approach. I'd like to compare the results obtained by different methods. Thank in advance for your replies! Julian Villegas Me pregunto de un modo pensativo Que significa ser Colombiano? No se le respondi. Es un acto de fe JLB. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency components analysis
Hi Isidro, Thank you for the link, the problem is that I want to extract the frequency components of a sound in realtime, like from a mic connected to my computer, and AFAIK the ATS object works only with files. Do you have any other ideas? Does anybody else? Thank you! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] frequency components analysis
Dear list, I'm using sigmund~ for extracting the freq. components of a sound but I was wondering if you know another object that does the same job using a different approach. I'd like to compare the results obtained by different methods. Thank in advance for your replies! Julian Villegas Me pregunto de un modo pensativo Que significa ser Colombiano? No se le respondi. Es un acto de fe JLB. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency graphing in gem
[spigot~] in yves' own words: a signal router : version 0.1, written by Yves Degoyon ([EMAIL PROTECTED]) it sends the signal out of the left output if creation arg / left input = 0 and out of the right output if 1. so it could be used like [spigot] for audio if you use the right outlet, or as an 'inversed' [spigot] (default and 0 open it, arg / left input 1 closes it) when using the left outlet. David Powers [EMAIL PROTECTED] wrote: 2. There is a [spigot~] object from ydegoyon, that does NOT behave in the way that you expect in your patch ... i.e. it's not like [spigot], ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency graphing in gem
Hi, Okay, well sorry, but I don't even think this object even exists on Win platform (I certainly know yves' wouldn't have ported it). For your patch to be more compatible it would still be nice to rewrite to use [pd spigot~] I think. But I guess it's not clear what the requirements for your patch are, I also had bugs with GEM, and multiply defined error messages. I'm curious as to what it looks like, since I can't run your patch, maybe you could make a screenshot? Thanks, David On 4/9/07, robbert van hulzen [EMAIL PROTECTED] wrote: [spigot~] in yves' own words: a signal router : version 0.1, written by Yves Degoyon ([EMAIL PROTECTED]) it sends the signal out of the left output if creation arg / left input = 0 and out of the right output if 1. so it could be used like [spigot] for audio if you use the right outlet, or as an 'inversed' [spigot] (default and 0 open it, arg / left input 1 closes it) when using the left outlet. David Powers [EMAIL PROTECTED] wrote: 2. There is a [spigot~] object from ydegoyon, that does NOT behave in the way that you expect in your patch ... i.e. it's not like [spigot], ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency graphing in gem
ah yes i didn't think of that. yet another reason to leave windows ;) (sorry couldn't resist that one.) On 4/9/07 11:56 PM, David Powers [EMAIL PROTECTED] wrote: Hi, Okay, well sorry, but I don't even think this object even exists on Win platform (I certainly know yves' wouldn't have ported it). For your patch to be more compatible it would still be nice to rewrite to use [pd spigot~] I think. But I guess it's not clear what the requirements for your patch are, I also had bugs with GEM, and multiply defined error messages. I'm curious as to what it looks like, since I can't run your patch, maybe you could make a screenshot? Thanks, David On 4/9/07, robbert van hulzen [EMAIL PROTECTED] wrote: [spigot~] in yves' own words: a signal router : version 0.1, written by Yves Degoyon ([EMAIL PROTECTED]) it sends the signal out of the left output if creation arg / left input = 0 and out of the right output if 1. so it could be used like [spigot] for audio if you use the right outlet, or as an 'inversed' [spigot] (default and 0 open it, arg / left input 1 closes it) when using the left outlet. David Powers [EMAIL PROTECTED] wrote: 2. There is a [spigot~] object from ydegoyon, that does NOT behave in the way that you expect in your patch ... i.e. it's not like [spigot], ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency graphing in gem
You dont really need the spigot in order to run this patch. Spigot is just there to facilitate turning on and off different wave generators. You can just delete the spigot and connect the osc~ directly to the tabread. Also this patch is made to open up samples and display them. all you have to do is load the samples. Alain On Apr 9, 2007, at 6:08 PM, robbert van hulzen wrote: ah yes i didn't think of that. yet another reason to leave windows ;) (sorry couldn't resist that one.) On 4/9/07 11:56 PM, David Powers [EMAIL PROTECTED] wrote: Hi, Okay, well sorry, but I don't even think this object even exists on Win platform (I certainly know yves' wouldn't have ported it). For your patch to be more compatible it would still be nice to rewrite to use [pd spigot~] I think. But I guess it's not clear what the requirements for your patch are, I also had bugs with GEM, and multiply defined error messages. I'm curious as to what it looks like, since I can't run your patch, maybe you could make a screenshot? Thanks, David On 4/9/07, robbert van hulzen [EMAIL PROTECTED] wrote: [spigot~] in yves' own words: a signal router : version 0.1, written by Yves Degoyon ([EMAIL PROTECTED]) it sends the signal out of the left output if creation arg / left input = 0 and out of the right output if 1. so it could be used like [spigot] for audio if you use the right outlet, or as an 'inversed' [spigot] (default and 0 open it, arg / left input 1 closes it) when using the left outlet. David Powers [EMAIL PROTECTED] wrote: 2. There is a [spigot~] object from ydegoyon, that does NOT behave in the way that you expect in your patch ... i.e. it's not like [spigot], ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency graphing in gem
Hi, I suggest changing the [spigot~] objects to [pd spigot~] subpatches, because: 1. Many versions don't have such an object, and more importantly, 2. There is a [spigot~] object from ydegoyon, that does NOT behave in the way that you expect in your patch ... i.e. it's not like [spigot], I don't remember what it does but I'm basing this on a statement Kyle made about 6 months ago. ~D On 4/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I dont know what happened to the file but here it is again Alain From: [EMAIL PROTECTED] Date: 2007/04/04 Wed AM 10:56:26 EDT To: pd-list@iem.at Subject: Re: [PD] frequency graphing in gem Does anyone know where I can get [scopeXYZ~] compiled for ppc or how to compile from cvs for ppc on os X. BTW due to all your help I have put together a comprehensive version that uses the best of all I have read so far and I have attached it. Any help or criticism is welcomed. I realized its not the best solution but someone out there will find it useful, I know I will. Thanks, Alain From: Peter Plessas [EMAIL PROTECTED] Date: 2007/04/03 Tue AM 04:39:57 EDT To: Nose Hair [EMAIL PROTECTED] CC: pd-list@iem.at Subject: Re: [PD] frequency graphing in gem Have a look at Gem's [scopeXYZ~] too lgPP Nose Hair wrote: I'm trying to get an audio graph to work in gem. I would like it to show the waveform like a table. I have gotten as far as getting a good sample graph but it doesnt work as expected with frequency. Any help would be apreciated. I have included my patch files. The main one is called waveform. Thanks Alain ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency graphing in gem
On 03/04/2007, at 12.57, Patco wrote: hi, take a look at this: http://lists.puredata.info/pipermail/pd-list/2005-06/028944.html Thanks, that's quite nice. Is there an equivalent about that does live spectrogram plots? ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency graphing in gem
Steffen a écrit : On 03/04/2007, at 12.57, Patco wrote: hi, take a look at this: http://lists.puredata.info/pipermail/pd-list/2005-06/028944.html Thanks, that's quite nice. Is there an equivalent about that does live spectrogram plots? Hi, I've never seen an equivalent that uses fft, and then colors, 3D, with Gem, even if it has been sometimes subjects of discussions, although it's certainly possible to make something from the datastructure example of the sonogram, or something like that...Who is going to try? ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency graphing in gem
Does anyone know where I can get [scopeXYZ~] compiled for ppc or how to compile from cvs for ppc on os X. BTW due to all your help I have put together a comprehensive version that uses the best of all I have read so far and I have attached it. Any help or criticism is welcomed. I realized its not the best solution but someone out there will find it useful, I know I will. Thanks, Alain From: Peter Plessas [EMAIL PROTECTED] Date: 2007/04/03 Tue AM 04:39:57 EDT To: Nose Hair [EMAIL PROTECTED] CC: pd-list@iem.at Subject: Re: [PD] frequency graphing in gem Have a look at Gem's [scopeXYZ~] too lgPP Nose Hair wrote: I'm trying to get an audio graph to work in gem. I would like it to show the waveform like a table. I have gotten as far as getting a good sample graph but it doesnt work as expected with frequency. Any help would be apreciated. I have included my patch files. The main one is called waveform. Thanks Alain ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency graphing in gem
I wasn't aware it needed extra compiling, being a part of the regular GEM library AFAIK. It should be definitely be in PD-extended as one of the built-in GEM objects. The help files are there, and it creates under the versiosn I have: $ locate scopeXYZ /Applications/Pd-0.39.2-extended-test4.app/Contents/Resources/doc/5.reference/Gem/scopeXYZ~.pd /Applications/Pd-0.39.2-extended-test6-G4.app/Contents/Resources/doc/5.reference/Gem/scopeXYZ~.pd /Applications/Pd-0.39.2-extended-test6.app/Contents/Resources/doc/5.reference/Gem/scopeXYZ~.pd [EMAIL PROTECTED] wrote: Does anyone know where I can get [scopeXYZ~] compiled for ppc or how to compile from cvs for ppc on os X. BTW due to all your help I have put together a comprehensive version that uses the best of all I have read so far and I have attached it. Any help or criticism is welcomed. I realized its not the best solution but someone out there will find it useful, I know I will. -- derek holzer ::: http://www.umatic.nl ---Oblique Strategy # 49: Display your talent ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency graphing in gem
Have a look at Gem's [scopeXYZ~] too lgPP Nose Hair wrote: I'm trying to get an audio graph to work in gem. I would like it to show the waveform like a table. I have gotten as far as getting a good sample graph but it doesnt work as expected with frequency. Any help would be apreciated. I have included my patch files. The main one is called waveform. Thanks Alain ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency graphing in gem
There was a thread not too long ago http://lists.puredata.info/search/PD-list? query=wavdisplaymax=20result=normalsort=score thats a search result on the pd-list for wavdisplay There shuld be a working patch Luigi pd Am 03.04.2007 um 10:39 schrieb Peter Plessas: Have a look at Gem's [scopeXYZ~] too lgPP Nose Hair wrote: I'm trying to get an audio graph to work in gem. I would like it to show the waveform like a table. I have gotten as far as getting a good sample graph but it doesnt work as expected with frequency. Any help would be apreciated. I have included my patch files. The main one is called waveform. Thanks Alain - --- ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency graphing in gem
Nose Hair a écrit : I'm trying to get an audio graph to work in gem. I would like it to show the waveform like a table. I have gotten as far as getting a good sample graph but it doesnt work as expected with frequency. Any help would be apreciated. I have included my patch files. The main one is called waveform. Thanks Alain ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list hi, take a look at this: http://lists.puredata.info/pipermail/pd-list/2005-06/028944.html ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency shifter
works like a charm now. ... and i think nearly everyone who posted in this thread was hitting on some good idea. the only one i didn't follow up was the [hilbert~] one, and that was what i needed to eliminate the need for the freqshift~ external. cheers everyone. now i can go on to part 2 of that tutorial and make some snare drums using different methods. (revised patch attached to this mail) kicksnare~.pd Description: Binary data ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
RE: [PD] frequency shifter
I tried to implement the gif (see the attached patch) Is that what you are trying to do? It sounds like a bell What is the URL of the original tutorial article? Renaud -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of hard off Sent: 24 November 2006 12:50 To: PD List Subject: [PD] frequency shifter in the following picture: http://www.soundonsound.com/sos/Mar02/images/synth4.gif how do i make a frequency shifter ? is this the same as the pitch shifter that i can rip from the pd docs, or is there a simpler way?? cheers. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list DISCLAIMER http://www.belgacom.be/maildisclaimer Bell.pd Description: Bell.pd ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency shifter
here u go: http://www.soundonsound.com/sos/Mar02/articles/synthsecrets0302.asp ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency shifter
after having a good listen, it doesn't sound as good as it did with [freqshift~]. i don't understand the maths behind that so no idea why, but it's obvious to my ears. its especially clear when you increase the attack time. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency shifter
This is a great thread, everyone! I hope to see MUCH more discussion like this in the future, since it's such a great hands on way to learn both synthesis and Pd. Thanks for sharing your secrets rather than playing trumpet with a hanky over your hand. ~Kyle On 11/27/06, hard off [EMAIL PROTECTED] wrote: after having a good listen, it doesn't sound as good as it did with [freqshift~]. i don't understand the maths behind that so no idea why, but it's obvious to my ears. its especially clear when you increase the attack time. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- http://theradioproject.com http://perhapsidid.blogspot.com (()()()(()))()()())( (())(())()((( ))(__ _())(()))___ (((000)))oOO ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency shifter
On Mon, 27 Nov 2006 12:43:08 -0600 Kyle Klipowicz [EMAIL PROTECTED] wrote: playing trumpet with a hanky over your hand. Where does that come from Kyle? Is it something a (in)famous musician actually used to do? I have a feeling I've heard it before. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency shifter
I remember watching Ken Burns' Jazz, and they talked about how early Jazz musicians would wear handkerchiefs over their hands while playing, to keep imitators from copping their style. ~Kyle On 11/28/06, padawan12 [EMAIL PROTECTED] wrote: On Mon, 27 Nov 2006 12:43:08 -0600 Kyle Klipowicz [EMAIL PROTECTED] wrote: playing trumpet with a hanky over your hand. Where does that come from Kyle? Is it something a (in)famous musician actually used to do? I have a feeling I've heard it before. -- http://theradioproject.com http://perhapsidid.blogspot.com (()()()(()))()()())( (())(())()((( ))(__ _())(()))___ (((000)))oOO ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency shifter
Hallo, hard off hat gesagt: // hard off wrote: after having a good listen, it doesn't sound as good as it did with [freqshift~]. i don't understand the maths behind that so no idea why, but it's obvious to my ears. its especially clear when you increase the attack time. I couldn't compare because I don't have [freqshift~] (yet). You could try to write both a phasor~-generated triangle and a freqshifted version into two tables and compare. Maybe it's the aliasing? Ciao -- Frank Barknecht _ __footils.org_ __goto10.org__ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] frequency shifter
in the following picture: http://www.soundonsound.com/sos/Mar02/images/synth4.gif how do i make a frequency shifter ? is this the same as the pitch shifter that i can rip from the pd docs, or is there a simpler way?? cheers. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[Fwd: Re: [PD] frequency shifter]
should belong to the list as well Original-Nachricht Betreff: Re: [PD] frequency shifter Datum: Fri, 24 Nov 2006 13:15:20 +0100 Von: m.weiss [EMAIL PROTECTED] An: hard off [EMAIL PROTECTED] Referenzen: [EMAIL PROTECTED] salut just take a look at ../doc/3.audio.examples/H09.ssb.modulation.pd or get the sIgpAck library from http://www.weiss-archiv.de or cvs and try the freqshift~ external i dont know if this works right ive never used it yet gruss m.weiss hard off schrieb: in the following picture: http://www.soundonsound.com/sos/Mar02/images/synth4.gif how do i make a frequency shifter ? is this the same as the pitch shifter that i can rip from the pd docs, or is there a simpler way?? cheers. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency shifter
hard off wrote: in the following picture: http://www.soundonsound.com/sos/Mar02/images/synth4.gif how do i make a frequency shifter ? is this the same as the pitch shifter that i can rip from the pd docs, or is there a simpler way?? cheers. Frequency shifting (adding each partial's frequency by an offset) isn't the same as pitch shifting (multiplying each partial's frequency by a ratio). The objects hilbert~ and complex-mod~ will help you, as they helped me when I tried to make a snare drum following that tutorial, I'll see if I can find the patches sometime later today. Claude ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency shifter
If all you want to do is generate two different simple waveforms that are shifted 175 and 224 Hz from the original, I would simply use two more triangle oscillators in place of the pitch shifters, and set the frequencies using a bit of math based on the frequency of the first triangle oscillator. I suspect this diagram could represent a hardware synth, where three oscillators is about the max you can get without a huge modular system. Digital pitch shifting uses either FFT or other windowed procedures which sometimes doesn't always transpose a sound that smoothly and without some artifacts. best, d. hard off wrote: in the following picture: http://www.soundonsound.com/sos/Mar02/images/synth4.gif how do i make a frequency shifter ? is this the same as the pitch shifter that i can rip from the pd docs, or is there a simpler way?? -- derek holzer ::: http://www.umatic.nl ---Oblique Strategy # 201: What were the branch points in the evolution of this entity? ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency shifter
Claude Heiland-Allen wrote: Frequency shifting (adding each partial's frequency by an offset) isn't the same as pitch shifting (multiplying each partial's frequency by a ratio). Oh yes, absolutely correct! Thx for reminding! The objects hilbert~ and complex-mod~ will help you, as they helped me when I tried to make a snare drum following that tutorial This definitely seems like overkill if what you need are two or three triangle waves with a frequency offset in order to produce an inharmonic spectrum, which is what is shown in that diagram regardless of what (hardware-emulating) functions they have recommended to get that result. best, d. -- derek holzer ::: http://www.umatic.nl ---Oblique Strategy # 154: The most easily forgotten thing is the most important ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency shifter
hard off wrote: I would simply use two more triangle oscillators in place of the pitch shifters, and set the frequencies using a bit of math based on the frequency of the first triangle oscillator. if you could help me with the math required, i would be very grateful. It's simpler than you might think... Take the number that is providing the frequency for the first triangle oscillator and add (or subtract) 175 and 224 to (from) it and use this number to set the frequency of the other two. I'm not sure which direction the frequency shifter is supposed to go in this diagram, so try either adding or subtracting. Also what is not clear is if the original triangle wave is heard in your diagram, or only the two pitch shifted ones, so either you will only hear the frequency-shifted pair or you will hear all three mixed with your two sinus waves. [number box\ ---set master frequency | | | | [+ 175] [+ 224] ---set shifted frequencies | | | | | [triangle~] | [triangle~] [triangle~] Where [triangle~] is an abstraction you have made which produces a nice, bandwidth-limited triangle wave ;-) If my cheap ASCII art doesn't come through, let me know and I'll be less lazy and patch it... Hope this is clear enough, d. -- derek holzer ::: http://www.umatic.nl ---Oblique Strategy # 112: Magnify the most difficult details ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency shifter
I had no idea what you guys were talking about, but I tried it and it sounds wicked. Where did you pick up this idea? -Chuckk On 11/24/06, derek holzer [EMAIL PROTECTED] wrote: hard off wrote: I would simply use two more triangle oscillators in place of the pitch shifters, and set the frequencies using a bit of math based on the frequency of the first triangle oscillator. if you could help me with the math required, i would be very grateful. It's simpler than you might think... Take the number that is providing the frequency for the first triangle oscillator and add (or subtract) 175 and 224 to (from) it and use this number to set the frequency of the other two. I'm not sure which direction the frequency shifter is supposed to go in this diagram, so try either adding or subtracting. Also what is not clear is if the original triangle wave is heard in your diagram, or only the two pitch shifted ones, so either you will only hear the frequency-shifted pair or you will hear all three mixed with your two sinus waves. [number box\ ---set master frequency | | | | [+ 175] [+ 224] ---set shifted frequencies | | | | | [triangle~] | [triangle~] [triangle~] Where [triangle~] is an abstraction you have made which produces a nice, bandwidth-limited triangle wave ;-) If my cheap ASCII art doesn't come through, let me know and I'll be less lazy and patch it... Hope this is clear enough, d. -- derek holzer ::: http://www.umatic.nl ---Oblique Strategy # 112: Magnify the most difficult details ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Far and away the best prize that life has to offer is the chance to work hard at work worth doing. -Theodore Roosevelt ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency shifter
patch idea1.pd Description: Binary data ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] frequency shifter
attached is my snare drum which uses the freqshift~ external (http://www.weiss-archiv.de or cvs) and the kick drum i did the other day. these both took me way too long, but they sound good. particularly when run through analogue distortion. kicksnare~.pd Description: Binary data ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list