Hi all,
Is it somehow possible to have the spectral analysis of a sound made by fft objects in Pd converted to MIDI note numbers? Like it's made in OpenMusic?
Thanks in advance
Taylan
Getting MIDI note names out of spectral data
Hi all,
Is it somehow possible to have the spectral analysis of a sound made by fft objects in Pd converted to MIDI note numbers? Like it's made in OpenMusic?
Thanks in advance
Taylan
do you really HAVE to use piano? they seem to have very messy signals.
I kind of agree with arif on this one. The methods that exist for polyphonic pitch detection are what I would consider AI. FANNs (there is a library for them in pd) cross correlation and bayesian filters come into the equations iirc. There is CLAM (C++ Library of Audio Manipulation) that has polyphonic analysis, but it doesn't run in real time, and was way buggy the last time I tried it.
I'm going to go check the state of that art again, actually.
Best of luck!
any technology distinguishable from magic
is insufficiently advanced.
hmm don't know how to load in the Mac external, hard off, any ideas? i guess i have to put the transcribe~.pd_darwin somewhere and path to it in Pd?
Dual 1.8 IBM G5: Mac OSX 10.4.11 -- Asus eeePC 701: Pure:Dyne / eeeXubuntu GNU/Linux -- myspace.com/thearifd
yeah,
the best way is to make a folder called 'my-externals' or something like that, and then add the path to that folder in pd's preferences.
that way, when you update pd, you can still use all these new externals you have found, by just adding the path in the updated pd too.
Well, it really didn't like that!
(
... failed
... failed
... failed
... failed
... failed
... failed
... failed
)
Dual 1.8 IBM G5: Mac OSX 10.4.11 -- Asus eeePC 701: Pure:Dyne / eeeXubuntu GNU/Linux -- myspace.com/thearifd
Hmm.. I think I need to be a little more clear on that subject. What I'm trying to do is pretty much composing a piece in real-time by using the pitch material derived from the spectrum of a sound (in this case the instrument which plays the piece). For my "normal" compositions I use the same method by analyzing the spectrum of the sound by using SPEAR (klingbeil.com), saving the outcome in SDIF format, and importing it to OpenMusic (ircam.fr) which shows each partial as a note, also gives their dynamic level, duration, phase information etc. For my project, I don't need the later ones but only the pitch.
Well hardoff, for the sake of performance easiness (considering the deadline I have -- Nov.26) I just changed it from piano to flute.
I am attaching the patch I've got so far which creates random succession of notes any time it's triggered. What I want to do is to replace the random with a patch that analyzes the sound, and gives frequency information for each partial that.
transcribe~ looks like it should do trick for the upcoming concert hardoff. Thanks for suggesting.. But for the future projects, I think I am gonna need something more accurate.
so you got that transcribe~ thing working??? i couldn't test it cos i'm only using linux at the moment.
transcribe~ is working pretty well. I haven't used it with a live instrument yet, but so far to me it seems like a little advanced version of fiddle~. For my project, it's surely not what I'm looking for. It works pretty much like a pitch detector whereas what I'm trying to accomplish is the spectral analysis of periodical samplings. I guess I need to dive into the world of fft objects and try to pull out something from there
maybe doc/4.data.structures/partialtracer.pd
It uses [sigmund~] that comes with Pd.
mvh Steffen Leve Poulsen
Oops! Looks like something went wrong!