(In firefox)
When you have one of the music projects running, (music blocks) as long as the instrument isn't the piano, if you then open up a new tab and navigate to another scratch project (music still running) the instrument will switch to piano.
This also happens if in the other tab there is a scratch project and you navigate out of it during the song.

Offline
I ran into this the other day! I thought my mind was playing tricks on me...thanks for reporting this
Offline
Yeah. That's why I include a "set instrument to" block in almost every loop script in my music projects.
Offline
Could this be particular to midi? Because it happens to me with other midi-based applications - mostly notation software - as well. and it's not just on the website, but always when I run concurrent midi sessions (of any application, Scratch, music notation, and even midi players) on my PC.
Offline
Jens wrote:
Could this be particular to midi? Because it happens to me with other midi-based applications - mostly notation software - as well. and it's not just on the website, but always when I run concurrent midi sessions (of any application, Scratch, music notation, and even midi players) on my PC.
It doesn't happen when I run other MIDI applications.
Offline
Jens wrote:
Could this be particular to midi? Because it happens to me with other midi-based applications - mostly notation software - as well. and it's not just on the website, but always when I run concurrent midi sessions (of any application, Scratch, music notation, and even midi players) on my PC.
I get that too sometimes when running two programs that particularly utilize the SW Synth output (the output that most MIDI speakers use).
I've always though this happens because of conflicting MIDI channels for output. Typically, most programs that utilize MIDI use a channel of 1 as the default (unless specified), and usually all channels are set to the instrument piano (instrument#1) (unless specified) - usually two MIDIs will clash if they are using the same channel and if those channels use different instruments. So, if two different programs are suddenly starting to fight over the same MIDI channel 1 (I assume the default is 1), then perhaps the instinct of the computer is to suddenly switch one of the programs to use MIDI channel 2 (which, again, by default, is set to instrument#1, the piano). Although, I have to admit, I'm just guessing and not quite sure.
Last edited by cheddargirl (2010-02-19 10:43:30)

Offline
Jens wrote:
Could this be particular to midi? Because it happens to me with other midi-based applications - mostly notation software - as well. and it's not just on the website, but always when I run concurrent midi sessions (of any application, Scratch, music notation, and even midi players) on my PC.
It could well be particular to MIDI. I'm having a similar problem but not quite the same. In my music project i've got lots of sprites playing different instruments at the same time and it all worked fine until i added another sprite and even though the new sprite had no scripts, immediately one of the music sprites reverted the instrument to another music sprite's. It seems that scratch is trying to give each sprite a different channel even if it has no music blocks, and it's run out. Does anyone here know how to assign sprites particular channels?
Offline