com.dt.iTunesController
Class ITEQPreset

java.lang.Object
  extended by com.dt.iTunesController.ITEQPreset

public class ITEQPreset
extends java.lang.Object

Represents an equalizer preset. You can retrieve or set the currently selected EQ preset using the iTunes.getCurrentEQPreset() method.


Constructor Summary
ITEQPreset(com.jacob.com.Dispatch d)
           
 
Method Summary
 void delete(boolean updateAllTracks)
          Delete this EQ Preset.
 double getBand1()
          Returns the equalizer 32Hz level (-12.0 db to +12.0 db).
 double getBand10()
          Returns the equalizer 16KHz level (-12.0 db to +12.0 db).
 double getBand2()
          Returns the equalizer 64Hz level (-12.0 db to +12.0 db).
 double getBand3()
          Returns the equalizer 125Hz level (-12.0 db to +12.0 db).
 double getBand4()
          Returns the equalizer 250Hz level (-12.0 db to +12.0 db).
 double getBand5()
          Returns the equalizer 500Hz level (-12.0 db to +12.0 db).
 double getBand6()
          Returns the equalizer 1KHz level (-12.0 db to +12.0 db).
 double getBand7()
          Returns the equalizer 2KHz level (-12.0 db to +12.0 db).
 double getBand8()
          Returns the equalizer 4KHz level (-12.0 db to +12.0 db).
 double getBand9()
          Returns the equalizer 8KHz level (-12.0 db to +12.0 db).
 boolean getModifiable()
          Returns true if the EQ preset can be modified.
 java.lang.String getName()
          Returns the name of the EQ Preset (e.g.
 double getPreamp()
          Returns the equalizer preamp level (-12.0db to +12.0db).
 void rename(java.lang.String newName, boolean updateAllTracks)
          Rename this EQ Preset.
 void setBand1(double level)
          Set the equalizer 32Hz level (-12.0 db to +12.0 db).
 void setBand10(double level)
          Set the equalizer 16KHz level (-12.0 db to +12.0 db).
 void setBand2(double level)
          Set the equalizer 64Hz level (-12.0 db to +12.0 db).
 void setBand3(double level)
          Set the equalizer 125Hz level (-12.0 db to +12.0 db).
 void setBand4(double level)
          Set the equalizer 250Hz level (-12.0 db to +12.0 db).
 void setBand5(double level)
          Set the equalizer 500Hz level (-12.0 db to +12.0 db).
 void setBand6(double level)
          Set the equalizer 1KHz level (-12.0 db to +12.0 db).
 void setBand7(double level)
          Set the equalizer 2KHz level (-12.0 db to +12.0 db).
 void setBand8(double level)
          Set the equalizer 4KHz level (-12.0 db to +12.0 db).
 void setBand9(double level)
          Set the equalizer 8KHz level (-12.0 db to +12.0 db).
 void setPreamp(double level)
          Set the equalizer preamp level (-12.0 db to +12.0 db).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ITEQPreset

public ITEQPreset(com.jacob.com.Dispatch d)
Method Detail

getName

public java.lang.String getName()
Returns the name of the EQ Preset (e.g. "Acoustic").

Returns:
Returns the name of the EQ Preset (e.g. "Acoustic").

getModifiable

public boolean getModifiable()
Returns true if the EQ preset can be modified.

Returns:
True if the EQ preset can be modified.

setPreamp

public void setPreamp(double level)
Set the equalizer preamp level (-12.0 db to +12.0 db).

Parameters:
level - The new equalizer preamp level (-12.0 db to +12.0 db).

getPreamp

public double getPreamp()
Returns the equalizer preamp level (-12.0db to +12.0db).

Returns:
Returns the equalizer preamp level (-12.0db to +12.0db).

setBand1

public void setBand1(double level)
Set the equalizer 32Hz level (-12.0 db to +12.0 db).

Parameters:
level - The new equalizer 32Hz level (-12.0 db to +12.0db).

getBand1

public double getBand1()
Returns the equalizer 32Hz level (-12.0 db to +12.0 db).

Returns:
Returns the equalizer 32Hz level (-12.0 db to +12.0 db).

setBand2

public void setBand2(double level)
Set the equalizer 64Hz level (-12.0 db to +12.0 db).

Parameters:
level - The new equalizer 64Hz level (-12.0 db to +12.0db).

getBand2

public double getBand2()
Returns the equalizer 64Hz level (-12.0 db to +12.0 db).

Returns:
Returns the equalizer 64Hz level (-12.0 db to +12.0 db).

setBand3

public void setBand3(double level)
Set the equalizer 125Hz level (-12.0 db to +12.0 db).

Parameters:
level - The new equalizer 125Hz level (-12.0 db to +12.0db).

getBand3

public double getBand3()
Returns the equalizer 125Hz level (-12.0 db to +12.0 db).

Returns:
Returns the equalizer 125Hz level (-12.0 db to +12.0 db).

setBand4

public void setBand4(double level)
Set the equalizer 250Hz level (-12.0 db to +12.0 db).

Parameters:
level - The new equalizer 250Hz level (-12.0 db to +12.0db).

getBand4

public double getBand4()
Returns the equalizer 250Hz level (-12.0 db to +12.0 db).

Returns:
Returns the equalizer 250Hz level (-12.0 db to +12.0 db).

setBand5

public void setBand5(double level)
Set the equalizer 500Hz level (-12.0 db to +12.0 db).

Parameters:
level - The new equalizer 500Hz level (-12.0 db to +12.0db).

getBand5

public double getBand5()
Returns the equalizer 500Hz level (-12.0 db to +12.0 db).

Returns:
Returns the equalizer 500Hz level (-12.0 db to +12.0 db).

setBand6

public void setBand6(double level)
Set the equalizer 1KHz level (-12.0 db to +12.0 db).

Parameters:
level - The new equalizer 1KHz level (-12.0 db to +12.0db).

getBand6

public double getBand6()
Returns the equalizer 1KHz level (-12.0 db to +12.0 db).

Returns:
Returns the equalizer 1KHz level (-12.0 db to +12.0 db).

setBand7

public void setBand7(double level)
Set the equalizer 2KHz level (-12.0 db to +12.0 db).

Parameters:
level - The new equalizer 2KHz level (-12.0 db to +12.0db).

getBand7

public double getBand7()
Returns the equalizer 2KHz level (-12.0 db to +12.0 db).

Returns:
Returns the equalizer 2KHz level (-12.0 db to +12.0 db).

setBand8

public void setBand8(double level)
Set the equalizer 4KHz level (-12.0 db to +12.0 db).

Parameters:
level - The new equalizer 4KHz level (-12.0 db to +12.0db).

getBand8

public double getBand8()
Returns the equalizer 4KHz level (-12.0 db to +12.0 db).

Returns:
Returns the equalizer 4KHz level (-12.0 db to +12.0 db).

setBand9

public void setBand9(double level)
Set the equalizer 8KHz level (-12.0 db to +12.0 db).

Parameters:
level - The new equalizer 8KHz level (-12.0 db to +12.0db).

getBand9

public double getBand9()
Returns the equalizer 8KHz level (-12.0 db to +12.0 db).

Returns:
Returns the equalizer 8KHz level (-12.0 db to +12.0 db).

setBand10

public void setBand10(double level)
Set the equalizer 16KHz level (-12.0 db to +12.0 db).

Parameters:
level - The new equalizer 16KHz level (-12.0 db to +12.0db).

getBand10

public double getBand10()
Returns the equalizer 16KHz level (-12.0 db to +12.0 db).

Returns:
Returns the equalizer 16KHz level (-12.0 db to +12.0 db).

delete

public void delete(boolean updateAllTracks)
Delete this EQ Preset. Any EQ preset can be deleted, including built-in presets, except for the Manual preset.

Parameters:
updateAllTracks - If true, any tracks that use this EQ preet will be set to have no assigned EQ preset.

rename

public void rename(java.lang.String newName,
                   boolean updateAllTracks)
Rename this EQ Preset. The name of any EQ preset can be changed, including built-in presets, except for the Manual preset. EQ preset names cannot start with leading spaces. If you specify a name that starts with leading spaces they will be stripped out.

Parameters:
updateAllTracks - If true, any tracks that use this EQ preet will be updated with the new preset name.