Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractCsvSampleReader<S extends SoundSample> - Class in org.refcodes.audio
-
The
AbstractCsvSampleReader
provides a foundation to read sound samples from a CSV file. - AbstractCsvSampleReader(File) - Constructor for class org.refcodes.audio.AbstractCsvSampleReader
-
Constructs the
AbstractCsvSampleReader
for writing sound samples to a CSV file or stream. - AbstractCsvSampleReader(InputStream) - Constructor for class org.refcodes.audio.AbstractCsvSampleReader
-
Constructs the
AbstractCsvSampleReader
for writing sound samples to a CSV file or stream. - AbstractCsvSampleReader(CsvStringRecordReader) - Constructor for class org.refcodes.audio.AbstractCsvSampleReader
-
Constructs the
AbstractCsvSampleReader
for writing sound samples to a CSV file or stream. - AbstractCsvSampleWriter<S extends SoundSample,
B extends CsvSampleWriter<S, B>> - Class in org.refcodes.audio -
The
AbstractCsvSampleWriter
provides a foundation to write sound samples to a CSV file. - AbstractCsvSampleWriter(File) - Constructor for class org.refcodes.audio.AbstractCsvSampleWriter
-
Constructs the
AbstractCsvSampleWriter
for writing sound samples to a CSV file or stream. - AbstractCsvSampleWriter(File, CsvDeltaMode) - Constructor for class org.refcodes.audio.AbstractCsvSampleWriter
-
Constructs the
AbstractCsvSampleWriter
for writing sound samples to a CSV file or stream. - AbstractCsvSampleWriter(OutputStream) - Constructor for class org.refcodes.audio.AbstractCsvSampleWriter
-
Constructs the
AbstractCsvSampleWriter
for writing sound samples to a CSV file or stream. - AbstractCsvSampleWriter(OutputStream, CsvDeltaMode) - Constructor for class org.refcodes.audio.AbstractCsvSampleWriter
-
Constructs the
AbstractCsvSampleWriter
for writing sound samples to a CSV file or stream. - AbstractCsvSampleWriter(PrintStream) - Constructor for class org.refcodes.audio.AbstractCsvSampleWriter
-
Constructs the
AbstractCsvSampleWriter
for writing sound samples to a CSV file or stream. - AbstractCsvSampleWriter(PrintStream, CsvDeltaMode) - Constructor for class org.refcodes.audio.AbstractCsvSampleWriter
-
Constructs the
AbstractCsvSampleWriter
for writing sound samples to a CSV file or stream. - AbstractCsvSampleWriter(CsvStringRecordWriter, CsvDeltaMode) - Constructor for class org.refcodes.audio.AbstractCsvSampleWriter
-
Constructs the
AbstractCsvSampleWriter
for writing sound samples to a CSV file or stream. - AbstractLineOutSampleWriter<S extends SoundSample,
B extends LineOutSampleWriter<S, B>> - Class in org.refcodes.audio -
The
AbstractLineOutSampleWriter
provides a foundation means to write sound samples to a line-out device. - AbstractLineOutSampleWriter() - Constructor for class org.refcodes.audio.AbstractLineOutSampleWriter
-
Constructs an
AbstractLineOutSampleWriter
. - AbstractLineOutSampleWriter(BitsPerSample) - Constructor for class org.refcodes.audio.AbstractLineOutSampleWriter
-
Constructs an
AbstractLineOutSampleWriter
with the givenBitsPerSample
to use. - AbstractSvgSampleWriter<S extends SoundSample,
B extends SampleWriter<S, B>> - Class in org.refcodes.audio -
The
AbstractSvgSampleWriter
provides a foundation to write sound samples to a SVG file. - AbstractSvgSampleWriter(File) - Constructor for class org.refcodes.audio.AbstractSvgSampleWriter
-
Constructs the
AbstractSvgSampleWriter
for writing sound samples to a SVG file or stream. - AbstractSvgSampleWriter(OutputStream) - Constructor for class org.refcodes.audio.AbstractSvgSampleWriter
-
Constructs the
AbstractSvgSampleWriter
for writing sound samples to a SVG file or stream. - AbstractSvgSampleWriter(PrintStream) - Constructor for class org.refcodes.audio.AbstractSvgSampleWriter
-
Constructs the
AbstractSvgSampleWriter
for writing sound samples to a SVG file or stream. - AbstractWavSampleWriter<S extends SoundSample,
B extends WavSampleWriter<S, B>> - Class in org.refcodes.audio -
The
AbstractWavSampleWriter
provides a foundation means to write sound samples to a WAV file. - AbstractWavSampleWriter(File) - Constructor for class org.refcodes.audio.AbstractWavSampleWriter
-
Constructs the
AbstractWavSampleWriter
for writing sound samples to a WAV file or stream. - AbstractWavSampleWriter(OutputStream) - Constructor for class org.refcodes.audio.AbstractWavSampleWriter
-
Constructs the
AbstractWavSampleWriter
for writing sound samples to a WAV file or stream. - ALL - Enum constant in enum class org.refcodes.audio.CsvDeltaMode
-
Delta for all applicable values: Write only the changes for all values between the previous
SoundSample
and the currentSoundSample
to the next CSV row. - asMonoSample(double, Function<Double, Double>, double, double, int, double, int) - Static method in interface org.refcodes.audio.CurveFunctionSoundSampleBuilder
-
Creates a
MonoSample
for the given arguments and the given function. - AUDIO_CD - Enum constant in enum class org.refcodes.audio.SamplingRate
-
44,100 Hz: Audio CD, most commonly used rate with MPEG-1 audio (VCD, SVCD, MP3).
B
- BitsPerSample - Enum Class in org.refcodes.audio
-
The
BitsPerSample
enumeration defines some common bits/sample per channel constants. - BitsPerSampleAccessor - Interface in org.refcodes.audio
-
Provides an accessor for a bits/sample per channel property.
- BitsPerSampleAccessor.BitsPerSampleBuilder<B extends BitsPerSampleAccessor.BitsPerSampleBuilder<B>> - Interface in org.refcodes.audio
-
Provides a builder method for a bits/sample per channel property returning the builder for applying multiple build operations.
- BitsPerSampleAccessor.BitsPerSampleMutator - Interface in org.refcodes.audio
-
Provides a mutator for a bits/sample per channel property.
- BitsPerSampleAccessor.BitsPerSampleProperty - Interface in org.refcodes.audio
-
Provides a bits/sample per channel property.
- build() - Static method in interface org.refcodes.audio.CurveFunctionSoundSampleBuilder
-
This is a convenience method for easily instantiating the according builder.
- build(double) - Static method in interface org.refcodes.audio.MonoSampleBuilder
-
This is a convenience method for easily instantiating the according builder.
- build(double[]) - Static method in interface org.refcodes.audio.SoundSampleBuilder
-
This is a convenience method for easily instantiating the according builder.
C
- close() - Method in class org.refcodes.audio.AbstractCsvSampleReader
- close() - Method in class org.refcodes.audio.AbstractCsvSampleWriter
- close() - Method in class org.refcodes.audio.AbstractSvgSampleWriter
- close() - Method in class org.refcodes.audio.AbstractWavSampleWriter
- close() - Method in class org.refcodes.audio.LineOutMonoSampleWriter
- close() - Method in class org.refcodes.audio.LineOutSoundSampleWriter
- close() - Method in interface org.refcodes.audio.SampleWriter
- close() - Method in class org.refcodes.audio.SvgMonoSampleWriter
- COSINE - Enum constant in enum class org.refcodes.audio.CurveFunctionFunction
- CsvDeltaMode - Enum Class in org.refcodes.audio
-
The
CsvDeltaMode
defines for which values of aSoundSample
only the delta between the currentSoundSample
being written and the previousSoundSample
being written are written to the next row of the CSV file. - CsvMonoSampleReader - Class in org.refcodes.audio
-
The
CsvMonoSampleReader
provides means to read sound samples from a CSV file. - CsvMonoSampleReader(File) - Constructor for class org.refcodes.audio.CsvMonoSampleReader
-
Constructs the
CsvMonoSampleReader
for writing sound samples to a CSV file or stream. - CsvMonoSampleReader(InputStream) - Constructor for class org.refcodes.audio.CsvMonoSampleReader
-
Constructs the
CsvMonoSampleReader
for writing sound samples to a CSV file or stream. - CsvMonoSampleReader(CsvStringRecordReader) - Constructor for class org.refcodes.audio.CsvMonoSampleReader
-
Constructs the
CsvMonoSampleReader
for writing sound samples to a CSV file or stream. - CsvMonoSampleWriter - Class in org.refcodes.audio
-
The
CsvMonoSampleWriter
provides means to write sound samples to a CSV file. - CsvMonoSampleWriter(File) - Constructor for class org.refcodes.audio.CsvMonoSampleWriter
-
Constructs the
CsvMonoSampleWriter
for writing sound samples to a CSV file or stream. - CsvMonoSampleWriter(File, CsvDeltaMode) - Constructor for class org.refcodes.audio.CsvMonoSampleWriter
-
Constructs the
CsvMonoSampleWriter
for writing sound samples to a CSV file or stream. - CsvMonoSampleWriter(OutputStream) - Constructor for class org.refcodes.audio.CsvMonoSampleWriter
-
Constructs the
CsvMonoSampleWriter
for writing sound samples to a CSV file or stream. - CsvMonoSampleWriter(OutputStream, CsvDeltaMode) - Constructor for class org.refcodes.audio.CsvMonoSampleWriter
-
Constructs the
CsvMonoSampleWriter
for writing sound samples to a CSV file or stream. - CsvMonoSampleWriter(PrintStream) - Constructor for class org.refcodes.audio.CsvMonoSampleWriter
-
Constructs the
CsvMonoSampleWriter
for writing sound samples to a CSV file or stream. - CsvMonoSampleWriter(PrintStream, CsvDeltaMode) - Constructor for class org.refcodes.audio.CsvMonoSampleWriter
-
Constructs the
CsvMonoSampleWriter
for writing sound samples to a CSV file or stream. - CsvSampleWriter<S extends SoundSample,
B extends CsvSampleWriter<S, B>> - Interface in org.refcodes.audio -
Base definition of a WAV sample writer.
- CsvSoundSampleReader - Class in org.refcodes.audio
-
The
CsvSoundSampleReader
provides means to read sound samples from a CSV file. - CsvSoundSampleReader(File) - Constructor for class org.refcodes.audio.CsvSoundSampleReader
-
Constructs the
CsvSoundSampleReader
for writing sound samples to a CSV file or stream. - CsvSoundSampleReader(InputStream) - Constructor for class org.refcodes.audio.CsvSoundSampleReader
-
Constructs the
CsvSoundSampleReader
for writing sound samples to a CSV file or stream. - CsvSoundSampleReader(CsvStringRecordReader) - Constructor for class org.refcodes.audio.CsvSoundSampleReader
-
Constructs the
CsvSoundSampleReader
for writing sound samples to a CSV file or stream. - CsvSoundSampleWriter - Class in org.refcodes.audio
-
The
CsvSoundSampleWriter
provides means to write sound samples to a CSV file. - CsvSoundSampleWriter(File) - Constructor for class org.refcodes.audio.CsvSoundSampleWriter
-
Constructs the
CsvSoundSampleWriter
for writing sound samples to a CSV file or stream. - CsvSoundSampleWriter(File, CsvDeltaMode) - Constructor for class org.refcodes.audio.CsvSoundSampleWriter
-
Constructs the
CsvSoundSampleWriter
for writing sound samples to a CSV file or stream. - CsvSoundSampleWriter(OutputStream) - Constructor for class org.refcodes.audio.CsvSoundSampleWriter
-
Constructs the
CsvSoundSampleWriter
for writing sound samples to a CSV file or stream. - CsvSoundSampleWriter(OutputStream, CsvDeltaMode) - Constructor for class org.refcodes.audio.CsvSoundSampleWriter
-
Constructs the
CsvSoundSampleWriter
for writing sound samples to a CSV file or stream. - CsvSoundSampleWriter(PrintStream) - Constructor for class org.refcodes.audio.CsvSoundSampleWriter
-
Constructs the
CsvSoundSampleWriter
for writing sound samples to a CSV file or stream. - CsvSoundSampleWriter(PrintStream, CsvDeltaMode) - Constructor for class org.refcodes.audio.CsvSoundSampleWriter
-
Constructs the
CsvSoundSampleWriter
for writing sound samples to a CSV file or stream. - CurveFunctionFunction - Enum Class in org.refcodes.audio
-
Enumeration containing some predefined trigonometric functions.
- CurveFunctionSoundSampleBuilder - Interface in org.refcodes.audio
-
The
CurveFunctionSoundSampleBuilder
makes it easy to create sound samples for some (trigonometric) functions. - CurveFunctionSoundSampleBuilderImpl - Class in org.refcodes.audio
-
The
CurveFunctionSoundSampleBuilderImpl
implements theCurveFunctionSoundSampleBuilder
interface. - CurveFunctionSoundSampleBuilderImpl() - Constructor for class org.refcodes.audio.CurveFunctionSoundSampleBuilderImpl
D
- DATA - Static variable in class org.refcodes.audio.AbstractWavSampleWriter
- decreaseIndex() - Method in class org.refcodes.audio.MonoSampleBuilderImpl
- decreaseIndex() - Method in class org.refcodes.audio.SoundSampleBuilderImpl
- doProbeHeader() - Method in class org.refcodes.audio.AbstractCsvSampleReader
-
Reads the header if it has not been read yet.
- DVD_AUDIO - Enum constant in enum class org.refcodes.audio.SamplingRate
-
96,000 Hz: DVD-Audio, LPCM DVD tracks, Blu-ray audio tracks, HD DVD audio tracks.
E
- EXTREME - Enum constant in enum class org.refcodes.audio.SamplingRate
-
352,800 Hz Digital eXtreme Definition.
F
- format(String) - Static method in class org.refcodes.audio.AbstractCsvSampleWriter
-
Hackishly removes trailing zeros if there is no additional value from them unifying the decimal point.
- format(String) - Static method in class org.refcodes.audio.AbstractSvgSampleWriter
-
Hackishly removes trailing zeros if there is no additional value from them unifying the decimal point.
- FORMAT - Static variable in class org.refcodes.audio.AbstractWavSampleWriter
G
- getAmplitude() - Method in interface org.refcodes.audio.CurveFunctionSoundSampleBuilder
-
Returns the amplitude being used when generating
MonoSample
instances. - getAmplitude() - Method in class org.refcodes.audio.CurveFunctionSoundSampleBuilderImpl
-
Returns the amplitude being used when generating
MonoSample
instances. - getBitCount() - Method in enum class org.refcodes.audio.BitsPerSample
-
Returns the bits/sample per channel.
- getBitsPerSample() - Method in class org.refcodes.audio.AbstractLineOutSampleWriter
-
Retrieves the bits/sample per channel from the bits/sample per channel property.
- getBitsPerSample() - Method in class org.refcodes.audio.AbstractWavSampleWriter
-
Retrieves the bits/sample per channel from the bits/sample per channel property.
- getBitsPerSample() - Method in interface org.refcodes.audio.BitsPerSampleAccessor
-
Retrieves the bits/sample per channel from the bits/sample per channel property.
- getByteCount() - Method in enum class org.refcodes.audio.BitsPerSample
-
Returns the bytes/sample per channel.
- getChannelCount() - Method in interface org.refcodes.audio.SoundSample
-
Determines the number of channels this sample is ought for.
- getFrequency() - Method in interface org.refcodes.audio.CurveFunctionSoundSampleBuilder
-
Returns the frequency in Hz being used when generating
MonoSample
instances. - getFrequency() - Method in class org.refcodes.audio.CurveFunctionSoundSampleBuilderImpl
-
Returns the frequency in Hz being used when generating
MonoSample
instances. - getFunction() - Method in enum class org.refcodes.audio.CurveFunctionFunction
-
Returns the according trigonometric function.
- getHigestResolution() - Static method in enum class org.refcodes.audio.BitsPerSample
-
Retrieves the lowest bits/sample resolution.
- getHigestSamplingRate() - Static method in enum class org.refcodes.audio.SamplingRate
-
Retrieves the highest sampling rate.
- getIndex() - Method in class org.refcodes.audio.CsvMonoSampleReader
- getIndex() - Method in class org.refcodes.audio.CsvSoundSampleReader
- getIndex() - Method in interface org.refcodes.audio.CurveFunctionSoundSampleBuilder
-
Returns the index being used when generating
MonoSample
instances. - getIndex() - Method in class org.refcodes.audio.CurveFunctionSoundSampleBuilderImpl
-
Returns the index being used when generating
MonoSample
instances. - getIndex() - Method in class org.refcodes.audio.MonoSampleBuilderImpl
- getIndex() - Method in class org.refcodes.audio.SoundSampleBuilderImpl
- getIndex() - Method in class org.refcodes.audio.SoundSampleImpl
- getLineOut() - Method in class org.refcodes.audio.LineOutMonoSampleWriter
-
Produces a line-out
SourceDataLine
instance for writing samples to. - getLineOut() - Method in class org.refcodes.audio.LineOutSoundSampleWriter
-
Produces a line-out
SourceDataLine
instance for writing samples to. - getLowestResolution() - Static method in enum class org.refcodes.audio.BitsPerSample
-
Retrieves the lowest bits/sample resolution.
- getLowestSamplingRate() - Static method in enum class org.refcodes.audio.SamplingRate
-
Retrieves the lowest sampling rate.
- getMonoData() - Method in interface org.refcodes.audio.MonoSample
-
Returns the sample's data for the according time positioning.
- getNextHigherResolution() - Method in enum class org.refcodes.audio.BitsPerSample
-
Retrieves the next higher bits/sample or null if it is already the highest bits/sample.
- getNextHigherSamplingRate() - Method in enum class org.refcodes.audio.SamplingRate
-
Retrieves the next higher sampling rate or null if it is already the highest sampling rate.
- getPreviousLowerResolution() - Method in enum class org.refcodes.audio.BitsPerSample
-
Retrieves the previous lower bits/sample or null if it is already the lowest bits/sample.
- getPreviousLowerSamplingRate() - Method in enum class org.refcodes.audio.SamplingRate
-
Retrieves the previous lower sampling rate or null if it is already the lowest sampling rate.
- getSampleData() - Method in class org.refcodes.audio.MonoSampleBuilderImpl
-
Returns the sample's data for the according time positioning.
- getSampleData() - Method in interface org.refcodes.audio.SoundSample
-
Returns the sample's data for the according time positioning.
- getSampleData() - Method in class org.refcodes.audio.SoundSampleBuilderImpl
-
Returns the sample's data for the according time positioning.
- getSampleData() - Method in class org.refcodes.audio.SoundSampleImpl
-
Returns the sample's data for the according time positioning.
- getSamplesPerSecond() - Method in enum class org.refcodes.audio.SamplingRate
-
Returns the sampling rate in samples per second.
- getSamplingRate() - Method in class org.refcodes.audio.CsvMonoSampleReader
-
Retrieves the sampling rate from the sampling rate property.
- getSamplingRate() - Method in class org.refcodes.audio.CsvMonoSampleWriter
-
Retrieves the sampling rate from the sampling rate property.
- getSamplingRate() - Method in class org.refcodes.audio.CsvSoundSampleReader
-
Retrieves the sampling rate from the sampling rate property.
- getSamplingRate() - Method in class org.refcodes.audio.CsvSoundSampleWriter
-
Retrieves the sampling rate from the sampling rate property.
- getSamplingRate() - Method in class org.refcodes.audio.CurveFunctionSoundSampleBuilderImpl
-
Retrieves the sampling rate from the sampling rate property.
- getSamplingRate() - Method in class org.refcodes.audio.LineOutMonoSampleWriter
-
Retrieves the sampling rate from the sampling rate property.
- getSamplingRate() - Method in class org.refcodes.audio.LineOutSoundSampleWriter
-
Retrieves the sampling rate from the sampling rate property.
- getSamplingRate() - Method in class org.refcodes.audio.MonoSampleBuilderImpl
-
Retrieves the sampling rate from the sampling rate property.
- getSamplingRate() - Method in interface org.refcodes.audio.SamplingRateAccessor
-
Retrieves the sampling rate from the sampling rate property.
- getSamplingRate() - Method in class org.refcodes.audio.SoundSampleBuilderImpl
-
Retrieves the sampling rate from the sampling rate property.
- getSamplingRate() - Method in class org.refcodes.audio.SoundSampleImpl
-
Retrieves the sampling rate from the sampling rate property.
- getSamplingRate() - Method in class org.refcodes.audio.SvgMonoSampleWriter
-
Retrieves the sampling rate from the sampling rate property.
- getSamplingRate() - Method in class org.refcodes.audio.WavMonoSampleWriter
-
Retrieves the sampling rate from the sampling rate property.
- getSamplingRate() - Method in class org.refcodes.audio.WavSoundSampleWriter
-
Retrieves the sampling rate from the sampling rate property.
- getTimeStamp() - Method in class org.refcodes.audio.MonoSampleBuilderImpl
-
Returns the position in time of this sound sample in ms.
- getTimeStamp() - Method in interface org.refcodes.audio.SoundSample
-
Returns the position in time of this sound sample in ms.
- getTimeStamp() - Method in class org.refcodes.audio.SoundSampleBuilderImpl
-
Returns the position in time of this sound sample in ms.
- getTimeStamp() - Method in class org.refcodes.audio.SoundSampleImpl
-
Returns the position in time of this sound sample in ms.
- getTrigonometricFunction() - Method in interface org.refcodes.audio.CurveFunctionSoundSampleBuilder
-
Returns the trigonometric function being used when generating
MonoSample
instances. - getTrigonometricFunction() - Method in class org.refcodes.audio.CurveFunctionSoundSampleBuilderImpl
-
Returns the trigonometric function being used when generating
MonoSample
instances. - getXOffset() - Method in interface org.refcodes.audio.CurveFunctionSoundSampleBuilder
-
Returns the x-offset being used when generating
MonoSample
instances. - getXOffset() - Method in class org.refcodes.audio.CurveFunctionSoundSampleBuilderImpl
-
Returns the x-offset being used when generating
MonoSample
instances. - getYOffset() - Method in interface org.refcodes.audio.CurveFunctionSoundSampleBuilder
-
Returns the yOffset being used when generating
MonoSample
instances. - getYOffset() - Method in class org.refcodes.audio.CurveFunctionSoundSampleBuilderImpl
-
Returns the yOffset being used when generating
MonoSample
instances.
H
- hasNext() - Method in class org.refcodes.audio.AbstractCsvSampleReader
- HDC - Enum constant in enum class org.refcodes.audio.SamplingRate
-
176,400 Hz: Used in HDCD recorders and other professional applications for CD production.
- HIGH_PROFESSIONAL - Enum constant in enum class org.refcodes.audio.SamplingRate
-
192,000 Hz: Used with audio on professional video equipment.
- HIGH_RES - Enum constant in enum class org.refcodes.audio.BitsPerSample
-
High resolution of 16 bits/sample and channel.
- HIGHER_PROFESSIONAL - Enum constant in enum class org.refcodes.audio.SamplingRate
-
88,200 Hz: Used by some professional recording equipment when the destination is CD, such as mixers, EQs, compressors, reverb, crossovers and recording devices.
- HIGHEST - Enum constant in enum class org.refcodes.audio.SamplingRate
-
384,000 Hz: Highest sample rate available for common software.
I
- increaseIndex() - Method in class org.refcodes.audio.MonoSampleBuilderImpl
- increaseIndex() - Method in class org.refcodes.audio.SoundSampleBuilderImpl
- isSampleDataDelta() - Method in enum class org.refcodes.audio.CsvDeltaMode
-
Determines whether to write only the sampling data's deltas per row or explicitly the sampling data to each row, even when it does not change.
- isSamplingRateDelta() - Method in enum class org.refcodes.audio.CsvDeltaMode
-
Determines whether to write only the sampling rate's deltas per row or explicitly the sampling rate to each row, even when it does not change.
L
- letBitsPerSample(BitsPerSample) - Method in interface org.refcodes.audio.BitsPerSampleAccessor.BitsPerSampleProperty
-
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given
BitsPerSample
(setter) as ofBitsPerSampleAccessor.BitsPerSampleMutator.setBitsPerSample(BitsPerSample)
and returns the very same value (getter). - letSamplingRate(int) - Method in interface org.refcodes.audio.SamplingRateAccessor.SamplingRateProperty
-
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as of
SamplingRateAccessor.SamplingRateMutator.setSamplingRate(int)
and returns the very same value (getter). - LineOutMonoSampleWriter - Class in org.refcodes.audio
-
The
LineOutMonoSampleWriter
provides means to write sound samples to a line-out device. - LineOutMonoSampleWriter() - Constructor for class org.refcodes.audio.LineOutMonoSampleWriter
- LineOutSampleWriter<S extends SoundSample,
B extends LineOutSampleWriter<S, B>> - Interface in org.refcodes.audio -
Base definition of a line-out sample writer.
- LineOutSoundSampleWriter - Class in org.refcodes.audio
-
The
LineOutSoundSampleWriter
provides means to write sound samples to a line-out device. - LineOutSoundSampleWriter() - Constructor for class org.refcodes.audio.LineOutSoundSampleWriter
- LOW_PCM - Enum constant in enum class org.refcodes.audio.SamplingRate
-
22,050 Hz: Used for lower-quality PCM and MPEG audio and for audio analysis of low frequency energy.
- LOW_RES - Enum constant in enum class org.refcodes.audio.BitsPerSample
-
Low resolution of 8 bits/sample and channel.
- LOWEST_PCM - Enum constant in enum class org.refcodes.audio.SamplingRate
-
11,025 Hz Used for lower-quality PCM, MPEG audio and for audio analysis of subwoofer bandpasses.
M
- MAX_16_BIT - Static variable in class org.refcodes.audio.AbstractLineOutSampleWriter
- MAX_16_BIT - Static variable in class org.refcodes.audio.AbstractWavSampleWriter
- MAX_8_BIT - Static variable in class org.refcodes.audio.AbstractLineOutSampleWriter
- MAX_8_BIT - Static variable in class org.refcodes.audio.AbstractWavSampleWriter
- MonoSample - Interface in org.refcodes.audio
-
A
MonoSample
is aSoundSample
supporting just one single channel. - MonoSampleBuilder - Interface in org.refcodes.audio
-
The
MonoSampleBuilder
extends theSoundSample
with builder functionality. - MonoSampleBuilderImpl - Class in org.refcodes.audio
-
A
MonoSampleBuilderImpl
represents a single amplitude (one for the mono channel) assigned to an according time positioning. - MonoSampleBuilderImpl(double) - Constructor for class org.refcodes.audio.MonoSampleBuilderImpl
-
Constructs a
MonoSample
instance with the according time and sample settings. - MonoSampleBuilderImpl(double, double) - Constructor for class org.refcodes.audio.MonoSampleBuilderImpl
-
Constructs a
MonoSample
instance with the according time and sample settings. - MonoSampleBuilderImpl(double, double, int) - Constructor for class org.refcodes.audio.MonoSampleBuilderImpl
-
Constructs a
MonoSample
instance with the according time and sample settings. - MonoSampleBuilderImpl(double, int) - Constructor for class org.refcodes.audio.MonoSampleBuilderImpl
-
Constructs a
MonoSample
instance with the according time and sample settings. - MonoSampleBuilderImpl(long, double) - Constructor for class org.refcodes.audio.MonoSampleBuilderImpl
-
Constructs a
MonoSample
instance with the according time and sample settings. - MonoSampleBuilderImpl(long, double, double) - Constructor for class org.refcodes.audio.MonoSampleBuilderImpl
-
Constructs a
MonoSample
instance with the according time and sample settings. - MonoSampleBuilderImpl(long, double, double, int) - Constructor for class org.refcodes.audio.MonoSampleBuilderImpl
-
Constructs a
MonoSample
instance with the according time and sample settings. - MonoSampleBuilderImpl(long, double, int) - Constructor for class org.refcodes.audio.MonoSampleBuilderImpl
-
Constructs a
MonoSample
instance with the according time and sample settings. - MonoSampleBuilderImpl(long, int) - Constructor for class org.refcodes.audio.MonoSampleBuilderImpl
-
Constructs a
SoundSampleBuilder
instance with the according time and sample settings. - MonoSampleBuilderImpl(MonoSample) - Constructor for class org.refcodes.audio.MonoSampleBuilderImpl
-
Constructs a
MonoSample
instance with the according sound sample's settings - MonoSampleImpl - Class in org.refcodes.audio
-
A
MonoSampleImpl
represents a single amplitude (one for the mono channel) assigned to an according time positioning. - MonoSampleImpl(double) - Constructor for class org.refcodes.audio.MonoSampleImpl
-
Constructs a
MonoSample
instance with the according time and sample settings. - MonoSampleImpl(double, double) - Constructor for class org.refcodes.audio.MonoSampleImpl
-
Constructs a
MonoSample
instance with the according time and sample settings. - MonoSampleImpl(double, double, int) - Constructor for class org.refcodes.audio.MonoSampleImpl
-
Constructs a
MonoSample
instance with the according time and sample settings. - MonoSampleImpl(double, int) - Constructor for class org.refcodes.audio.MonoSampleImpl
-
Constructs a
MonoSample
instance with the according time and sample settings. - MonoSampleImpl(long, double) - Constructor for class org.refcodes.audio.MonoSampleImpl
-
Constructs a
MonoSample
instance with the according time and sample settings. - MonoSampleImpl(long, double, double) - Constructor for class org.refcodes.audio.MonoSampleImpl
-
Constructs a
MonoSample
instance with the according time and sample settings. - MonoSampleImpl(long, double, double, int) - Constructor for class org.refcodes.audio.MonoSampleImpl
-
Constructs a
MonoSample
instance with the according time and sample settings. - MonoSampleImpl(long, double, int) - Constructor for class org.refcodes.audio.MonoSampleImpl
-
Constructs a
MonoSample
instance with the according time and sample settings. - MonoSampleImpl(MonoSample) - Constructor for class org.refcodes.audio.MonoSampleImpl
-
Constructs a
MonoSample
instance with the according sound sample's settings - MonoSampleReader - Interface in org.refcodes.audio
-
The
MonoSampleReader
reads sound samples from a stream or a file. - MonoSampleWriter<B extends MonoSampleWriter<B>> - Interface in org.refcodes.audio
-
The
MonoSampleWriter
writes sound samples to a stream or a file.
N
- next() - Method in interface org.refcodes.audio.CurveFunctionSoundSampleBuilder
-
Returns the next
MonoSample
for the current index (as ofCurveFunctionSoundSampleBuilder.getIndex()
) as well as for the other builder's settings and increases the index by one. - next() - Method in class org.refcodes.audio.CurveFunctionSoundSampleBuilderImpl
-
Returns the next
MonoSample
for the current index (as ofCurveFunctionSoundSampleBuilder.getIndex()
) as well as for the other builder's settings and increases the index by one. - nextMonoData() - Method in class org.refcodes.audio.CsvMonoSampleReader
-
Reads the next samples, one sample for each channel.
- nextMonoData() - Method in interface org.refcodes.audio.MonoSampleReader
-
Reads the next samples, one sample for each channel.
- nextRaw() - Method in class org.refcodes.audio.CsvMonoSampleReader
- nextRaw() - Method in class org.refcodes.audio.CsvSoundSampleReader
- nextRow() - Method in class org.refcodes.audio.CsvMonoSampleReader
- nextRow() - Method in class org.refcodes.audio.CsvSoundSampleReader
- nextSample() - Method in interface org.refcodes.audio.SampleReader
-
Reads the next
SoundSample
, equivalent toRowReader.nextRow()
with a semantically stronger method name.. - nextSampleData() - Method in class org.refcodes.audio.CsvSoundSampleReader
-
Reads the next samples, one sample for each channel.
- nextSampleData() - Method in interface org.refcodes.audio.SoundSampleReader
-
Reads the next samples, one sample for each channel.
- NONE - Enum constant in enum class org.refcodes.audio.CsvDeltaMode
-
Always write the full
SoundSample
's value to the next CSV row.
O
- org.refcodes.audio - module org.refcodes.audio
- org.refcodes.audio - package org.refcodes.audio
-
This artifact provides audio processing functionality such as generating sine waves or writing generated samples to WAV files or your PC speakers via I/O streams (as of the LineOutSoundSampleWriter or the WavSoundSampleWriter types).
P
- PROFESSIONAL - Enum constant in enum class org.refcodes.audio.SamplingRate
-
48,000 Hz: Standard sampling rate used by professional digital video equipment, could reconstruct frequencies up to 22 kHz.
R
- RIFF - Static variable in class org.refcodes.audio.AbstractWavSampleWriter
S
- SAMPLE_DATA - Enum constant in enum class org.refcodes.audio.CsvDeltaMode
-
Delta only for the channels' sample data: Write only the changes regarding the previous
SoundSample
's sample data and the currentSoundSample
's sample data to the next CSV row. - SampleBuilder<S extends SoundSample,
B extends SampleBuilder<S, B>> - Interface in org.refcodes.audio -
Base interface for sample builders such as the
MonoSampleBuilder
or theSoundSampleBuilder
. - SampleReader<S extends SoundSample> - Interface in org.refcodes.audio
-
The
SampleReader
reads sound samples from a stream or a file. - SampleWriter<S extends SoundSample,
B extends SampleWriter<S, B>> - Interface in org.refcodes.audio -
The
SampleWriter
writes sound samples to a stream or a file. - SAMPLING_RATE - Enum constant in enum class org.refcodes.audio.CsvDeltaMode
-
Delta only for the sampling rate: Write only the changes regarding the previous
SoundSample
's sample rate and the currentSoundSample
's rate to the next CSV row. - SamplingRate - Enum Class in org.refcodes.audio
-
The
SamplingRate
enumeration defines some common sampling rates. - SamplingRateAccessor - Interface in org.refcodes.audio
-
Provides an accessor for a sampling rate property.
- SamplingRateAccessor.SamplingRateBuilder<B extends SamplingRateAccessor.SamplingRateBuilder<B>> - Interface in org.refcodes.audio
-
Provides a builder method for a sampling rate property returning the builder for applying multiple build operations.
- SamplingRateAccessor.SamplingRateMutator - Interface in org.refcodes.audio
-
Provides a mutator for a sampling rate property.
- SamplingRateAccessor.SamplingRateProperty - Interface in org.refcodes.audio
-
Provides a sampling rate property.
- SAWTOOTH - Enum constant in enum class org.refcodes.audio.CurveFunctionFunction
- setAmplitude(double) - Method in interface org.refcodes.audio.CurveFunctionSoundSampleBuilder
-
Sets the amplitude to be used when generating
MonoSample
instances. - setAmplitude(double) - Method in class org.refcodes.audio.CurveFunctionSoundSampleBuilderImpl
-
Sets the amplitude to be used when generating
MonoSample
instances. - setBitsPerSample(BitsPerSample) - Method in class org.refcodes.audio.AbstractLineOutSampleWriter
-
Sets the bits/sample per channel for the bits/sample per channel property.
- setBitsPerSample(BitsPerSample) - Method in class org.refcodes.audio.AbstractWavSampleWriter
-
Sets the bits/sample per channel for the bits/sample per channel property.
- setBitsPerSample(BitsPerSample) - Method in interface org.refcodes.audio.BitsPerSampleAccessor.BitsPerSampleMutator
-
Sets the bits/sample per channel for the bits/sample per channel property.
- setFrequency(double) - Method in interface org.refcodes.audio.CurveFunctionSoundSampleBuilder
-
Sets the frequency in Hz to be used when generating
MonoSample
instances. - setFrequency(double) - Method in class org.refcodes.audio.CurveFunctionSoundSampleBuilderImpl
-
Sets the frequency in Hz to be used when generating
MonoSample
instances. - setIndex(int) - Method in interface org.refcodes.audio.CurveFunctionSoundSampleBuilder
-
Sets the index to be used when generating
MonoSample
instances. - setIndex(int) - Method in class org.refcodes.audio.CurveFunctionSoundSampleBuilderImpl
-
Sets the index to be used when generating
MonoSample
instances. - setIndex(long) - Method in class org.refcodes.audio.MonoSampleBuilderImpl
- setIndex(long) - Method in class org.refcodes.audio.SoundSampleBuilderImpl
- setMonoData(double) - Method in interface org.refcodes.audio.MonoSampleBuilder
-
Sets the sample's data for the according time positioning.
- setMonoData(double) - Method in class org.refcodes.audio.MonoSampleBuilderImpl
-
Sets the sample's data for the according time positioning.
- setSampleData(double[]) - Method in interface org.refcodes.audio.SoundSampleBuilder
-
Sets the sample's data for the according time positioning.
- setSampleData(double[]) - Method in class org.refcodes.audio.SoundSampleBuilderImpl
-
Sets the sample's data for the according time positioning.
- setSamplingRate(int) - Method in class org.refcodes.audio.CsvMonoSampleWriter
-
Sets the sampling rate for the sampling rate property.
- setSamplingRate(int) - Method in class org.refcodes.audio.CsvSoundSampleWriter
-
Sets the sampling rate for the sampling rate property.
- setSamplingRate(int) - Method in class org.refcodes.audio.CurveFunctionSoundSampleBuilderImpl
-
Sets the sampling rate for the sampling rate property.
- setSamplingRate(int) - Method in class org.refcodes.audio.LineOutMonoSampleWriter
-
Sets the sampling rate for the sampling rate property.
- setSamplingRate(int) - Method in class org.refcodes.audio.LineOutSoundSampleWriter
-
Sets the sampling rate for the sampling rate property.
- setSamplingRate(int) - Method in class org.refcodes.audio.MonoSampleBuilderImpl
-
Sets the sampling rate for the sampling rate property.
- setSamplingRate(int) - Method in interface org.refcodes.audio.SamplingRateAccessor.SamplingRateMutator
-
Sets the sampling rate for the sampling rate property.
- setSamplingRate(int) - Method in class org.refcodes.audio.SoundSampleBuilderImpl
-
Sets the sampling rate for the sampling rate property.
- setSamplingRate(int) - Method in class org.refcodes.audio.SvgMonoSampleWriter
-
Sets the sampling rate for the sampling rate property.
- setSamplingRate(int) - Method in class org.refcodes.audio.WavMonoSampleWriter
-
Sets the sampling rate for the sampling rate property.
- setSamplingRate(int) - Method in class org.refcodes.audio.WavSoundSampleWriter
-
Sets the sampling rate for the sampling rate property.
- setTimeStamp(double) - Method in interface org.refcodes.audio.MonoSampleBuilder
-
Sets the position in time of this sound sample in ms.
- setTimeStamp(double) - Method in class org.refcodes.audio.MonoSampleBuilderImpl
-
Sets the position in time of this sound sample in ms.
- setTimeStamp(double) - Method in interface org.refcodes.audio.SoundSampleBuilder
-
Sets the position in time of this sound sample in ms.
- setTimeStamp(double) - Method in class org.refcodes.audio.SoundSampleBuilderImpl
-
Sets the position in time of this sound sample in ms.
- setTrigonometricFunction(Function<Double, Double>) - Method in interface org.refcodes.audio.CurveFunctionSoundSampleBuilder
-
Sets the trigonometric function to be used when generating
MonoSample
. - setTrigonometricFunction(Function<Double, Double>) - Method in class org.refcodes.audio.CurveFunctionSoundSampleBuilderImpl
-
Sets the trigonometric function to be used when generating
MonoSample
. - setTrigonometricFunction(CurveFunctionFunction) - Method in interface org.refcodes.audio.CurveFunctionSoundSampleBuilder
-
Sets the trigonometric function to be used when generating
MonoSample
. - setXOffset(int) - Method in interface org.refcodes.audio.CurveFunctionSoundSampleBuilder
-
Sets the x-offset to be used when generating
MonoSample
instances. - setXOffset(int) - Method in class org.refcodes.audio.CurveFunctionSoundSampleBuilderImpl
-
Sets the x-offset to be used when generating
MonoSample
instances. - setYOffset(double) - Method in interface org.refcodes.audio.CurveFunctionSoundSampleBuilder
-
Sets the y-offset to be used when generating
MonoSample
instances. - setYOffset(double) - Method in class org.refcodes.audio.CurveFunctionSoundSampleBuilderImpl
-
Sets the y-offset to be used when generating
MonoSample
instances. - SINE - Enum constant in enum class org.refcodes.audio.CurveFunctionFunction
- SoundSample - Interface in org.refcodes.audio
-
A
SoundSample
represents a sample assigned to an according time positioning. - SoundSampleBuilder - Interface in org.refcodes.audio
-
The
SoundSampleBuilder
extends theSoundSample
with builder functionality. - SoundSampleBuilderImpl - Class in org.refcodes.audio
-
A
SoundSampleBuilder
represents multiple amplitudes (one for each channel,e.g. two in case we have classical stereo sound) assigned to an according time positioning. - SoundSampleBuilderImpl(double[]) - Constructor for class org.refcodes.audio.SoundSampleBuilderImpl
-
Constructs a
SoundSampleBuilder
instance with the according time and sample settings. - SoundSampleBuilderImpl(double[], int) - Constructor for class org.refcodes.audio.SoundSampleBuilderImpl
-
Constructs a
SoundSampleBuilder
instance with the according time and sample settings. - SoundSampleBuilderImpl(double, double[]) - Constructor for class org.refcodes.audio.SoundSampleBuilderImpl
-
Constructs a
SoundSampleBuilder
instance with the according time and sample settings. - SoundSampleBuilderImpl(double, double[], int) - Constructor for class org.refcodes.audio.SoundSampleBuilderImpl
-
Constructs a
SoundSampleBuilder
instance with the according time and sample settings. - SoundSampleBuilderImpl(long, double[]) - Constructor for class org.refcodes.audio.SoundSampleBuilderImpl
-
Constructs a
SoundSampleBuilder
instance with the according time and sample settings. - SoundSampleBuilderImpl(long, double[], int) - Constructor for class org.refcodes.audio.SoundSampleBuilderImpl
-
Constructs a
SoundSampleBuilder
instance with the according time and sample settings. - SoundSampleBuilderImpl(long, double, double[]) - Constructor for class org.refcodes.audio.SoundSampleBuilderImpl
-
Constructs a
SoundSampleBuilder
instance with the according time and sample settings. - SoundSampleBuilderImpl(long, double, double[], int) - Constructor for class org.refcodes.audio.SoundSampleBuilderImpl
-
Constructs a
SoundSampleBuilder
instance with the according time and sample settings. - SoundSampleBuilderImpl(long, int) - Constructor for class org.refcodes.audio.SoundSampleBuilderImpl
-
Constructs a
SoundSampleBuilder
instance with the according time and sample settings. - SoundSampleBuilderImpl(SoundSample) - Constructor for class org.refcodes.audio.SoundSampleBuilderImpl
-
Constructs a
SoundSampleImpl
instance with the according sound sample's settings - SoundSampleImpl - Class in org.refcodes.audio
-
A
SoundSample
represents multiple amplitudes (one for each channel,e.g. two in case we have classical stereo sound) assigned to an according time positioning. - SoundSampleImpl(double[]) - Constructor for class org.refcodes.audio.SoundSampleImpl
-
Constructs a
SoundSample
instance with the according time and sample settings. - SoundSampleImpl(double[], int) - Constructor for class org.refcodes.audio.SoundSampleImpl
-
Constructs a
SoundSample
instance with the according time and sample settings. - SoundSampleImpl(double, double[]) - Constructor for class org.refcodes.audio.SoundSampleImpl
-
Constructs a
SoundSample
instance with the according time and sample settings. - SoundSampleImpl(double, double[], int) - Constructor for class org.refcodes.audio.SoundSampleImpl
-
Constructs a
SoundSample
instance with the according time and sample settings. - SoundSampleImpl(long, double[]) - Constructor for class org.refcodes.audio.SoundSampleImpl
-
Constructs a
SoundSample
instance with the according time and sample settings. - SoundSampleImpl(long, double[], int) - Constructor for class org.refcodes.audio.SoundSampleImpl
-
Constructs a
SoundSample
instance with the according time and sample settings. - SoundSampleImpl(long, double, double[]) - Constructor for class org.refcodes.audio.SoundSampleImpl
-
Constructs a
SoundSample
instance with the according time and sample settings. - SoundSampleImpl(long, double, double[], int) - Constructor for class org.refcodes.audio.SoundSampleImpl
-
Constructs a
SoundSample
instance with the according time and sample settings. - SoundSampleImpl(SoundSample) - Constructor for class org.refcodes.audio.SoundSampleImpl
-
Constructs a
SoundSample
instance with the according sound sample's settings - SoundSampleReader - Interface in org.refcodes.audio
-
The
SoundSampleReader
reads sound samples from a stream or a file. - SoundSampleWriter<B extends SoundSampleWriter<B>> - Interface in org.refcodes.audio
-
The
SoundSampleWriter
writes sound samples to a stream or a file. - SQUARE - Enum constant in enum class org.refcodes.audio.CurveFunctionFunction
- SvgMonoSampleWriter - Class in org.refcodes.audio
-
The
SvgMonoSampleWriter
provides means to write sound samples to a SVG file. - SvgMonoSampleWriter(File) - Constructor for class org.refcodes.audio.SvgMonoSampleWriter
-
Constructs the
SvgMonoSampleWriter
for writing sound samples to a SVG file or stream. - SvgMonoSampleWriter(OutputStream) - Constructor for class org.refcodes.audio.SvgMonoSampleWriter
-
Constructs the
SvgMonoSampleWriter
for writing sound samples to a SVG file or stream. - SvgMonoSampleWriter(PrintStream) - Constructor for class org.refcodes.audio.SvgMonoSampleWriter
-
Constructs the
SvgMonoSampleWriter
for writing sound samples to a SVG file or stream.
T
- TANGENT - Enum constant in enum class org.refcodes.audio.CurveFunctionFunction
- TELEPHONE - Enum constant in enum class org.refcodes.audio.SamplingRate
-
8,000 Hz: Adequate for human speech but without sibilance.
- toDouble(String) - Static method in class org.refcodes.audio.AbstractCsvSampleWriter
-
Converts a string to a double by hackishly removing trailing zeros if there is no additional value from them and unifying the decimal point.
- toDouble(String) - Static method in class org.refcodes.audio.AbstractSvgSampleWriter
-
Converts a string to a double by hackishly removing trailing zeros if there is no additional value from them and unifying the decimal point.
- toLineOut(SoundSample, BitsPerSample) - Static method in class org.refcodes.audio.AbstractLineOutSampleWriter
-
Produces a line-out
SourceDataLine
instance for writing samples to. - toMonoSample() - Method in interface org.refcodes.audio.CurveFunctionSoundSampleBuilder
-
Creates a
MonoSample
as of the builder's settings. - toMonoSample() - Method in class org.refcodes.audio.CurveFunctionSoundSampleBuilderImpl
-
Creates a
MonoSample
as of the builder's settings. - toMonoSample(int) - Method in interface org.refcodes.audio.CurveFunctionSoundSampleBuilder
-
Creates a
MonoSample
for the given index and the the builder's settings. - toMonoSample(int) - Method in class org.refcodes.audio.CurveFunctionSoundSampleBuilderImpl
-
Creates a
MonoSample
for the given index and the the builder's settings. - toString() - Method in class org.refcodes.audio.MonoSampleBuilderImpl
- toString() - Method in class org.refcodes.audio.MonoSampleImpl
- toString() - Method in class org.refcodes.audio.SoundSampleBuilderImpl
- toString() - Method in class org.refcodes.audio.SoundSampleImpl
- toString(double) - Static method in class org.refcodes.audio.AbstractCsvSampleWriter
-
Converts a double to a string by hackishly removing trailing zeros if there is no additional value from them unifying the decimal point.
- toString(double) - Static method in class org.refcodes.audio.AbstractSvgSampleWriter
-
Converts a double to a string by hackishly removing trailing zeros if there is no additional value from them unifying the decimal point.
- toWavSample(double) - Method in class org.refcodes.audio.AbstractLineOutSampleWriter
- toWavSample(double) - Method in class org.refcodes.audio.AbstractWavSampleWriter
- toYCoordinate(double, double) - Method in class org.refcodes.audio.AbstractSvgSampleWriter
- TRIANGLE - Enum constant in enum class org.refcodes.audio.CurveFunctionFunction
U
- updateTimeStamp() - Method in interface org.refcodes.audio.SampleBuilder
-
Calculates the time stamp from the sampling rate and the index and sets the time stamp property (as of
SoundSample.getTimeStamp()
).
V
- valueOf(String) - Static method in enum class org.refcodes.audio.BitsPerSample
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.refcodes.audio.CsvDeltaMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.refcodes.audio.CurveFunctionFunction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.refcodes.audio.SamplingRate
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.refcodes.audio.BitsPerSample
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.refcodes.audio.CsvDeltaMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.refcodes.audio.CurveFunctionFunction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.refcodes.audio.SamplingRate
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VOICE_OVER_IP - Enum constant in enum class org.refcodes.audio.SamplingRate
-
16,000 Hz: Used in most VoIP and VVoIP, extension of telephone narrowband.
W
- WAVE - Static variable in class org.refcodes.audio.AbstractWavSampleWriter
- WavMonoSampleWriter - Class in org.refcodes.audio
-
The
WavMonoSampleWriter
provides means to write sound samples to a WAV file. - WavMonoSampleWriter(File) - Constructor for class org.refcodes.audio.WavMonoSampleWriter
-
Constructs the
WavMonoSampleWriter
for writing sound samples to a WAV file or stream. - WavMonoSampleWriter(OutputStream) - Constructor for class org.refcodes.audio.WavMonoSampleWriter
-
Constructs the
WavMonoSampleWriter
for writing sound samples to a WAV file or stream. - WavSampleWriter<S extends SoundSample,
B extends WavSampleWriter<S, B>> - Interface in org.refcodes.audio -
Base definition of a WAV sample writer.
- WavSoundSampleWriter - Class in org.refcodes.audio
-
The
WavSoundSampleWriter
provides means to write sound samples to a WAV file. - WavSoundSampleWriter(File) - Constructor for class org.refcodes.audio.WavSoundSampleWriter
-
Constructs the
WavSoundSampleWriter
for writing sound samples to a WAV file or stream. - WavSoundSampleWriter(OutputStream) - Constructor for class org.refcodes.audio.WavSoundSampleWriter
-
Constructs the
WavSoundSampleWriter
for writing sound samples to a WAV file or stream. - withAmplitude(double) - Method in interface org.refcodes.audio.CurveFunctionSoundSampleBuilder
-
Builder method for setting the amplitude to be used when generating
MonoSample
instances. - withBitsPerSample(BitsPerSample) - Method in interface org.refcodes.audio.BitsPerSampleAccessor.BitsPerSampleBuilder
-
Sets the bits/sample per channel for the bits/sample per channel property.
- withBitsPerSample(BitsPerSample) - Method in class org.refcodes.audio.LineOutMonoSampleWriter
-
Sets the bits/sample per channel for the bits/sample per channel property.
- withBitsPerSample(BitsPerSample) - Method in class org.refcodes.audio.LineOutSoundSampleWriter
-
Sets the bits/sample per channel for the bits/sample per channel property.
- withBitsPerSample(BitsPerSample) - Method in class org.refcodes.audio.WavMonoSampleWriter
-
Sets the bits/sample per channel for the bits/sample per channel property.
- withBitsPerSample(BitsPerSample) - Method in class org.refcodes.audio.WavSoundSampleWriter
-
Sets the bits/sample per channel for the bits/sample per channel property.
- withDecreaseIndex() - Method in interface org.refcodes.audio.MonoSampleBuilder
- withDecreaseIndex() - Method in interface org.refcodes.audio.SoundSampleBuilder
- withFrequency(double) - Method in interface org.refcodes.audio.CurveFunctionSoundSampleBuilder
-
Builder method for setting the frequency in Hz to be used when generating
MonoSample
instances. - withIncreaseIndex() - Method in interface org.refcodes.audio.MonoSampleBuilder
- withIncreaseIndex() - Method in interface org.refcodes.audio.SoundSampleBuilder
- withIndex(int) - Method in interface org.refcodes.audio.CurveFunctionSoundSampleBuilder
-
Builder method for setting the index to be used when generating
MonoSample
instances. - withIndex(long) - Method in interface org.refcodes.audio.MonoSampleBuilder
- withIndex(long) - Method in interface org.refcodes.audio.SoundSampleBuilder
- withMonoData(double) - Method in interface org.refcodes.audio.MonoSampleBuilder
-
Sets the sample's data for the sample property.
- withSampleData(double[]) - Method in interface org.refcodes.audio.SoundSampleBuilder
-
Sets the sample's data for the sample property.
- withSamplingRate(int) - Method in class org.refcodes.audio.CsvMonoSampleWriter
-
Sets the sampling rate for the sampling rate property.
- withSamplingRate(int) - Method in class org.refcodes.audio.CsvSoundSampleWriter
-
Sets the sampling rate for the sampling rate property.
- withSamplingRate(int) - Method in interface org.refcodes.audio.CurveFunctionSoundSampleBuilder
-
Builder method for setting the sampling rate to be used when generating
MonoSample
instances. - withSamplingRate(int) - Method in class org.refcodes.audio.LineOutMonoSampleWriter
-
Sets the sampling rate for the sampling rate property.
- withSamplingRate(int) - Method in class org.refcodes.audio.LineOutSoundSampleWriter
-
Sets the sampling rate for the sampling rate property.
- withSamplingRate(int) - Method in interface org.refcodes.audio.MonoSampleBuilder
-
Sets the sampling rate for the sampling rate property.
- withSamplingRate(int) - Method in interface org.refcodes.audio.SamplingRateAccessor.SamplingRateBuilder
-
Sets the sampling rate for the sampling rate property.
- withSamplingRate(int) - Method in interface org.refcodes.audio.SoundSampleBuilder
-
Sets the sampling rate for the sampling rate property.
- withSamplingRate(int) - Method in class org.refcodes.audio.SvgMonoSampleWriter
-
Sets the sampling rate for the sampling rate property.
- withSamplingRate(int) - Method in class org.refcodes.audio.WavMonoSampleWriter
-
Sets the sampling rate for the sampling rate property.
- withSamplingRate(int) - Method in class org.refcodes.audio.WavSoundSampleWriter
-
Sets the sampling rate for the sampling rate property.
- withTimeStamp(double) - Method in interface org.refcodes.audio.MonoSampleBuilder
-
Sets the position in time of this sound sample in ms.
- withTimeStamp(double) - Method in interface org.refcodes.audio.SoundSampleBuilder
-
Sets the position in time of this sound sample in ms.
- withTrigonometricFunction(Function<Double, Double>) - Method in interface org.refcodes.audio.CurveFunctionSoundSampleBuilder
-
Builder method for setting the trigonometric function to be used when generating
MonoSample
instances. - withTrigonometricFunction(CurveFunctionFunction) - Method in interface org.refcodes.audio.CurveFunctionSoundSampleBuilder
-
Builder method for setting the trigonometric function to be used when generating
MonoSample
instances. - withXOffset(int) - Method in interface org.refcodes.audio.CurveFunctionSoundSampleBuilder
-
Builder method for setting the x-offset to be used when generating
MonoSample
instances. - withYOffset(double) - Method in interface org.refcodes.audio.CurveFunctionSoundSampleBuilder
-
Builder method for setting the y-offset to be used when generating
MonoSample
instances. - writeHeader(int, int) - Method in class org.refcodes.audio.AbstractWavSampleWriter
- writeNext(double) - Method in class org.refcodes.audio.CsvMonoSampleWriter
-
Writes the next samples, one sample for each channel.
- writeNext(double) - Method in class org.refcodes.audio.LineOutMonoSampleWriter
-
Writes the next samples, one sample for each channel.
- writeNext(double) - Method in interface org.refcodes.audio.MonoSampleWriter
-
Writes the next samples, one sample for each channel.
- writeNext(double) - Method in class org.refcodes.audio.SvgMonoSampleWriter
-
Writes the next samples, one sample for each channel.
- writeNext(double) - Method in class org.refcodes.audio.WavMonoSampleWriter
-
Writes the next samples, one sample for each channel.
- writeNext(double...) - Method in class org.refcodes.audio.CsvSoundSampleWriter
-
Writes the next samples, one sample for each channel.
- writeNext(double...) - Method in class org.refcodes.audio.LineOutSoundSampleWriter
-
Writes the next samples, one sample for each channel.
- writeNext(double...) - Method in interface org.refcodes.audio.SoundSampleWriter
-
Writes the next samples, one sample for each channel.
- writeNext(double...) - Method in class org.refcodes.audio.WavSoundSampleWriter
-
Writes the next samples, one sample for each channel.
- writeNext(MonoSample) - Method in class org.refcodes.audio.CsvMonoSampleWriter
-
Writes the next samples, one sample for each channel.
- writeNext(MonoSample) - Method in class org.refcodes.audio.LineOutMonoSampleWriter
-
Writes the next samples, one sample for each channel.
- writeNext(MonoSample) - Method in class org.refcodes.audio.SvgMonoSampleWriter
-
Writes the next samples, one sample for each channel.
- writeNext(MonoSample) - Method in class org.refcodes.audio.WavMonoSampleWriter
-
Writes the next samples, one sample for each channel.
- writeNext(SoundSample) - Method in class org.refcodes.audio.CsvSoundSampleWriter
-
Writes the next samples, one sample for each channel.
- writeNext(SoundSample) - Method in class org.refcodes.audio.LineOutSoundSampleWriter
-
Writes the next samples, one sample for each channel.
- writeNext(SoundSample) - Method in interface org.refcodes.audio.SoundSampleWriter
-
Writes the next samples, one sample for each channel.
- writeNext(SoundSample) - Method in class org.refcodes.audio.WavSoundSampleWriter
-
Writes the next samples, one sample for each channel.
- writeNext(S) - Method in interface org.refcodes.audio.SampleWriter
-
Writes the next samples, one sample for each channel.
- writeSvgHeader() - Method in class org.refcodes.audio.AbstractSvgSampleWriter
-
Writes the SVG file's header, the SVG's tail is written upon invoking
AbstractSvgSampleWriter.close()
.
_
- _bitsPerSample - Variable in class org.refcodes.audio.AbstractLineOutSampleWriter
- _bitsPerSample - Variable in class org.refcodes.audio.AbstractWavSampleWriter
- _csvReader - Variable in class org.refcodes.audio.AbstractCsvSampleReader
- _csvWriter - Variable in class org.refcodes.audio.AbstractCsvSampleWriter
- _deltaMode - Variable in class org.refcodes.audio.AbstractCsvSampleWriter
- _file - Variable in class org.refcodes.audio.AbstractWavSampleWriter
- _isSamplingRateDirty - Variable in class org.refcodes.audio.AbstractCsvSampleWriter
- _outputStream - Variable in class org.refcodes.audio.AbstractWavSampleWriter
- _printStream - Variable in class org.refcodes.audio.AbstractSvgSampleWriter
All Classes and Interfaces|All Packages|Constant Field Values