Discuss Scratch
- Discussion Forums
- » Suggestions
- » Play chord block
- mitchboy
-
Scratcher
1000+ posts
Play chord block
Title says all.
This block would be very helpful for people who make music (like me) and want to put it into Scratch. However, the way the current system goes, you need three separate scripts just to make three notes. And it can be a pain trying to synchronize the notes. Maybe something like this?:

(The first three notes being notes, the last being beats.)
This block would be very helpful for people who make music (like me) and want to put it into Scratch. However, the way the current system goes, you need three separate scripts just to make three notes. And it can be a pain trying to synchronize the notes. Maybe something like this?:

(The first three notes being notes, the last being beats.)
- turkey3
-
Scratcher
1000+ posts
Play chord block
That's a perfect example image of a custom block that can do so. Just put each note into the block's definition.
- jvvg
-
Scratcher
1000+ posts
Play chord block
Well, you can do this:
This worked better on Scratch 1.4 (i.e. the notes sounded more together), but it sort of works here too.
when green flag clicked
broadcast [F chord]
when I receive [F chord]
play note [53] for [0.5] beats
when I receive [F chord]
play note [57] for [0.5] beats
when I receive [F chord]
play note [60] for [0.5] beats
when I receive [F chord]
play note [65] for [0.5] beats
This worked better on Scratch 1.4 (i.e. the notes sounded more together), but it sort of works here too.
- mitchboy
-
Scratcher
1000+ posts
Play chord block
That's a perfect example image of a custom block that can do so. Just put each note into the block's definition.Yeah, but here's the problem: You can only have one block definition script. You need three scripts to make a chord, as jvvg showed. I don't really want six scripts cluttering up the script area just to play a song.
- SFollis
-
Scratcher
500+ posts
Play chord block
hm.. i'm going to make a chord block! i have an ideaThat's a perfect example image of a custom block that can do so. Just put each note into the block's definition.Yeah, but here's the problem: You can only have one block definition script. You need three scripts to make a chord, as jvvg showed. I don't really want six scripts cluttering up the script area just to play a song.

- OrcaCat
-
Scratcher
1000+ posts
Play chord block
I already did!hm.. i'm going to make a chord block! i have an ideaThat's a perfect example image of a custom block that can do so. Just put each note into the block's definition.Yeah, but here's the problem: You can only have one block definition script. You need three scripts to make a chord, as jvvg showed. I don't really want six scripts cluttering up the script area just to play a song.
- SFollis
-
Scratcher
500+ posts
Play chord block
Darn it! well i'm still making oneI already did!hm.. i'm going to make a chord block! i have an ideaThat's a perfect example image of a custom block that can do so. Just put each note into the block's definition.Yeah, but here's the problem: You can only have one block definition script. You need three scripts to make a chord, as jvvg showed. I don't really want six scripts cluttering up the script area just to play a song.

EDIT: it doesn't work?'
EDIT: now it works.
Last edited by SFollis (June 1, 2013 16:13:11)
- kayybee
-
Scratcher
1000+ posts
Play chord block
Perhaps like those BYOB arrows where you can add or remove notes, so you can have like 1-10 notes or so?
- OrcaCat
-
Scratcher
1000+ posts
Play chord block
Perhaps like those BYOB arrows where you can add or remove notes, so you can have like 1-10 notes or so?Mine uses a list, so you can play 0-300 notes at once

- kayybee
-
Scratcher
1000+ posts
Play chord block
Uh… Aren't there only like 88 possible notes to play?Perhaps like those BYOB arrows where you can add or remove notes, so you can have like 1-10 notes or so?Mine uses a list, so you can play 0-300 notes at once
- OrcaCat
-
Scratcher
1000+ posts
Play chord block
Yeah, probably.Uh… Aren't there only like 88 possible notes to play?Perhaps like those BYOB arrows where you can add or remove notes, so you can have like 1-10 notes or so?Mine uses a list, so you can play 0-300 notes at once
- mitchboy
-
Scratcher
1000+ posts
Play chord block
Technically, there is notes between all the numbers on Scratch (although I have no clue how this works.)Uh… Aren't there only like 88 possible notes to play?Perhaps like those BYOB arrows where you can add or remove notes, so you can have like 1-10 notes or so?Mine uses a list, so you can play 0-300 notes at once
- StaffordBeer
-
New Scratcher
13 posts
Play chord block
Title says all.
This block would be very helpful for people who make music (like me) and want to put it into Scratch. However, the way the current system goes, you need three separate scripts just to make three notes. And it can be a pain trying to synchronize the notes. Maybe something like this?:
(The first three notes being notes, the last being beats.)
How did you make this block?
- THEPICPVPGODZ
-
Scratcher
12 posts
Play chord block
say [Want To Know How To Play Chord Block??] for (2) secs
play note ( v) for (0.5) beats
- aconigliaro17
-
New Scratcher
1 post
Play chord block
hi i'm just curious what do i do to make scratch actually play a chord
- codecodcodecod
-
Scratcher
34 posts
Play chord block
I am having the exactly the same problem, I am trying to play a lot of different chords, so broadcasting them would make the code look messy and would be hard to add on to if I needed to.
The idea of a
block is a good idea but would take a lot of coding and I would have the same problem as I had before.
I am desperate to finish off this project but those pesky chords mean I can't.

The idea of a
play chord (note1) (note2) (note3) (beats)(sorry that it is red and orange)
block is a good idea but would take a lot of coding and I would have the same problem as I had before.
I am desperate to finish off this project but those pesky chords mean I can't.
Last edited by codecodcodecod (May 27, 2019 14:43:30)
- findanegg
-
Scratcher
500+ posts
Play chord block
I am having the exactly the same problem, I am trying to play a lot of different chords, so broadcasting them would make the code look messy and would be hard to add on to if I needed to.Please don't necropost. The fact that the screenshots here are of 2.0 and that freaking jvvg responded to the topic should let you know this topic's practically old enough to drive.
The idea of aplay chord (note1) (note2) (note3) (beats)(sorry that it is red and orange)
block is a good idea but would take a lot of coding and I would have the same problem. I am desperate to finish off this project but those pesky chords mean I can't.
Please help me, I will be looking for a solution also, but I will need you guys to help me because I can't do this myself.
Thanks.
If you're having this issue please make a separate topic.
- Discussion Forums
- » Suggestions
-
» Play chord block










