Paul Webster wrote: 
> Here a basis for the unusual bit ... swapping {} to []
> 
> swap.bat
> > 
Code:
--------------------
  >   > 
  > setlocal enabledelayedexpansion
  > set /P MY_TEXT=ENTER TEXT:
  > SET SWAP=[
  > set NEW_TEXT=%MY_TEXT:{=!SWAP!%
  > SET SWAP=]
  > set NEW_TEXT=%NEW_TEXT:}=!SWAP!%
  > ECHO %NEW_TEXT%
  > 
--------------------
> > 
> 
> If you run it and enter
> some text {hello} more text
> you should see it echo back
> some text [hello] more textYup, I got this, thank you! What I don't have a 
> clue about is how to
pass variables from Squeezebox Server to a batch script and viceversa
:-(

Luckily I don't need it for the moment. I managed to use the other way
of using HRTF functionality. It wasn't working because the wav file with
the... impulse? With whatever's needed to do the magic... it needed the
full path. I had it in the bin directory and I thought that with all the
programs being in there that was the working directory but it's not.
So with this I get what I need:

Code:
--------------------
    
  alc flc * bc:5f:f4:bf:3e:70
        # FT:{START=-j %s}U:{END=-e %u}
        [faad] -q -w -f 2 $START$ $END$ $FILE$ | [ffmpeg] -loglevel quiet 
-thread_queue_size 50000 -i - -i "C:\Program Files 
(x86)\Squeezebox\server\Bin\MSWin32-x86-multi-thread\waves-HRIR.wav" 
-filter_complex 
"headphone=map=FL|FR|FC|LFE|SL|SR:hrir=multich:gain=5,equalizer=f=30:t=q:w=0.43:g=6.2,equalizer=f=699:t=q:w=2:g=1,equalizer=f=2924:t=q:w=4.11:g=-1.7,equalizer=f=6031:t=q:w=5.05:g=-6.2,equalizer=f=9825:t=q:w=4.08:g=2.2,equalizer=f=83:t=q:w=4.24:g=1.3,equalizer=f=209:t=q:w=1.54:g=-1.2,equalizer=f=2842:t=q:w=0.1:g=0.2,equalizer=f=12443:t=q:w=1.29:g=2.7,equalizer=f=19698:t=q:w=0.46:g=-11.8"
 -f flac -
  
--------------------

Simulated surround sound while playing back DTS and AC3 files with
headphones. I encapsulate them in ALC files (that I use just for that
purpose, all the rest of lossless music is in FLAC) and I use a specific
instance of Squeezelite, identified by the MAC address.
I write this in case somebody might be interested.

Problem remains with brackets and custom-convert.conf... but I've
already spent too many hours solving this. I've lost my strength and my
suspicion is that this would be a really tough nut to crack (surely for
abysmal my skill level).

As always, thanks to everybody that chimed in to help. This community is
awesome, the whole project never ceases to amaze me, after all these
years.


------------------------------------------------------------------------
gorman's Profile: http://forums.slimdevices.com/member.php?userid=56
View this thread: http://forums.slimdevices.com/showthread.php?t=112510

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to