• 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 AI Camera 3.5inch LCD Dual MIC Development Board MINI TV BOX Display 3.5 inch Voice Interruption Object Recognition 10-in-1 Multifunctional ESP32 C3 LCD Finger Vein Scanner Module (B) Cortex M4F UART serial port EAL4+ security certification qualification CSI-to-HDMI 1.28 inch Round Rotary LCD Smart Screen 1.28inch Knob Display 240x240 Option Touch/No-Touch Magnetic Encoder Servo Motor 120KG.CM 24V 360° RS485 High Precision And Large Torque Raspberry Pi 5 Active Cooler Luckfox Pico ST7789 Arduino MEGA2560 R3 Raspberry Pi Pico 2 RP2350A Audio Box 1.85-inch LCD Round 1.85inch TouchScreen Speaker 360x360 Raspberry Pi Pico 2 RP2350A USB-C Mini Development Board Integrated capacitive fingerprint module UART Fingerprint Sensor (G) Install Espressif IDF Plugin Tutorial User Guide Raspberry Pi 5 UGV Beast PT Kit AI OpenCV Robot Car MediaPipe For Jetson Orin Raspberry Pi 5 SSD UART Serial Server CM4 OpenWrt Tutorial Industrial grade isolated USB to RS232/485 converter supports USB to 2-way RS232 + 2-way RS232/485 original FT4232HL E-Paper