Experimental implementation of the adaptive filter of "Interface" magazine in 2016-2017
Dependencies: amakusa mbed-dsp mbed shimabara ukifune unzen_nucleo_f746
Fork of skeleton_unzen_nucleo_f746 by
ハードウェアおよびソフトウェアはskelton_unzen_nucleo_f746を基本にしています。
Diff: signal_processing.cpp
- Revision:
- 11:7d8740437e6a
- Parent:
- 10:a00c73efc6c3
- Child:
- 13:b33cb5925113
--- a/signal_processing.cpp Fri Jan 27 02:18:26 2017 +0000 +++ b/signal_processing.cpp Sat Jan 28 12:51:50 2017 +0000 @@ -21,8 +21,8 @@ // place the signal processing coce here for ( int i= 0; i< block_size; i++ ) { - rx_left_buffer[i] = tx_left_buffer[i] * this->volume_level; - rx_right_buffer[i] = tx_right_buffer[i] * this->volume_level; + tx_left_buffer[i] = rx_left_buffer[i] * this->volume_level; + tx_right_buffer[i] = rx_right_buffer[i] * this->volume_level; } } // End of run()