Hmmm, does the note block work for you? You might make sure Midi is on in your mixer. Are you using Windows? You might try starting "Volume Control" Start -> All Programs -> Accessories -> Entertainment -> Volume Control) then make sure the "SW Synth" (or midi, or Synth) slider is up and not muted.
well, and you can change the instrument variables. maybe there could be some kind of "equalizer" that sets the player's volume based on the pitch of the note and the variables (and the volume, of course)
Yeah, that could be possible too, take what now sets the volume in the player sprites, and put it in a multiply block times a new 'volume' variable. and make it a slider and right click and set the limit to .01 to 1. so now you can change the volume.
only 8- erm, 9, love its! and with 279 views??? people must be crazy! anyways, this is really cool. but, wait... couldn't you just import the midi file into the sounds section? I understand, that would be the "easy way", but, I can only understand its use for... custom .MIDI files.
Well, it's not that exciting from a user perspective. Yeah we can already import much higher quality audio, but not midi. I think midi is cool because they have very small file sizes. I'd like to make a midi library browser that can hold many songs. (using a 'file format' that uses lists sort of like my 'file browser' project. This format could also hold other types of 'files' too.)
Thanks. In my early tests of the 'player spites' it worked fine online.
I think the bottle neck is with so many reads from lists. There's a bunch of 'wait until' blocks that read from the lists. Also I have a bunch of 'player' lists that don't need to be there, the player only needs one to reference the 'midi' lists. And actually, that doesn't have to be a list. So I think it's fixable. Also I'm working on a php midi to scratch converter using this: http://staff.dasdeck.de/valentin/midi/ :)
Are you using Windows? You might try starting "Volume Control" Start -> All Programs -> Accessories -> Entertainment -> Volume Control) then make sure the "SW Synth" (or midi, or Synth) slider is up and not muted.
i have 242 stars! i got the last levels with mario and luigi. Collect 100 purple coins to win it. Is very easy. when you complete it, you will get a card in the photo channel. There are 2 cards.
Wow, that sounds amazing (downloaded)! It would be great if we had a program that could convert directly from MIDI format to the multiple list format you have developed here...where can I find a description of the MIDI format?
MIDI: Musical Instrument Digital Interface. MIDI is an industry-standard protocol defined in 1983 that enables electronic musical instruments, computers, and other equipment to communicate, control, and synchronize with each other. MIDI allows computers, synthesizers, MIDI controllers, sound cards, samplers and drum machines to control one another, and to exchange system data (acting as a raw data encapsulation method for sysex commands).
This plays a song from Super Mario Galaxy using the "play note" block.
*Works when downloaded!* *press green flag to start*
I made this to test importing a midi file into scratch. Let me know how it works for you, and if it does work online for you.
Supports most basic midi features: *multiple notes at once *variable instrument per note. (user changeable too.) *variable volume per note. *tempo change (note warp not possible)
Problems: Slow/broken online. (I think limiting the number of array hits would help but would make the code harder to read.) Does not play drum sets yet.
The file is imported from: 27500_Comet-Observatory.mid The music is by Nintendo. the midi was created by "usatraveler" www.hamienet.com/midi27500_Comet">http://www.hamienet.com/midi27500_Comet … atory.html
How it works: A sprite can play only one midi note at a time. So, this works by having a bunch of "player" sprites.
The "player feeder" assigns a note to play to the 1st player listed on the "available-players" list, then removes it from that list. (It keeps feeding till the "available players" is empty, then it waits till it's not.)
Each "player" sets its volume and instrument that was assigned it and waits till the timer is greater than its time to play then plays. It then re-ads itself to the "available-players" list and waits for another note to be assigned to it.
The midi file was converted to the Cmedia file format (using Rose Garden (a Linux only program- there is likely Windows programs that can do this too), which is a text document that lists all the notes and when they play... I used a spreadsheet to convert the notes to note number and sort them by time. (They're grouped by instrument originally.)
Comments
You need to be logged in to post comments
Add a Comment
If you set them all to 128, it sounds neat!
Having them on 1, 3, 5 and 7 sounds cool!
Amazing! Super Mario Galaxy rules!!!
WOW!!
It didn't work at all offline...
it works online! and... it sounds really cool on 50
It does!
Yup!
kinda like an ochestra
how do u listen to it?
It works online!
how does this work? Amazing!
#128 is a gun, Awesomedude99
I still think this is awesome haha
cool!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.
if you like super mario galaxy here is my version (link to project)
# 128 sounds like a gun! :D
it is a gun. go onto scratch, sounds, then onto the play sound block, then goto number 128. gun
it does
COOL!!!!!!! all your projects are awesome!!!
If only I could find a Windows alternative to Rose Garden...
What do you mean?
I don't get it!
Download then
it uses lists, correct?
that is... beyond epic o.o
it goes 'do toot toot' online, i know that's very vague, but is there more?
Yeah, it does more when you download.
(view all replies)i no donload but it workt,
Oh, never mind, sorry, you mean the whole song played online? cool.
(view all replies)Hmmm, does the note block work for you? You might make sure Midi is on in your mixer. Are you using Windows? You might try starting "Volume Control" Start -> All Programs -> Accessories -> Entertainment -> Volume Control) then make sure the "SW Synth" (or midi, or Synth) slider is up and not muted.
(view all replies)cool. :| <- me speechless
epic,,,,,,,,
:0 I'm speechless.... Good thing I can still type!
that rocks!
addzero....
Awsome! you didn't even use the actual song! you used a bunch of play notes to play the song!
YOO ROCK!
What's a Yoo Rock? XD
(view all replies)Epicness.
cool cool
WOW.
AWESOME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
well, and you can change the instrument variables. maybe there could be some kind of "equalizer" that sets the player's volume based on the pitch of the note and the variables (and the volume, of course)
Yeah, that could be possible too, take what now sets the volume in the player sprites, and put it in a multiply block times a new 'volume' variable. and make it a slider and right click and set the limit to .01 to 1. so now you can change the volume.
only 8- erm, 9, love its! and with 279 views??? people must be crazy! anyways, this is really cool. but, wait... couldn't you just import the midi file into the sounds section? I understand, that would be the "easy way", but, I can only understand its use for... custom .MIDI files.
only 11- erm, 12 now
Well, it's not that exciting from a user perspective. Yeah we can already import much higher quality audio, but not midi. I think midi is cool because they have very small file sizes. I'd like to make a midi library browser that can hold many songs. (using a 'file format' that uses lists sort of like my 'file browser' project. This format could also hold other types of 'files' too.)
(view all replies)Nice. Great job, and nice music. Too bad the online player hasn't caught up with some of Scratch's features.
Thanks. In my early tests of the 'player spites' it worked fine online. I think the bottle neck is with so many reads from lists. There's a bunch of 'wait until' blocks that read from the lists. Also I have a bunch of 'player' lists that don't need to be there, the player only needs one to reference the 'midi' lists. And actually, that doesn't have to be a list. So I think it's fixable. Also I'm working on a php midi to scratch converter using this: http://staff.dasdeck.de/valentin/midi/ :)
it worked on minei have a 3g network it loaded in like 3 seconds.
it works with window vista?
It should.
i love mario galaxy iz so fun
This project doesn't work for me (even when I download it). Any suggestions? All I get online is the first three notes, and downloaded I get nothing.
me too!!
Are you using Windows? You might try starting "Volume Control" Start -> All Programs -> Accessories -> Entertainment -> Volume Control) then make sure the "SW Synth" (or midi, or Synth) slider is up and not muted.
(view all replies)Wait, never mind! I forgot that the notes on Scratch haven't been working for me lately. Any suggestions for THAT?
(view all replies)i have 242 stars! i got the last levels with mario and luigi. Collect 100 purple coins to win it. Is very easy. when you complete it, you will get a card in the photo channel. There are 2 cards.
yeah that's what I meant, 121 stars with both mario and luigi.
I have 121 stars, how many do you have???
I guess you're talking about SMG, I have 112. Some of those are very tricky! So you're playing with Luigi now?
(view all replies)Very good project and good links (I read the fotum).
The forum .
Very nice!
Incredible!!(but looks hard to make an own song)
Yeah, I'd like to make that easier. I'm working on an online midi to scratch list converter.
Whoa...amazing! I recognized that song instantly!
Very nicely done. And clean, descriptive code, too! :)
really cool!
Wow, that sounds amazing (downloaded)! It would be great if we had a program that could convert directly from MIDI format to the multiple list format you have developed here...where can I find a description of the MIDI format?
Thanks, I responded to you in the forum: (link to forums)
Try this, Paddle: http://www.sonicspot.com/guide/midifiles.html
MIDI: Musical Instrument Digital Interface. MIDI is an industry-standard protocol defined in 1983 that enables electronic musical instruments, computers, and other equipment to communicate, control, and synchronize with each other. MIDI allows computers, synthesizers, MIDI controllers, sound cards, samplers and drum machines to control one another, and to exchange system data (acting as a raw data encapsulation method for sysex commands).
REALLY COOL!