Diferencia entre revisiones de «Mesa musical»

Página creada con «<syntaxhighlight lang=c++> #include <float.h> #include <Adafruit_Sensor.h> #include <Adafruit_ADXL345_U.h> const int data_points = 10; const int speaker_pin = 3; const float dynamic_pitch_factor = 5.0; const float dynamic_duration_factor = 10.0; const int base_duration_ms = 40; const float base_freq = 100.0; const float note_interval = 1.05946; const float detection_threshold = 0.5; const float sensitivity_factor = 20.0; const float degree_offset = 3.0; const float…»
 
Sin resumen de edición
Línea 10: Línea 10:
const float dynamic_pitch_factor = 5.0;
const float dynamic_pitch_factor = 5.0;
const float dynamic_duration_factor = 10.0;
const float dynamic_duration_factor = 10.0;
const int base_duration_ms = 40;
const float base_duration_ms = 40;
const float base_freq = 100.0;
const float base_freq = 100.0;
const float note_interval = 1.05946;
const float note_interval = 1.05946;