Klasse Sidplay2SectionTeaVM

java.lang.Object
client.teavm.common.config.Sidplay2SectionTeaVM
Alle implementierten Schnittstellen:
ISidPlay2Section

public final class Sidplay2SectionTeaVM extends Object implements ISidPlay2Section
  • Felddetails

    • version

      private int version
    • enableDatabase

      private boolean enableDatabase
    • startTime

      private double startTime
    • defaultPlayLength

      private double defaultPlayLength
    • loop

      private boolean loop
    • hvsc

      private File hvsc
    • single

      private boolean single
    • lastDirectory

      private File lastDirectory
    • tmpDir

      private File tmpDir
    • palEmulation

      private boolean palEmulation
    • brightness

      private float brightness
    • contrast

      private float contrast
    • gamma

      private float gamma
    • saturation

      private float saturation
    • phaseShift

      private float phaseShift
    • offset

      private float offset
    • tint

      private float tint
    • blur

      private float blur
    • bleed

      private float bleed
    • turboTape

      private boolean turboTape
    • fadeInTime

      private double fadeInTime
    • fadeOutTime

      private double fadeOutTime
  • Konstruktordetails

    • Sidplay2SectionTeaVM

      public Sidplay2SectionTeaVM()
  • Methodendetails

    • getVersion

      public int getVersion()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Get INI file version.
      Angegeben von:
      getVersion in Schnittstelle ISidPlay2Section
      Gibt zurück:
      INI file version
    • setVersion

      public void setVersion(int version)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Set configuration version
      Angegeben von:
      setVersion in Schnittstelle ISidPlay2Section
      Parameter:
      version - configuration version
    • isEnableDatabase

      public boolean isEnableDatabase()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Getter of the enable of the Songlengths database.
      Angegeben von:
      isEnableDatabase in Schnittstelle ISidPlay2Section
      Gibt zurück:
      Is the Songlengths database enabled?
    • setEnableDatabase

      public void setEnableDatabase(boolean enable)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Setter of the enable of the Songlengths database.
      Angegeben von:
      setEnableDatabase in Schnittstelle ISidPlay2Section
      Parameter:
      enable - the enable of the Songlengths database
    • getStartTime

      public double getStartTime()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Getter of the start time.
      Angegeben von:
      getStartTime in Schnittstelle ISidPlay2Section
      Gibt zurück:
      start time
    • setStartTime

      public void setStartTime(double startTime)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Setter of the start time.
      Angegeben von:
      setStartTime in Schnittstelle ISidPlay2Section
      Parameter:
      startTime - start time
    • getDefaultPlayLength

      public double getDefaultPlayLength()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Getter of the default play length (if the song length is unknown).
      Angegeben von:
      getDefaultPlayLength in Schnittstelle ISidPlay2Section
      Gibt zurück:
      default play length
    • setDefaultPlayLength

      public void setDefaultPlayLength(double defaultPlayLength)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Setter of the default play length (if the song length is unknown).
      Angegeben von:
      setDefaultPlayLength in Schnittstelle ISidPlay2Section
      Parameter:
      defaultPlayLength - default play length
    • isLoop

      public boolean isLoop()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Getter of the tune should loop
      Angegeben von:
      isLoop in Schnittstelle ISidPlay2Section
      Gibt zurück:
      tune should loop
    • setLoop

      public void setLoop(boolean loop)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Setter of the tune should loop
      Angegeben von:
      setLoop in Schnittstelle ISidPlay2Section
      Parameter:
      loop - tune should loop
    • getHvsc

      public File getHvsc()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Getter of the HVSC collection directory.
      Angegeben von:
      getHvsc in Schnittstelle ISidPlay2Section
      Gibt zurück:
      the HVSC collection directory
    • setHvsc

      public void setHvsc(File hvsc)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Setter of the HVSC collection directory.
      Angegeben von:
      setHvsc in Schnittstelle ISidPlay2Section
      Parameter:
      hvsc - the HVSC collection directory
    • isSingle

      public boolean isSingle()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Do we play a single song per tune?
      Angegeben von:
      isSingle in Schnittstelle ISidPlay2Section
      Gibt zurück:
      play a single song per tune
    • setSingle

      public void setSingle(boolean singleSong)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      setter to play a single song per tune.
      Angegeben von:
      setSingle in Schnittstelle ISidPlay2Section
      Parameter:
      singleSong - play a single song per tune
    • getLastDirectory

      public File getLastDirectory()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Getter of the last accessed directory in the file browser.
      Angegeben von:
      getLastDirectory in Schnittstelle ISidPlay2Section
      Gibt zurück:
      the last accessed directory in the file browser
    • setLastDirectory

      public void setLastDirectory(File lastDir)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Setter of the last accessed directory in the file browser.
      Angegeben von:
      setLastDirectory in Schnittstelle ISidPlay2Section
      Parameter:
      lastDir - the last accessed directory in the file browser
    • getTmpDir

      public File getTmpDir()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Getter of the temporary directory for JSIDPlay2.
      Angegeben von:
      getTmpDir in Schnittstelle ISidPlay2Section
      Gibt zurück:
      the temporary directory for JSIDPlay2
    • setTmpDir

      public void setTmpDir(File tmpDir)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Setter of the temporary directory for JSIDPlay2.
      Angegeben von:
      setTmpDir in Schnittstelle ISidPlay2Section
      Parameter:
      tmpDir - the temporary directory for JSIDPlay2
    • isPalEmulation

      public boolean isPalEmulation()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Get PAL emulation enable.
      Angegeben von:
      isPalEmulation in Schnittstelle ISidPlay2Section
      Gibt zurück:
      PAL emulation enable
    • setPalEmulation

      public void setPalEmulation(boolean palEmulation)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Set PAL emulation enable.
      Angegeben von:
      setPalEmulation in Schnittstelle ISidPlay2Section
      Parameter:
      palEmulation - PAL emulation enable
    • getBrightness

      public float getBrightness()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Get VIC palette setting brightness.
      Angegeben von:
      getBrightness in Schnittstelle ISidPlay2Section
      Gibt zurück:
      VIC palette setting brightness
    • setBrightness

      public void setBrightness(float brightness)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Set VIC palette setting brightness
      Angegeben von:
      setBrightness in Schnittstelle ISidPlay2Section
      Parameter:
      brightness - brightness
    • getContrast

      public float getContrast()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Get VIC palette setting contrast.
      Angegeben von:
      getContrast in Schnittstelle ISidPlay2Section
      Gibt zurück:
      VIC palette setting contrast
    • setContrast

      public void setContrast(float contrast)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Set VIC palette setting contrast
      Angegeben von:
      setContrast in Schnittstelle ISidPlay2Section
      Parameter:
      contrast - contrast
    • getGamma

      public float getGamma()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Get VIC palette setting gamma.
      Angegeben von:
      getGamma in Schnittstelle ISidPlay2Section
      Gibt zurück:
      VIC palette setting gamma
    • setGamma

      public void setGamma(float gamma)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Set VIC palette setting gamma
      Angegeben von:
      setGamma in Schnittstelle ISidPlay2Section
      Parameter:
      gamma - gamma
    • getSaturation

      public float getSaturation()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Get VIC palette setting saturation.
      Angegeben von:
      getSaturation in Schnittstelle ISidPlay2Section
      Gibt zurück:
      VIC palette setting saturation
    • setSaturation

      public void setSaturation(float saturation)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Set VIC palette setting saturation
      Angegeben von:
      setSaturation in Schnittstelle ISidPlay2Section
      Parameter:
      saturation - saturation
    • getPhaseShift

      public float getPhaseShift()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Get VIC palette setting phaseShift.
      Angegeben von:
      getPhaseShift in Schnittstelle ISidPlay2Section
      Gibt zurück:
      VIC palette setting phaseShift
    • setPhaseShift

      public void setPhaseShift(float phaseShift)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Set VIC palette setting phaseShift
      Angegeben von:
      setPhaseShift in Schnittstelle ISidPlay2Section
      Parameter:
      phaseShift - phaseShift
    • getOffset

      public float getOffset()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Get VIC palette setting offset.
      Angegeben von:
      getOffset in Schnittstelle ISidPlay2Section
      Gibt zurück:
      VIC palette setting offset
    • setOffset

      public void setOffset(float offset)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Set VIC palette setting offset
      Angegeben von:
      setOffset in Schnittstelle ISidPlay2Section
      Parameter:
      offset - offset
    • getTint

      public float getTint()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Get VIC palette setting tint.
      Angegeben von:
      getTint in Schnittstelle ISidPlay2Section
      Gibt zurück:
      VIC palette setting tint
    • setTint

      public void setTint(float tint)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Set VIC palette setting tint
      Angegeben von:
      setTint in Schnittstelle ISidPlay2Section
      Parameter:
      tint - tint
    • getBlur

      public float getBlur()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Get VIC palette setting blur.
      Angegeben von:
      getBlur in Schnittstelle ISidPlay2Section
      Gibt zurück:
      VIC palette setting blur
    • setBlur

      public void setBlur(float blur)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Set VIC palette setting blur
      Angegeben von:
      setBlur in Schnittstelle ISidPlay2Section
      Parameter:
      blur - blur
    • getBleed

      public float getBleed()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Get VIC palette setting bleed.
      Angegeben von:
      getBleed in Schnittstelle ISidPlay2Section
      Gibt zurück:
      VIC palette setting bleed
    • setBleed

      public void setBleed(float bleed)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Set VIC palette setting bleed
      Angegeben von:
      setBleed in Schnittstelle ISidPlay2Section
      Parameter:
      bleed - bleed
    • isTurboTape

      public boolean isTurboTape()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Getter of convert other programs to turbo-tape or normal tape format
      Angegeben von:
      isTurboTape in Schnittstelle ISidPlay2Section
      Gibt zurück:
      should be converted to turbo tape
    • setTurboTape

      public void setTurboTape(boolean turboTape)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Setter of convert other programs to turbo-tape or normal tape format
      Angegeben von:
      setTurboTape in Schnittstelle ISidPlay2Section
    • getFadeInTime

      public double getFadeInTime()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Fade-in start time in seconds, audio volume should be increased to the max.
      Angegeben von:
      getFadeInTime in Schnittstelle ISidPlay2Section
    • setFadeInTime

      public void setFadeInTime(double fadeInTime)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Setter of Fade-in start time in seconds, audio volume should be increased to the max.
      Angegeben von:
      setFadeInTime in Schnittstelle ISidPlay2Section
    • getFadeOutTime

      public double getFadeOutTime()
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Fade-out start time in seconds, audio volume should be lowered to zero.
      Angegeben von:
      getFadeOutTime in Schnittstelle ISidPlay2Section
    • setFadeOutTime

      public void setFadeOutTime(double fadeOutTime)
      Beschreibung aus Schnittstelle kopiert: ISidPlay2Section
      Setter of Fade-out start time in seconds, audio volume should be lowered to zero.
      Angegeben von:
      setFadeOutTime in Schnittstelle ISidPlay2Section