• 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: STM32 0.96inch RGB OLED Multi Protection ESP32-P4-ETH RJ45 POE DSI/MIPI 10.1 inch LCD Display Touchscreen/CSI Camera/Audio Speaker AI Deepseek Raspberry Pi Pico 1.54inch LCD display 240×240 IPS 1.54 inch screen RP2040 Camera ESP32-S3 Development Board 1.47 inch LCD Screen Display 172x320 SD-Port LVGL USB UGV Rover PT AI OpenCV Robot Car MediaPipe For Raspberry Pi ESP32-S3 Industrial-Grade IOT RS485 CAN Communicator WiFi Bluetooth Raspberry Pi Pico DVI MPS2280D Raspberry Pi 5 PCIe to M.2 NVMe Dual SSD Adapter Board HAT Pi5 Double 2280 user guide 2.13Inch E-Paper Raspberry Pi Pico 2 RP2350-One Mini Board Type-A RP2350A Industrial CAN FD ETH RJ45 bidirectional converter CAN2.0A/2.0B Pi5 Fan Metal Case RS485 TO Relay 7inch-DSI-LCD-H User Guide MiniPCIe Interface 2 CH CAN Card USB CAN Multiple Protection Circuits For Linux/Windows X1010 Raspberry Pi 5 PCIe FFC Connector to Standard PCIe x4 Slot Expansion Board