DefleMask Forum

Offtopic => Delek Coffee => Topic started by: Bp103 on November 23, 2014, 08:52:44 pm

Title: Anybody play with bytebeat?
Post by: Bp103 on November 23, 2014, 08:52:44 pm
If you haven't played with bytebeat thats okay. Its basically making music from short code chunks (usually C like) and bitwise operators.

like this.  (Warning: These will probably be loud, I mean like throw your headphones loud.)
http://goo.gl/T58jMp

and it can get more complex with use of ternary operators and commas.
http://goo.gl/71N8Zs

Then somebody goes crazy and remakes the music in super hexagon using arrays and black magic.
http://goo.gl/ZK1RoN
Title: Re: Anybody play with bytebeat?
Post by: r57shell on December 04, 2014, 12:55:29 pm
Awesome stuff
Title: Re: Anybody play with bytebeat?
Post by: Demick12 on January 05, 2015, 01:52:07 pm
That's amazing stuff. This could get me into emulation coding fast.

also: sorry for the month later post, but this was so awesome I had to express how I felt.
Title: Re: Anybody play with bytebeat?
Post by: Delek on January 05, 2015, 04:20:46 pm
I was aware of this technique, quite amazing. It randomly creates sound, so it is not "MAKING MUSIC" but this approach could open new doors in procedural music composition.
Title: Re: Anybody play with bytebeat?
Post by: Bp103 on January 05, 2015, 07:13:22 pm
@Demick12 Try it out, its fun to play with. All responses are good imo.

@Delek Some are random-ish but you can treat it like a synth like I was doing in the second example.

I've been using it for music on microcontrollers. As long as it can pull off at least a 1000hz interrupt it sounds okay for 1-bit music being pushed out an i/o pin. Not to mention its also very light on ram since the only variable that you really need to keep persistent will be the counter, which easier said than done when you're trying to achieve tetris on a attiny84 and all of its 512 bytes of sram. It was a fun project.
Title: Re: Anybody play with bytebeat?
Post by: Delek on January 05, 2015, 11:54:16 pm
Yes, it is super cheap to done in a CPU.
Dont know why this wasnt discovered before. :p