http://rpg.hamsterrepublic.com/bugzilla/show_bug.cgi?id=846

           Summary: Music intro segments
           Product: OHRRPGCE
           Version: Nigtly WIP (Zenzizenzic)
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: feature request
          Priority: P3
         Component: Music
        AssignedTo: [email protected]
        ReportedBy: [email protected]


The only way currently to make a song with an intro that does not repeat when
the music loops is to use MIDI music with manually inserted SysEx events on the
music_native backend on Windows.

A better solution might be this:

For every song, make it possible to specify an "intro" file. This would be
another song file (wouldn't even have to be the same format) which would be
played before the song starts.

* When you play a song, the engine detects if this song has an intro.
* If there is an intro, play it instead, with no looping.
* Detect when the intro has finished (*can our backends do this?)
* Then play the song itself with looping.

This requires no changes to the song playing interface.

Checking to see which song is currently playing would not distinguish between
the intro and the real loop.

SDL_Mixer does seem to have a command that can support this:
Mix_HookMusicFinished

-- 
Configure bugmail: 
http://rpg.hamsterrepublic.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to