This is the middle Range of the scale, and octaves can be achieved by adding or subtracting 12; C3 would be 48, and C5 would be 72.
I have used the MIDI Values to map out what notes an actual trombone can play on its positions. This way the final product will be very playable for trombone players.
Pitching | closed | 2nd | 3rd | 4th | 5th | 6th | 7th |
9: | 74 | 73 | 72 | 71 | 70 | 69 | 68 |
8: Top Bb | 70 | 69 | 68 | 67 | 66 | 65 | 64 |
7: Ab | 68 | 67 | 66 | 65 | 64 | 63 | 62 |
6: F | 65 | 64 | 63 | 62 | 61 | 60 | 59 |
5:G | 62 | 61 | 60 | 59 | 58 | 57 | 56 |
4: Middle | 58 | 57 | 56 | 55 | 54 | 53 | 52 |
3: F | 53 | 52 | 51 | 50 | 49 | 48 | 47 |
2: Bb | 46 | 45 | 46 | 44 | 43 | 42 | 41 |
1: Pedal | 34 | 33 | 32 | 31 | 30 | 29 | 28 |
For the final Slide mechanism I will take a total of whatever potentiometer/s values and divide it by 7 to determine the slide position and the pitching value (controlled by the PitchUp/PitchDown buttons) to then play the correct value.
The arduino code will all be triggered by either a momentary button or an air sensor to trigger playback; while the play button is pressed the arduino will then pass the serial data to the Pi.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.