Line in capture boost

Moderator: flatmax

Post Reply
vanmanda
Posts: 8
Joined: Tue Apr 25, 2017 7:24 am

Line in capture boost

Post by vanmanda » Sun Nov 19, 2017 7:28 am

Hi,

we are using the audioinjector stereo card for our player/recorder device. We are recording from line in.
Our source is most of the time of very bad quality and we would like to have the capability to give the input signal a boost in volume. (beyond 100%)
We've been reading various sources on the internet and were looking into customizing /etc/asound.conf to add an additional softvol on the capture device.
This is what we came up with:
pcm.mbl {
type hw
card 0
}
pcm.mbl_rec {
type softvol
slave.pcm mbl
control {
name "Boost Capture Volume"
card 0
}
min_dB -3.0
max_dB 30.0
}

But it doesn't work at all. We do not see an additional control in the alsamixer let alone that we can boost the input signal.
Our device is being used for recording and playback. For playback we would like to keep the signal bitperfect.
Could someone help us with this setup?

Thanks !

moggyd
Posts: 22
Joined: Wed Jul 05, 2017 5:09 pm

Re: Line in capture boost

Post by moggyd » Mon Nov 20, 2017 8:48 am

I'm doing something very similar. You have to actually use the plugin before it will appear in alsamixer.

Running something like arecord -D plug:mbl_rec should do it.

vanmanda
Posts: 8
Joined: Tue Apr 25, 2017 7:24 am

Re: Line in capture boost

Post by vanmanda » Fri Nov 24, 2017 6:32 pm

Hi moggyd,

thanks for your help. That did indeed made the softvol control available in alsamixer. It however does not boost the signal. Do you have an idea why that is? We are recording using the inputstream feature of python.
Or perhapse you have a better idea on how to boost the signal beyond the capabilities of the soundcard?

We've been testing these days with the following. We downloaded a 1KHz 0dB 16bit wav file from wavetones.com. When we payback this track using the line-out of a Marantz NA7004 connected to the line-in. We only record a 0dB signal when we put "Capture" in alsamixer to 100%. We expected however that this would oversteer the signal with +12dB as stated when "capture" is set to 100%. According to alsamixer, you get 0dB gain when you change "Capture" to 56%. This is how we expected it to work.
Just for the record: The physical input controller is set to max.

Any help would be much appreciated as this is blocking the GO LIVE of our little project.

Thanks !

vanmanda
Posts: 8
Joined: Tue Apr 25, 2017 7:24 am

Re: Line in capture boost

Post by vanmanda » Tue Nov 28, 2017 8:44 am

Hi,

Instead of fiddling around with softvol I shorted R6 and R7, that increased the input level and solved my problem.

ScottJones
Posts: 5
Joined: Mon Dec 04, 2017 7:21 pm

Re: Line in capture boost

Post by ScottJones » Tue Dec 05, 2017 8:26 pm

Thank you moggyd. I was also encountering same problem.We too had additional control in the alsamixer let alone that was boosting the input signal. Our device is also being used for recording and playback. After Running like arecord -D plug:mbl_rec it worked well.

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: Line in capture boost

Post by flatmax » Fri Dec 08, 2017 6:18 pm

vanmanda wrote:
Tue Nov 28, 2017 8:44 am
Hi,

Instead of fiddling around with softvol I shorted R6 and R7, that increased the input level and solved my problem.
This is a good way to amplify the input signal by 6dB.
The original stereo card has R6 and R7 in place.
The Zero card doesn't have any resistive damping - it is full range already.

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

AndyTij
Posts: 3
Joined: Sun Jan 28, 2018 8:32 pm

Re: Line in capture boost

Post by AndyTij » Sat Feb 10, 2018 4:37 pm

Hi Matt & Forum

I have the soundcard for the Pi3

I'm finding that the level of the line in is very low indeed!

I have a cheap USB soundcard for which Alsamixer looks like this:
Image
The audio is tone fed through darkice / icecasted to a laptop and on my PPM it is about +2dBU

With the AudioInjector the volume pot is cranked clockwise, and the capture level is maxed out:
Image
Same tone / setup, yet it is only measuring -9dBU on my PPM.

The cheap soundcard's Line In is set to 0dB gain, the audio Injector is maxed out at +12dB's of gain.

So really I need to find about another 21dB of gain for this device to begin to make it comparable, any ideas how?
Attachments
usbsoundcard (1).png
usbsoundcard (1).png (253.79 KiB) Viewed 4565 times
pisoundcard.png
pisoundcard.png (252.62 KiB) Viewed 4565 times

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests