On Sat, 22 Dec 2007 21:53:40 +0000, Kurt B Cox wrote:

> I keep getting this error when trying to setup a dynamic range
> compressor. Does anyone have any experience using ladspa plugins with
> ALSA?
> 
> I followed the howto on this site http://alsa.opensrc.org/index.php/
> Ladspa_(plugin). I only deviated from their .asoundrc trying to
> troubleshoot. Currently using ALSA 1.0.14
> 
> 
> 
> [EMAIL PROTECTED]:~$ aplay -Dplug:drc downloads/bigsmegh.wav Playing WAVE
> 'downloads/bigsmegh.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono ALSA lib
> pcm_plug.c:746:(snd_pcm_plug_hw_refine_schange) Unable to find an usable
> slave format for 'stereo'
> ALSA lib pcm_plug.c:750:(snd_pcm_plug_hw_refine_schange) Format:
> FLOAT_LE ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave
> format: S8 ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange)
> Slave format: U8 ALSA lib
> pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format: S16_LE
> ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format:
> S16_BE
> ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format:
> U16_LE
> ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format:
> U16_BE
> ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format:
> S24_LE
> ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format:
> S24_BE
> ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format:
> U24_LE
> ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format:
> U24_BE
> ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format:
> S32_LE
> ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format:
> S32_BE
> ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format:
> U32_LE
> ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format:
> U32_BE
> ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format:
> MU_LAW
> ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format:
> A_LAW
> ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format:
> IMA_ADPCM
> ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format:
> S24_3LE
> ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format:
> S24_3BE
> ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format:
> U24_3LE
> ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format:
> U24_3BE
> ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format:
> S20_3LE
> ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format:
> S20_3BE
> ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format:
> U20_3LE
> ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format:
> U20_3BE
> ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format:
> S18_3LE
> ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format:
> S18_3BE
> ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format:
> U18_3LE
> ALSA lib pcm_plug.c:755:(snd_pcm_plug_hw_refine_schange) Slave format:
> U18_3BE
> ALSA lib pcm_plug.c:840:(snd_pcm_plug_hw_refine_cchange) Unable to find
> an usable client format
> ALSA lib pcm_plug.c:844:(snd_pcm_plug_hw_refine_cchange) Format:
> FLOAT_LE ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave
> format: S8 ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange)
> Slave format: U8 ALSA lib
> pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format: S16_LE
> ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format:
> S16_BE
> ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format:
> U16_LE
> ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format:
> U16_BE
> ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format:
> S24_LE
> ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format:
> S24_BE
> ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format:
> U24_LE
> ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format:
> U24_BE
> ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format:
> S32_LE
> ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format:
> S32_BE
> ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format:
> U32_LE
> ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format:
> U32_BE
> ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format:
> MU_LAW
> ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format:
> A_LAW
> ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format:
> IMA_ADPCM
> ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format:
> S24_3LE
> ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format:
> S24_3BE
> ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format:
> U24_3LE
> ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format:
> U24_3BE
> ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format:
> S20_3LE
> ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format:
> S20_3BE
> ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format:
> U20_3LE
> ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format:
> U20_3BE
> ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format:
> S18_3LE
> ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format:
> S18_3BE
> ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format:
> U18_3LE
> ALSA lib pcm_plug.c:849:(snd_pcm_plug_hw_refine_cchange) Slave format:
> U18_3BE
> ALSA lib pcm_params.c:2152:(snd_pcm_hw_refine_slave) Slave PCM not
> usable aplay: set_params:878: Broken configuration for this PCM: no
> configurations available
> 
> 
> [EMAIL PROTECTED]:~$ cat .asoundrc
> pcm.drc {
>       type ladspa
>       slave.pcm "stereo"
>       path "/usr/lib/ladspa"
>       plugins {
>               0 {
>                       id 1403 #label dysonCompress
>                       input {
>                               #peak limit, release time, fast ratio,
> ratio
>                               controls [0 1 0.5 0.99]
>                       }
>               }
>               1 {
>                       id 1913 #label fastLookaheadLimiter
>                       input {
>                               #InputGain(Db) -20 -> +20 ;
>                               #Limit (db) -20 -> 0 Release time (s)
> 0.01 -> 2
>                               controls [ 10 0 0.8 ]
>                       }
>               }
>       }
> }
> pcm.stereo {
>       type plug
>    slave.pcm "plughw:0,0"
> }
> 
> 
> 
> 
> 
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft Defy all challenges.
> Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

ok, I found out that my problem is related to this gutsy bug

Bug #132037 in alsa-lib (Ubuntu)


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to