• 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: Serial UART Bus Servo TTL ST3235 30KG.CM Magnetic Encoder 360° High Precision And Large Torque Solar Raspberry Pi 5 DSI User Guide Raspberry Pi 5 PCIe to M.2 NVMe SSD Adapter Board C HAT Pi5-PCIe-2280-2242-2230 SpotPear Raspberry Pi Secondary Screen LuckFox SC3336 Industrial Modbus RTU 8 ch Relay Module Day and IR Night Vision 14 inch Dual LCD Computer PC Monitor Display Double Secondary Screen Type C Mini HDMI 1080P For Windows/MacOS Raspberry Pi Autofocus Camera LuckFox Pico max 树莓派Pico 2 RP2350B-Plus-W开发板WIFI官方Radio Module 2 Raspberry Pi Pico 2 RP2350 With 0.96 inch LCD Display 0.96inch Screen 160×80 Onboard RP2350A Raspberry Pi DA7212 I2S Audio For XiaoZhi AI Expansion Board Dul-mic Free-Driver For PI5/PI4/Zero RS485 1.69inch LCD TouchScreen Display 240×280 ST7789 Arduino Raspberry Pi ESP32S3 Pico STM32 ESP32 P4 Development Board 7-inch LCD Display 1024×600 7inch Touchscreen ESP32-C6 WiFi6 AI Deepseek Raspberry Pi LCD Display Screen 1.3inch LCD with Game Button AND Audio Buzzer For Zero 2W / 3B / 4B / PI5 / RP2040-PiZero Developer Kit