Hi all
I have made some small changes to the MQn.bat file that allows me to set affinity and priority of MQNcontrol and MQNplay.
I find that putting each on a dedicated core and putting mqnplay on realtime (or high) priority has a positive effect on SQ.
In order to be able to set affinity and priority separately for these two programs I had to adapt the mqn.bat slightly.
To be able to set affinity and priority from commandline I use taggart's tasker.exe program found here:
viewtopic.php?p=51794#p51794
I put tasker.exe in C:\, so change that part if you have put it elsewhere.
Because mqncontrol launches mqnplay, I have to wait until both are loaded before I can change their affinity and priority.
To be able to do this I used the command "
start mqncontrol". This will launch a second command window where mqncontrol and mqnplay will be running.
The original batch program will continue with the next statements. With these subsequent statements I set the affinity and priority of mqncontrol (core 2 and normal priority) and mqnplay (core 3 and realtime priority) that have been started in the other window in the meantime (have put in a 5 sec delay to make sure they have started) and which will move all other processes to the other cores (core 0 and 1 and normal priority).
So you will end up with two command windows which both need to be kept open (as closing will revert affinity settings). All the usual programs are required for normal operation.
The new mqn.bat looks like this now (the changes begin from the line "rem lets play music"):
Code: Select all
@echo off
cd c:\musicplayer\24-bit
Title MQn - Just good music
taskkill /fi "PID gt 0" /IM mqnplay.exe /F >nul
taskkill /fi "PID gt 0" /IM mqncontrol.exe /F >nul
rem net stop "Desktop Window Manager Session Manager"
del Files.txt /q
FOR /F "tokens=*" %%A IN ('CHCP') DO FOR %%B IN (%%~A) DO SET CodePage=%%B
chcp 65001
paste > param.txt
rem echo off
rem file
for /F "usebackq delims==" %%i IN (`sort param.txt ^| FIND /I ".wav"`) do echo %%i >> File1.txt
if exist file1.txt goto :crlf
rem folder
for /F "usebackq delims==" %%i IN (`sort param.txt`) DO for /f "delims=" %%f in ('dir /b "%%i\*.wav"') do echo %%i\%%f >> File1.txt
:crlf
rem remove cr/lf from last line
setlocal DisableDelayedExpansion
set "firstLineReady="
(
for /F "eol=$ delims=" %%a in (File1.txt) DO (
if defined firstLineReady (echo()
set "firstLineReady=1"
<nul set /p "=%%a"
)
) > Files.txt"
del File1.txt /q
rem CHCP %CodePage%
cls
set TIMESTAMP=%TIME:~0,2%:%TIME:~3,2%:%TIME:~6,2%
echo Playback commenced - %timestamp%
echo.
for /F "usebackq delims==" %%i IN (`sort Files.txt`) do echo %%~ni
echo.
rem lets play music
start MQncontrol --file ".\Files.txt"
timeout /T 5
c:\tasker -set -x "mqncontrol.exe" -p normal -a 0100
c:\tasker -set -x "mqnplay.exe" -p realtime -a 1000
c:\tasker -all -x "mqnplay.exe|mqncontrol.exe" -p normal -a 0011
pause
exit
@echo on
My impression is that in 'realtime priority' the sounds comes just a little bit more foreward which effect I prefer over the 'high priority' and most noticeable I think is that the tones are more defined at the edges, where in 'high priority' they are just a bit more woozy, less clear. On some recordings I find the 'high priority' a bit too much with 2.71. My solution is then to use 2.59 which has a great mid-range but a little less details, so that version can withstand the more defined edges of 'high priority'.
Looking forward to your impressions.
Cheers
Aleg