Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 3 of 3
  1. #1
    Senior Member
    Join Date
    Jan 2016
    Posts
    108

    Ravenna AES Daemon / Any experiences with squeezelite

    HI all,

    I have found this on Github: https://github.com/bondagit/aes67-linux-daemon
    I really like the idea with the virtual Soundcard that can publish Audio Data to a AES67 device.

    I installed the packages and the driver - everything worked .

    Here step-by-Step:

    1) Step Build and Install

    Code:
    sudo git clone https://github.com/bondagit/aes67-linux-daemon.git
    sudo ./ubuntu-packages.sh
    sudo ./build.sh
    2) AES67 daemon basic setup
    https://github.com/bondagit/aes67-li...d#daemon_setup

    open the daemon configuration file daemon.conf

    set network interface name to your Ethernet card: "interface_name": "eth0"
    set default sample rate to 48Khz: "sample_rate": 48000
    set TIC frame size @1FS (samples) to 48 samples: "tic_frame_size_at_1fs": 48
    Then load the driver
    Code:
    sudo insmod 3rdparty/ravenna-alsa-lkm/driver/MergingRavennaALSA.ko
    And start the daemon
    Code:
    aes67-daemon -c daemon.conf
    Then do some configs in the web interface and DANTE-Controller:
    Code:
    open the Daemon WebUI http://[address:8080] and do the following:
    
    go to Config tab and verify that the sample rate is set to 48KHz and the TIC frame size @1FS is set to 48 samples
    go to Sources tab and add a new Source using the plus button
    set Codec to L24
    set Max samples per packet to 48 samples
    press the Submit button
    Now you can play a Test File or do a speaker test
    Code:
    a@audioserver:~$ aplay -D hw:RAVENNA -r 48000 -c 2 -f S24_3LE test48.wav
    Wiedergabe: WAVE 'test48.wav' : Signed 24 bit Little Endian in 3bytes, Rate: 48000 Hz, stereo
    
    sudo speaker-test -D hw:RAVENNA -r 48000 -c 2 -t sine
    That works :-)

    However I have an issue to get it to work with squeezelite:

    I start squeezelite with the necessary parameter:

    Code:
    a@audioserver:~/programs$ sudo ./squeezelite -W -n AES -a ::24: -R -u vME:::28 -r 48000-48000 -d all=debug -o hw:CARD=RAVENNA
    The LOG:
    Code:
    [18:53:10.653014] stream_init:448 init stream
    [18:53:10.653081] stream_init:449 streambuf size: 2097152
    [18:53:10.654569] output_init_alsa:940 init output
    [18:53:10.654595] output_init_alsa:980 requested alsa_buffer: 40 alsa_period: 4 format: 24 mmap: 1
    [18:53:10.654603] output_init_common:350 outputbuf size: 3528000
    [18:53:10.654627] output_init_common:374 idle timeout: 0
    [18:53:10.655292] output_init_common:422 supported rates: 48000
    [18:53:10.656846] output_init_alsa:1006 memory locked
    [18:53:10.656866] output_init_alsa:1012 glibc detected using mallopt
    [18:53:10.656949] output_init_alsa:1032 set output sched fifo rt: 45
    [18:53:10.656961] decode_init:153 init decode
    [18:53:10.657000] register_dsd:908 using dsd to decode dsf,dff
    [18:53:10.657005] register_alac:555 using alac to decode alc
    [18:53:10.657009] register_faad:663 using faad to decode aac
    [18:53:10.657014] register_vorbis:380 using vorbis to decode ogg
    [18:53:10.657018] register_opus:324 using opus to decode ops
    [18:53:10.657022] register_flac:332 using flac to decode ogf,flc
    [18:53:10.657026] register_pcm:468 using pcm to decode wav,aif,pcm
    [18:53:10.657308] register_mad:423 using mad to decode mp3
    [18:53:10.657314] decode_init:194 include codecs:  exclude codecs:
    [18:53:10.657394] resample_init:362 resampling sync recipe: 0x36, flags: 0x00, scale: 0.89, precision: 28.0, passband_end: 0.00000, stopband_begin: 0.00000, phase_response: -1.0
    [18:53:10.657423] discover_server:788 sending discovery
    [18:53:10.657543] discover_server:799 got response from: 10.7.120.129:3483
    [18:53:10.657569] slimproto:887 connecting to 10.7.120.129:3483
    [18:53:10.657603] output_thread:687 open output device: hw:CARD=RAVENNA
    [18:53:10.657611] alsa_open:351 opening device at: 48000
    [18:53:10.657619] slimproto:926 connected
    [18:53:10.657628] slimproto:937 local player
    [18:53:10.657633] sendHELO:142 mac: d0:50:99:af:6d:be
    [18:53:10.657637] sendHELO:144 cap: CanHTTPS=1,Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Firmware=v1.9.8-1294,ModelName=SqueezeLite,MaxSampleRate=48000,dsf,dff,alc,aac,ogg,ops,ogf,flc,wav,aif,pcm,mp3,loc
    [18:53:10.657789] alsa_open:422 opened device hw:CARD=RAVENNA using format: S24_LE sample rate: 48000 mmap: 1
    [18:53:10.657814] alsa_open:513 buffer: 40 period: 4 -> buffer size: 192 period size: 48
    [18:53:10.663473] process:521 strm
    [18:53:10.663496] process_strm:274 strm command s
    [18:53:10.663502] process_strm:344 strm s autostart: 1 transition period: 10 transition type: 0 codec: f
    [18:53:10.663507] sendSTAT:189 STAT: STMf
    [18:53:10.663523] codec_open:264 codec open: 'f'
    [18:53:10.663550] connect_socket:158 connecting to 10.7.120.129:9000
    [18:53:10.663595] stream_sock:591 header: GET /stream.mp3?player=d0:50:99:af:6d:be HTTP/1.0
    
    
    [18:53:10.663604] sendSTAT:189 STAT: STMc
    [18:53:10.663618] process_strm:377 set fade mode: 0
    [18:53:10.663629] process:521 audg
    [18:53:10.663635] process_audg:433 audg gainL: 3840 gainR: 3840 adjust: 1
    [18:53:10.663640] set_volume:233 setting internal gain left: 3840 right: 3840
    [18:53:10.663650] process:521 setd
    [18:53:10.663655] sendSETDName:248 set playername: AES
    [18:53:10.663683] process:521 setd
    [18:53:10.663746] process:521 aude
    [18:53:10.663755] process_aude:415 enable spdif: 1 dac: 1
    [18:53:10.663801] process:521 audg
    [18:53:10.663809] process_audg:433 audg gainL: 3840 gainR: 3840 adjust: 1
    [18:53:10.663814] set_volume:233 setting internal gain left: 3840 right: 3840
    [18:53:10.759674] stream_thread:325 headers: len: 493
    HTTP/1.1 200 OK
    Server: Logitech Media Server (8.2.0 - 1627922070)
    Connection: close
    Content-Type: audio/x-flac
    Set-Cookie: Squeezebox-albumView=; path=/
    Set-Cookie: Squeezebox-expandPlayerControl=true; path=/
    Set-Cookie: Squeezebox-expanded-MY_MUSIC=1; path=/
    Set-Cookie: Squeezebox-expanded-FAVORITES=0; path=/
    Set-Cookie: Squeezebox-expanded-PLUGINS=0; path=/
    Set-Cookie: Squeezebox-expanded-PLUGIN_MY_APPS_MODULE_NAME=0; path=/
    Set-Cookie: Squeezebox-expanded-RADIO=0; path=/
    
    
    [18:53:10.760780] sendRESP:220 RESP
    [18:53:10.858104] write_cb:141 setting track_start
    [18:53:10.858163] resample_newstream:189 resampling from 44100 -> 48000
    [18:53:10.858196] resample_newstream:214 resampling with soxr_quality_spec_t[precision: 28.0, passband_end: 0.911328, stopband_begin: 1.000000, phase_response: 0.0, flags: 0x80000000], soxr_io_spec_t[scale: 0.89]
    [18:53:10.864476] process_newstream:124 processing: active
    [18:53:10.864525] process_newstream:145 creating process buf in frames: 25600
    [18:53:10.864716] process_newstream:152 creating process buf out frames: 30650
    [18:53:10.869719] _output_frames:64 start buffer frames: 17092
    [18:53:10.869793] _output_frames:149 track start sample rate: 48000 replay_gain: 0
    [18:53:10.890541] sendSTAT:189 STAT: STMs
    [18:53:10.890612] sendSTAT:189 STAT: STMt
    [18:53:11.891661] sendSTAT:189 STAT: STMt
    [18:53:12.000437] process:521 strm
    [18:53:12.000500] process_strm:274 strm command t
    [18:53:12.000525] sendSTAT:189 STAT: STMt
    [18:53:13.001593] sendSTAT:189 STAT: STMt
    [18:53:14.002774] sendSTAT:189 STAT: STMt
    [18:53:15.003560] sendSTAT:189 STAT: STMt
    [18:53:16.000574] process:521 strm
    [18:53:16.000639] process_strm:274 strm command t
    [18:53:16.000665] sendSTAT:189 STAT: STMt
    [18:53:17.001781] sendSTAT:189 STAT: STMt
    [18:53:18.002967] sendSTAT:189 STAT: STMt
    [18:53:19.004157] sendSTAT:189 STAT: STMt
    But no AUdio :-( and a error in my DSP reporting: "Compromised - Packet Missing"

    Any help is appreciated.

    Thanks S

  2. #2
    Member
    Join Date
    May 2009
    Location
    FL
    Posts
    33
    Quote Originally Posted by s25a View Post
    HI all,

    I have found this on Github: https://github.com/bondagit/aes67-linux-daemon
    I really like the idea with the virtual Soundcard that can publish Audio Data to a AES67 device.

    I installed the packages and the driver - everything worked .

    Here step-by-Step:
    Did you have any success working through the issues with this. ?

    I integrated picoreplayer & Ropiee into my Dante setup using the Audinate USB dongles but would love to try a purely software solution.


    Sent from my iPhone using Tapatalk Pro
    Logitech Media Server Version: 8.2.0, Slim-devices Silver Transporter | SB Touch | 2 * SB Duets | 2 * SB Boom | SB Radio | Pi3 & Pi 4 + HiFiBerry-Amp+ Official Touchscreen + PiCorePlayer, (RIP SB Classic | SB Radio | Wandboard)

  3. #3
    Senior Member mftech's Avatar
    Join Date
    Sep 2005
    Location
    Carignan
    Posts
    196
    There is a new Ravenna Alsa LKM driver for Linux.
    https://bitbucket.org/MergingTechnol...km/src/master/

    The previous Butler was detected correctly by LMS/Squeezelite but no playback available with the Merging NADAC.
    That doesn't mean that other player as the Anubis or Hapi may work.
    Tŕte Ó FLAC

    2 X SB Classic
    2 X SB2
    1 X SB Boom
    2 X SB Touch
    3 X SBRadio
    1 X Transporter
    1 X Duet + Remote
    4 X Rpi+ Picoreplayer
    2 X Chromecast
    1 X Chromecast Audio
    1 X Atoll ST100
    1 X Merging NADAC

    All devices connected via CeolBOX server aka The Musical Box
    Using OrangeSqueeze and Material Skin Plug-in to remote all my connected devices.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •