• 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: raw display SIM8230G M2 3G/4G/5G/GNSS/GPS Sub-6G PCIe M.2 Moudle For LTE-A/NSA/SA For DFOTA /VoLTE For SIMCOM Retail electronic Labe Industrial 4-ch PWM RS485 pulse output module Modbus RTU rail USB CAN Analyzer Raspberry Pi 5inch Display 1024x600 HDMI Capacitive TouchScreen 5 inch LCD B Wide-Cover For Mini PC Mini TOF Time-of-Flight Laser Ranging Radar Sensor Compatible UART with Arduino Raspberry Pi ESP32 and Pico ESP32 C6 Development Board 1.28 inch LCD Display Screen 240x240 GC9A01A SD card slot Raspberry Pi Pico 2 RP2350 Core2350B Core Board PSRAM AV to TTL 3.5 inch LCD Computer CPU GPU RAM Monitor PC USB Secondary Display Screen Serial UART Bus Servo TTL ST3235 30KG.CM Magnetic Encoder 360° High Precision And Large Torque Zero LCD HAT (A) user guide Raspberry Pi 10.1 inch QLED Quantum Dot Display 1280x720 Capacitive Touchscreen For Computer PC/Jetson/Game ESP32 P4 Development Board WIFI6 3.4 inch LCD Round Display 3.4inch TouchScreen 800×800 Dual Microphones Raspberry Pi Auto Focus 12MP IMX708 Camera High Resolution DC-DC Step-Down Mini voltage Moudle Input 5~36V voltage Output 5V/3.3V 4A ESP32 C3 Mini Raspberry Pi 5 PCIe to M.2 NVMe SSD Adapter Board HAT RP2040