• sales

    +86-0755-88291180

Banana pi BPI-M2 Zero Audio Output Tutorial

Raspbian pre configured audio output image download address

Link:https://pan.baidu.com/s/1UnzxK58u_wj7xVKc2FKaqg   Code:73p9


Ubuntu pre configured audio output image download address

Link:https://pan.baidu.com/s/1ZA4r5-NAvU5KeEpc_ec_fQ    Code:p0fq


System2020-04-28-ubuntu-16.04-mate-desktop-bpi-m2z-sd-emmc  (Account number: pi   Password: bananapi)

sudo nano /etc/asound.conf

Enter the following


pcm.!default {

type hw

card 1    //If you want to set HDMI as output ,turn 0 to 1.

device 0

}

ctl.!default {

type hw

card 1   //If you want to set HDMI as output ,turn 0 to 1.

}


Save and restart


Right-click the speaker to bring up the above option, and left-click the above option.


After the setting bar pops up and the HDMI position is selected according to the above figure, the motor close is turned off.


The position of mouse horn icon shows that audio information has been switched to HDMI.


System2020-04-28-raspbian-stretch-bpi-m2z-sd-emmc  (Account number: pi   Password: bananapi)

Open ssh remote

sudo service ssh start


sudo nano /etc/asound.conf

Enter the following

pcm.!default {

type hw

card 1    //If you want to set HDMI as output ,turn 0 to 1.

device 0

}

ctl.!default {

type hw

card 1   //If you want to set HDMI as output ,turn 0 to 1.

}


Save and restart


sudo apt-get install pavucontrol  --fix-missing -y


Music player installation

sudo apt-get install qmmp -y  --fix-missing

TAG: ESP32-S3 AI RGB Matrix Driver Board Dual Microphone DeepSeek Raspberry Pi 10.85 inch e-Paper ink screen display black white 1360×480 For Arduino /Jetson /STM32 /ESP32 Arducam Raspberry Pi 4/5 UPS Uninterruptible Power Supply HAT Lithium Battery Module wide dynamic range ESP32 Raspberry Pi Pico 2 RP2350 0.85 inch LCD Display mini Development Board 0.85inch Screen RGB LED/SD Slot /QMI8658 Gyroscope Sensor Raspberry Pi CM5 Compute Module 5 Development Kit With CM5104032 + Official Original IO Board + Case Rounded LCD Tang Nano Series FPGA FAQ Raspberry Pi PICO Luckfox Pico Max MAX9296 GMSL Camera Adapter Board 2-Ch High-Speed And Low-Latency Transmission For Jetson Orin Nano/NX LuckFox WiFi Wireless ESP32 DDSM Motor Driver HAT For Direct Drive Servo Hub Motors For Raspberry Pi ESP32-S3FH4R2 Matrix 8x8 RGB-LED-WiFi Bluetooth QST Attitude Gyro Sensor QMI8658C Arduino Python Solar Power Manager Module (D) HDMI to LVDS Raspberry Pi Touch Display 2 Official Original Capacitive TouchScreen 7 inch LCD TFT 720x1280 Raspberry Pi LCD display screen 1.3inch ST7789 with Game Button A