Stendhal Development Meeting 2009-11-22/Result Log/Music: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Hendrik Brummermann
imported>Hendrik Brummermann
Line 88: Line 88:
* blackfinix: yes samson.
* blackfinix: yes samson.
* plassy: so who did the original sound stuff?
* plassy: so who did the original sound stuff?

* there should be different music for cities, forest, dungeons to add atmosphere
** storyteller made some great examples of this
** some are very pretty and quiet and suitable for outdoors, a meadow
** some are dark and scary like for a dungeon
** a jazz room was suggested, does it fit into the world?
* need to compromise between file size and loops being long enough not to get monotonic


== Triggering Background Music (needs summary) ==
== Triggering Background Music (needs summary) ==


* music is played by client
* Oslsachem: there's the question whether music should be played individually for each player or whether it should be associated with the zone...
* on commands provided by the server
* hendrik: There should be different music for cities, forest, dungeons.
* music should depended on zone, "atmosphere" property of zone that is sent to client
* hendrik: So it would be zone depended.
* synchronization
* hendrik: We already have some wind like sounds in 0_semos_village_w, but that is very basic.
** there is an unwritten rule that all the players should see the same thing
* plassy: music have to add atmosphere
** problem: player A enters a zone, the music starts to play, player B enters 30 seconds later. For them to hear the same thing the music for player B has to start 30 seconds in
* superkym: yes and storyteller's music are great examples of this
** the music should fade in, there is no need to hear it from the start
* storyteller: Thanks very much :)
** music is not really part of the game world so it may be okay to start at the beginning every time, to make coding simpler for now
* superkym: some are very pretty and quiet and suitable for outdoors, a meadow
* other triggers
* superkym: some are dark and scary like for a dungeon
** there might be special music during a fight against a very strong monsters

** it was suggested that music may be faster when low on health
* Oslsachem: but that means that when a player enters a zone the music is not played from the beginning
* superkym: also he made them fairly small file which is important as we don't want to force large downloads, and they loop, too.
* yoriy: if music stay zone dependent it must not be monotonic , so probably there must be 2-3 misic themes for each zones
* blackfinix: osl that wouuld be ok though?
* hendrik: There is this problem:
* hendrik: Player One enters the zone.
* hendrik: The music starts.
* hendrik: 30 second later player Two enters the zone.
* storyteller: Then the music has to be played for every single player
* hendrik: Will he hear the music from the start? Or will it start with 30 seconds into the track?
* tigertoes: if it is a loop, wouldnt that mean it doesnt matter?
* vomit: the music should play for each player
* tigertoes: same concept for when you have music on telephone and they put you on hold
* storyteller: yes, tigertoes... for loops it doesnt matter
* love_puppet: or maybe the player 2 picks up 30s in to the track
* vomit: that should be controlled locally by the client
* plassy: the music should fade in... there is no need to hear it from the start
* hendrik: Always starting at the beginning of the file is a lot easier to code.
* plassy: except if special events arise
* yoriy: id like to have music in client instead server
* plassy: hendrik: i dont see the problem... dosn't java handle this?
* plassy: isn't there any library?
* superkym: why is it a problem if the music starts from the beginning as you enter, for each player? i think that is ok
* jesco: yes it is
* hendrik: okay, that makes things easier.
* Oslsachem: there's an unofficial rule that states that all the players should see the same things in the game though I don't know if music is really a part of the world or just the game interface because there isn't actually a musician playing it...
* kiheru: java does not handle everything. there's still a lot about the behaviour to code
* blackfinix: wouldn't all this music be very resource hungry?

* Oslsachem: you could play with the music tempo, increasing it when a player has low health
* humana: so if you want some music for some maps... I am here, I have guitar pro .. and domi have a better programm
* miasma: like the time-out music in super mario, oslsachem? ;)
* kiheru: maybe eventually osl. first we need something that works

* kiheru: just have a "atmosphere" property for the zones that's send to the client
* superkym: if you really wanted to make it start at the correct place you'd send what moment in the track to start from but not stream



== Multiple programs with music ==
== Multiple programs with music ==