• 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: A7670E LTE Cat-1 HAT for Raspberry Pi Multi Band 2G GSM / GPRS LBS 128x128 LuckFox Pico Mini Raspberry Pi Pico 10.1inch DVI LCD GPS LCD Driver Board Raspberry Pi 5 PCIe to M.2 NVMe SSD Adapter Board C HAT Pi5-PCIe-2280-2242-2230 SC09 Serial UART Bus Servo Motor Switchable 2.3kg 300Angle ESP32 C6 Development Board 1.28 inch LCD Display Screen 240x240 GC9A01A SD card slot DeepSeek AI Voice Chat ESP32 S3 Development Board 1.83 inch TouchScreen Display 240x284 Lidar Raspberry Pi 5 Official Case RP2350B-MINI-A picotool Tutorial TTL To CAN Mini Raspberry Pi Pico rp2040 Display image 1.3inch LCD ST7789 change bmp to hex Raspberry Pi 5 PD Activation Raspberry Pi 7inch DSI RP2040 LoRa-HF Industrial ESP32-S3 Relay 8-Channel 8-Ch ESP32-WROOM IOT WiFi Bluetooth HAT For Arduino Computer Secondary Screen Raspberry Pi 5/4B not boot To update BootLoader EEPROM Tutorial