I think that MIDI should be in scratch. It would be a nice little thing to put in scratch, to use the real world with scratch. Users could use a MIDI device, as well as scratch, to make music games, like guitar hero.
Offline
Use the
[blocks]<play note( 65 )for( a set amount of )secss>[/blocks] block and the [blocks]<play drum( 42 )for( a set amount of )secss>[/blocks] blocks. MIDI already exists, if this was what you were talking about.
Last edited by videogame9 (2011-08-04 11:06:51)
Offline
videogame9 wrote:
Use the
[blocks]<play note( 65 )for( a set amount of )secss>[/blocks] block and the [blocks]<play drum( 42 )for( a set amount of )secss>[/blocks] blocks. MIDI already exists, if this was what you were talking about.
Not quiet what I was talking about. I want to be able to plug my MIDI keyboard into scratch, so that like when I play a note on my keyboard, it tells scratch it was pressed.
Offline
Being able to import MIDI files is extremely necessary imo - sometimes a song sounds simply great as MIDI but when ran through fancy converters with "realistic" soundfonts it sounds like that: A MIDI file attempting to sound realistic and failing miserably
MIDI is also a very lightweight format. You could fit a whole game soundtrack while still using less than half a MB, but if you were to use MP3 you couldn't upload the Scratch project due to the size.
But, I see you're actually talking about receiving and sending MIDI commands... Perhaps that could be done with broadcasts? Say, you could name a broadcast "note_60", and if the MIDI note 60 (middle C) is played from your piano a "When I receive (note_60)" block would be triggered
If it's too complicated for Scratch (it's a program for little kids after all), at least as a slightly hidden function (like Mesh) it'd be great
TL;DR: Sending/receiving MIDI commands would be good, but one thing we really need is importing .MID files for smaller project sizes.
Last edited by technoguyx (2011-08-04 14:17:59)
Offline
IMO, importing MIDI is pretty important. Or, you could drag a MIDI file into Scratch and it will convert it into note blocks, similar to how dragging animated GIFs into Scratch will be converted into a series of costumes. It's a good idea.
These blocks:
[blocks]<play note( )for( )secss>[/blocks](now called play note for _ beats) and
[blocks]<play drum( )for( )secss>[/blocks](now called play drum for _ beats)
are MIDI-based, so importing MIDI is possible.
Offline
I really like the idea of Scratch converting MIDI files into note blocks. I wonder how hard that would be to implement?
Offline
Maybe it could be in a scratch MOD...
Offline
456bingo123 wrote:
Maybe it could be in a scratch MOD...
But even better in Scratch 2.0, as we would be able to upload it here

Offline
Death_Wish wrote:
456bingo123 wrote:
Maybe it could be in a scratch MOD...
But even better in Scratch 2.0, as we would be able to upload it here
![]()
Yeah, but I'm not sure if it would be able to be in 2.0 becuse it' too late. What do you think? Should we submit the idea to the scratch team??
Offline
I think there should be a site that runs on ScratchR that is for mods.
Offline
1, to bingo, it's not too late, they've barely done anything on Scratch 2.0, really. It would be hard, though.
2, to veggie, that would be very hard as the site would have to support every block every mod has. That's the reason people don't upload projects of Panther, lets say, to this website.

Offline
I'm going to see if I can submit this to the scratch suggestions. I'll put a link here soon if you guys want to support it.
Offline
I don't have any more votes! Can someone suggest it to scratch by going to suggest.scratch.mit.edu?
Offline
I like this idea. But instead of receiving as play note [] for () beats, I think it should receive similar to the sensor board (it's called a PicoBoard, I think...)

Offline
These are all good ideas! Can someone suggest it to the scratch team (Suggest.scratch.mit.edu) I don't have any votes left. Please give me credit if you do!!
Offline
I did! http://suggest.scratch.mit.edu/forums/60449-suggestions/suggestions/2115147-importing-midi-using-midi-devices-on-scratch-
Let's get more supporters!!! (Unfortunately, 456bingo123 can't because he's out of votes.)
Last edited by a1130 (2011-08-05 15:50:34)
Offline
a1130 wrote:
I did! http://suggest.scratch.mit.edu/forums/60449-suggestions/suggestions/2115147-importing-midi-using-midi-devices-on-scratch-
Let's get more supporters!!! (Unfortunately, 456bingo123 can't because he's out of votes.)
Thanks!
Offline
Don't forget one and all, to help support this by going to http://suggest.scratch.mit.edu/forums/60449-suggestions/suggestions/2115147-importing-midi-using-midi-devices-on-scratch- to vote on this idea! Thanks in advanced!
Offline
MyRedNeptune wrote:
I really like the idea of Scratch converting MIDI files into note blocks. I wonder how hard that would be to implement?
Probably really hard and complicated and the result would be kinda unorganized but who cares I want it
Offline
Jonathanpb wrote:
MyRedNeptune wrote:
I really like the idea of Scratch converting MIDI files into note blocks. I wonder how hard that would be to implement?
Probably really hard and complicated and the result would be kinda unorganized but who cares I want it
![]()
![]()
![]()
Well, you can drag animated GIFs into Scratch and Scratch will convert it into costumes. That wasn't so hard to implement, right? Once again, the Scratch note blocks are MIDI based
The only problem with converting MIDI into note blocks is what happens when there is a chord/polyphony in the MIDI file? Then it will have to create a couple of seperate scripts, like this:
The first script somewhat like this:
{when flag clicked}
[play note (60) for (0.5) beats]
[play note (62) for (0.5) beats]
The second script somewhat like this:
{when flag clicked}
[rest for (0.5) beats]
[play note (67) for (0.5) beats]Also, I think in MIDI files (or maybe just in NoteWorthy Composer?), you have a "piano pedal" feature (Scratch doesn't have a "pedal" block, as in the damper pedal on a piano) which might be hard to implement, unless a pedal block is made in Scratch 2.0.
Last edited by a1130 (2011-08-09 17:48:36)
Offline