This repository has been archived by the owner on Jul 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 63e0ba0
Showing
10 changed files
with
1,433 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Tuning Fork | ||
|
||
Inspired by [Metronome](https://github.com/panki27/Metronome) | ||
|
||
A tuning fork for the [Flipper Zero](https://flipperzero.one/) device. | ||
Allows to play different notes in different pitches. | ||
|
||
![screenshot](img/tuning_fork.gif) | ||
|
||
## Features | ||
- Tuning forks (440Hz, 432Hz, etc.) | ||
- Scientific pitch (..., 256Hz, 512Hz, 1024Hz, ...) | ||
- Guitar Standard (6 strings) | ||
- Guitar Drop D (6 strings) | ||
- Guitar D (6 strings) | ||
- Guitar Drop C (6 strings) | ||
- Guitar Standard (7 strings) | ||
- Bass Standard (4 strings) | ||
- Bass Standard Tenor (4 strings) | ||
- Bass Standard (5 strings) | ||
- Bass Standard Tenor (5 strings) | ||
- Bass Drop D (4 strings) | ||
- Bass D (4 strings) | ||
- Bass Drop A (5 strings) | ||
|
||
## Compiling | ||
|
||
``` | ||
./fbt firmware_tuning_fork | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
App( | ||
appid="tuning_fork", | ||
name="Tuning Fork", | ||
apptype=FlipperAppType.EXTERNAL, | ||
entry_point="tuning_fork_app", | ||
cdefines=["APP_TUNING_FORM"], | ||
requires=[ | ||
"gui", | ||
], | ||
fap_icon="tuning_fork_icon.png", | ||
fap_category="Media_Extra", | ||
stack_size=2 * 1024, | ||
order=20, | ||
) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,158 @@ | ||
#ifndef NOTES | ||
#define NOTES | ||
|
||
#define C0 16.35f | ||
#define Cs0 17.32f | ||
#define Db0 17.32f | ||
#define D0 18.35f | ||
#define Ds0 19.45f | ||
#define Eb0 19.45f | ||
#define E0 20.60f | ||
#define F0 21.83f | ||
#define Fs0 23.12f | ||
#define Gb0 23.12f | ||
#define G0 24.50f | ||
#define Gs0 25.96f | ||
#define Ab0 25.96f | ||
#define A0 27.50f | ||
#define As0 29.14f | ||
#define Bb0 29.14f | ||
#define B0 30.868f | ||
#define C1 32.70f | ||
#define Cs1 34.65f | ||
#define Db1 34.65f | ||
#define D1 36.71f | ||
#define Ds1 38.89f | ||
#define Eb1 38.89f | ||
#define E1 41.203f | ||
#define F1 43.65f | ||
#define Fs1 46.25f | ||
#define Gb1 46.25f | ||
#define G1 49.00f | ||
#define Gs1 51.91f | ||
#define Ab1 51.91f | ||
#define A1 55.00f | ||
#define As1 58.27f | ||
#define Bb1 58.27f | ||
#define B1 61.74f | ||
#define C2 65.41f | ||
#define Cs2 69.30f | ||
#define Db2 69.30f | ||
#define D2 73.416f | ||
#define Ds2 77.78f | ||
#define Eb2 77.78f | ||
#define E2 82.41f | ||
#define F2 87.31f | ||
#define Fs2 92.50f | ||
#define Gb2 92.50f | ||
#define G2 97.999f | ||
#define Gs2 103.83f | ||
#define Ab2 103.83f | ||
#define A2 110.00f | ||
#define As2 116.54f | ||
#define Bb2 116.54f | ||
#define B2 123.47f | ||
#define C3 130.813f | ||
#define Cs3 138.59f | ||
#define Db3 138.59f | ||
#define D3 146.83f | ||
#define Ds3 155.56f | ||
#define Eb3 155.56f | ||
#define E3 164.81f | ||
#define F3 174.61f | ||
#define Fs3 185.00f | ||
#define Gb3 185.00f | ||
#define G3 196.00f | ||
#define Gs3 207.65f | ||
#define Ab3 207.65f | ||
#define A3 220.00f | ||
#define As3 233.08f | ||
#define Bb3 233.08f | ||
#define B3 246.94f | ||
#define C4 261.63f | ||
#define Cs4 277.18f | ||
#define Db4 277.18f | ||
#define D4 293.66f | ||
#define Ds4 311.13f | ||
#define Eb4 311.13f | ||
#define E4 329.63f | ||
#define F4 349.23f | ||
#define Fs4 369.99f | ||
#define Gb4 369.99f | ||
#define G4 392.00f | ||
#define Gs4 415.30f | ||
#define Ab4 415.30f | ||
#define A4 440.00f | ||
#define As4 466.16f | ||
#define Bb4 466.16f | ||
#define B4 493.88f | ||
#define C5 523.25f | ||
#define Cs5 554.37f | ||
#define Db5 554.37f | ||
#define D5 587.33f | ||
#define Ds5 622.25f | ||
#define Eb5 622.25f | ||
#define E5 659.25f | ||
#define F5 698.46f | ||
#define Fs5 739.99f | ||
#define Gb5 739.99f | ||
#define G5 783.99f | ||
#define Gs5 830.61f | ||
#define Ab5 830.61f | ||
#define A5 880.00f | ||
#define As5 932.33f | ||
#define Bb5 932.33f | ||
#define B5 987.77f | ||
#define C6 1046.50f | ||
#define Cs6 1108.73f | ||
#define Db6 1108.73f | ||
#define D6 1174.66f | ||
#define Ds6 1244.51f | ||
#define Eb6 1244.51f | ||
#define E6 1318.51f | ||
#define F6 1396.91f | ||
#define Fs6 1479.98f | ||
#define Gb6 1479.98f | ||
#define G6 1567.98f | ||
#define Gs6 1661.22f | ||
#define Ab6 1661.22f | ||
#define A6 1760.00f | ||
#define As6 1864.66f | ||
#define Bb6 1864.66f | ||
#define B6 1975.53f | ||
#define C7 2093.00f | ||
#define Cs7 2217.46f | ||
#define Db7 2217.46f | ||
#define D7 2349.32f | ||
#define Ds7 2489.02f | ||
#define Eb7 2489.02f | ||
#define E7 2637.02f | ||
#define F7 2793.83f | ||
#define Fs7 2959.96f | ||
#define Gb7 2959.96f | ||
#define G7 3135.96f | ||
#define Gs7 3322.44f | ||
#define Ab7 3322.44f | ||
#define A7 3520.00f | ||
#define As7 3729.31f | ||
#define Bb7 3729.31f | ||
#define B7 3951.07f | ||
#define C8 4186.01f | ||
#define Cs8 4434.92f | ||
#define Db8 4434.92f | ||
#define D8 4698.63f | ||
#define Ds8 4978.03f | ||
#define Eb8 4978.03f | ||
#define E8 5274.04f | ||
#define F8 5587.65f | ||
#define Fs8 5919.91f | ||
#define Gb8 5919.91f | ||
#define G8 6271.93f | ||
#define Gs8 6644.88f | ||
#define Ab8 6644.88f | ||
#define A8 7040.00f | ||
#define As8 7458.62f | ||
#define Bb8 7458.62f | ||
#define B8 7902.13f | ||
|
||
#endif //NOTES |
Oops, something went wrong.