Package jmri.jmrit.vsdecoder
Class VSDSound
java.lang.Object
jmri.jmrit.vsdecoder.VSDSound
- Direct Known Subclasses:
ConfigurableSound,EngineSound,SoundBite
Superclass for all Sound types.
This file is part of JMRI.
This file is part of JMRI.
JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.
JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final String(package private) static final String(package private) static final float(package private) static final float(package private) static final float(package private) static final int(package private) float(package private) boolean(package private) PhysicalLocation(package private) String(package private) static final String(package private) static final String(package private) Timer(package private) static final float(package private) float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) intvoidchangeNotch(int new_notch) voidchangeThrottle(float t) (package private) boolean(package private) intabstract voidfadeIn()abstract voidfadeOut()floatgetGain()getName()(package private) booleanorg.jdom2.ElementgetXml()abstract voidloop()abstract voidmute(boolean m) protected TimernewTimer(int time, boolean repeat, ActionListener al) abstract voidplay()voidsetGain(float g) voidvoid(package private) voidsetTunnel(boolean t) abstract voidsetVolume(float g) voidsetXml(org.jdom2.Element e) abstract voidshutdown()abstract voidstop()
-
Field Details
-
SrcSysNamePrefix
- See Also:
-
BufSysNamePrefix
- See Also:
-
SrcUserNamePrefix
- See Also:
-
BufUserNamePrefix
- See Also:
-
default_exponent
- See Also:
-
default_gain
- See Also:
-
default_reference_distance
- See Also:
-
tunnel_volume
- See Also:
-
default_sleep_interval
- See Also:
-
t
-
is_tunnel
boolean is_tunnel -
name
-
gain
float gain -
volume
float volume -
myposition
-
-
Constructor Details
-
VSDSound
-
-
Method Details
-
newTimer
-
play
-
loop
-
stop
-
fadeIn
-
fadeOut
-
mute
-
setVolume
-
shutdown
-
setPosition
-
getPosition
-
changeNotch
-
changeThrottle
-
setName
-
getName
-
getGain
-
setGain
-
attachSourcesToEffects
int attachSourcesToEffects() -
detachSourcesToEffects
int detachSourcesToEffects() -
setTunnel
-
getTunnel
boolean getTunnel() -
checkForFreeBuffer
boolean checkForFreeBuffer() -
getXml
-
setXml
-