This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-05-07 11:02:31

ManaUser
Scratcher
Registered: 2009-03-11
Posts: 100+

Limitations regarding multiple instruments?

So I've been experimenting with the MIDI commands and making randomly generated music. With one instrument it works fine, and sounds better than you might think, but to make more interesting music, I want to add extra instruments. And that kind of works, and does sound more interesting, but it also sounds like the notes are... cutting eachother off or something.

So I'm guessing this is a known limitation of Scratch. But exactly what is the limitation? Like I said, it kind of works, so I'm wondering what I can get away with. Two instruments max? Maybe certain combinations of instruments are safe and others aren't? Or is this something that really isn't supported and I'm just lucky it even halfway works?


http://i.imgur.com/SPYSM.gif http://i.imgur.com/t9k1Z.gif http://i.imgur.com/OwYVa.gif http://i.imgur.com/0qlZq.gif

Offline

 

#2 2012-05-07 12:26:13

SciTecCf
Scratcher
Registered: 2011-11-23
Posts: 1000+

Re: Limitations regarding multiple instruments?

Well, usual MIDI files can have more than 1 channel, but Scratch only has 1. Therefore you can only have 1 instrument at a time. (That's what I think anyway)


http://bit.ly/LCZEJRhttp://bit.ly/LSONcOhttp://bit.ly/LF3vIc
http://trinary.site40.net/images/scratchrank.php?username=SciTecCf&display=small

Offline

 

#3 2012-05-07 13:30:34

AgentRoop
Scratcher
Registered: 2012-02-11
Posts: 1000+

Re: Limitations regarding multiple instruments?

ManaUser wrote:

So I've been experimenting with the MIDI commands and making randomly generated music. With one instrument it works fine, and sounds better than you might think, but to make more interesting music, I want to add extra instruments. And that kind of works, and does sound more interesting, but it also sounds like the notes are... cutting eachother off or something.

So I'm guessing this is a known limitation of Scratch. But exactly what is the limitation? Like I said, it kind of works, so I'm wondering what I can get away with. Two instruments max? Maybe certain combinations of instruments are safe and others aren't? Or is this something that really isn't supported and I'm just lucky it even halfway works?

I think it will work is you use another Sprite to do the other instrument


La La
I wrote an album.

Offline

 

#4 2012-05-07 17:16:53

scmb1
Scratch Team
Registered: 2009-03-19
Posts: 1000+

Re: Limitations regarding multiple instruments?

ManaUser wrote:

So I've been experimenting with the MIDI commands and making randomly generated music. With one instrument it works fine, and sounds better than you might think, but to make more interesting music, I want to add extra instruments. And that kind of works, and does sound more interesting, but it also sounds like the notes are... cutting eachother off or something.

So I'm guessing this is a known limitation of Scratch. But exactly what is the limitation? Like I said, it kind of works, so I'm wondering what I can get away with. Two instruments max? Maybe certain combinations of instruments are safe and others aren't? Or is this something that really isn't supported and I'm just lucky it even halfway works?

I think I may have experienced this problem before. About three years ago, I posted this about it. It that the problem you're referring to? If it is, setting the mode to turbo-speed seems to be your best option...


http://i48.tinypic.com/2z5pqad.png

Offline

 

#5 2012-05-07 19:55:04

ManaUser
Scratcher
Registered: 2009-03-11
Posts: 100+

Re: Limitations regarding multiple instruments?

No, I don't think that's the same problem. It may be related, but it looks like my main problem was not using a separate sprite for each instrument. I'm going to be using variables to keep things roughly in synch, and since this is randomized, highly experimental music, I don't think I'm not going to worry about minor timing variations.

So thanks, AgentRoop, it looks like your answer solved my problem.


http://i.imgur.com/SPYSM.gif http://i.imgur.com/t9k1Z.gif http://i.imgur.com/OwYVa.gif http://i.imgur.com/0qlZq.gif

Offline

 

#6 2012-05-07 20:41:59

AgentRoop
Scratcher
Registered: 2012-02-11
Posts: 1000+

Re: Limitations regarding multiple instruments?

ManaUser wrote:

No, I don't think that's the same problem. It may be related, but it looks like my main problem was not using a separate sprite for each instrument. I'm going to be using variables to keep things roughly in synch, and since this is randomized, highly experimental music, I don't think I'm not going to worry about minor timing variations.

So thanks, AgentRoop, it looks like your answer solved my problem.

smile  I've experienced that problem, and I just made another invisible sprite to do the other instrument.


La La
I wrote an album.

Offline

 

#7 2012-05-08 00:16:13

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: Limitations regarding multiple instruments?

You have to use different sprites for each instrument, and sometimes every voice as well.

It's better that way as well, since things get less cluttered.


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

Board footer