Airfoil Volume - All Speakers: + / -

Posted on
Tue Nov 05, 2019 3:42 pm
Korey offline
User avatar
Posts: 692
Joined: Jun 04, 2008
Location: Henderson, NV

Airfoil Volume - All Speakers: + / -

How about this into python?


Code: Select all
property volume_multiplier : 1.05

tell application "Airfoil"
   set all_speakers to (get every speaker)
   repeat with this_speaker in all_speakers
      set curr_volume to get volume of this_speaker
      set (volume of this_speaker) to (curr_volume * volume_multiplier)
      if (volume of this_speaker) is 0 then set (volume of this_speaker) to 0.1
   end repeat
end tell

--
Korey

Posted on
Tue Nov 05, 2019 3:49 pm
FlyingDiver online
User avatar
Posts: 5408
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Airfoil Volume - All Speakers: + / -

Why bother? Just make it an external script.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Dec 08, 2019 4:29 pm
Korey offline
User avatar
Posts: 692
Joined: Jun 04, 2008
Location: Henderson, NV

Re: Airfoil Volume - All Speakers: + / -

FlyingDiver wrote:
Why bother? Just make it an external script.


True!

For some reason I thought we had to abandon AppleScript completely. :oops:

Another 50 scripts to save as externals and I can move up to 7.4. :shock:

--
Korey

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest