Sheet music

Thoughts on the further development of Haven & Hearth? Feel free to opine!

Sheet music

Postby pppp » Sat Jan 26, 2019 5:18 pm

Requests to make a music bot and for playing music together surface periodically in discord chats and in forum. As I have already written a music playing plugin for Salem I can already tell a simple approach at that is doomed to fail because of server, network and client lag and because of fixed note length on top of that. The complete rant is to be found under the link.

I am suggesting adding a sheet music mechanics, which would be resemble current drawing sketch mechanics.
- A player can write or import music scores on a prepared parchment or shop-bought staff-paper
- optionally a score can be written for a specific instrument, for any instrument or for a set of instruments.
- the written score can be played by using the score when the instrument is equipped.
- the really important part of the idea is that the whole sheet is sent to listening clients as a single sound resource, which means the whole timing will be done client side and stuttering caused by server and network lag will be eliminated.
- the written score can be placed on a music stand so it can be accessed and played by multiple players
- optionally only a one voice can be written on a single sheet but the stand can accept more sheets, one for each voice.
- if more than one players is using a stand, the music starts only if all people start playing

EDIT: Ability to import one of formats handled by MuseScore would be nice. MuseScore is a FOSS released under GNU GPLv2.
Last edited by pppp on Sat Jan 26, 2019 6:44 pm, edited 1 time in total.
pppp
 
Posts: 403
Joined: Sun Jun 20, 2010 7:30 pm

Re: Sheet music

Postby Hrenli » Sat Jan 26, 2019 6:23 pm

I agree that network kills the music in current implementation. There is no point even trying to plug MIDI and trying to wrap it into keyboard commands as timing will be lost forever on the way.
Too old to rock-n-roll, too young to die.
Hrenli
 
Posts: 1169
Joined: Mon Mar 21, 2016 1:39 pm

Re: Sheet music

Postby Granger » Sat Jan 26, 2019 7:50 pm

Yea, would need to be synced on the server.

But I think the ability to upload sheet music for multiple instruments (for the server sending the different channels to the respective characters in sync) would be a nice thing to have, as it would turn the instruments from (in the hands of nearly all users) violating the geneva conventions into something bearable.
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Granger
 
Posts: 9254
Joined: Mon Mar 22, 2010 2:00 pm

Re: Sheet music

Postby Griffone » Sun Jan 27, 2019 12:02 am

I know Starbound has music in multiplayer, apparently it uses ABC notation.

I believe (not from source code, just by playing the game) the whole song is sent to listeners along with a starting timestamp and current instrument info. One can change instruments on the fly (if I remember correctly) without stopping the music. Also other players can join playing the same tune and they are synchronized somehow (I presumed by a timestamp, but it can be anything, we have authoritative server).

Generally though, I think changing music mechanics is not important for a new world, unless there are gameplay changes to it as well (bard buffs and such).
How to mine:
  1. Hit rock
  2. Catch ceiling with your face
  3. Lay in bed
  4. Repeat
User avatar
Griffone
 
Posts: 12
Joined: Sat Mar 19, 2016 10:24 am


Return to Critique & Ideas

Who is online

Users browsing this forum: Claude [Bot], NightMind and 2 guests