We probably a rework for instrument music creation. I propose ABC format.

A place to record your ideas for the game.
Post Reply
oilysnake
Joined: Tue Sep 07, 2021 12:12 am
Byond Username: Oilysnake

We probably a rework for instrument music creation. I propose ABC format.

Post by oilysnake » #699528

I know, I know, this will definitely fuck up parity with all other codebases. You can't 'use your old songs', but frankly, the current system we use is so god-awful it's not worth keeping. It's from 2013 and it's really just completely garbage. It runs like shit, it's super buggy, and doesn't really support any music more complex. Even in songs that are entirely a single track it runs and sounds like absolute shit. Only a few select songs that have been specifically tweaked and tuned over and over again sound 'slightly' good with it. It's also incredibly frustrating for new players to learn and use, and always without fail just leads to them going to the wiki to copy-paste a song.

I propose switching to a different music notation format, preferably a pre-existing one that is easier to find tools for online that actually function well. midi2piano 'works' but it is horribly outdated for anything other than playing single-track songs. Need to sync up multiple synthesizers in game or something and would like the BPM to stay the same across all of them? Midi2piano doesn't do that. In fact, midi2piano just kindof picks a BPM at complete random, and doesn't stick to it the entire song. Some parts of the song will be five times faster then they're supposed to be, some parts of the song will be half the speed. It's just awful.

Letting people import midis is bad as well as we want it to be text that can be read, and played by the game, for the sake of reducing lag. There are a few good formats that work way better than the slop we have now, and most importantly, they're incredibly easy to create, but I think the best one is ABC v2.1.

ABC notation looks something like this:

Code: Select all

<score lang="ABC">
X:1
T:The Legacy Jig
Q:1/4=120
M:6/8
L:1/8
R:jig
K:G
GFG BAB | gfg gab | GFG BAB | d2A AFD |
GFG BAB | gfg gab | age edB |1 dBA AFD :|2 dBA ABd |:
efe edB | dBA ABd | efe edB | gdB ABd |
efe edB | d2d def | gfe edB |1 dBA ABd :|2 dBA AFD |]
</score>
Lines in the first part of the tune notation, beginning with a letter followed by a colon, indicate various aspects of the tune such as the index, when there is more than one tune in a file (X:), the title (T:), the tempo (Q: , the 1/4 is the beat and the 120 is how often that is per minute) the time signature (M:), the default note length (L:), the type of tune (R:) and the key (K:)

DOWNSIDES:
Focuses more on one-voice tunes instead of chords (The other similar format that focuses on chords, JAM, is completely gone from the internet.)
We'd lose the songs already put into the game by our current system

UPSIDES:
Extremely easy to read.
Extremely easy to write.
Several programs that can convert midi tracks directly into ABC file format already out there.
Stupidly large amount of documentation on it.
Fields for tempo.
Stupidly robust if you know how to use it.
We'd get like 15k more songs
COMPLETELY OPEN FORMAT.
https://abcnotation.com/wiki/abc:standard:v2.1 Check out the wiki for more stuff.

I really do think implementing a different format for the game reading the music would make it ACTUALLY worth trying to play new songs and fiddle around with super crazy setups with circuits and creating bands and stuff. ABC is my pick because of the incredibly expansive knowledge on it and the fact its 20x better than the janky piece of shit we have running right now.

If anyone's ever thinking of reworking the instruments (Please do, they're really not that good) please keep ABC notation in mind.
Last edited by oilysnake on Tue Aug 15, 2023 9:34 am, edited 1 time in total.
oilysnake
Joined: Tue Sep 07, 2021 12:12 am
Byond Username: Oilysnake

Re: We probably a rework for instrument music creation. I propose ABC format.

Post by oilysnake » #699529

Also: Fun fact! Starbound and LoTRO use this file format and it works AMAZING.

And here's 15k songs people already put into ABC file format: https://drive.google.com/file/d/0By0Vgb ... ZScTg/view
Imitates-The-Lizards
Joined: Mon Oct 11, 2021 2:28 am
Byond Username: Typhnox

Re: We probably a rework for instrument music creation. I propose ABC format.

Post by Imitates-The-Lizards » #699535

So like, why do we have to have one system or the other?

Why can't we just have both systems?

Y'know, maybe put a toggle or something.
Image
Image
oilysnake
Joined: Tue Sep 07, 2021 12:12 am
Byond Username: Oilysnake

Re: We probably a rework for instrument music creation. I propose ABC format.

Post by oilysnake » #699540

Imitates-The-Lizards wrote: Tue Aug 15, 2023 11:03 am So like, why do we have to have one system or the other?

Why can't we just have both systems?

Y'know, maybe put a toggle or something.
Maybe we could, but it'd still require a rework. And at that case it might just be better to switch over.
Any song you can think of from the wiki or a list has already been made in ABC.
User avatar
Super Aggro Crag
In Game PermaBanned
Joined: Sat Mar 21, 2015 9:47 pm
Byond Username: Super Aggro Crag

