A whole new MUSIC section of blocks !

Help and questions on programming the codebug
Post Reply
mikerr
Posts: 83
Joined: Fri Jul 31, 2015 10:37 am
Contact:

A whole new MUSIC section of blocks !

Post by mikerr » Tue Mar 29, 2016 2:46 pm

An entire group of blocks have appeared called "Music":

Image

No details of which pins its driving yet....
Twitter @mikered codebug profile mikerr

mikerr
Posts: 83
Joined: Fri Jul 31, 2015 10:37 am
Contact:

Re: A whole new MUSIC section of blocks !

Post by mikerr » Tue Mar 29, 2016 3:06 pm

any pins you like - after I pressed play on the emulator...

Image
Twitter @mikered codebug profile mikerr

mikerr
Posts: 83
Joined: Fri Jul 31, 2015 10:37 am
Contact:

Re: A whole new MUSIC section of blocks !

Post by mikerr » Tue Mar 29, 2016 4:39 pm

Thomas Macpherson-Pope has doen a sample project here:

http://www.codebug.org.uk/explore/codeb ... hday-tune/
Twitter @mikered codebug profile mikerr

pigraham
Posts: 65
Joined: Sat Aug 15, 2015 1:41 pm

Re: A whole new MUSIC section of blocks !

Post by pigraham » Wed Mar 30, 2016 9:46 am

Ah, good move. Have you tried it on a bug?
The beats(ms) value block seems to be either an integer ms value or a fraction of the bpm tempo. If I put a 1000 number value in there it seems to play a 1 second note irrespective of the bpm value.

Post Reply