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
try [fiddle~], should do the trick!
any technology distinguishable from magic
is insufficiently advanced.
I need something that is capable of a lot more detailed analysis sunji. I used fiddle~ in many of my other projects, but it's not working sufficiently for the one I'm currently working on. I want to build a patch that converts spectral analysis of a musical excerpt played by an acoustic instrument (in this case it is a piano) sampled periodically, and convert it to notation in real time. I've sorted out the notation part by using GEM, but got stuck with the analysis part. If it was a monophonic instrument playing clear lines, fiddle~ would make it, but in the case of piano, with all those pedals, chords, sustained sounds, it simply doesn't work... I guess fft~ objects will do it somehow, but it's certainly beyond my Pd knowledge to program them to get what I need...
polyphonic pitch detection??? are you crazy, you might have to resort to the new version of Melodyne (£££) for that!
Dual 1.8 IBM G5: Mac OSX 10.4.11 -- Asus eeePC 701: Pure:Dyne / eeeXubuntu GNU/Linux -- myspace.com/thearifd
a polyphonic pitch detector for maxmsp and pd (only seems to have mac/windows externals at the moment though)
http://www.cycling74.com/forums/index.php?rid=0&S=8e0e067100ec8e1a17f8a07369e0e4b5&t=msg&th=28449
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!