You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
install.sh expects microphone to have mono input with a single channel. My microphone has stereo only so doesn't install with it.
Here in install.sh it expects -c 1.
# Test audio device access
if ! arecord -c 1 -f S16_LE -r 48000 -d 1 -D "$device" /dev/null 2>/dev/null; then
print_message "❌ Failed to access audio device" "$RED"
print_message "This could be due to:" "$YELLOW"
print_message " • Device is busy" "$YELLOW"
print_message " • Insufficient permissions" "$YELLOW"
print_message " • Device is not properly connected" "$YELLOW"
return 1
else
print_message "✅ Audio device validated successfully, tested 48kHz 16-bit mono capture" "$GREEN"
fi
Steps to Reproduce (for bugs)
./install.sh on a Raspberry Pi 4B on Debian Bookworm-lite
Expected behavior
Detect USB mic
Actual behavior
Failed to detect USB microphone
🎤 Audio Capture Configuration
1) Use sound card
2) Use RTSP stream
❓ Select audio input method (1/2): 1
🎤 Detected audio devices:
[1] Card 3: Adapter USB-C Audio Adapter
Device 0: USB Audio [USB Audio]
Please select a device number from the list above (1-1) [1] or 'b' to go back:
✅ Selected capture device: USB Audio
❌ Failed to access audio device
This could be due to:
• Device is busy
• Insufficient permissions
• Device is not properly connected
❌ Failed to validate audio device
Screenshots
[If applicable, add screenshots to help explain your problem]
Environment
Version Information (build date)
🐦 BirdNET-Go build date: 2025-01-13T19:57:04Z, using config file: /root/.config/birdnet-go/config.yaml
System Information
Device:
USB Audio device: Cubilux Lavalier, Mini Black, USB A with 3.5mm Jack
Possible Solution
My workaround was to change this so it has 2 channels.
# Test audio device access
if ! arecord -c 2 -f S16_LE -r 48000 -d 1 -D "$device" /dev/null 2>/dev/null; then
The text was updated successfully, but these errors were encountered:
Issue Type
Description
install.sh
expects microphone to have mono input with a single channel. My microphone has stereo only so doesn't install with it.Here in
install.sh
it expects -c 1.Steps to Reproduce (for bugs)
Expected behavior
Detect USB mic
Actual behavior
Failed to detect USB microphone
Screenshots
[If applicable, add screenshots to help explain your problem]
Environment
Version Information (build date)
System Information
Possible Solution
My workaround was to change this so it has 2 channels.
The text was updated successfully, but these errors were encountered: