This website works better with JavaScript.
Home
Explore
Help
Sign In
visus
/
teensy-audio
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Print CPU usage in Guitar example
dds
PaulStoffregen
9 years ago
parent
516d871bfe
commit
682a797f12
1 changed files
with
4 additions
and
0 deletions
Split View
Show Diff Stats
+4
-0
examples/Synthesis/Guitar/Guitar.ino
+ 4
- 0
examples/Synthesis/Guitar/Guitar.ino
View File
@@ -100,6 +100,10 @@ void loop() {
delay(hand_delay);
strum_dn(chord, 0.7);
delay(hand_delay);
Serial.print("Max CPU Usage = ");
Serial.print(AudioProcessorUsageMax(), 1);
Serial.println("%");
}
void strum_up(const float *chord, float velocity)
Write
Preview
Loading…
Cancel
Save