TensorAudio class
Properties
- buffer ↔ FloatRingBuffer
-
latefinal
- format ↔ TensorAudioFormat
-
latefinal
- gformat → TensorAudioFormat
-
Returns the {@link TensorAudioFormat} associated with the tensor.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tensorBuffer → TensorBuffer
-
Returns a float {@link TensorBuffer} holding all the available audio samples in {@link
android.media.AudioFormat#ENCODING_PCM_FLOAT} i.e. values are in the range of
-1, 1
.no setter
Methods
-
loadDoubleList(
List< double> src) → void -
loadDoubleListOffset(
List< double> src, int offsetInFloat, int sizeInFloat) → void -
loadFloatBytes(
Uint8List floatBytes) → void -
loadList(
List< int> src) → void -
loadListOffset(
List< int> src, int offsetInShort, int sizeInShort) → void -
loadShortBytes(
Uint8List shortBytes) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
TensorAudioFormat format, int sampleCount) → TensorAudio