ScratchData LogoScratchData
Back to scratchthedino's profile

Noteblocks made easy - Simply write note and octave!

SCscratchthedino•Created March 16, 2018
Noteblocks made easy - Simply write note and octave!
4
3
30 views
View on Scratch

Description

Using note blocks takes a lot of time, a lot of times when I use note blocks the difficulty is getting a note that's not on the keyboard. That's where some math comes in, subtracting octaves, etc. and it gets really confusing. So I made this! Press space to see an example with "Twinkle twinkle" by Mozart. If you go inside, the example proves that it is NOT case sensitve. You don't have to do the octave variable thing, I just did it to make it easier. Simply type in a letter for the note, your octave, and for how many beats. E.g. Middle C = C,5,any So basically it was able to turn noteblocks with number to 12 "ifs". Hey, it's better than 88. (88 keys on a piano) Comment if you have a better way to do this. You can use the code, but please please please give credit! If you look at the code, you'll see '<negative number>+'octave'*12'. This is because if I put it on a positive number, it'll start from the first octave. Therefore, to get the first octave, you would have to do 0 instead of 1. So I subtracted 12 from the note in that first octave so that the first octave would be '1'. PS: For black key notes (if you don't understand piano, I mean as notes that necessarily need # or b) you can use #(sharp) or b(flat). For example, Bb or A#. Flat is a lower case b. Sharp is the hashtag. For white key notes(the opposed of black key notes) will not accept flats or sharps. E.g. no B#(C).

Project Details

Project ID210559634
CreatedMarch 16, 2018
Last ModifiedMay 5, 2018
SharedMarch 16, 2018
Visibilityvisible
CommentsAllowed