Skip to content

Repository files navigation

BirdNet-Mikro 🐦🎤

BirdNet-Mikro transforms an Android device into a robust, high-quality external microphone specifically optimized for bird song analysis with BirdNET-Pi or BirdNET-Go.

Designed for 24/7 outdoor monitoring, it overcomes typical mobile networking hurdles and power management restrictions to provide a reliable, low-latency audio stream.

🌟 Key Features

  • Native BirdNET Optimization:
    • 48,000 Hz Sample Rate: Native frequency for BirdNET models (prevents resampling CPU load).
    • Mono WAV Stream: Single-channel audio for efficient bandwidth usage and analysis.
  • Acoustic Cleaning:
    • 200Hz Rumble Filter: Integrated digital IIR High-Pass Filter (HPF) to eliminate wind noise, traffic rumble, and power line hum.
    • Digital Gain (1x - 10x): Real-time remote-adjustable amplification to capture faint, distant bird vocalizations.
  • Professional Reliability:
    • Foreground Service: Runs continuously as a high-priority system task.
    • Samsung S10 Optimized: Includes specialized WakeLocks and High-Performance WifiLocks to prevent the OS from killing the connection.
    • Auto-Boot: Automatically starts the transmitter when the device reboots.
  • Full Remote Control: No need to touch the phone once it's mounted in its outdoor housing.

🛠 HTTP API & Endpoints

All features are accessible on Port 8081.

Endpoint Description
http://[IP]:8081/ Live Audio Stream (Open this in VLC or BirdNET).
http://[IP]:8081/status Remote Monitoring: Returns JSON with battery level, charging status, and client count.
http://[IP]:8081/control?action=start Remote Start: Resumes microphone capture.
http://[IP]:8081/control?action=stop Remote Stop: Pauses capture to save battery.
http://[IP]:8081/control?action=gain&value=5.0 Remote Gain: Sets digital amplification to the specified value (1.0 - 10.0).

🚀 Quick Start

  1. Install the APK: Deploy the app-debug.apk to your target Android device.
  2. Grant Permissions: Launch the app once to grant Microphone and Notification permissions.
  3. Start Streaming: Press "Server Starten". Note the IP address displayed.
  4. Connect BirdNET-Pi:
    • Open your BirdNET-Pi Web UI.
    • Go to Tools > Settings > Advanced Settings.
    • Enter the URL: http://[YOUR-PHONE-IP]:8081
  5. Listen with VLC: To verify audio, open http://[YOUR-PHONE-IP]:8081 in VLC Media Player.

🔋 Recommendations for 24/7 Use

  • Power: Use a high-quality USB cable and a reliable power source (AC or regulated Solar).
  • Battery Settings: On Samsung devices, set the app battery usage to "Unrestricted" (Settings > Apps > BirdNet-Mikro > Battery).
  • Network: A stable Wi-Fi connection is required. The app forces IPv4 to avoid common RTSP/HTTP handshaking issues.

Created as a high-performance audio extension for the BirdNET community.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages