[LAU] Jconvolver on Raspberry Pi

bricolodu jean.beauve at gmail.com
Wed Feb 17 11:33:59 UTC 2016


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.*

Thank you all for any tweak,
Jean



--
View this message in context: http://linux-audio.4202.n7.nabble.com/Jconvolver-on-Raspberry-Pi-tp98952.html
Sent from the linux-audio-user mailing list archive at Nabble.com.


More information about the Linux-audio-user mailing list