• 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 ESP32-S3 AI Camera Development Board Dual Microphone with Display Port 0.85inch LCD Button Mechanical Keyboard Display Screen 128x128 For Arduino /Raspberry Pi /ESP32 /RP2040 /STM32 USB Monitor Raspberry-Pi-Game-1.54inch-LCD-touchscreen-display-ST7789 Raspberry Pi 5 PD Induction Core3566004032 Raspberry Pi PICO LoRa-HF Raspberry Pi GPS GNSS Expansion Board L76K Beidou (BDS) GLONASS QZSS A-GNSS Also For Jeston CPU Monitor Display IMX477 IR CUT Camera (A) 12.3MP For Jetson Nano/Orin And Raspberry Pi Raspberry Pi Pico 2 RP2350-Zero Mini Board RP2350A E-Paper Font Tutorial DeepSeek XiaoZhi AI Voice Chat Robot BOX ESP32-S3 Development Board 3.5 inch QSPI LCD N16R8 Touchscreen Display 6-Axis /Camera /SD MiniPCIe Interface 2 CH CAN Card USB CAN Multiple Protection Circuits For Linux/Windows Industrial RJ45 Ethernet To 16-ch Relay Module Modbus RTU TCP With Protection and guide rails Modbus POE ETH Relay MQTT User Guide 64MP Camera Raspberry Pi User Guide Industrial Modbus RTU 8 ch Relay Module