Procedural Music Generator

This is a little tool that I'm developing for musical purposes.

It could be used to make infinite and adaptative music for games, mainly for open world games.

But, for now, it's only a prototype for proceduraly generate melodies made in top of Unity. Hope to develop it a little more as soon as I can.

What's going on?

I have used perlin noise for seed-based generation, for what you can modify atributes like octaves, persistance, lacunarity, and so on. Have fun! :)

Tips

Tips that I found nice:

1 - It's cool to combine two melodies with same atributes, but different seeds.

2 - For low sizes or octaves, it sounds more cool for me at lower bpm.

Little explanations

BPM: Beats per minute or, basically, the velocity of the music.

Dimensions: here it doesn't have a clear meaning, but it affects how perlin noise generates the melody. It's associated with the dimensions of the noise and may affect melody's smoothness.

Size: The length of the music (press + to update notes' keyboard)

Seed: it's the key to feed and save the status of the procedural generation

Octave: the number of interactions until the final result. It have greater effects combined with the properties bellow.

Lacunarity: it's a kind of frequency multiple factor for each new octave. For higher values, less smooth will be the final result (with a more detailed shape).

Persistance: it's a number between 0 and 1 associated with the maintence of the fundamental amplitude in each octave, that will naturally reduces (for less-than-1 values)

Code

All code is available at its repository on GitHub.

StatusPrototype
CategoryTool
PlatformsHTML5
Rating
Rated 4.1 out of 5 stars
(8 total ratings)
AuthorFrancisco Castro
Made withUnity
Tagsasset, Generator, maker, Music, perlinnoise, Procedural Generation, PROCJAM, sequencer, tool, Unity

Comments

Log in with itch.io to leave a comment.

I guess this was abandoned... Pretty cool though, hope someone is inspired enough to pick it up where the dev left it.

(+1)

Hi there! To be honest I was working on a update for this project on 2021, but could not release it until my vacation was finish. It's on my backlog for this year, hope I can make it this time. Cheers! 

I absolutely adore this,  cant wait for a way to download the melodies as files! thank you for creating this cute, yet extremely helpful tool. 

cool!

Hi. Could you post some sample music videos on youtube as the unity plugin is not working in the browser. Also, when can we download this software for our own projects (Windows 10)? Will it have the ability to export the music as .mp3 etc files? Will we be able to use the resulting music in our own commercial projects?

(2 edits)

Hi! I'm currently not developing new updates for this project, but have some planning in mind and in notes. Unfortunately, my ocupations will not give me time until next year, so it should wait a while to be done as a MVP.
Answering your questions:
> Could you post some sample music videos on youtube as the unity plugin is not working in the browser
I will definitively work on this.

> Also, when can we download this software for our own projects (Windows 10)?Probably early 2021 as a functional piece of software, but the code is open source.

> Will it have the ability to export the music as .mp3 etc files?
Yes, it will export as .mp3, .wav and .midi as soon as possible.

> Will we be able to use the resulting music in our own commercial projects?
Yes, you could use for commercial purposes. Credits are highly appreciable.

Hello RW and FC,

I am interested in this also and look forward to further development. Thanks for your hard work and creative abilities!

A_R