[LAU] Jconvolver on Raspberry Pi

Jörn Nettingsmeier nettings at stackingdwarves.net
Wed Feb 17 16:22:08 UTC 2016


On 02/17/2016 12:33 PM, bricolodu wrote:
> Hello,
>
> I'm new to all of this.
> I'm trying to make FIR convolution on a Raspberry Pi 2.
> I have succeeded in making Jack2 working (Playback only, no full duplex).
> My alsa player can connect to Jack2 and jack2 to the hw I2S sound card,
> Fine.
>
> Now, this is what I'm trying to acheive :
> Start Jack2 (with jconvolver as input and I2S soundcard as output)
> Start jconvolver and Connect it to Jack2
> Start Alsaplayer and Connect it to jconvolver as the audio input
>
>
> Here is my asound.conf
> /# convert alsa API to jack API
> # use it with:
> # % aplay foo.wav
> # pcm type jack
> pcm.rawjack {
>      type jack
>      playback_ports {
>          0 system:jconv_1
>          1 system:jconv_2
>          }
>      capture_ports {
>          0 system:capture_1
>          1 system:capture_2
>          }
> }
> # jackplug
> pcm.jack {
>      type plug
>      slave { pcm "rawjack" }
>      hint {
>    description "JACK Audio Connection Kit"
>      }
> }
> # use following peripherical by defaut with alsa:
> pcm.!default {
>      type plug
>      slave { pcm "rawjack" }
> }/
>
> Here is my jconvolver config file: jconvolver filter-44100.conf
> /# Replace by whatever required...
> #
> /cd /root/folve/filter
> #
> #
> #                in  out   partition    maxsize    density
> # --------------------------------------------------------
> /convolver/new    2    2         256     204800        0.5
> #
> #
> #              num   port name     connect to
> # -----------------------------------------------
> /input/name     1     jconvolver
> /input/name     2     jconvolver
> #
> /output/name    1     jconv_1
> /output/name    2     jconv_2
> #
> #
> #                 in out partition maxsize
> # ---------------------------------------------------------------
> /convolver/new 2 2 1024 65536
> #                     in out gain delay offset length  chan    file
> # --------------------------------------------------------------------------
> /impulse/read   1  1  0.75    0      0         0        1
> T-Monacor_SPH30X.wav
> /impulse/read   2  2  0.75    0      0         0        1
> T-Monacor_SPH30X.wav
> /
>
> When I start jconvolver, I get the following error :
> *Can't initialise convolution engine.*


you need to use unique input names i guess (both seem to be called 
"jconvolver"). since they will be prefixed by the client name anyways, 
"in_L", "in_R", "out_L" and "out_R" are probably a good choice...




-- 
Jörn Nettingsmeier
Lortzingstr. 11, 45128 Essen, Tel. +49 177 7937487

Meister für Veranstaltungstechnik (Bühne/Studio)
Tonmeister VDT

http://stackingdwarves.net



More information about the Linux-audio-user mailing list