Module org.refcodes.audio
Package 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).
Please refer to the refcodes-audio: Handle WAV files and line-out with just some I/O streams... documentation for an up-to-date and detailed description on the usage of this artifact.
-
ClassDescriptionAbstractCsvSampleReader<S extends SoundSample>The
AbstractCsvSampleReader
provides a foundation to read sound samples from a CSV file.TheAbstractCsvSampleWriter
provides a foundation to write sound samples to a CSV file.TheAbstractLineOutSampleWriter
provides a foundation means to write sound samples to a line-out device.TheAbstractSvgSampleWriter
provides a foundation to write sound samples to a SVG file.TheAbstractWavSampleWriter
provides a foundation means to write sound samples to a WAV file.TheBitsPerSample
enumeration defines some common bits/sample per channel constants.Provides an accessor for a bits/sample per channel property.Provides a builder method for a bits/sample per channel property returning the builder for applying multiple build operations.Provides a mutator for a bits/sample per channel property.Provides a bits/sample per channel property.TheCsvDeltaMode
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.TheCsvMonoSampleReader
provides means to read sound samples from a CSV file.TheCsvMonoSampleWriter
provides means to write sound samples to a CSV file.Base definition of a WAV sample writer.TheCsvSoundSampleReader
provides means to read sound samples from a CSV file.TheCsvSoundSampleWriter
provides means to write sound samples to a CSV file.Enumeration containing some predefined trigonometric functions.TheCurveFunctionSoundSampleBuilder
makes it easy to create sound samples for some (trigonometric) functions.TheCurveFunctionSoundSampleBuilderImpl
implements theCurveFunctionSoundSampleBuilder
interface.TheLineOutMonoSampleWriter
provides means to write sound samples to a line-out device.Base definition of a line-out sample writer.TheLineOutSoundSampleWriter
provides means to write sound samples to a line-out device.AMonoSample
is aSoundSample
supporting just one single channel.TheMonoSampleBuilder
extends theSoundSample
with builder functionality.AMonoSampleBuilderImpl
represents a single amplitude (one for the mono channel) assigned to an according time positioning.AMonoSampleImpl
represents a single amplitude (one for the mono channel) assigned to an according time positioning.TheMonoSampleReader
reads sound samples from a stream or a file.MonoSampleWriter<B extends MonoSampleWriter<B>>TheMonoSampleWriter
writes sound samples to a stream or a file.Base interface for sample builders such as theMonoSampleBuilder
or theSoundSampleBuilder
.SampleReader<S extends SoundSample>TheSampleReader
reads sound samples from a stream or a file.TheSampleWriter
writes sound samples to a stream or a file.TheSamplingRate
enumeration defines some common sampling rates.Provides an accessor for a sampling rate property.Provides a builder method for a sampling rate property returning the builder for applying multiple build operations.Provides a mutator for a sampling rate property.Provides a sampling rate property.ASoundSample
represents a sample assigned to an according time positioning.TheSoundSampleBuilder
extends theSoundSample
with builder functionality.ASoundSampleBuilder
represents multiple amplitudes (one for each channel,e.g. two in case we have classical stereo sound) assigned to an according time positioning.ASoundSample
represents multiple amplitudes (one for each channel,e.g. two in case we have classical stereo sound) assigned to an according time positioning.TheSoundSampleReader
reads sound samples from a stream or a file.SoundSampleWriter<B extends SoundSampleWriter<B>>TheSoundSampleWriter
writes sound samples to a stream or a file.TheSvgMonoSampleWriter
provides means to write sound samples to a SVG file.TheWavMonoSampleWriter
provides means to write sound samples to a WAV file.Base definition of a WAV sample writer.TheWavSoundSampleWriter
provides means to write sound samples to a WAV file.