Entrypoints, the audio entrance to Roon, made the move to HiRes!

I bought a RPi 2B and HiFiBerry Digi+ADC to test this configuration but I cannot reproduce this dropout issue at 48 kHz. Also tried higher sample frequencies up to 192 kHz (supported by upcoming release) but still no dropouts, also not if the Gateway is running on the same RPi.

I wonder if there is a difference if you would run it with an official power supply.

I couId try that and report back I ran the main entrypoint on Qnap the pi was just the input. It wasn’t a dropout issue it never would stay running. I would start it then a few seconds later it just stopped running. When on 44.1 it stayed up.

Thank you Jan, I really appreciate your guidance. I started again from scratch. I now have Audio Entry point configured with correct IP address. However when I go into settings and Choose start, I do not get an new entry for audio entry point with status saying playing coming up after that, like in the video. I have a source plugged into the UFO202 and playing a a song. Maybe it’s because it’s not configured correctly for the UFO202. When I run dietpi-config and look under ‘select sound card’ under ‘Auto detection’ I have ‘usb-dac : USB Audio DAC (any)’ and ‘hw:1,0 : CODEC USB Audio’ I chose and selected ‘USB Audio DAC’ I also tried teh hw:1,0 device but that did not cause entry point to start up either. I am happy to purchase a supported hifiberry HAT but the nice thing about the UFO202 is that it accepts phono input so I would not have to use a separate preamp for the turntable I am hoping to stream into Roon.

Best wishes

soundcards

After more investigation running DietPi-JustBoom it says that no music is being played. Even though I have music playing into the audio input on the UFO202, so it looks as though DietPi will not read music stream from UFO202 correctly?
No Audio

Can you provide the output of the following 2 commands? Please run them on the Pi.

arecord -l

arecord -L

Dear Jan

Many thanks, please see results as requested;

login as: root
root@192.168.0.17’s password:
─────────────────────────────────────────────────────
DietPi v6.33.3 : 19:17 - Mon 11/30/20
─────────────────────────────────────────────────────

  • Device model : RPi 3 Model B+ (armv7l)
  • CPU temp : 32’C : 89’F (Cool runnings)
  • LAN IP : 192.168.0.17 (eth0)
  • MOTD : Take care of yourself and the people around you :slight_smile:
    ─────────────────────────────────────────────────────

DietPi Team : MichaIng (lead), Daniel Knight (founder), Joulinar (support)
Image : DietPi Core Team (pre-image: Raspbian Lite)
Web : https://dietpi.com | https://twitter.com/DietPi_
Patreon Legends : Bryce
Donate : https://dietpi.com/#donate
DietPi Hosting : Powered by https://myvirtualserver.com

dietpi-launcher : All the DietPi programs in one place.
dietpi-config : Feature rich configuration tool for your device.
dietpi-software : Select optimized software for installation.
htop : Resource monitor.
cpu : Shows CPU information and stats.

root@DietPi:~# arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
root@DietPi:~# arecord -L
null
Discard all samples (playback) or generate zero samples (capture)
sysdefault:CARD=CODEC
USB Audio CODEC, USB Audio
Default Audio Device
front:CARD=CODEC,DEV=0
USB Audio CODEC, USB Audio
Front speakers
surround21:CARD=CODEC,DEV=0
USB Audio CODEC, USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=CODEC,DEV=0
USB Audio CODEC, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=CODEC,DEV=0
USB Audio CODEC, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=CODEC,DEV=0
USB Audio CODEC, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=CODEC,DEV=0
USB Audio CODEC, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=CODEC,DEV=0
USB Audio CODEC, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=CODEC,DEV=0
USB Audio CODEC, USB Audio
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=CODEC,DEV=0
USB Audio CODEC, USB Audio
Direct sample mixing device
dsnoop:CARD=CODEC,DEV=0
USB Audio CODEC, USB Audio
Direct sample snooping device
hw:CARD=CODEC,DEV=0
USB Audio CODEC, USB Audio
Direct hardware device without any conversions
plughw:CARD=CODEC,DEV=0
USB Audio CODEC, USB Audio
Hardware device with all software conversions
root@DietPi:~#

Maybe the USB soundcard is not configured as the default audio device.
First thing to try is changing the default in /etc/asound.conf:

nano /etc/asound.conf

