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

#26 2013-01-11 17:42:21

chimoo5
New Scratcher
Registered: 2013-01-08
Posts: 18

Re: Loop out of sync

Well props to Digimath I never looked his code just the on-line flash, you got to love broadcast. So if I understand correctly Sprite 14 is all together 8 beats. Except you want to play to 4 beat parts in which 4 beats is played simultaneous to a 4 beats that has a 1 beat pause and 3 beats held.

If so you could put a broadcast in your Sprite where

if <<(on/off) = [on]> and <(Measure Number) = [1]>>
broadcast [14s v]

when I receive [14s v]
rest for (0.75) beats
play note(67 v) for (3.25) beats
If this isn't what you want I notice you put Sprite14 following 6 beat instead of 8 could this have something to do with it?

I guess lastly I could interpret it as you want instead of a note held for 3 beats to repeat three beats?

If that's the case you could try

rest for (1) beats
play note (67 v) for (1) beats
play note (67 v) for (1) beats
play note (67 v) for (1) beats
or is it that the note just isn't properly produce when you do

rest for (1) beats
play note (67 v) for (3) beats

Offline

 

#27 2013-01-12 15:50:44

NHAE
New Scratcher
Registered: 2012-10-11
Posts: 18

Re: Loop out of sync

Actually, sprite14 is 6 beats total.

I guess the problem I'm running into now consists of the fact that the piece contains numerous phrases that contain notes that need to be held for longer than 1 beat. If i do add a "play note (67) for (3) beats" for example, it currently plays it as 1 beat x 3 instead of holding that pitch as it should. What I have right now with the 6 beat broadcast sort of works, but not quite...

Offline

 

#28 2013-01-12 17:46:09

chimoo5
New Scratcher
Registered: 2013-01-08
Posts: 18

Re: Loop out of sync

I thought that resting a beat made it eight, I guess I don't know much about beats. Anyway that is weird on my computer when I put it on for "play note (67) for (3) beats"  it is held not repeated. I re-uploaded you can check it out yourself (only sprite 1-5 and 14) . Could you try clicking "play note (67) for (3) beats" on its own and see the sound it produces. I also did it with your inctest and it sounds perfect with the note being held.

http://scratch.mit.edu/projects/chimoo5/3030259

Offline

 

Board footer