Re: type ladspa -> Unknown PCM (on raspberry - but that shouldn't matter)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As a follow-up on this I wanted to make sure that the plugins really
work (i.e. work properly on the raspberry) and it does seem so:

$ applyplugin piano2.wav piano2_out.wav amp.so amp_stereo 6
Peak output: 117816
$ applyplugin piano2.wav piano2_out.wav amp.so amp_stereo 12
Peak output: 235632

It does seem that the plugin is correctly applying a gain increase

 - bram

On Thu, Jun 13, 2013 at 4:42 PM, Bram de Jong <bram.dejong@xxxxxxxxx> wrote:
> Hello all,
>
>
> (first mail on this list, I'm new here!)
>
> I'm trying to do some funky things with ALSA/PulseAudio/Bluetooth on a
> raspberry PI, and I already have many things working. However, I would
> really like to use some LADSPA plugins as pcm devices/plugs in alsa.
>
> Following the many guides online my .asoundrc looks like this (using
> the simpelest of plugins available):
>
> pcm.Amp {
>         type ladspa
>         slave.pcm "plughw:0,0";
>         path "/usr/lib/ladspa";
>         plugins [
>                 {
>                         id 1049
>                         label amp_stereo
>                         input {
>                                 controls [ 6 ]
>                         }
>                 }
>         ]
> }
>
> However, no matter what I try (changing the slave, the config, ...), I
> always seem to get:
>
> pi@raspberrypi ~ $ aplay -Dplug:Amp piano2.wav
> ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM Amp
> aplay: main:682: audio open error: File exists
>
> The plugin definitely exists:
>
> pi@raspberrypi ~ $ analyseplugin amp
> <snip>
> Plugin Name: "Stereo Amplifier"
> Plugin Label: "amp_stereo"
> Plugin Unique ID: 1049
> Maker: "Richard Furse (LADSPA example plugins)"
> <snip>
>
> So that isn't the problem.
>
> If anyone has any hint to tell me where to start looking that would be
> superb. I find nothing in the logs, -vv doesn't help either, ... so I
> don't really see what I'm doing wrong.
>
> One thing that did work (using pulseaudio) was to load the plugin
> directly as a PA module, but I want to be able to control the controls
> of my plugin in realtime (something which doesn't seem possible until
> a much later version of PA):
>
> ( pactl load-module module-ladspa-sink sink_name=ladspa_amp
> master=alsa_output.platform-bcm2835_AUD0.0.analog-stereo plugin=amp
> label=amp_stereo control=6 )
>
>
> kindest and any help much appreciated!
>
>
>  - bram
>
> --
> http://www.samplesumo.com
> http://www.freesound.org
> http://www.smartelectronix.com
> http://www.musicdsp.org
>
> office: +32 (0) 9 335 59 25
> mobile: +32 (0) 484 154 730



-- 
http://www.samplesumo.com
http://www.freesound.org
http://www.smartelectronix.com
http://www.musicdsp.org

office: +32 (0) 9 335 59 25
mobile: +32 (0) 484 154 730

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user




[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux