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

#1 2012-06-30 20:14:51

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Play note () for () beats without pausing

This block would play the selected note while going on with the script. It would work like our current Broadcast [ v] and Play sound [ v] block. Example use:
When GF clicked
Play note 60 for 1 beat
Play note 62 for 1 beat
Repeat 3
  Play note 57 for 1 beat without pausing
  Play note 60 for 1 beat without pausing
  Play note 64 for 1 beat

If you understand music, you will see that it plays C, D, and an A minor chord 3 times. That's what this block could be used for: chords and polyphonic music. Currently, chords require another script (often in the form of a broadcast), and one for each note in it. With this, you will only need one script (AND MAYBE FINALLY BE ABLE TO PLAY DEATH WALTZ IN SCRATCH!).

Questions, comments, suggestions? Shouldn't be too hard to implement, as they already have a Play sound [ v] block that works like this.


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#2 2012-06-30 23:12:01

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: Play note () for () beats without pausing

Or perhaps playing a beat doesn't make it wait, and if you want it to wait, you would put:
Play note 60 for 1 beat and wait,

Sort of like the ask ___ and wait or broadcast ___ and wait blocks?

Last edited by kayybee (2012-06-30 23:12:26)

Offline

 

#3 2012-07-01 09:23:24

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Play note () for () beats without pausing

Then everyone would have to change their projects to reflect that (although that idea is also good).


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#4 2012-07-01 11:31:07

JH1010
Scratcher
Registered: 2012-05-31
Posts: 1000+

Re: Play note () for () beats without pausing

It should be implemented into Scratch 2.0.

Offline

 

#5 2012-07-02 09:48:21

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Play note () for () beats without pausing

Bump... Anyone else? I would make a list of supporters, but I still can't seem to edit my posts.


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#6 2012-07-02 10:09:43

360-International
Scratcher
Registered: 2011-07-17
Posts: 100+

Re: Play note () for () beats without pausing

JH1010 wrote:

It should be implemented into Scratch 2.0.

+1.


https://lh4.googleusercontent.com/Oib6kyze-OrCFIRlqL6HYnWuHBQp1GfFoh5CkBlZGe3_9WCk-_DDwgfFrnD_mxJ_x2b18hMUyV2KVtIDiLdebyWaQQ6fbpKpZs-8auVep1zoSgOv-iA

Offline

 

#7 2012-07-04 10:51:24

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Play note () for () beats without pausing

360-International wrote:

JH1010 wrote:

It should be implemented into Scratch 2.0.

+1.

Bump... +2.


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#8 2012-07-04 10:56:09

powerpoint56
Scratcher
Registered: 2012-04-19
Posts: 500+

Re: Play note () for () beats without pausing

Support


http://i48.tinypic.com/2072ctw.gif

Offline

 

#9 2012-07-05 12:40:45

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: Play note () for () beats without pausing

you can always have two scripts going on at once.  smile


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#10 2012-07-05 13:04:55

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Play note () for () beats without pausing

*cough* I want to be able to play http://www.scratch.mit.edu/ext/youtube/?v=5F7GNQAO4T4 with 1 script *cough* And anyway, two or more scripts has timeing issues; they don't always execute synchronized.


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#11 2012-07-05 13:42:24

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Play note () for () beats without pausing

You may use broadcasts instead  smile

Offline

 

#12 2012-07-05 13:49:28

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Play note () for () beats without pausing

*tries it*
When I recieve [chord 7967 v]
Play note...
*opens the broadcast list menu thing because that was for chord 7968*
*scratch crashes*

Yeah. PS. Death waltz has 21,190 notes according to skippito. This PN()F()BWP would help.


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#13 2012-07-05 13:51:49

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: Play note () for () beats without pausing

Molybdenum wrote:

Then everyone would have to change their projects to reflect that (although that idea is also good).

Then maybe the current blocks change into the wait blocks... ?

Offline

 

#14 2012-07-05 14:26:33

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Play note () for () beats without pausing

kayybee wrote:

Molybdenum wrote:

Then everyone would have to change their projects to reflect that (although that idea is also good).

Then maybe the current blocks change into the wait blocks... ?

Well, if their data value or whatever changes online and offline, then it might work.


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

Board footer