|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API Kriya::TapSetBuilder MayaFlux::create_tap_set | ( | const std::string & | filepath, |
| uint32_t | num_samples = 48000 *5, |
||
| bool | truncate = true |
||
| ) |
Begin describing several taps that read one audio file.
Loads the file like create_sampler and returns a builder. Each tap() adds a tap with its own entry time, speed, direction, level and channel, and start() plays them. Keep the resulting TapSet alive for as long as it should sound.
| filepath | Path to the audio file (any FFmpeg-supported format). |
| num_samples | Number of samples to load from the file (default: 48000 * 5). |
| truncate | Truncate stream to num_samples if true (default: true). |
Definition at line 135 of file Rigs.cpp.
References MayaFlux::Journal::API, create_tap_set_from_stream(), MayaFlux::Journal::FileIO, get_io_manager(), MF_ERROR, and stream.
Here is the call graph for this function: