Weeklybeats is a 52 week long music project in which artists compose and publicly release 1 song a week for the entire year.
Starting January 1st 2024 GMT each participant will have one week to upload one finished composition. Any style of music or selection of instruments are welcomed and encouraged. Sign up or Login to get started or check our FAQ for any help or questions you may have.

Oihe Ewkan

By Devieus on February 28, 2020 5:06 pm

I fixed the thing that collapsed the waveform, so now the melody is a little more melodic. I also added two instruments, the SID chip emulator and the Bitinvader. The former is a SID chip emulator, the latter is a plug-in that allows you to draw a wave form by hand, something I had to go through the source code to figure out it's a string of floats encrypted to a byte64 object. It's not like someone's just going to tell you that's how it's done.

Is it worth it? Probably, I can use math to make a wave form (the old y=x style) as well as implement about two other instruments (freeboy, a game boy sound emulator, and Watsyn, with four oscillators).

Audio works licensed by author under:
CC Attribution Share Alike (BY-SA)

Really like the driving percussion in this track. It's simple but really effective.

Have you made any videos demonstrating how your programming and generating your music? I'm curious because I don't fully understand the process behind it and it sounds interesting.

ViridianLoom wrote:

Have you made any videos demonstrating how your programming and generating your music? I'm curious because I don't fully understand the process behind it and it sounds interesting.

2nd this!  I’d love to hear about/see the equation you come up with for the waves in this too.  I’ve taken some advanced math courses but have no clue how you’d apply it on something like this, it’s very intriguing to me.

Chrisfoo wrote:
ViridianLoom wrote:

Have you made any videos demonstrating how your programming and generating your music? I'm curious because I don't fully understand the process behind it and it sounds interesting.

2nd this!  I’d love to hear about/see the equation you come up with for the waves in this too.  I’ve taken some advanced math courses but have no clue how you’d apply it on something like this, it’s very intriguing to me.

2nd this 2nd!  (Sorry to get all Inception on this thread, haha.)

hent03 wrote:

Really like the driving percussion in this track. It's simple but really effective.

I really need to make it better, right now the pattern is one bar, but I should make it two.

ViridianLoom wrote:

Have you made any videos demonstrating how your programming and generating your music? I'm curious because I don't fully understand the process behind it and it sounds interesting.

Chrisfoo wrote:
ViridianLoom wrote:

Have you made any videos demonstrating how your programming and generating your music? I'm curious because I don't fully understand the process behind it and it sounds interesting.

2nd this!  I’d love to hear about/see the equation you come up with for the waves in this too.  I’ve taken some advanced math courses but have no clue how you’d apply it on something like this, it’s very intriguing to me.

Reilly Farrell wrote:
Chrisfoo wrote:
ViridianLoom wrote:

Have you made any videos demonstrating how your programming and generating your music? I'm curious because I don't fully understand the process behind it and it sounds interesting.

2nd this!  I’d love to hear about/see the equation you come up with for the waves in this too.  I’ve taken some advanced math courses but have no clue how you’d apply it on something like this, it’s very intriguing to me.

2nd this 2nd!  (Sorry to get all Inception on this thread, haha.)


Before this is getting any further out of hand, I haven't. I can, but the source code is right here. All you need is the latest python and LMMS and you can simulate what it looks like by running LMMS.py, then opening the .mmp file into LMMS. It's not the full process since I run it from an IDE and the tempo automation needs to be manually adjusted, but it's a close approximation.

As for how the program works, .mmp is an XML format, so I just build an XML tree with the right elements, putting and randomly selecting the right parameters wherever they go, and now you have a song. It's like breaking down whatever steps you normally take when you make a song (choosing instruments, deciding on a drum track, picking a scale, etc) and letting random chance make all these decisions for you.

Most plug-ins come with predefined wave forms, but drawing them manually is more of a computer science thing.

I like how this goes back and forth between two arrangements pretty seamlessly! Digging the new instruments smile

Gab Manette wrote:

I like how this goes back and forth between two arrangements pretty seamlessly! Digging the new instruments smile


Thanks. I wanted them to be a little more clear cut without them sounding too much alike. Other instruments seems like an obvious solution. Plus it makes the project files look way more complex.

When people start talking about Python and making music all I figure is I need to go to the pet shop and get a few snakes. But they don’t make much sound.

This is sweet stuff. The tones used work really well together.

I think I hear a new melodic sound like an 8bit guitar sound with more sustain. Sounds like you extended out the ritardando portion, or is that just my imagination? Solid updates and lots more layers.

Definitely some good melodies starting to poke their heads up. 

These are coming out better each week. More complimentary sounds

Ayyy new waveforms, v cool!

E-dub wrote:

When people start talking about Python and making music all I figure is I need to go to the pet shop and get a few snakes. But they don’t make much sound.

Get a rattle snake, those got a pretty good groove.

Jokinen wrote:

This is sweet stuff. The tones used work really well together.

Yea, I guess they are.

NWSPR wrote:

I think I hear a new melodic sound like an 8bit guitar sound with more sustain. Sounds like you extended out the ritardando portion, or is that just my imagination? Solid updates and lots more layers.

That would be the bitinvader. The generator can only draw noise right now, but for this plug-in that usually translates to serviceable instruments, so I'm not going to bother with fancy math just yet.

CosmicCairns wrote:

Definitely some good melodies starting to poke their heads up.

Definitely, I'll be taking my own offer of using it as a base for an actual song. It's open to everyone, but no one's taking.

danju wrote:

These are coming out better each week. More complimentary sounds

Coming right up.

Mortistar wrote:

Ayyy new waveforms, v cool!

Fresh out of the ocean.

Ipaghost wrote:

Neat. I'll have 2.

very uplifting in a strange way. I especially love the winding-down in the end. Positive vibes smile

Yeah I agree, I really like the percussion and the tone of the two main instruments.  Sounds great.

Sounds are sweet! If you can manipulate the waveform by code. This means you can change the timbre over time ? I guess that' totally worth the effort.

Ashen Simian wrote:

very uplifting in a strange way. I especially love the winding-down in the end. Positive vibes smile

That's been going on for weeks now, it works so I keep it.

coreytrev0r wrote:

Yeah I agree, I really like the percussion and the tone of the two main instruments.  Sounds great.

Thanks. They seem to work well together today.

theGuen wrote:

Sounds are sweet! If you can manipulate the waveform by code. This means you can change the timbre over time ? I guess that' totally worth the effort.

Anything can be automated in LMMS except for the drawn waveform, but any other aspects are totally free game (e.g. pre-selectable waveforms). It's not just timbre either.

You need to login to leave a comment.
Login Sign-up