questions on 4k music generation
category: music [glöplog]
Hi folks,
I am working on my first demo (and a 4k it is!).
I came up with an effect I will be using it, but I have no idea on music generation. I am using iq's 4k framework to get the project started.
How much memory from the demo do you reserve for music?
Would you share some helpful tutorials on music generation?
Regards,
Varko
I am working on my first demo (and a 4k it is!).
I came up with an effect I will be using it, but I have no idea on music generation. I am using iq's 4k framework to get the project started.
How much memory from the demo do you reserve for music?
Would you share some helpful tutorials on music generation?
Regards,
Varko
By "memory", you mean space?
I think, in regards to compressed size... what's a good compressed exe size without music, so there is enough headroom.
For a 4Kb demo, just try to fit the music in (around) 1Kb. I mean, of course, 1Kb in the crunched executable! Of course, this is not written in stone and it depends on particular circumstances.
Use tools like Crinkler's "compression report" to figure out this and other important things.
Happy coding! :]
Use tools like Crinkler's "compression report" to figure out this and other important things.
Happy coding! :]
i've seen 4k's with 128bytes of sound and 4k's with over 2k of sound, so it depends a lot what you want to do. 1/4th of the space for audio seems a decent enough ratio.
if you're looking for tools to make music for 4k's, 4klang is a nice place to start:
http://4klang.untergrund.net/
if you're looking for tools to make music for 4k's, 4klang is a nice place to start:
http://4klang.untergrund.net/
There was a talk, I think on last revision from wayfinder about 4klang, the most used tool to create music...
or you can just modulate sine waves... there was a thread here where they modulated sine in the browser... That got quite nice...
or you can just modulate sine waves... there was a thread here where they modulated sine in the browser... That got quite nice...
found it:
http://www.pouet.net/topic.php?which=8357&page=1
http://www.pouet.net/topic.php?which=8357&page=1
Before I give our 4ks to Juippi for music, they're usually 2.7k to 2.9k compressed. This disregards extra sync data that needs to be added afterwards, but I'd say the music usually ends up being 1.0 or 1.2 kilobytes.
Of course, we don't use krinkler or 4klang. We have a complete toolchain of our own from start to finish, so this is not necessarily applicable to the general situation.
Of course, we don't use krinkler or 4klang. We have a complete toolchain of our own from start to finish, so this is not necessarily applicable to the general situation.
Quote:
By "memory", you mean space?
Yes! Thanks for the correction.
That was fast! Thanks all! If I have any other further questions, I will write here.
I end up using 1.6k-1.8k for music.
Nowadays there's 8klang too. By the way, this is my first post. :)
wayfinder's 4klang seminar (From Deadline 2015, not Revision)
8klang could have a good potential for 64k intros. ;)
No, that's what 64klang2 is for :)
Never heard! Gimme a link! :)
Yep, Virgill... See you later.
You may also want to try out Clinkster. It is easier to use for the musician than 4klang, though not as versatile.
The code size for the Clinkster player is around 700 bytes. My music data is usually 500-800 bytes on top of that, depending on complexity.
The code size for the Clinkster player is around 700 bytes. My music data is usually 500-800 bytes on top of that, depending on complexity.
The breakdown of Hydrokinetics is about 1465 bytes for music (including 4klang player), 1700 bytes for the visuals, and the rest for setup code, rendering and crinkler overhead.
Blueberry, sounds like an offer to me. ;)
Music usually takes 1/4 to 1/3rd of small sized Demos Space.
One way of doing music for tiny intros is to target some byte limit and then squeeze it until it fits, and then squeeze some more. And more. Or at least that's how I've done it.
But it might be interesting to try a minimalistic approach. Start from zero, and add just one musical element. Try to make it sound good and interesting on its own, and so that it takes as little space as possible. Consider if it makes musical sense already. If not, tweak first instead of adding more elements. As soon as you think it makes musical sense at all, stop. Don't care if you didn't use all of the allocated bytes.
But it might be interesting to try a minimalistic approach. Start from zero, and add just one musical element. Try to make it sound good and interesting on its own, and so that it takes as little space as possible. Consider if it makes musical sense already. If not, tweak first instead of adding more elements. As soon as you think it makes musical sense at all, stop. Don't care if you didn't use all of the allocated bytes.
Old thread, but... our last two 4k intros where about 2.8kb before music+synth, so we usually use around 1.2kb