Created
February 18, 2014 18:14
-
-
Save omoshetech-t/9076481 to your computer and use it in GitHub Desktop.
Add the "Perfect" equalizer preset to iTunes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "iTunes" | |
-- Check existence of the "Perfect" equalizer preset | |
repeat with preset in EQ presets | |
if name of preset is "Perfect" then | |
return | |
end if | |
end repeat | |
-- Add the "Perfect" equalizer preset | |
set perfectPreset to make new EQ preset | |
set name of perfectPreset to "Perfect" | |
set band 1 of perfectPreset to 3 | |
set band 2 of perfectPreset to 6 | |
set band 3 of perfectPreset to 9 | |
set band 4 of perfectPreset to 7 | |
set band 5 of perfectPreset to 6 | |
set band 6 of perfectPreset to 5 | |
set band 7 of perfectPreset to 7 | |
set band 8 of perfectPreset to 9 | |
set band 9 of perfectPreset to 11 | |
set band 10 of perfectPreset to 8 | |
set preamp of perfectPreset to 0 | |
set current EQ preset to perfectPreset | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment