Jump to content

Mr. Fennec

Members
  • Posts

    8
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi, I installed recent server armbian on orangepi pc 4 and trying to make the microphone work The command I use arecord -D hw:0,0 -f cd -d 5 test.wav The setup root@orangepi4-lts:~# uname -a Linux orangepi4-lts 6.6.62-current-rockchip64 #2 SMP PREEMPT Sun Nov 17 14:08:59 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux root@orangepi4-lts:~# cat /etc/issue Armbian 24.11.1 Noble \l root@orangepi4-lts:~# arecord -l **** List of CAPTURE Hardware Devices **** card 0: rockchipes8316c [rockchip-es8316c], device 0: ff880000.i2s-ES8316 HiFi ES8316 HiFi-0 [ff880000.i2s-ES8316 HiFi ES8316 HiFi-0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: hdmisound [hdmi-sound], device 0: ff8a0000.i2s-i2s-hifi i2s-hifi-0 [ff8a0000.i2s-i2s-hifi i2s-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0 What could be the issue? I tried to change alsamixer levels, but it didn't help. I still hear just some white noise when listen to test.wav Any ideas ? A
  2. How do you discover IP of you board right after installation of armbian server?
  3. Hello Armbian team, I’m a big fan of your work and use Armbian on all my single-board computers, including Orange Pi, Banana Pi, and Raspberry Pi. However, I’ve noticed a recurring issue during bootstrapping: identifying the device on the network. Enabling the avahi-daemon could make it easier to connect to or discover the device using mDNS. What are your thoughts on this?
  4. This stackexchange answer contains information about the pulseaudio suspend-on-idle workaround, but I don't use the pulseaudio, I don't start pulseaudio server. I use the alsa directly.
  5. Hi, I am building a voice assistant on OrangePiPc on latest Armbian 23.11.1 Bookworm \l root@orangepipc:/etc/alsa# aplay -l **** List of PLAYBACK Hardware Devices **** card 0: Codec [H3 Audio Codec], device 0: CDC PCM Codec-0 [CDC PCM Codec-0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: sun9ihdmi [sun9i-hdmi], device 0: SUN9I-HDMI PCM i2s-hifi-0 [SUN9I-HDMI PCM i2s-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0 For some reason when I plan an audio file using cvlc or play cli tools, about 1 first second of audio is skiped for some reason. I guess this time DAC is initialized. How I can solve this issue?
  6. Hi there, I am trying to build a voice assistant using OrangePiPc. This is not orangepi zero, but I am posting it here, because there is no subthread for orangepipc. OrangePiPc has an embedded microphone, but for some reason it doesn't work. When I run arecord, I get an input/output error. Any ideas? Here is a board description: http://www.orangepi.org/orangepiwiki/index.php/Orange_Pi_PC arecord -l card 0: Codec [H3 Audio Codec], device 0: CDC PCM Codec-0 [CDC PCM Codec-0] Subdevices: 1/1 Subdevice #0: subdevice #0 root@orangepipc:~# aplay -l **** List of PLAYBACK Hardware Devices **** card 0: Codec [H3 Audio Codec], device 0: CDC PCM Codec-0 [CDC PCM Codec-0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: sun9ihdmi [sun9i-hdmi], device 0: SUN9I-HDMI PCM i2s-hifi-0 [SUN9I-HDMI PCM i2s-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0 root@orangepipc:~# arecord -d 5 -f cd -t wav hello.wav Recording WAVE 'hello.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereoarecord: pcm_read:2221: read error: Input/output error root@orangepipc:~# cat /etc/issue Armbian 23.11.1 Bookworm \l root@orangepipc:~# uname -a Linux orangepipc 6.1.63-current-sunxi #1 SMP Mon Nov 20 10:52:19 UTC 2023 armv7l GNU/Linux
  7. Hi, I experience issue with built-in microphone on OrangePi4 LTS / Armbian. I see input devices, but arecord/parec doesn't record anything. I hear nothing when do `aplay output.wav`, but I still hear paplay /usr/share/sounds/alsa/Front_Right.wav paplay /usr/share/sounds/alsa/Front_Left.wav More info arecord -f cd -D hw:0,0 -d 5 -r 44100 output.wav aplay output.wav orangepi4-lts:~:# arecord -l #**** List of CAPTURE Hardware Devices **** #card 0: rockchipes8316c [rockchip-es8316c], device 0: ff880000.i2s-ES8316 HiFi ES8316 HiFi-0 [ff880000.i2s-ES8316 HiFi ES8316 HiFi-0] # Subdevices: 1/1 # Subdevice #0: subdevice #0 # card 1: hdmisound [hdmi-sound], device 0: ff8a0000.i2s-i2s-hifi i2s-hifi-0 [ff8a0000.i2s-i2s-hifi i2s-hifi-0] # Subdevices: 1/1 # Subdevice #0: subdevice #0 orangepi4-lts:~:# uname -a # Linux orangepi4-lts 6.1.30-rockchip64 #3 SMP PREEMPT Wed May 24 16:32:53 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux orangepi4-lts:~:# cat /etc/issue # Armbian 23.5.1 Jammy \l pactl list sources | grep "Name:" # Name: alsa_output.platform-es8316c-card.stereo-fallback.monitor # Name: alsa_input.platform-es8316c-card.stereo-fallback # Name: alsa_output.platform-hdmi-sound.stereo-fallback.monitor device=alsa_input.platform-es8316c-card.stereo-fallback parec --device ${device} --format=s16le --channels=2 --rate=44100 --file-format=wav output.wav paplay output.wav Any suggestions?
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines