Re: [LAD] do any of the jack client examples show playing a file from disk?

2011-02-17 Thread drew Roberts
On Wed, Feb 16, 2011 at 9:19 PM, Erik de Castro Lopo mle...@mega-nerd.com wrote: drew Roberts wrote: do any of the jack client examples show playing a file from disk? if so, which? if not, any links to simple code that does this? c++ or c? sndfile-jackplay:    

Re: [LAD] Calculate R M S (Alfs Kurmis)

2011-02-17 Thread Jeff McClintock
With a RMS VU Meter you measure a 1KHz tone as a reference. Best Regards, Jeff ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev

Re: [LAD] Calculate R M S

2011-02-17 Thread Georg Holzmann
Hallo! I wanna normalize my sound stream by loudness (energy / pressure / intensity) , not by peaks. How i do it ? Is available Jack plugin for so what ? You might look into the replay gain standard: http://replaygain.hydrogenaudio.org/ There is also a libreplaygain somewhere around - look

Re: [LAD] Calculate R M S (Alfs Kurmis)

2011-02-17 Thread Fons Adriaensen
On Fri, Feb 18, 2011 at 07:36:44AM +1300, Jeff McClintock wrote: With a RMS VU Meter you measure a 1KHz tone as a reference. A contradiction... A VU does not measure RMS, whatever does measure RMS is not a VU. -- FA ___ Linux-audio-dev mailing list

[LAD] Realtime threads and security

2011-02-17 Thread Olivier Guilyardi
Hi everyone, I am currently spending a lot of time working on Android, and on the andraudio mailing list [1] we are discussing about possible improvements to the internal Android audio system. Currently, latencies are very high, over 100ms, and we're looking for ways to improve the situation. In

Re: [LAD] Realtime threads and security

2011-02-17 Thread Paul Davis
On Thu, Feb 17, 2011 at 3:40 PM, Olivier Guilyardi l...@samalyse.com wrote: Or is there some other ways to achieve this? Some kernel patch maybe? in earlier versions of 2.6, the kernel patch to allow SCHED_FIFO for everyone was incredibly simple. i recall kjetil posting a couple of lines, at

Re: [LAD] Realtime threads and security

2011-02-17 Thread Olivier Guilyardi
On 02/17/2011 09:48 PM, Paul Davis wrote: On Thu, Feb 17, 2011 at 3:40 PM, Olivier Guilyardi l...@samalyse.com wrote: in earlier versions of 2.6, the kernel patch to allow SCHED_FIFO for everyone was incredibly simple. i recall kjetil posting a couple of lines, at most. whether this a

Re: [LAD] Realtime threads and security

2011-02-17 Thread Robin Gareus
On 02/17/2011 10:27 PM, Olivier Guilyardi wrote: On 02/17/2011 09:48 PM, Paul Davis wrote: On Thu, Feb 17, 2011 at 3:40 PM, Olivier Guilyardi l...@samalyse.com wrote: in earlier versions of 2.6, the kernel patch to allow SCHED_FIFO for everyone was incredibly simple. i recall kjetil posting a

Re: [LAD] Realtime threads and security

2011-02-17 Thread Fons Adriaensen
On Thu, Feb 17, 2011 at 10:53:54PM +0100, Robin Gareus wrote: /proc/sys/kernel/sched_rt_runtime_us /proc/sys/kernel/sched_rt_period_us I've been told than on OSX, when a process runs in realtime, it is only allowed to use a certain ratio of CPU time. And if it goes over this limit, it

Re: [LAD] Calculate R M S

2011-02-17 Thread Jens M Andreasen
On Wed, 2011-02-16 at 19:51 +0200, Alfs Kurmis wrote: Hi Experts. I wanna normalize my sound stream by loudness (energy / pressure / intensity) , not by peaks. How i do it ? Is available Jack plugin for so what ? What is (we hear as) loudness ? RMS or +(average) or something else ?