Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save omoshetech-t/9076481 to your computer and use it in GitHub Desktop.
Save omoshetech-t/9076481 to your computer and use it in GitHub Desktop.
Add the "Perfect" equalizer preset to iTunes.
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