| 143 | |
| 144 | |
| 145 | void 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 | |
| 157 | void STFT::modification(const int channel) |
| 158 | { |
nothing calls this directly
no outgoing calls
no test coverage detected