The two card entries should be set to 1:

pcm.!default {
        type hw
        card 1
        device 0
}

ctl.!default {
        type hw
        card 1
}

Save changes with Ctrl-X, y, Enter.
Restart with reboot.

If this doesn’t fix it then it would be helpful if you can provide me a log file, post 35 describes the necessary steps.

Dear Jan

Many thanks. Sadly my asound.conf is as you posted.

Best wishesasound.conf

Can you record something with the card anyway?

Try with:

arecord -D default -f cd -t wav test.wav

Or

arecord -D hw:1,0 -f cd -t wav test.wav

Does it say that it is recording data and is the test.wav file created?

If recording works then I really need a log file in order to see what is going on.

Dear Jan

Many thanks for your continued support. I ran the command and it said that it was recording. I used Ctrl-C to stop recording. I then manged to copy the test.wav file onto a USB stick and I could play the wav file and hear that it was successfully recorded. Please find log file contents below.

Blockquote-> REQUEST 0 com.roonlabs.registry:1/info

← COMPLETE 0 Success {“core_id”:“”,“display_name”:“Roon Optimized Core Kit”,“display_version”:“1.7 (build 667) stable”}

→ REQUEST 1 com.roonlabs.registry:1/register {“extension_id”:“com.theappgineer.entrypoint-audio”,“display_name”:“Audio Entrypoint (DietPi)”,“display_version”:“0.1.0”,“publisher”:“The Appgineer",“email”:"theappgineer@google.com”,“required_services”:[“com.roonlabs.transport:2”],“optional_services”:,“provided_services”:[“com.roonlabs.settings:1”,“com.roonlabs.status:1”,“com.roonlabs.pairing:1”,“com.roonlabs.ping:1”],“website”:“https://github.com/TheAppgineer/roon-entrypoints/wiki",“token”:"”}

→ REQUEST 0 com.roonlabs.registry:1/info

← CONTINUE 1 Registered {“core_id”:“”,“display_name”:“Roon Optimized Core Kit”,“display_version”:“1.7 (build 667) stable”,“token”:“”,“provided_services”:[“com.roonlabs.transport:2”],“http_port”:9100}

→ REQUEST 2 com.roonlabs.transport:2/subscribe_zones {“subscription_key”:0}

← REQUEST 1 com.roonlabs.status:1/subscribe_status {“subscription_key”:“7”}

→ CONTINUE 1 Subscribed {“message”:null,“is_error”:null}

← REQUEST 2 com.roonlabs.pairing:1/subscribe_pairing {“subscription_key”:“8”}

→ CONTINUE 2 Subscribed {“paired_core_id”:“”}

← COMPLETE 0 Success {“core_id”:“”,“display_name”:“HAL-PC”,“display_version”:“1.7 (build 667) stable”}

→ REQUEST 1 com.roonlabs.registry:1/register {“extension_id”:“com.theappgineer.entrypoint-audio”,“display_name”:“Audio Entrypoint (DietPi)”,“display_version”:“0.1.0”,“publisher”:“The Appgineer",“email”:"theappgineer@google.com”,“required_services”:[“com.roonlabs.transport:2”],“optional_services”:,“provided_services”:[“com.roonlabs.settings:1”,“com.roonlabs.status:1”,“com.roonlabs.pairing:1”,“com.roonlabs.ping:1”],“website”:“https://github.com/TheAppgineer/roon-entrypoints/wiki",“token”:"”}

← CONTINUE 2 Subscribed {“zones”:[{“zone_id”:“1601d75510140988344fa43cc290af9d45d3”,“display_name”:“PiKitchen + 1”,“outputs”:[{“output_id”:“1701a606bd3475e9d7125f8bb2c64ea48869”,“zone_id”:“1601d75510140988344fa43cc290af9d45d3”,“can_group_with_output_ids”:[“1701a606bd3475e9d7125f8bb2c64ea48869”,“170117ca5084f1eceaf6ab9196f70c6d9da2”,“1701425ee49a76688c9112ba4c7f8fd8dee8”,“17015273d8c1efb1f463f03c4d8b196d9b2b”,“1701b3c99ef11ec2667cd290ffc7cdf16a56”],“display_name”:“PiKitchen”,“volume”:{“type”:“db”,“min”:-80,“max”:0,“value”:-16,“step”:1,“is_muted”:false,“hard_limit_min”:-80,“hard_limit_max”:0,“soft_limit”:0},“source_controls”:[{“control_key”:“1”,“display_name”:“snd_rpi_hifiberry_digi”,“supports_standby”:false,“status”:“indeterminate”}]},{“output_id”:“1701425ee49a76688c9112ba4c7f8fd8dee8”,“zone_id”:“1601d75510140988344fa43cc290af9d45d3”,“can_group_with_output_ids”:[“1701a606bd3475e9d7125f8bb2c64ea48869”,“170117ca5084f1eceaf6ab9196f70c6d9da2”,“1701425ee49a76688c9112ba4c7f8fd8dee8”,“17015273d8c1efb1f463f03c4d8b196d9b2b”,“1701b3c99ef11ec2667cd290ffc7cdf16a56”],“display_name”:“PiConservatory”,“volume”:{“type”:“db”,“min”:-80,“max”:0,“value”:-17,“step”:1,“is_muted”:false,“hard_limit_min”:-80,“hard_limit_max”:0,“soft_limit”:0},“source_controls”:[{“control_key”:“1”,“display_name”:“snd_rpi_hifiberry_digi”,“supports_standby”:false,“status”:“indeterminate”}]}],“state”:“stopped”,“is_next_allowed”:false,“is_previous_allowed”:true,“is_pause_allowed”:false,“is_play_allowed”:false,“is_seek_allowed”:false,“queue_items_remaining”:0,“queue_time_remaining”:0,“settings”:{“loop”:“disabled”,“shuffle”:false,“auto_radio”:true}},{“zone_id”:“1601b3c99ef11ec2667cd290ffc7cdf16a56”,“display_name”:“HAL Hidef 2”,“outputs”:[{“output_id”:“1701b3c99ef11ec2667cd290ffc7cdf16a56”,“zone_id”:“1601b3c99ef11ec2667cd290ffc7cdf16a56”,“can_group_with_output_ids”:[“1701a606bd3475e9d7125f8bb2c64ea48869”,“170117ca5084f1eceaf6ab9196f70c6d9da2”,“1701425ee49a76688c9112ba4c7f8fd8dee8”,“17015273d8c1efb1f463f03c4d8b196d9b2b”,“1701b3c99ef11ec2667cd290ffc7cdf16a56”],“display_name”:“HAL Hidef 2”,“volume”:{“type”:“number”,“min”:0,“max”:100,“value”:100,“step”:1,“is_muted”:false,“hard_limit_min”:0,“hard_limit_max”:100,“soft_limit”:100},“source_controls”:[{“control_key”:“1”,“display_name”:“Realtek High Definition Audio”,“supports_standby”:false,“status”:“indeterminate”}]}],“state”:“paused”,“is_next_allowed”:true,“is_previous_allowed”:true,“is_pause_allowed”:false,“is_play_allowed”:true,“is_seek_allowed”:true,“queue_items_remaining”:18,“queue_time_remaining”:4629,“settings”:{“loop”:“disabled”,“shuffle”:false,“auto_radio”:true},“now_playing”:{“seek_position”:383,“length”:458,“one_line”:{“line1”:“01 M052A-HR Malena 24 bit 96K - “},“two_line”:{“line1”:“01 M052A-HR Malena 24 bit 96K”,“line2”:””},“three_line”:{“line1”:“01 M052A-HR Malena 24 bit 96K”,“line2”:“”,“line3”:“The MA Recordings Audiophiliac HiRez Music Sampler 2020”},“image_key”:“47cfe3e15766626f5f2c687a7786519a”}},{“zone_id”:“16015273d8c1efb1f463f03c4d8b196d9b2b”,“display_name”:“Office”,“outputs”:[{“output_id”:“17015273d8c1efb1f463f03c4d8b196d9b2b”,“zone_id”:“16015273d8c1efb1f463f03c4d8b196d9b2b”,“can_group_with_output_ids”:[“1701a606bd3475e9d7125f8bb2c64ea48869”,“170117ca5084f1eceaf6ab9196f70c6d9da2”,“1701425ee49a76688c9112ba4c7f8fd8dee8”,“17015273d8c1efb1f463f03c4d8b196d9b2b”,“1701b3c99ef11ec2667cd290ffc7cdf16a56”],“display_name”:“Office”,“volume”:{“type”:“number”,“min”:0,“max”:100,“value”:100,“step”:1,“is_muted”:false,“hard_limit_min”:0,“hard_limit_max”:100,“soft_limit”:100},“source_controls”:[{“control_key”:“1”,“display_name”:“System Output”,“supports_standby”:false,“status”:“indeterminate”}]}],“state”:“paused”,“is_next_allowed”:true,“is_previous_allowed”:true,“is_pause_allowed”:false,“is_play_allowed”:true,“is_seek_allowed”:true,“queue_items_remaining”:18,“queue_time_remaining”:4945,“settings”:{“loop”:“disabled”,“shuffle”:false,“auto_radio”:true},“now_playing”:{“seek_position”:67,“length”:458,“one_line”:{“line1”:“01 M052A-HR Malena 24 bit 96K - “},“two_line”:{“line1”:“01 M052A-HR Malena 24 bit 96K”,“line2”:””},“three_line”:{“line1”:“01 M052A-HR Malena 24 bit 96K”,“line2”:“”,“line3”:“The MA Recordings Audiophiliac HiRez Music Sampler 2020”},“image_key”:“47cfe3e15766626f5f2c687a7786519a”}},{“zone_id”:“160117ca5084f1eceaf6ab9196f70c6d9da2”,“display_name”:“HAL hidef”,“outputs”:[{“output_id”:“170117ca5084f1eceaf6ab9196f70c6d9da2”,“zone_id”:“160117ca5084f1eceaf6ab9196f70c6d9da2”,“can_group_with_output_ids”:[“1701a606bd3475e9d7125f8bb2c64ea48869”,“170117ca5084f1eceaf6ab9196f70c6d9da2”,“1701425ee49a76688c9112ba4c7f8fd8dee8”,“17015273d8c1efb1f463f03c4d8b196d9b2b”,“1701b3c99ef11ec2667cd290ffc7cdf16a56”],“display_name”:“HAL hidef”,“volume”:{“type”:“number”,“min”:0,“max”:100,“value”:88,“step”:1,“is_muted”:false,“hard_limit_min”:0,“hard_limit_max”:100,“soft_limit”:100},“source_controls”:[{“control_key”:“1”,“display_name”:“Realtek High Definition Audio”,“supports_standby”:false,“status”:“indeterminate”}]}],“state”:“paused”,“is_next_allowed”:true,“is_previous_allowed”:true,“is_pause_allowed”:false,“is_play_allowed”:true,“is_seek_allowed”:true,“queue_items_remaining”:18,“queue_time_remaining”:4945,“settings”:{“loop”:“disabled”,“shuffle”:false,“auto_radio”:true},“now_playing”:{“seek_position”:67,“length”:458,“one_line”:{“line1”:“01 M052A-HR Malena 24 bit 96K - “},“two_line”:{“line1”:“01 M052A-HR Malena 24 bit 96K”,“line2”:””},“three_line”:{“line1”:“01 M052A-HR Malena 24 bit 96K”,“line2”:“”,“line3”:“The MA Recordings Audiophiliac HiRez Music Sampler 2020”},“image_key”:“47cfe3e15766626f5f2c687a7786519a”}}]}

2020-12-04T17:44:11.661Z roon-stdout: {} { state: ‘stopped’ }

2020-12-04T17:44:11.668Z roon-stdout: {} { line1: ‘01 M052A-HR Malena 24 bit 96K’ }

2020-12-04T17:44:11.669Z roon-stdout: { line1: ‘01 M052A-HR Malena 24 bit 96K’ } { state: ‘paused’ }

2020-12-04T17:44:11.671Z roon-stdout: {} { line1: ‘01 M052A-HR Malena 24 bit 96K’ }

2020-12-04T17:44:11.672Z roon-stdout: { line1: ‘01 M052A-HR Malena 24 bit 96K’ } { state: ‘paused’ }

2020-12-04T17:44:11.673Z roon-stdout: {} { line1: ‘01 M052A-HR Malena 24 bit 96K’ }

2020-12-04T17:44:11.674Z roon-stdout: { line1: ‘01 M052A-HR Malena 24 bit 96K’ } { state: ‘paused’ }

2020-12-04T17:44:11.983Z liquid-stdout: >>> LOG START

2020-12-04T17:44:11.983Z liquid-stdout: [main:3] Liquidsoap 1.3.3

2020-12-04T17:44:11.983Z liquid-stdout: [main:3] Using: bytes=[distributed with OCaml 4.02 or above] pcre=7.2.3 dtools=0.4.0 duppy=0.7.2 duppy.syntax=0.7.2 cry=0.6.2 mm=0.3.1 xmlplaylist=0.1.3 lastfm=0.3.0 ogg=0.5.2 vorbis=0.7.1 opus=0.1.2 speex=0.2.1 mad=0.4.4 flac=0.1.3 flac.ogg=0.1.3 dynlink=[distributed with Ocaml] lame=0.3.2 shine=0.2.0 gstreamer=0.2.0 frei0r=0.1.0 theora=0.3.1 gavl=0.1.5 bjack=0.1.4 alsa=0.2.3 ao=0.2.0 samplerate=0.1.2 taglib=0.3.1 magic=0.7.3 camomile=0.8.5 yojson=1.3.2 faad=0.4.0 soundtouch=0.1.7 portaudio=0.2.1 pulseaudio=0.1.2 ladspa=0.1.4 dssi=0.1.1 sdl=0.9.1 camlimages=4.2.0 lo=0.1.0 gd=1.0a5

2020-12-04T17:44:11.983Z liquid-stdout: [gstreamer.loader:3] Loaded GStreamer 1.14.4 0

2020-12-04T17:44:11.983Z liquid-stdout: [dynamic.loader:3] Could not find dynamic module for fdkaac encoder.

2020-12-04T17:44:11.983Z liquid-stdout: [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.

2020-12-04T17:44:11.983Z liquid-stdout: [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples.

2020-12-04T17:44:11.983Z liquid-stdout: [frame:3] Targetting ‘frame.duration’: 0.04s = 1764 audio samples = 1764 ticks.

2020-12-04T17:44:11.993Z liquid-stdout: [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks.

2020-12-04T17:44:11.993Z liquid-stdout: [threads:3] Created thread “generic queue #1”.

2020-12-04T17:44:11.993Z liquid-stdout: [threads:3] Created thread “generic queue #2”.

2020-12-04T17:44:11.993Z liquid-stdout: [threads:3] Created thread “non-blocking queue #1”.

2020-12-04T17:44:11.993Z liquid-stdout: [threads:3] Created thread “non-blocking queue #2”.

2020-12-04T17:44:11.993Z liquid-stdout: [threads:3] Created thread “input.alsa_7224” (1 total).

2020-12-04T17:44:11.993Z liquid-stdout: [threads:3] Created thread “wallclock_alsa” (2 total).

2020-12-04T17:44:11.993Z liquid-stdout: [input.alsa_7224:3] Using ALSA 1.1.8.

2020-12-04T17:44:12.003Z liquid-stdout: [threads:1] Thread “input.alsa_7224” aborts with exception Alsa error: No such file or directory!

2020-12-04T17:44:12.005Z liquid-stdout: [clock.wallclock_alsa:3] Streaming loop starts, synchronized by active sources.

2020-12-04T17:44:12.005Z liquid-stdout: [threads:3] Raised by primitive operation at file “alsa.ml” (inlined), line 90, characters 2-89

2020-12-04T17:44:12.005Z liquid-stdout: [threads:3] Called from file “sources/alsa_in.ml”, line 83, characters 20-61

2020-12-04T17:44:12.005Z liquid-stdout: [threads:3] Called from file “sources/alsa_in.ml”, line 110, characters 14-29

2020-12-04T17:44:12.005Z liquid-stdout: [threads:3] Called from file “tools/ioRing.ml”, line 116, characters 8-23

2020-12-04T17:44:12.005Z liquid-stdout: [threads:3] Re-raised at file “tools/ioRing.ml”, line 141, characters 10-17

2020-12-04T17:44:12.005Z liquid-stdout: [threads:3] Called from file “tools/tutils.ml”, line 136, characters 15-18

2020-12-04T17:44:12.005Z liquid-stdout: [server:3] Unlink liquidsoap.sock

2020-12-04T17:44:12.013Z liquid-stderr: <Buffer 54 68 72 65 61 64 20 36 20 6b 69 6c 6c 65 64 20 6f 6e 20 75 6e 63 61 75 67 68 74 20 65 78 63 65 70 74 69 6f 6e 20 41 6c 73 61 2e 55 6e 6b 6e 6f 77 6e … 126 more bytes>

2020-12-04T17:44:12.018Z liquid-stdout: [main:3] Shutdown started!

2020-12-04T17:44:12.018Z liquid-stdout: [main:3] Waiting for threads to terminate…

2020-12-04T17:44:12.018Z liquid-stdout: [clock.wallclock_alsa:3] Streaming loop stopped.

2020-12-04T17:44:12.018Z liquid-stdout: [threads:3] Thread “wallclock_alsa” terminated (0 remaining).

2020-12-04T17:44:12.018Z liquid-stdout: [main:3] Threads terminated.

2020-12-04T17:44:12.018Z liquid-stdout: [threads:3] Shutting down scheduler…

2020-12-04T17:44:12.018Z liquid-stdout: [threads:3] Scheduler shut down.

2020-12-04T17:44:12.018Z liquid-stdout: [threads:3] Thread “non-blocking queue #1” terminated.

2020-12-04T17:44:12.018Z liquid-stdout: [threads:3] Thread “non-blocking queue #2” terminated.

2020-12-04T17:44:12.018Z liquid-stdout: [threads:3] Thread “generic queue #1” terminated.

2020-12-04T17:44:12.018Z liquid-stdout: [threads:3] Thread “generic queue #2” terminated.

2020-12-04T17:44:12.018Z liquid-stdout: [main:3] Cleaning downloaded files…

2020-12-04T17:44:12.018Z liquid-stdout: [main:3] Freeing memory…

2020-12-04T17:44:12.033Z liquid-stdout: >>> LOG END

2020-12-04T17:44:12.051Z liquid-stdout: Exited with code: 0

← CONTINUE 2 Changed {“zones_added”:[{“zone_id”:“1601d75510140988344fa43cc290af9d45d3”,“display_name”:“PiKitchen + 1”,“outputs”:[{“output_id”:“1701a606bd3475e9d7125f8bb2c64ea48869”,“zone_id”:“1601d75510140988344fa43cc290af9d45d3”,“can_group_with_output_ids”:[“1701a606bd3475e9d7125f8bb2c64ea48869”,“170117ca5084f1eceaf6ab9196f70c6d9da2”,“1701425ee49a76688c9112ba4c7f8fd8dee8”,“17015273d8c1efb1f463f03c4d8b196d9b2b”,“1701b3c99ef11ec2667cd290ffc7cdf16a56”],“display_name”:“PiKitchen”,“volume”:{“type”:“db”,“min”:-80,“max”:0,“value”:-16,“step”:1,“is_muted”:false,“hard_limit_min”:-80,“hard_limit_max”:0,“soft_limit”:0},“source_controls”:[{“control_key”:“1”,“display_name”:“snd_rpi_hifiberry_digi”,“supports_standby”:false,“status”:“indeterminate”}]},{“output_id”:“1701425ee49a76688c9112ba4c7f8fd8dee8”,“zone_id”:“1601d75510140988344fa43cc290af9d45d3”,“can_group_with_output_ids”:[“1701a606bd3475e9d7125f8bb2c64ea48869”,“170117ca5084f1eceaf6ab9196f70c6d9da2”,“1701425ee49a76688c9112ba4c7f8fd8dee8”,“17015273d8c1efb1f463f03c4d8b196d9b2b”,“1701b3c99ef11ec2667cd290ffc7cdf16a56”],“display_name”:“PiConservatory”,“volume”:{“type”:“db”,“min”:-80,“max”:0,“value”:-17,“step”:1,“is_muted”:false,“hard_limit_min”:-80,“hard_limit_max”:0,“soft_limit”:0},“source_controls”:[{“control_key”:“1”,“display_name”:“snd_rpi_hifiberry_digi”,“supports_standby”:false,“status”:“indeterminate”}]}],“state”:“stopped”,“is_next_allowed”:false,“is_previous_allowed”:true,“is_pause_allowed”:false,“is_play_allowed”:false,“is_seek_allowed”:false,“queue_items_remaining”:0,“queue_time_remaining”:0,“settings”:{“loop”:“disabled”,“shuffle”:false,“auto_radio”:true}},{“zone_id”:“1601b3c99ef11ec2667cd290ffc7cdf16a56”,“display_name”:“HAL Hidef 2”,“outputs”:[{“output_id”:“1701b3c99ef11ec2667cd290ffc7cdf16a56”,“zone_id”:“1601b3c99ef11ec2667cd290ffc7cdf16a56”,“can_group_with_output_ids”:[“1701a606bd3475e9d7125f8bb2c64ea48869”,“170117ca5084f1eceaf6ab9196f70c6d9da2”,“1701425ee49a76688c9112ba4c7f8fd8dee8”,“17015273d8c1efb1f463f03c4d8b196d9b2b”,“1701b3c99ef11ec2667cd290ffc7cdf16a56”],“display_name”:“HAL Hidef 2”,“volume”:{“type”:“number”,“min”:0,“max”:100,“value”:100,“step”:1,“is_muted”:false,“hard_limit_min”:0,“hard_limit_max”:100,“soft_limit”:100},“source_controls”:[{“control_key”:“1”,“display_name”:“Realtek High Definition Audio”,“supports_standby”:false,“status”:“indeterminate”}]}],“state”:“paused”,“is_next_allowed”:true,“is_previous_allowed”:true,“is_pause_allowed”:false,“is_play_allowed”:true,“is_seek_allowed”:true,“queue_items_remaining”:18,“queue_time_remaining”:4629,“settings”:{“loop”:“disabled”,“shuffle”:false,“auto_radio”:true},“now_playing”:{“seek_position”:383,“length”:458,“one_line”:{“line1”:“01 M052A-HR Malena 24 bit 96K - “},“two_line”:{“line1”:“01 M052A-HR Malena 24 bit 96K”,“line2”:””},“three_line”:{“line1”:“01 M052A-HR Malena 24 bit 96K”,“line2”:“”,“line3”:“The MA Recordings Audiophiliac HiRez Music Sampler 2020”},“image_key”:“47cfe3e15766626f5f2c687a7786519a”}},{“zone_id”:“16015273d8c1efb1f463f03c4d8b196d9b2b”,“display_name”:“Office”,“outputs”:[{“output_id”:“17015273d8c1efb1f463f03c4d8b196d9b2b”,“zone_id”:“16015273d8c1efb1f463f03c4d8b196d9b2b”,“can_group_with_output_ids”:[“1701a606bd3475e9d7125f8bb2c64ea48869”,“170117ca5084f1eceaf6ab9196f70c6d9da2”,“1701425ee49a76688c9112ba4c7f8fd8dee8”,“17015273d8c1efb1f463f03c4d8b196d9b2b”,“1701b3c99ef11ec2667cd290ffc7cdf16a56”],“display_name”:“Office”,“volume”:{“type”:“number”,“min”:0,“max”:100,“value”:100,“step”:1,“is_muted”:false,“hard_limit_min”:0,“hard_limit_max”:100,“soft_limit”:100},“source_controls”:[{“control_key”:“1”,“display_name”:“System Output”,“supports_standby”:false,“status”:“indeterminate”}]}],“state”:“paused”,“is_next_allowed”:true,“is_previous_allowed”:true,“is_pause_allowed”:false,“is_play_allowed”:true,“is_seek_allowed”:true,“queue_items_remaining”:18,“queue_time_remaining”:4945,“settings”:{“loop”:“disabled”,“shuffle”:false,“auto_radio”:true},“now_playing”:{“seek_position”:67,“length”:458,“one_line”:{“line1”:“01 M052A-HR Malena 24 bit 96K - “},“two_line”:{“line1”:“01 M052A-HR Malena 24 bit 96K”,“line2”:””},“three_line”:{“line1”:“01 M052A-HR Malena 24 bit 96K”,“line2”:“”,“line3”:“The MA Recordings Audiophiliac HiRez Music Sampler 2020”},“image_key”:“47cfe3e15766626f5f2c687a7786519a”}},{“zone_id”:“160117ca5084f1eceaf6ab9196f70c6d9da2”,“display_name”:“HAL hidef”,“outputs”:[{“output_id”:“170117ca5084f1eceaf6ab9196f70c6d9da2”,“zone_id”:“160117ca5084f1eceaf6ab9196f70c6d9da2”,“can_group_with_output_ids”:[“1701a606bd3475e9d7125f8bb2c64ea48869”,“170117ca5084f1eceaf6ab9196f70c6d9da2”,“1701425ee49a76688c9112ba4c7f8fd8dee8”,“17015273d8c1efb1f463f03c4d8b196d9b2b”,“1701b3c99ef11ec2667cd290ffc7cdf16a56”],“display_name”:“HAL hidef”,“volume”:{“type”:“number”,“min”:0,“max”:100,“value”:88,“step”:1,“is_muted”:false,“hard_limit_min”:0,“hard_limit_max”:100,“soft_limit”:100},“source_controls”:[{“control_key”:“1”,“display_name”:“Realtek High Definition Audio”,“supports_standby”:false,“status”:“indeterminate”}]}],“state”:“paused”,“is_next_allowed”:true,“is_previous_allowed”:true,“is_pause_allowed”:false,“is_play_allowed”:true,“is_seek_allowed”:true,“queue_items_remaining”:18,“queue_time_remaining”:4945,“settings”:{“loop”:“disabled”,“shuffle”:false,“auto_radio”:true},“now_playing”:{“seek_position”:67,“length”:458,“one_line”:{“line1”:“01 M052A-HR Malena 24 bit 96K - “},“two_line”:{“line1”:“01 M052A-HR Malena 24 bit 96K”,“line2”:””},“three_line”:{“line1”:“01 M052A-HR Malena 24 bit 96K”,“line2”:“”,“line3”:“The MA Recordings Audiophiliac HiRez Music Sampler 2020”},“image_key”:“47cfe3e15766626f5f2c687a7786519a”}}]}

Blockquote

The log file confirms that the issue is ALSA related:

2020-12-04T17:44:12.003Z liquid-stdout: [threads:1] Thread “input.alsa_7224” aborts with exception Alsa error: No such file or directory!

This was also the case with the first command containing the -D default option?

Dear Jan

Yes it was with the first command

arecord -D default -f cd -t wav test.wav

Best wishes

Audio Entrypoint v0.2.0 is now available

Since the initial release of Entrypoints I especially got feedback about the Audio Entrypoint. The experiences from @anon44636269, @Todd_Haugen and @Ian_Foulger helped me in working on the weak spots of the initial implementation. Thanks guys for your input!

This release contains some of the “finetuning” I was talking about in the initial post.

The biggest change is that in the Settings screen of the Audio Entrypoint you have to select the soundcard that has to be used. Last weekend I discovered that using the “default” audio device is causing high CPU loads, by specifying a specific device the load drops very significantly. As an example, on a Raspberry Pi 2B the load dropped from a single core load of 95% to 10% while capturing a 44.1 kHz, 16 bit signal.

@anon44636269, this might have caused the difference in performance you saw when you compared the Entrypoint with your own Liquidsoap experiments. Might be worth a retry :slight_smile:


@Ian_Foulger, I hope that the new soundcard selection solves the problem you are facing, let me know.


Another point is the manual actions that had to be performed to have the stream active and be able to setup the radio stream in Roon. Here I made some improvements to have it active as much as possible, only if the soundcard has specific limitations that prevent this (like the blocking behavior of the HiFiBerry Digi+ I/O) then a manual action is required. For the HiFiBerry DAC+ADC, that I acquired for testing, you now only have to activate it once in the Settings and after that it will stream what you feed into it, or silence.

Here is a screenshot of the new Settings dialog:




I hope that this update will give a much better user experience. Let me know how it works out for you!

How to update

If the Extension Manager has auto update enabled then the changes will be pulled in the next time the update is performed. It is also possible to update manually via the Settings dialog of the manager, select the Audio Entrypoint from the Entrypoints category and perform the update action.

I shared some info about the upcoming Bluetooth Entrypoint here.

Is this compatible with RoPieee or would I need to add a second Raspberry Pi with DietPi installed on it if I wanted to use this?

Great news, Thanks
\

No Ropieee cannot run extension manager or install extensions other than its own display one.

The single Pi solution would be to install DietPi and run Entrypoints and Roon Bridge side by side. With this you will lose the RoPieee specific features.

Please tell me (again) why we can’t have hires S/PDIF input into Roon so that I can use HAF filters in the convolution engine for such a (digital) source.

1 Like

Great work Jan will give it another try when I get chance.