101
you are viewing a single comment's thread
view the rest of the comments
[-] pirat@lemmy.world 15 points 1 month ago

"rendering" the music and some of the graphics.

I think that's what's called procedural audio/graphics. For audio, it's like building synthesizers into the game, to then be able to play the music/fx as a program (sort of like sheet music) instead of an audio file.

[-] bstix@feddit.dk 11 points 1 month ago* (last edited 1 month ago)

The music doesn't have to be completely synthesized.. Most early computers would simply reuse the audio snippets as "samples", and program the pitch and timing in a "tracker"

Listening to the Flappy Birds music, which I admit that I did, then all of the music could be done in a tracker, even if it might not have been originally. It's a bit of a lost art form, but there are several kilobytes to save!

Personally, I have been considering making a HTML5 game, including the sunvox DLL, to make it really easy to put tiny yet advanced music files into a cross platform browsable game. Haven't gotten around to it though..

[-] pirat@lemmy.world 3 points 1 month ago* (last edited 1 month ago)

Right, I forgot to mention that's possible too!

Thanks for mentioning SunVox, which sent me down a rabbithole of a multitude of interesting software from the same developer. I have even played with the one called PhonoPaper maybe 8 years ago, without knowing of all the other projects! There are many music-related apps, and also PixiVisor that transmits video over audio, which I find fascinating for visual DSP. Seems like next-level SSTV, and would be fun to try over radio - like a LoFi TV signal!

Unfortunately, it seems that the Android versions of most/all(?) of the projects are outdated, and not supported on my phone's newer version of Android, but other versions probably still work on different OSs.

The SunVox library for developers (rather than just the JS-based player) seems very interesting to me. If I'm not misunderstanding, it could be used to build some interesting custom browser-based synth GUIs, or behind the scenes for playing live adaptive and/or generative game music+FX. I'll definitely be looking into that sometime, though so far I've only been scratching the surface of software development, but with the help of LLMs I have recently been able to prototype some interesting ideas (music-based games too!) that seemed totally out of my reach before that.

Feel free to let me know if you ever get around to doing something along the lines of what you were describing. Sounds like a (more) straightforward way of using SunVox to reduce the game size.

this post was submitted on 22 Sep 2024
101 points (97.2% liked)

Android

27934 readers
6 users here now

DROID DOES

Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules


1. All posts must be relevant to Android devices/operating system.


2. Posts cannot be illegal or NSFW material.


3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.


4. Non-whitelisted bots will be banned.


5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.


6. Memes are not allowed to be posts, but are allowed in the comments.


7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.


8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.


Community Resources:


We are Android girls*,

In our Lemmy.world.

The back is plastic,

It's fantastic.

*Well, not just girls: people of all gender identities are welcomed here.


Our Partner Communities:

!android@lemmy.ml


founded 1 year ago
MODERATORS