Re: We probably a rework for instrument music creation. I propose ABC format.

Post by Super Aggro Crag » #699557

Can you convert all the songs on the wiki
Last edited by Super Aggro Crag on Wed Aug 16, 2023 1:04 am, edited 1 time in total.
Image
Image
Image
Image
Image
Image
Image
User avatar
oranges
Code Maintainer
Joined: Tue Apr 15, 2014 9:16 pm
Byond Username: Optimumtact
Github Username: optimumtact
Location: #CHATSHITGETBANGED

Re: We probably a rework for instrument music creation. I propose ABC format.

Post by oranges » #699661

You will struggle against engine limitations trying to implement this,not the parsing, just that it's not setup to expose the sound engine in such a way as playing actual multi instrument tracks with timing and beat management.
oilysnake
Joined: Tue Sep 07, 2021 12:12 am
Byond Username: Oilysnake

Re: We probably a rework for instrument music creation. I propose ABC format.

Post by oilysnake » #699683

Super Aggro Crag wrote: Tue Aug 15, 2023 3:03 pm Can you convert all the songs on the wini
yep

edit: is this a hypothetical or do you want me to
Last edited by oilysnake on Wed Aug 16, 2023 12:26 am, edited 1 time in total.
oilysnake
Joined: Tue Sep 07, 2021 12:12 am
Byond Username: Oilysnake

Re: We probably a rework for instrument music creation. I propose ABC format.

Post by oilysnake » #699684

oranges wrote: Tue Aug 15, 2023 10:06 pm You will struggle against engine limitations trying to implement this,not the parsing, just that it's not setup to expose the sound engine in such a way as playing actual multi instrument tracks with timing and beat management.
So, ABC actually is designed for single-instrument tracks. I know engine limitations are a thing, but this is a sort of start because it's at least 'better' than what we have because even if we do have to struggle against engine limitations, it's so much more user friendly. This is because it's a program designed to create readable ascii sheet music.
that
Most songs on the old LoTRO archives (see https://bardsofafeather.net/library.php) that are ready for use (There's a LOT) indicate if they're multi-person or single-person, as well, and separates them into multiple parts/multiple ABC files.

Here's the real kicker: Maestro, the best software used to convert midi to abc (https://github.com/digero/maestro/releases), can split the MIDI file into multiple tracks FOR you and then gives you an abc file for it.

If we can't import midis like ss14 I think it's still the best we can do.

EDIT: This *might* be even more possible when OpenDream finishes (god wills it)
User avatar
Super Aggro Crag
In Game PermaBanned
Joined: Sat Mar 21, 2015 9:47 pm
Byond Username: Super Aggro Crag

Re: We probably a rework for instrument music creation. I propose ABC format.

Post by Super Aggro Crag » #699690

oilysnake wrote: Wed Aug 16, 2023 12:21 am
Super Aggro Crag wrote: Tue Aug 15, 2023 3:03 pm Can you convert all the songs on the wiki
yep

edit: is this a hypothetical or do you want me to
sorry, allow me to rephrase this

WILL you convert all the songs on the wiki
Image
Image
Image
Image
Image
Image
Image
oilysnake
Joined: Tue Sep 07, 2021 12:12 am
Byond Username: Oilysnake

Re: We probably a rework for instrument music creation. I propose ABC format.

Post by oilysnake » #699708

Super Aggro Crag wrote: Wed Aug 16, 2023 1:04 am
oilysnake wrote: Wed Aug 16, 2023 12:21 am
Super Aggro Crag wrote: Tue Aug 15, 2023 3:03 pm Can you convert all the songs on the wiki
yep

edit: is this a hypothetical or do you want me to
sorry, allow me to rephrase this

WILL you convert all the songs on the wiki
Sure. I'd also add links to the LoTRO and maestro if we implemented ABC format, for extra shit.
Imitates-The-Lizards
Joined: Mon Oct 11, 2021 2:28 am
Byond Username: Typhnox

Re: We probably a rework for instrument music creation. I propose ABC format.

Post by Imitates-The-Lizards » #699715

Well so long as we don't have any quality loss, song loss, or some other issue, I don't see why not, I guess.

Wyci
Image
Image
oilysnake
Joined: Tue Sep 07, 2021 12:12 am
Byond Username: Oilysnake

Re: We probably a rework for instrument music creation. I propose ABC format.

Post by oilysnake » #699727

Imitates-The-Lizards wrote: Wed Aug 16, 2023 4:42 am Well so long as we don't have any quality loss, song loss, or some other issue, I don't see why not, I guess.

Wyci
if i could code it i wouldn't put it in the ideas section. this is far beyond my area of expertise
Post Reply

Who is online

Users browsing this forum: No registered users