![]() |
Bridges-Java 3.5.0
Bridges(Java API)
|
This class provides support for audio API in bridges; this class stores the properties and audio data of a single channel. More...
Public Member Functions | |
| AudioChannel (int sampleCount) | |
| constructore More... | |
| int | getChannelSize () |
| get sample count More... | |
| int | getSample (int index) |
| get sample at an index in the array More... | |
| void | setSample (int index, int sample) |
| set sample at an index in the array More... | |
This class provides support for audio API in bridges; this class stores the properties and audio data of a single channel.
This object is typically used as part of a bridges::base::AudioClip.
See the tutorial on AudioClips at https://bridgesuncc.github.io/tutorials/AudioClip.html
| bridges.base.AudioChannel.AudioChannel | ( | int | sampleCount | ) |
constructore
| sampleCount | number of samples |
| int bridges.base.AudioChannel.getChannelSize | ( | ) |
get sample count
| int bridges.base.AudioChannel.getSample | ( | int | index | ) |
get sample at an index in the array
| index | to look for sample |
| void bridges.base.AudioChannel.setSample | ( | int | index, |
| int | sample | ||
| ) |
set sample at an index in the array
| index | |
| sample | sample data |