MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / analysis

Method analysis

src/audio_effects/STFT.cpp:145–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143
144
145void STFT::analysis(const int channel)
146{
147 int input_buffer_index = current_input_buffer_write_position;
148 for (int index = 0; index < fft_size; ++index) {
149 time_domain_buffer[index].real(fft_window[index] * input_buffer.getSample(channel, input_buffer_index));
150 time_domain_buffer[index].imag(0.0f);
151
152 if (++input_buffer_index >= input_buffer_length)
153 input_buffer_index = 0;
154 }
155}
156
157void STFT::modification(const int channel)
158{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected