public interface IAudioSection
Modifier and Type | Method and Description |
---|---|
Audio |
getAudio()
Getter of the audio to be used.
|
default float |
getBalance(int sidNum) |
int |
getBufferSize()
Getter of the output buffer size.
|
default int |
getDelay(int sidNum) |
int |
getDevice() |
float |
getMainBalance()
Getter of the main SID balance setting (0 - left, 1 - right speaker).
|
int |
getMainDelay()
Getter of the main SID delay setting (0 - no delay, 200 - 200ms delay).
|
float |
getMainVolume()
Getter of the main SID volume setting.
|
String |
getMp3File()
Getter of the recorded tune filename.
|
SamplingMethod |
getSampling()
Getter of the sampling method.
|
SamplingRate |
getSamplingRate()
Getter of the Playback/Recording frequency.
|
float |
getSecondBalance()
Getter of the second SID balance setting (0 - left, 1 - right speaker).
|
int |
getSecondDelay()
Getter of the second SID delay setting (0 - no delay, 200 - 200ms delay).
|
float |
getSecondVolume()
Getter of the second SID volume setting.
|
float |
getThirdBalance()
Getter of the third SID balance setting (0 - left, 1 - right speaker).
|
int |
getThirdDelay()
Getter of the third SID delay setting (0 - no delay, 200 - 200ms delay).
|
float |
getThirdVolume()
Getter of the third SID volume setting.
|
default float |
getVolume(int sidNum) |
boolean |
isPlayOriginal()
Do we play the recording?
|
void |
setAudio(Audio audio)
Setter of the audio to be used.
|
void |
setBufferSize(int bufferSize)
Setter of the output buffer size.
|
void |
setDevice(int device) |
void |
setMainBalance(float balance)
Setter of the main SID balance setting (0 - left, 1 - right speaker).
|
void |
setMainDelay(int delay)
Setter of the main SID delay setting (0 - no delay, 200 - 200ms delay).
|
void |
setMainVolume(float volume)
Setter of the main SID volume setting.
|
void |
setMp3File(String recording)
Setter of the recorded tune filename.
|
void |
setPlayOriginal(boolean original)
Setter to play the recorded tune.
|
void |
setSampling(SamplingMethod method)
Setter of the sampling method.
|
void |
setSamplingRate(SamplingRate sampligRate)
Setter of the sampling rate.
|
void |
setSecondBalance(float balance)
Setter of the second SID balance setting (0 - left, 1 - right speaker).
|
void |
setSecondDelay(int delay)
Setter of the second SID delay setting (0 - no delay, 200 - 200ms delay).
|
void |
setSecondVolume(float volume)
Setter of the second SID volume setting.
|
void |
setThirdBalance(float balance)
Setter of the third SID balance setting (0 - left, 1 - right speaker).
|
void |
setThirdDelay(int delay)
Setter of the third SID delay setting (0 - no delay, 200 - 200ms delay).
|
void |
setThirdVolume(float volume)
Setter of the third SID setting.
|
Audio getAudio()
void setAudio(Audio audio)
audio
- audio to be usedint getDevice()
void setDevice(int device)
SamplingRate getSamplingRate()
void setSamplingRate(SamplingRate sampligRate)
sampligRate
- sampling rateSamplingMethod getSampling()
void setSampling(SamplingMethod method)
method
- the sampling methodboolean isPlayOriginal()
void setPlayOriginal(boolean original)
original
- Play recorded (original) or emulated tuneString getMp3File()
void setMp3File(String recording)
recording
- the recorded tune filenamefloat getMainVolume()
void setMainVolume(float volume)
volume
- the main SID volume settingfloat getSecondVolume()
void setSecondVolume(float volume)
volume
- the second SID volume settingfloat getThirdVolume()
void setThirdVolume(float volume)
volume
- the third SID volume settingfloat getMainBalance()
void setMainBalance(float balance)
balance
- the main SID balance settingfloat getSecondBalance()
void setSecondBalance(float balance)
balance
- the second SID balance settingfloat getThirdBalance()
void setThirdBalance(float balance)
balance
- the third SID balance settingint getMainDelay()
void setMainDelay(int delay)
delay
- the main SID delay settingint getSecondDelay()
void setSecondDelay(int delay)
delay
- the second SID delay settingint getThirdDelay()
void setThirdDelay(int delay)
delay
- the third SID delay settingint getBufferSize()
void setBufferSize(int bufferSize)
bufferSize
- output buffer sizedefault float getVolume(int sidNum)
default float getBalance(int sidNum)
default int getDelay(int sidNum)
Copyright © 2018 Ken Händel. All rights reserved.