Outstanding Thanks I'll let you hear it.....
They both have separate wall warts powering them...
doesn't sound like a ground loop hum sounds more of an amplifier hum...
Sample rate is
Code: Select all
. $CONFIGFILE
RATE=11025 # Sampling rate, adjust for best quality vs file size
####### SUBROUTINES #######
in the script
I used the sample config in the thread here....
I have tried the mixer settings high low inbetween and upside down....
This file is coming out of the scanner rec port....not sure what the issue could be......
#########################REPORT#################################
Code: Select all
pi@policescanner:~/scripts $ amixer
Simple mixer control 'Master',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 115 [91%] [-6.00dB]
Front Right: Playback 115 [91%] [-6.00dB]
Simple mixer control 'Master Playback ZC',0
Capabilities: pswitch
Playback channels: Front Left - Front Right
Mono:
Front Left: Playback [off]
Front Right: Playback [off]
Simple mixer control 'Sidetone',0
Capabilities: pvolume pvolume-joined
Playback channels: Mono
Limits: Playback 0 - 3
Mono: Playback 0 [0%] [-15.00dB]
Simple mixer control 'Line',0
Capabilities: cswitch
Capture channels: Front Left - Front Right
Front Left: Capture [on]
Front Right: Capture [on]
Simple mixer control 'Mic',0
Capabilities: cswitch cswitch-joined
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'Mic Boost',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 1
Mono: 0 [0%] [0.00dB]
Simple mixer control 'Playback Deemphasis',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Capture',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 20 [65%] [-4.50dB]
Front Right: Capture 20 [65%] [-4.50dB]
Simple mixer control 'ADC High Pass Filter',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Input Mux',0
Capabilities: enum
Items: 'Line In' 'Mic'
Item0: 'Line In'
Simple mixer control 'Output Mixer HiFi',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Output Mixer Line Bypass',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Output Mixer Mic Sidetone',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Store DC Offset',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
pi@policescanner:~/scripts $