• 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: 4.26inch-e-Paper Raspberry Pi RP2040 Long-Rang Raspberry Pi 5 Pure-Copper Active Cooler USB Monitor X1200 Raspberry Pi 5 UPS Board Uninterruptible Power Supply For 18650-Li-Battery (NOT includ) Arducam Raspberry Pi 5 USB TO M.2 Key B 5G DONGLE For SIM8202/SIM8262/RM520/RM530 Retail electronic Labe LuckFox Pico Mini Arducam ESP32 C3 LCD Development Board 1.3 inch Display Screen ST7789 240x240 3D Transparent Refractive Prism Mini TV For Arduino Industrial grade isolated USB to RS232/485 converter supports USB to 2-way RS232 + 2-way RS232/485 original FT4232HL Raspberry Pi 3.5 inch e-Paper link (G) RYBW 384x184 For Arduino / Jetson Nano / STM32 Vertical Drag Instructions Arduino 1.54inch OLED ESP32-S3 OLED-LCD-HAT-A user guide Raspberry Pi Pico rp2040 Display image 1.3inch LCD ST7789 change bmp to hex ESP32-S3 ETH Camera Development Board PoE RJ45 / OV2640 OV5640 Port / W5500 / Micro-SD Compatible With Raspberry Pi Pico Size