How to setup and test
Moderator: flatmax
Re: How to setup and test
Can anyone guide me on how to make Jack work? I am trying to use the card for different synth apps that require Jack. But it doesn't work for me. I have tried different settings and googled to find solutions, but I haven't found one. Jack works OK with a cheap Chinese USB card, but stops working as soon as I switch back to Audio Injector. I get error messages like "cannot allocate memory", and the Jack server won't start.
I suppose that I have set up the card correctly. I used the setup script. I get sound when using ALSA, and also when playing from for example streaming web-sites. But there is a noise, a loud hum. I have tried to set it up on fresh installs of both Raspbian and Ubuntu Mate. I use a Raspberry Pi 3.
I suppose that I have set up the card correctly. I used the setup script. I get sound when using ALSA, and also when playing from for example streaming web-sites. But there is a noise, a loud hum. I have tried to set it up on fresh installs of both Raspbian and Ubuntu Mate. I use a Raspberry Pi 3.
Re: How to setup and test
Can anyone guide me on how to make this work with Jack? I am trying to use it with synthesizer applications. Everything I have tried fails, and I get error messages like "cannot allocate memory", and the server won't start. If I change the hardware to a cheap Chinese USB sound card, it works fine. I think the card is installed correctly, as I get sound from ALSA. I used the setup script, and I have tried it on fresh installs of both Raspbian and Ubuntu Mate.
Re: How to setup and test
Can you please post in your command to start jackd ?
Here is my example which works :
First check to see the audioinjector is there : Looks like it is !
I run jackd like so :
I can see it provides two ports :
I do a test with audacity setting it to use the jackd system, the audacity preferences are shown in the following image :
I generate a tone and playback, all sounds good!
Here is my example which works :
First check to see the audioinjector is there :
Code: Select all
pi@raspberrypi:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: audioinjectorpi [audioinjector-pi-soundcard], device 0: AudioInjector audio wm8731-hifi-0 []
Subdevices: 0/1
Subdevice #0: subdevice #0
I run jackd like so :
Code: Select all
pi@raspberrypi:~ $ jackd -d alsa
jackdmp 1.9.10
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2014 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 2 periods for playback
Code: Select all
pi@raspberrypi:~ $ jack_lsp
system:capture_1
system:capture_2
system:playback_1
system:playback_2
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector
Re: How to setup and test
I start Jack from Qjackctl. I have tried different settings, but I want as low latency as possible. A latency of 21,3 ms as in your example is a bit too much. I have therefore tried lower settings for frames per period. But after after trying different settings for frames and sample rate a few times it won't start at all. I plugged in my cheap USB card again, and that works fine. But I will try again with your settings.
Re: How to setup and test
You should be able to get around sub 1ms latencies using ALSA directly - with jackd it may be a little higher ... but aim for low latency.
With USB you probably will not be able to get much below 3 ms latencies.
Matt
With USB you probably will not be able to get much below 3 ms latencies.
Matt
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector
Re: How to setup and test
Hi there,
I can run with period sizes of 50 samples (around 1ms latency per period).
Matt
I can run with period sizes of 50 samples (around 1ms latency per period).
Code: Select all
jackd -d alsa -i 2 -o 2 -p 50
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector
-
- Posts: 2
- Joined: Sun Aug 13, 2017 7:29 am
Re: How to setup and test
I bought the mic version of this board from your Amazon store last week, and then followed your instructions for the setup script using the .deb file. Currently, I can configure the board to use Mic input and the board's 3.5 mm output without a hitch. However, when I configure my alsamixer as has been previously shown to enable RCA Line In, I get nothing via arecord or audacity. In addition, my RCA Out seems to only be working out of one channel. This is on a fresh install of Rasbian on a new Pi 3. The audio injector board appears just fine in aplay -l and arecord -l, and I double checked the config.txtand everything appears as it should. I'm at a loss as to what to do next to troubleshoot these two problems.
Once I am able to resolve this, I am hoping that I can configure this board for a vinyl/cassette ripping and streaming project using metadata from Discogs.
Once I am able to resolve this, I am hoping that I can configure this board for a vinyl/cassette ripping and streaming project using metadata from Discogs.
Re: How to setup and test
If your RCA is only working out of one channel, and alsa mixer shows both channels of input correctly, then it is possible that you have a defective product.
I will contact you to sort this out.
Matt
I will contact you to sort this out.
Matt
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector
-
- Posts: 1
- Joined: Sun Aug 27, 2017 11:22 am
Re: How to setup and test
I was having major fails but now I am getting the card to load on bootup . I still cannot get the card to work properly though. Here is my setup:
There is another problem that may be related. When I use `arecord` or `aplay` the command works, but on a second try of these commands I get an error message:
Also, when I execute the test script I get this strange output,
I think there may be a problem with the sound card. When I unmute the "Output Mixer Line" and put my finger on the capacitors behind the pot, I get massive interference and all of a sudden it is capturing sound. I don't know anything about electronics so maybe this is nothing?
I'm so close! Please help
I am using the headphone jack as the output and I want to use the mic as the input. When I arecord it seems to record but the playback is empty. There is no input or output to the browser either. It looks like it should be working but I am getting neither input nor output. At times, I haven't pinned down when, it will play a wav file for me through my headphones. There is another problem that may be related. When I use `arecord` or `aplay` the command works, but on a second try of these commands I get an error message:
Code: Select all
aplay: main:722: audio open error: Device or resource busy
Code: Select all
audioInjector-test.sh
I'm so close! Please help
Re: How to setup and test
Hi,
It is a little hard to work out what is going on. The fact that you can record and play back once, but it doesn't work a second time - strange. From private comms with you I am aware that you have setup many times trying to fix this. hmmm... lets talk about this more on email.
Matt
It is a little hard to work out what is going on. The fact that you can record and play back once, but it doesn't work a second time - strange. From private comms with you I am aware that you have setup many times trying to fix this. hmmm... lets talk about this more on email.
Matt
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector
Who is online
Users browsing this forum: No registered users and 4 guests