this post was submitted on 16 Aug 2023
-11 points (28.0% liked)

Linux

48879 readers
1082 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

(Since my developing skills are near zero, so eh....)

Basically, a music player that converts (any sort of tune) into a chiptune (in real-time?) and plays it. Various sound sets can be chosen -- from 8 bit ones, to 16 bit... super mario (snes) sound set, etc. Bonus points if its CLI, made using c++ code.

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 17 points 1 year ago (1 children)

Here's an XKCD describing the development situation you just described.

Converting audio into a different set of tunes, especially if they have multiple layers, is ridiculously difficult. There already exists MIDI converters online a google away that can create chiptune-esque arrangements from input songs but they SUCK, doing nothing more than trying to match input frequency averages to the target frequency of every midi note. But just asking someone to create an app (let alone a free open source one) that could make a usable chip tune with the slightest awareness of its input tunes is a very very tall order and this is not the right community to be asking it.

[–] [email protected] 7 points 1 year ago (1 children)

Now. That said, if you just want to map input MIDI's or some other raw format describing the actual tones (not just an audio waveform)- that would be doable with a little table lookups.

[–] GustavoM 2 points 1 year ago* (last edited 1 year ago)

Honestly... what I had in mind was a modern song (with vocals, etc) being converted in real-time through a "winamp-esque" music player (think: "Open file", then after the song is chosen, "Converting to chiptune, please wait..." then the song is played.). But since this is a stupidly difficult task... then sure, I'm okay with a "standard" midi-to-chiptune converter.

[–] [email protected] 9 points 1 year ago (1 children)

So I work in game audio. I have a masters in music composition, and beginner knowledge of coding just to add a few lines of audio-related code to my client's spaghetti code.

What you're asking for is not a simple task, and will certainly need AI or machine learning or something along those lines. You could more easily make something like this if its just a single melody with no other backing tracks (and there's plenty of software that does this), but to understand and distinguish separate instruments, including drums, hear them all as separate voices, and turn them into a whole other medium, is on a whole other stratosphere. If someone's going to make something like this, it's going to be made by a corporation and sold as a $1000 plugin.

But hey, at least it will most certainly be in C++, because that's the language of choice for most audio plugins.

[–] GustavoM 6 points 1 year ago

Now I can't tell if I should feel stupid or like an asshole to request this. But eh... thanks for your highly-detailed (and professional) input.