public class AudioInterface extends DeviceInterface
Modifier and Type | Field and Description |
---|---|
static int |
MONOBOTH |
static int |
MONOLEFT |
static int |
MONORIGHT |
static int |
STEREO |
attached, ChannelAccess_DIRECT, ChannelAccess_EVENTS, ChannelAccess_NONE, contrChannelsInUse, currSampleTime, datVal, DeviceType_IN, DeviceType_INOUT, DeviceType_NONE, DeviceType_OUT, fw, isActive, isDataInRunning, isDataLoggingReady, itsControlDesign, itsDeviceTimer, itsDeviceType, itsDurationTraceTime, itsEngine, itsHardware, itsInstrumentPanel, itsOffVoltage, itsOnVoltage, itsReader, itsRunTime, itsSamplesPerSec, itsSerNum, itsSettings, itsStartTraceTime, itsTimerRowCounter, itsType, itsWriter, kSamplesPerSec, lastSampleTime, listValues, logFileName, loggerIsRunning, operChannelsInUse, sensChannelsInUse, sensorTraces, startTimeDataIn, timeDevice, validRange
Constructor and Description |
---|
AudioInterface()
standard constructor for the AudioInterface class for a right and left channel
|
AudioInterface(int nChannels)
standard constructor for the DeviceInterface class
|
Modifier and Type | Method and Description |
---|---|
void |
doBeep(int theChannel)
starts the device on one channel.
|
void |
turnOff(int theChannel)
starts the device on one channel.
|
void |
turnOn(int theChannel)
starts the device on one channel.
|
activateUsedChannels, addControlDeviceOperator, addDeviceOperator, addSensorDeviceOperator, autoColorTraces, close, closeEventInterface, completeInterface, confirmChannelRange, confirmInputCapable, confirmMinNChannels, confirmOutputCapable, controlAllDevices, controlDeviceFromSchedule, finalizeInterface, getAnalogOutHardware, getAnalogSensorHardware, getChannelAccess, getControlDeviceOperator, getControlHardware, getDataRate, getDeviceOperator, getDeviceOperatorForChannel, getDeviceType, getHardware, getHotShapeList, getItsName, getNControlDeviceOperators, getNDeviceOperators, getNInterfaceChannels, getNSensorDeviceOperators, getSensorDeviceOperator, getSensorHardware, getSensorValue, getSensorValue, getTracker, initializeFromSettings, isValidControlHardware, isValidSensorHardware, list, listDeviceInterface, listDeviceOperators, main, makeControlDeviceOperator, makeDeviceOperator, makeHardwareInterface, makeInterface, makeSensorDeviceOperator, makeSineWave, prepareEventInterface, resetAllChannels, resetTraces, sendCommand, setByteValue, setByteValue, setChannelAccess, setDataRate, setDeviceType, setEnabled, setEngaged, setInterface, setItsName, setNControlInterfaceChannels, setTraceTimes, setTracker, setupDataLogging, setValidRange, setValue, startDataIn_DirectPolling, startDataIn_DirectPolling, startDataIn_EventDriven, startDataIn, startEventInterface, stopDataIn, stopEventInterface, toString, updateSamplingRate, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
public static final int MONOLEFT
public static final int MONORIGHT
public static final int MONOBOTH
public static final int STEREO
public AudioInterface() throws java.lang.Exception
java.lang.Exception
public AudioInterface(int nChannels) throws java.lang.Exception
nChannels
- the number of channelsjava.lang.Exception
public void doBeep(int theChannel) throws java.lang.Exception
theChannel
- index of the devicejava.lang.Exception
public void turnOn(int theChannel) throws java.lang.Exception
turnOn
in class DeviceInterface
theChannel
- index of the devicejava.lang.Exception
public void turnOff(int theChannel) throws java.lang.Exception
turnOff
in class DeviceInterface
theChannel
- index of the devicejava.lang.Exception
RH, 2017