@@ -273,7 +273,7 @@ void AudioTuner::threshold( float p ) { | |||
* | |||
* @return none | |||
*/ | |||
void disable( void ) { | |||
void AudioTuner::disable( void ) { | |||
__disable_irq( ); | |||
enabled = false; | |||
__enable_irq( ); |
@@ -106,6 +106,13 @@ public: | |||
*/ | |||
void coeff( int16_t *p, int n ); | |||
/** | |||
* disable yin | |||
* | |||
* @return none | |||
*/ | |||
void disable( void ); | |||
/** | |||
* Audio Library calls this update function ~2.9ms | |||
* | |||
@@ -133,13 +140,6 @@ private: | |||
*/ | |||
void process( int16_t *p ); | |||
/** | |||
* disable yin | |||
* | |||
* @return none | |||
*/ | |||
void disable( void ); | |||
/** | |||
* Variables | |||
*/ |
@@ -1,5 +1,5 @@ | |||
<p align="center"> | |||
<b>Guitar and Bass Tuner Library v3.2</b><br> | |||
<b>Guitar and Bass Tuner Library v3.3</b><br> | |||
<b>Teensy 3.1/2</b><br> | |||
</p> | |||
@@ -1,5 +1,5 @@ | |||
name=AudioTuner | |||
version=3.2 | |||
version=3.3 | |||
author=Colin Duffy | |||
maintainer=Colin Duffy | |||
sentence=Yin algorithm |
@@ -1,3 +1,6 @@ | |||
><b>Updated (1/17/18 v3.2)</b><br> | |||
* Fixed disable function.<br> | |||
><b>Updated (1/12/18 v3.2)</b><br> | |||
* Added disable function.<br> | |||