For HQ Player developers / Call via AppleScript
Pre-release
Pre-release
·
3 commits
to applescript-api
since this release
Just a simple release that adds a way to obtain the latest sample rate via AppleScript.
Effectively it covers #108 use case.
Example:
tell application "LosslessSwitcher"
set rate to get latest sample rate
do shell script "echo " & rate
end tellReturns:
"44100" on a 44.1kHz track.
Note: on first call/launch, -1 will be returned.