13#ifndef OPENSHOT_WAVEFORMER_H
14#define OPENSHOT_WAVEFORMER_H
45 void zero(
int total_samples) {
51 void scale(
int total_samples,
float factor) {
52 for (
auto s = 0; s < total_samples; s++) {
67 std::vector<std::vector<float>>
vectors() {
68 std::vector<std::vector<float>> output;
86 std::unique_ptr<ReaderBase> detached_reader;
88 bool source_initialized =
false;
Header file for Fraction class.
Header file for Frame class.
Header file for the Keyframe class.
Header file for ReaderBase class.
This class represents a fraction.
A Keyframe is a collection of Point instances, which is used to vary a number or property over time.
This abstract class is the base class, used by all readers in libopenshot.
This namespace is the default namespace for all code in the openshot library.