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

#1 2012-02-26 02:35:43

zakaos
New Scratcher
Registered: 2012-02-21
Posts: 11

would like to add complexity to my simple instrument simulators

please see my projects for more info, i have a simple piano simulator, that i would like to add color change, or glow to each click when a note is played, I'd also like to add a record function so you can record loops

Offline

 

#2 2012-02-26 07:15:57

Stickman704
Scratcher
Registered: 2009-01-31
Posts: 1000+

Re: would like to add complexity to my simple instrument simulators

The glow function would be easy. The record function wouldn't. I've remixed yours with the glow function. Just download and look at the scripts. http://scratch.mit.edu/projects/Stickman704test/2357484

As for the record function, that would be more complicated.

Edit: Ok, now I'm guessing you would use a list to record all notes then play it back. I'm figuring it out now (though a really clever person will probably come over and do it in five seconds  big_smile )

Last edited by Stickman704 (2012-02-26 07:19:11)


Dun dun dun dun dun dun.... dun dun dun dun dun dun...  tongue

Offline

 

#3 2012-02-26 07:30:06

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: would like to add complexity to my simple instrument simulators

Stickman704 wrote:

The glow function would be easy. The record function wouldn't. I've remixed yours with the glow function. Just download and look at the scripts. http://scratch.mit.edu/projects/Stickman704test/2357484

As for the record function, that would be more complicated.

Edit: Ok, now I'm guessing you would use a list to record all notes then play it back. I'm figuring it out now (though a really clever person will probably come over and do it in five seconds  big_smile )

here i am

when i receive [record]
Add <note number> to list [record]

when I receive [playback]
repeat until [<lentgh of list> = <(number)>]  
Set note to [number]
play note [(note)]
change number by [1]
end

You  might have to change it slightly


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#4 2012-02-26 07:32:25

Stickman704
Scratcher
Registered: 2009-01-31
Posts: 1000+

Re: would like to add complexity to my simple instrument simulators

muppetds wrote:

here i am

when i receive [record]
Add <note number> to list [record]

when I receive [playback]
repeat until [<lentgh of list> = <(number)>]  
Set note to [number]
play note [(note)]
change number by [1]
end

You  might have to change it slightly

I knew I was on the right track  tongue

Have an internet  tongue

Last edited by Stickman704 (2012-02-26 07:32:36)


Dun dun dun dun dun dun.... dun dun dun dun dun dun...  tongue

Offline

 

#5 2012-02-26 07:53:36

Stickman704
Scratcher
Registered: 2009-01-31
Posts: 1000+

Re: would like to add complexity to my simple instrument simulators


Dun dun dun dun dun dun.... dun dun dun dun dun dun...  tongue

Offline

 

Board footer