Re: [LAD] Polyphonic Pitch Estimation
Take a look here http://www.karindressler.de/papers.html Bye Ax On Mon, 2012-01-23 at 09:45 +0100, Gerald Mwangi wrote: Hi all, I'm developing a small app which uses aubio to extract the fundamental Frequency of a monophonic guitarsignal to drive a set of wavetable synths. It works quite well and I'll put up on the net when I have the time. But I would like to extract the fundamentals of a polyphonic signal. Does anyone know of a lib which does this in realtime? Or at least a state of the art paper I could implement? thanx, Gerald ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev -- Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f Sponsor: Peluche Originali Disney, Simpson, Bugs Bunny, Spongebob... a partire da soli Euro 9.90! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11653d=28-1 ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] Mplayer decode to stdout
Hi Experts.For my small multimedia audio project i wanna use mplayer as external decoder.As usually via pipe , for example somplayer -af resample=44100:0:1,channels=2,format=s16le -ao pcm:nowaveheader:file=/dev/stdout -quiet -really-quiet 'saund_file.ext' | nextprog -options ...or sohttp://martini.pudele.com/radio/programming/audio/mplayerdecso01.cI prefer output to pipe, not FIFO.It seems that mplayer also all messages put to stdout :(If i run mplayer without options -quiet and -really-quiet and sound output to stdout , i becomemusic mixed with white noise , if message length "A: 14.8 (14.8) of 189.0 (03:09.0) 1.1%"is not N x 2 !If message length is is N x 2 but not M x 4, then stereo channels are swapped :DIs mplayer really absolutley quiet with options -quiet and -really-quiet ?Is mplayer also absolutley quiet if sound file/frame/tag/whatever is corrupt ?How i can be 100% sure ?Is it possible all mplayer's info message function calls , printf(), puts(), putch(), to replace withfprintf(stderr, ... ) ,or #define puts( ss ) fprintf(stderr, ss ) ?Is here another decoder progs/libs with easy-to-use C API ?Tnx in advance @ allAlfs Kurmis ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] Mplayer decode to stdout
On Sat, Jan 28, 2012 at 5:35 PM, Alfs Kurmis kallipy...@inbox.lv wrote: Hi Experts. For my small multimedia audio project i wanna use mplayer as external decoder. As usually via pipe , for example so mplayer -af resample=44100:0:1,channels=2,format=s16le -ao pcm:nowaveheader:file=/dev/stdout -quiet -really-quiet 'saund_file.ext' | nextprog -options ... you're just resampling and reformatting? Is here another decoder progs/libs with easy-to-use C API ? sndfile-resample and sndfile-convert can both be given - as the name of their output or input. they are much simpler programs that mplayer and will also likely do a better job. --p ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] Mplayer decode to stdout
For my small multimedia audio project i wanna use mplayer as external decoder. As usually via pipe , for example so mplayer -af resample=44100:0:1,channels=2,format=s16le -ao pcm:nowaveheader:file=/dev/stdout -quiet -really-quiet 'saund_file.ext' | nextprog -options ... you're just resampling and reformatting? Is here another decoder progs/libs with easy-to-use C API ? sndfile-resample and sndfile-convert can both be given "-" as the name of their output or input. they are much simpler programs that mplayer and will also likely do a better job. --paf resample=44100:0:1,channels=2,format=s16le is not so imoprtant, because most files already are 44k stereo S16LEIf some sound files are not 44k stereo S16LE, they are just forced -to-be- 44k stereo S16LE .Impotrant is gotta decoded RAW data (and only RAW data) to STDOUT,and not any messages mixed with RAW data !NEVER ! mplayer - -ao pcm:nowaveheader:file=/dev/stdout -quiet -really-quiet 'saund_file.ext' | nextprog -options ... Problem is that ,for example mpg123 any messages put to stderr, so that with option -s we gotta pure RAW to stout,but mplayer put all messages to stout A.K. ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] Mplayer decode to stdout
On Sun, Jan 29, 2012 at 01:31:00AM +0200, Alfs Kurmis wrote: Problem is that, for example mpg123 any messages put to stderr, so that with option -s we gotta pure RAW to stout, but mplayer put all messages to stout sox/play will definitely do the job with - as the parameter. I'm not sure about the possible codecs. If nothing helps, fire up jackd (-d dummy should be fine for your case), tell mplayer to output to jack (-ao jack) and use jack-stdout to pipe raw audio samples to your later stages or implement whatever you have to do as a jack program. Though jackd might be overkill for the use case at hand. HTH -- mail: a...@thur.de http://adi.thur.de PGP/GPG: key via keyserver ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] Mplayer decode to stdout
On 01/28/2012 11:35 PM, Alfs Kurmis wrote: Hi Experts. For my small multimedia audio project i wanna use mplayer as external decoder. As usually via pipe , for example so mplayer -af resample=44100:0:1,channels=2,format=s16le -ao pcm:nowaveheader:file=/dev/stdout -quiet -really-quiet 'saund_file.ext' | nextprog -options ... or so http://martini.pudele.com/radio/programming/audio/mplayerdecso01.c I prefer output to pipe, not FIFO. It seems that mplayer also all messages put to stdout :( That's probably why mplayer devs recommend using mkfifo (named pipe) instead of stdout.. 'mencoder' can do it. If you need to support a variety of unknown formats and codecs: ffmpeg is an alternative and gstreamer might be one. ffmpeg -i /some/file -f u16le -acodec pcm_s16le -ar 44100 - \ | jack-stdin system:playback_1 system:playback_2 on that note, `jack-stdout` can capture and pipe raw PCM data from any JACK-application including `mplayer -ao jack /some/file`. YMMV. HTH, robin ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] Mplayer decode to stdout
Hi Alfs, *, sorry, a typo slipped in: On 01/29/2012 01:37 AM, Robin Gareus wrote: On 01/28/2012 11:35 PM, Alfs Kurmis wrote: Hi Experts. For my small multimedia audio project i wanna use mplayer as external decoder. As usually via pipe , for example so mplayer -af resample=44100:0:1,channels=2,format=s16le -ao pcm:nowaveheader:file=/dev/stdout -quiet -really-quiet 'saund_file.ext' | nextprog -options ... or so http://martini.pudele.com/radio/programming/audio/mplayerdecso01.c I prefer output to pipe, not FIFO. It seems that mplayer also all messages put to stdout :( That's probably why mplayer devs recommend using mkfifo (named pipe) instead of stdout.. 'mencoder' can do it. If you need to support a variety of unknown formats and codecs: ffmpeg is an alternative and gstreamer might be one. ffmpeg -i /some/file -f u16le -acodec pcm_s16le -ar 44100 - \ I forgot a the -c 2 option to enforce stereo. The line should have read: ffmpeg -i /some/file -f u16le -acodec pcm_s16le -ar 44100 -c2 - \ | jack-stdin system:playback_1 system:playback_2 on that note, `jack-stdout` can capture and pipe raw PCM data from any JACK-application including `mplayer -ao jack /some/file`. YMMV. HTH, robin ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev