Package jmri.jmrit.vsdecoder
Class NotchTransition
- java.lang.Object
-
- jmri.jmrit.vsdecoder.VSDSound
-
- jmri.jmrit.vsdecoder.SoundBite
-
- jmri.jmrit.vsdecoder.NotchTransition
-
class NotchTransition extends SoundBite
NotchTransition. This class holds the information needed about a transitional sound between notches of a Diesel locomotive engine.
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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jmri.jmrit.vsdecoder.SoundBite
SoundBite.BufferMode
-
-
Field Summary
-
Fields inherited from class jmri.jmrit.vsdecoder.SoundBite
bufferMode, filename, initialized, length, looped, maxloops, minloops, rd, sound_buf, sound_src, system_name, user_name
-
Fields inherited from class jmri.jmrit.vsdecoder.VSDSound
BufSysNamePrefix, BufUserNamePrefix, default_exponent, default_gain, default_reference_distance, default_sleep_interval, gain, is_tunnel, myposition, name, SrcSysNamePrefix, SrcUserNamePrefix, t, tunnel_volume, volume
-
-
Constructor Summary
Constructors Constructor Description NotchTransition(VSDFile vf, java.lang.String filename, java.lang.String sname, java.lang.String uname)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNextNotch()
int
getPrevNotch()
void
setNextNotch(int p)
void
setPrevNotch(int p)
-
Methods inherited from class jmri.jmrit.vsdecoder.SoundBite
calcLength, calcLength, fadeIn, fadeOut, getBuffer, getBufferSystemName, getBufferUserName, getFadeInTime, getFadeOutTime, getFileName, getLength, getLengthAsInt, getReferenceDistance, getSource, getSourceSystemName, getSourceUserName, getSystemName, getUserName, init, isInitialized, isLooped, loop, mute, numQueuedBuffers, pause, play, queueBuffer, rewind, setFadeInTime, setFadeOutTime, setFadeTimes, setLength, setLength, setLooped, setLooped, setPosition, setReferenceDistance, setURL, setVolume, shutdown, stop, unqueueBuffers
-
Methods inherited from class jmri.jmrit.vsdecoder.VSDSound
changeNotch, changeThrottle, getGain, getName, getPosition, getTunnel, getXml, newTimer, setGain, setName, setTunnel, setXml
-
-
-
-
Constructor Detail
-
NotchTransition
public NotchTransition(VSDFile vf, java.lang.String filename, java.lang.String sname, java.lang.String uname)
-
-
Method Detail
-
getPrevNotch
public int getPrevNotch()
-
getNextNotch
public int getNextNotch()
-
setPrevNotch
public void setPrevNotch(int p)
-
setNextNotch
public void setNextNotch(int p)
-
-