@RBM @jussi_laako you guys are right, it was the lossless switcher in combination with Apple Music. Everything runs smooth now on DSD256.
Found a script from @RBM and modified it to auto start and auto play.
#!/bin/bash
This script will start HQPlayer and begin playback
Start HQPlayer
#open -a HQPlayer5Desktop
Use hqp5-control to select the input transport and start playback
Replace âaudio:default/44100â with your actual audio URI
/Applications/hqp5-control/Contents/MacOS/hqp5-control localhost --set-transport 1 âaudio:BlackHole 2ch/0/2â
/Applications/hqp5-control/Contents/MacOS/hqp5-control localhost âplay
Getting the following error message:
plusacht_music@Music-MBP /applications % sh autostart.sh
autostart.sh: line 11: /Applications/hqp5-control/Contents/MacOS/hqp5-control: No such file or directory
autostart.sh: line 12: /Applications/hqp5-control/Contents/MacOS/hqp5-control: No such file or directory
HQ5-control is inside applications folder. Any idea what I am doing wrong here ?
Use /Applications/hqp5-control.app/etc⊠â the â.appâ is part of the path.
This fixed the problem but the player is not starting. Maybe the script is wrong?
/Applications/hqp5-control.app/Contents/MacOS/hqp5-control localhost --set-transport 1 âaudio:BlackHole 2ch/0/2â
/Applications/hqp5-control.app/Contents/MacOS/hqp5-control localhost --play
**Maybe to step back and explain the 2 scenarios I am trying to address:
- MacBook Pro is starting up - using automator to run script:
Script:
#!/bin/bash
open -a HQPlayer5Desktop
Sleep 8
/Applications/hqp5-control.app/Contents/MacOS/hqp5-control localhost --set-transport 1 âaudio:BlackHole 2ch/0/2â
/Applications/hqp5-control.app/Contents/MacOS/hqp5-control localhost --play
In the best case scenario - I just have to press play in Apple Music and everything works.
- MacBook Pro lid is closed (sleep) and T+A DAC is switched off - opening lid and switching on T+A DAC
Script:
Now I need a script which triggers âPLAYâ when my DAC is connected (powered on) and HQPlayer is open and not yet âPLAYâ activated.
Again, in the best case scenario just press play in Apple Music and everything works.
Just to be clear, this is simply for my non technical wife - I want to make this thing idiot proof ![]()
EDIT FOR OTHERS - THIS is the final script I am using and fully working:
#!/bin/bash
open -a HQPlayer5Desktop
Sleep 8
/Applications/hqp5-control.app/Contents/MacOS/hqp5-control localhost --set-transport 5 âaudio:default/0/2â
/Applications/hqp5-control.app/Contents/MacOS/hqp5-control localhost --play
thanks
Transport is loaded with 5, not 1:
/Applications/hqp5-control.app/Contents/MacOS/hqp5-control localhost --set-transport 5 âaudio:BlackHole 2ch/0/2â
This worked - so scenario 1 is solved.
Would you have an advise for me to solve scenario 2:
2. T+A DAC is switched off â switching on T+A DAC
Script:
Now I need a script which triggers âPLAYâ when my DAC is powered on and HQPlayer is already open (if not open then I can simply use script 1) and âPLAYâ not yet activated.
EDIT: Of course, if this is not possible could simply kill HQPlayer before the computer is going to sleep and run script 1 after wake up.
thanks
You can see a draft video of the current state of my rooMax implementation that integrates Quick Keys into rooExtend. Hopefully I will be able to release it within the next four weeks ![]()
Best DrCWO
Did anyone mange to tame routing audio stream from video via HQPlayer in sync with video, lipsynced that is.
Use case - playing youtube video (for example) on a tablet streaming via airplay. On my âanysourceâ setup, which is Bluesound Node (receiving airplay) and connected to USBStreamer (which is connected to HQP server, classical setup) I get a very nasty delay with video even with minimal buffer setting trying to get to SDM@256 with either gauss-long or mqa/mp3-mp, on 5th order EC modulator.
Another use case a bit more sophisticated - for DVD, I have audio and video (obviously) going to TV with HDMI (source is PS3, but that really does not matter). TV outputs audio via Toslink that is going directly into MAY DAC. Sounds nice, but I thought to try routing this to HifiBerry (remote NAA, that is, like I recently did for CD Transport) and I assume Iâm gonna face lipsync issues again.
I wonder how can I delay video to get sync, or what is the HQP âvideo modeâ settings if such is possible?
gauss-long definitely wonât work since it is linear phase
mqa/mp3-mp should work
Did you change input side buffer? Not just output
Always try light CPU load first, try non-EC modulator
You have any matrix profiles active? Are they min phase?
@dabassgoesboomboom , merci! but, nope, with light settings is the same.
âlight settingâ = empty PCM passthrough, buffer minimal, other is 10ms, no upsampling, no filters, no matrix, no speakers distance, no convolution⊠virgine barebone player via NAA. thereâs still visible video delay.
Probably related to Airplay.
Try on your Mac with Blackhole as HQP input - no Airplay
This has no visible lip sync for me, even with min phase 65k tap FIR room correction filters in HQP
Also CoreAudio output for me
yeah, thereâs definatelly smth on the way that would do the audio buffering. I donât have MAC. But for PC, AFAIK, there are some video buffering or lipsync utilities. Bigger question is how to make it without PC in the chain. Some type of video processor with delay option, I wonder ? It would definatelly be no use for gaming for sure, but for BRâs or DVDâs certainly yes.
Anecdotically in the internet search most if not all links speak about shortening Audio delay, instead of lengthening Video delay. As if no one does audio DSP for home cinemas ?? (which is hard to beleive) I wonderâŠ
I will tinker with my hifiberry to see if such a path can do magic (this will cross out AirPlay from the chain at least)âŠ
Yes audio delay is common.
Much less common is video delay which is what we need.
From memory on LG TVs used to have this , not sure if they still do. But it was always mentioned in user manual so you can check newer model manuals.
As you can imagine buffering lots of 4K video needs more memory than just simple audio
And even how much the TV can delay (is it enough for HQP?) I canât recall but I remember seeing comment in user manual for LG TVs
Buffering control will be the key for lip syncing if thereâs no video delay option in the path. In my past experience you might try one or all:
- Add a video selector / switcher in the video path, it can add some delay for video (add extra buffer for video);
- Using AoIP to minimize the audio latency between source and HQPlayer (AoIPâs latency can down to 1ms or less).
**Iâve tested Arvus H2-4D Atmos decoder with PS5 for gaming.
H2-4D <Dante/AES67> HQPlayer embedded â NAA <Ravenna/AES67> Merging DACs
- Acquire an AppleTV 4K to handle the AirPlay
You will certainly have a bunch of delay from AirPlay aloneâŠ
On HQPlayer side, you have three âshort bufferâ options for both input and output. The low delay option being least delay, but also most prone to drop-outs. You also need NAA v5 for lowest delays.
I on lt put hisopic as an example of the settin gs I have tried. This is the new HQP5.
I seem to find a settin g that doesnât cause me problems. Either I get no sound, a horrid elertical sound like out off tune radio, or I get what I have been geting recently which is the music sounds okay then it âwobblesâ for a second or two, enough for friends to notice.
I like a clear non bassy sound. I am using a MacBook Pro M3 MAX with a 4tb disc yet if I try using anything of the Last few SINC filters(?) they don 'tplay.
Iâd like a suggestion as to what to set please. Iâd be gratefule. Thank you kindly. Itâs waste of money to n it use the program.(Yes no such problems with ROON)
Thankj you kindly
Which are the other settings (Outputs and Advanced tabs)?
Which dac are you using?
Are you using NAA?
Thank you @Chunhao_Lee indeed the strategy would look like âreducing lattency + introduce buffering managementâ. I can see your suggestion, but it is complete ecosystem change for me, I guess when I pull a trigger on multichannel setup that would be right way to go!
Yeah, Iâve been thinking about this. iPad to WiFi Router to Ethernet Switch to another Ethernet Switch to Bluesound Node to USB Streamer to HQP Server to Ethernet Switch to another Ethernet Switch to RPi4 NAA to DAC via USB. Even if HQP has 0 lattency this ânormalâ path is just not optimal for real time transfersâŠ
PC: it looks like videoprocessors are the answerâŠ
Iâd suggest to use â-2sâ variant of those filters, if you like those ones.
Also ASDM7EC-super would be newer modulator, although the one you have already is fine too.
I did just as you suggested but still had non smooth playing-occasional drops, distortion sounds better than drops. It certaibnly doesnât likke XTR. To be frank there was no need for me to upgrade from 4 as I canât do anyting different as all the new ones donât work for me. I use an M3 Max so donât believe it is lack of power as NOTHING else runs on this computer but ROON and HQP.


