[PD] frequency

2009-08-28 Thread brandt
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

2009-08-28 Thread marius schebella
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


[PD] imaginary numbers

2009-08-28 Thread brandt
hello

how is it possible to calculate with imaginary numbers in PD besides the
fft stuff.

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] Pduino 0.5/Firmata 2.1 third beta release

2009-08-28 Thread olsen
hm tried it today with an arduino duemilanove  i got the same behaviour 
 - as soon as switching to servo mode no pwm signal at all on pins 9+10...

greets
olsen

Hans-Christoph Steiner wrote:


The mega is going to need a good chunk of work to really support it.  
The Arduino code is really structured around the original chip.  I don't 
have the time to do the work myself, but I would happily help someone if 
they take it on.


.hc

On Aug 27, 2009, at 4:00 PM, olsen wolf wrote:


hI hans
i tried this beta on the arduino mega with a servo - again same
result: pwm works but
switching output mode to 'servo' i get no signal on pins 9+10.
i`ll have the mega at hand these days  should hang around in the
#dataflow channel so let me know whenever there`s some testing to be
done.
30° greets
ø

On Mon, Aug 17, 2009 at 6:59 PM, Hans-Christoph Steinerh...@at.or.at 
wrote:


http://at.or.at/hans/pd/objects.html#pduino

We fixed a few bugs, we just need to iron out MegaServo support to 
make this

a final release:

- (Pduino) fixed bug in digital input with pins 7, 15, 23, etc.
- (Firmata) fixed crasher bug in Firmata with analog input
- (Firmata) included old version of StandardFirmata set @ 115200 to 
ease the

transition to 57600

Please test and report and bugs or issues!

.hc


 



Using ReBirth is like trying to play an 808 with a long stick.-David
Zicarelli



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -
http://lists.puredata.info/listinfo/pd-list





--
ETs DNA will not be televised




 



Using ReBirth is like trying to play an 808 with a long stick.-David 
Zicarelli





--
ETs DNA will not be televised


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pd~ for Max

2009-08-28 Thread Hans-Christoph Steiner


Now with Csound for Pd and Max for Live, you could have Csound for Pd  
for Max for Live!


.hc

On Aug 27, 2009, at 11:51 PM, Jonathan Wilkes wrote:


Hi Miller,
 Will [pd~] ever be available for windows machines?  Or is it just not
possible to implement (I remember reading about some technical hurdle
but I can't remember what it is at the moment)?

Thanks,
Jonathan

--- On Fri, 8/28/09, Miller Puckette mpuck...@imusic1.ucsd.edu  
wrote:



From: Miller Puckette mpuck...@imusic1.ucsd.edu
Subject: Re: [PD] pd~ for Max
To: Max abonneme...@revolwear.com
Cc: pd-list@iem.at
Date: Friday, August 28, 2009, 5:35 AM
Oops, sorry about that... I
reorganized some stuff and that fell
through a crack.  It's back up on:

http://crca.ucsd.edu/~msp/software.html

cheers
Miller

On Fri, Aug 28, 2009 at 03:21:57AM +0200, Max wrote:

Hi List,

i've been asked by students where to download the

starter drug ?pd~

for Max? and i could not find it myself - i thought it

is available?

It's neither here:
http://crca.ucsd.edu/~tapel/software.html
nor
http://crca.ucsd.edu/~msp/software.html
and here neither:
http://www.maxobjects.com/?v=authorsinitiale=M

max





___
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






Mistrust authority - promote decentralization.  - the hacker ethic



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pd~ for Max

2009-08-28 Thread Max
I'm having trouble getting it to run - there is no INSTALL  
instructions, but i guess

pd~.mxo lives in /Applications/Max5/Cycling\ '74/msp-externals/
and pd~.help lives in /Applications/Max5/Cycling\ '74/msp-help/
allthough the other files are called .maxhelp, not .help

i restarted Max and created a pd~ Object, it has no in or outlets but  
i can open the Help from there, switch Audio on and Select the  
Pd-0.42-5.app but nothing happens.


what am i doing wrong?

Am 28.08.2009 um 05:35 schrieb Miller Puckette:


Oops, sorry about that... I reorganized some stuff and that fell
through a crack.  It's back up on:

http://crca.ucsd.edu/~msp/software.html

cheers
Miller

On Fri, Aug 28, 2009 at 03:21:57AM +0200, Max wrote:

Hi List,

i've been asked by students where to download the starter drug ?pd~
for Max? and i could not find it myself - i thought it is available?
It's neither here:
http://crca.ucsd.edu/~tapel/software.html
nor
http://crca.ucsd.edu/~msp/software.html
and here neither:
http://www.maxobjects.com/?v=authorsinitiale=M

max




PGP.sig
Description: Signierter Teil der Nachricht
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] imaginary numbers

2009-08-28 Thread Mathieu Bouchard

On Fri, 28 Aug 2009, bra...@subnet.at wrote:

how is it possible to calculate with imaginary numbers in PD besides the 
fft stuff.


basically, if you know that something is an imaginary number, you can use 
a real number in its place and just remember to multiply by square root of 
-1 in your head.


but if you want to combine real and imaginary numbers, then you need 
complex numbers, each of which is a real and an imaginary number.


let i be sqrt(-1)... then let's say you have two complex numbers, a+bi, 
c+di, as four floats. the sum is (a+c)+(b+d)i, that is you add the real 
parts together, and add the imaginary parts together. From this, you can 
guess how to subtract. The product formula is (a*c-b*d)+(a*d+b*c)i, which 
you can often see in Miller's FFT patches as a cluster of four [*~].


You can find more such formulas on Wikipedia, PlanetMath, MathWorld, or 
other, but if you can't find one or have trouble getting one to work, ask 
pd-list again.


Abstractions could have been made for some of these, especially *, /, exp, 
log, but I don't think any such library exists. GridFlow provides those 
operations as an external if you need something fast.


 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list