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

#1 2013-04-30 15:56:55

PPJB
New Scratcher
Registered: 2012-04-09
Posts: 24

Playing sounds forever (and the MIDI notes)

Hi.

I'm yet with the salads game, but I have a problem. I want to play a song with the "forever" block, but the BMG doesn't play. This is the script:

 when gf clicked
 forever
 play sound [BGM]
Also, I have another problem. I want to play a MIDI note as a beep sound. But Scratch changes it to the piano sound. The instrument is called "Orchestra success", or something like this (I'm using the spanish version, sorry).

Offline

 

#2 2013-04-30 16:18:06

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: Playing sounds forever (and the MIDI notes)

PPJB wrote:

Hi.

I'm yet with the salads game, but I have a problem. I want to play a song with the "forever" block, but the BMG doesn't play. This is the script:

 when gf clicked
 forever
 play sound [BGM]
Also, I have another problem. I want to play a MIDI note as a beep sound. But Scratch changes it to the piano sound. The instrument is called "Orchestra success", or something like this (I'm using the spanish version, sorry).

Well, you need to change that

when gf clicked
play sound [BGM v] 
to
when gf clicked
play sound [BMG v] until done
As for your other one, i am not sure, sorry.  sad

Regards,

CAA14

Offline

 

#3 2013-05-01 12:06:35

PPJB
New Scratcher
Registered: 2012-04-09
Posts: 24

Re: Playing sounds forever (and the MIDI notes)

Thanks, but what's the difference between using a

 forever
 play sound [BGM]
and a


 forever
 play sound [BGM] until done
I don't understand, I ever think that were the same thing…

Offline

 

#4 2013-05-01 12:14:11

Imaginos
New Scratcher
Registered: 2013-03-06
Posts: 56

Re: Playing sounds forever (and the MIDI notes)

The first one will forever start to play the sound.
The second one will only start to replay once the sound clip has reached it's end point.

Offline

 

Board footer