How to build Webradio from Board A64 ?
#1
Hi,

I got "old" A64-DB-Rev B board, which looks perfect for building web-radio with IR remote. I would like to use simple LCD display (2 lines 16 characters) and if possible read mp3 from USB keys. I can use external monitor only to  configure the web-radio.

Unfortunately I did not find tutorial for this. Does somebody know some link ?

As I am familiar with Xubuntu, so I tried to configure an SD card with Armbian buster 5.4.20.7  : Boot is ok but I can not get any sound  on the headphone jack whatever I plug into. I put on SD a wav file to check the sound.
  • aplay -l gives card0 : sun50ia64audio and card 1 : allwinnerhdmi
  • aplay -vv 'track 1.wav' looks ok on screen, card0 is used and vumeter is dancing from 0% to 100 %, but no sound at all !
  • I tried 'alsamixer' and play with all controls without good understanding : Still no sound.
  • I tried to configure another SD card using Armbian bionic 5.4.20.7  : Sames results.
Sorry for bad English and thanks of somebody can help... I am afraid after this first problem I will run into some more (codec or IR configure...) so I'd better restart using a tuto if some exist...
#2
Can't really help you, but have you considered trying to use Volumio for the purpose? they even built a high-end audio player using the SOPine and I'm sure they still support the original Pine A64. In the event you're interested: https://forum.volumio.org/volumio-pine64...t9465.html
You can find me on IRC, Discord and Twitter


#3
Luke : Thank for quick answer,

I already looked this page some weeks ago : https://wiki.pine64.org/index.php/Pine_A...dio_Player
but it is written "Volumio is controlled using a Web-GUI which can be accessed via a web browser"

I still not use smartphone or similar thing, my plan is to use the IR receiver to select radio station and adjust / mute the volume. It would make no sense to turn on a computer just to control the webradio. another point is we do not like WiFi at home, we used only ethernet links...

Do you think volumio usable with only IR remote ?
#4
@Bebert since I am not an expert (although I have a Volumio setup on the OG PINE A64 with nearly 3 years uptime in my kids room) I'll ping @gkkpch - lets hope he'll get back to soon with some answers
You can find me on IRC, Discord and Twitter


#5
Thank Luke,

I am afraid I did  not choose the right options for Armbian-Config, I follow " https://docs.armbian.com/User-Guide_Armbian-Config/ " but lot of options are unclear for me...
Because I am familiar with Ubuntu, I tried another install following  the Thread "Step By Step How To Install Ubuntu Image" #45 : It worked, but system is often very slow, I am wondering if my old SD card is good enough. → much better since I replaced the mouse !

With this install :
  •  aplay - l only gives one soundcard = sndhdmi, device 0
  •  aplay wavefile gives lot of errors "underun!!! (at least 991mS long) and I can hear very short part of music.
  •  trying audio from media application (Parole mediaplayer) does not work → Gstreamer backend error
  •  I can't use DVI monitor,  I did not find trick as for Armbian where I could add a line "disp-dv-compat=1 into /boot/armbianEnv.txt
Last experiments : paplay wavefile gives correct sound to hdmi, (not the right souncard for me, but better than nothing !) paplay mp3 file does not work : failed to open audio file.

So What ? I need to learn how to use paplay with mp3, m3u or other web audio stream, and also find out how to control Pine64 from its IR port... Yet extracting analog sound from HDMI does not look simple !  Maybe I should switch for another install but wich one ?
#6
No progress ! so I tried from scratch using DietPi :
  • I got aplay working fine for wav files on the jack, so at least hardware is Ok.
  • I tried to install LXDE but startx failed for "fbturbo: module ABI major version (23) doesn't match the server's version (24)", well probably I do not need LXDE...
  • Then I installed mplayer and could listen mp3 files.
Good : Now I can listen some internet radio !

Next steps : find out how to configure remote control and write script to select between radios station...

Remote control does not work for me, I can see the signal coming into IR connector using a scope, mplayer should be able to receive IR info but I do not find way to link both. I installed  LIRC and tried modprobe sunxi-cir... How to make it working ? Any tutorial for this ?


Possibly Related Threads…
Thread Author Replies Views Last Post
  PINE64 board not powering up loki21century 2 6,264 11-25-2019, 12:19 PM
Last Post: Partymack711
  Pine64+ 2GB board for sale with WiFi module and case ~clumsy~ 1 3,935 10-21-2018, 04:54 AM
Last Post: aeiltz
  LED flashes for 1 second, board won't boot Audioslave 2 4,704 08-02-2018, 10:28 PM
Last Post: tllim
Shocked Selling my PINE64 2GB+ board with WIFI/BT module and extras $30 or best bid in ebay moondark 0 2,689 04-14-2018, 12:31 PM
Last Post: moondark
  Possibly Dead Board? 1activegeek 2 4,816 04-03-2018, 06:44 PM
Last Post: 1activegeek
  Running UniFi Controller on a Pine A64+ 1Gb board ishwest 7 34,042 07-15-2017, 09:24 AM
Last Post: smills
Question +PINEBOOK How to go about setting up your own Jenkins build system for pine64 / pinebook images pfeerick 2 16,575 05-31-2017, 02:42 AM
Last Post: pfeerick
  Welcome home, Pine64 board! JulianM 11 18,296 03-19-2017, 04:40 PM
Last Post: xalius
  Keeping board cool clarkss12 3 4,873 02-23-2017, 10:29 PM
Last Post: pfeerick
  Slim line Pine Board adamjedgar 0 2,410 02-22-2017, 09:58 PM
Last Post: adamjedgar

Forum Jump:


Users browsing this thread: 2 Guest(s)