Discuss Scratch

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.)
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.
SFollis
Scratcher
500+ posts

Play chord block

+1
jvvg
Scratcher
1000+ posts

Play chord block

Well, you can do this:

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

turkey3 wrote:

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

mitchboy wrote:

turkey3 wrote:

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.
hm.. i'm going to make a chord block! i have an idea
OrcaCat
Scratcher
1000+ posts

Play chord block

SFollis wrote:

mitchboy wrote:

turkey3 wrote:

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.
hm.. i'm going to make a chord block! i have an idea
I already did!
SFollis
Scratcher
500+ posts

Play chord block

OrcaCat wrote:

SFollis wrote:

mitchboy wrote:

turkey3 wrote:

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.
hm.. i'm going to make a chord block! i have an idea
I already did!
Darn it! well i'm still making one

EDIT: it doesn't work?'

EDIT: now it works.

Last edited by SFollis (June 1, 2013 16:13:11)

Cat_the_Guy
Scratcher
23 posts

Play chord block

That would be cool.
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

kayybee wrote:

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

OrcaCat wrote:

kayybee wrote:

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
Uh… Aren't there only like 88 possible notes to play?
OrcaCat
Scratcher
1000+ posts

Play chord block

kayybee wrote:

OrcaCat wrote:

kayybee wrote:

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
Uh… Aren't there only like 88 possible notes to play?
Yeah, probably.
mitchboy
Scratcher
1000+ posts

Play chord block

kayybee wrote:

OrcaCat wrote:

kayybee wrote:

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
Uh… Aren't there only like 88 possible notes to play?
Technically, there is notes between all the numbers on Scratch (although I have no clue how this works.)
StaffordBeer
New Scratcher
13 posts

Play chord block

mitchboy wrote:

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
 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

codecodcodecod wrote:

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
 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. 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.
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.
If you're having this issue please make a separate topic.

Powered by DjangoBB