Menu

#117 AUDIO: Improve music in the Mac version of MI1

Engine: SCUMM
open
nobody
None
5
2014-04-20
2003-08-01
No

There's no music or sound in Monkey Island 1 (alt), the
mac version. I'm using the daily cvs snapshot from
August 1st, under MacOS X 10.2.6. It's compiled with
gcc 3.1. Someone in the forums pointed this out too, so
I can't be just my system config. I've tried all sound
drivers.

Discussion

  • Markus Magnuson

    Markus Magnuson - 2003-08-01
    • priority: 5 --> 7
     
  • Max Horn

    Max Horn - 2003-08-01

    Logged In: YES
    user_id=12935

    There are SFX for me in that version (e.g. open any door, or the
    seagull were you get the fish). But the music format is indeed
    unsupported. And this is not a bug, it's simply yet another
    unsupported music format.
    Please never modify bug priorites, those are for project member
    use only. Thanks

    I am moving this to feature requests.

     
  • Max Horn

    Max Horn - 2003-08-01
    • labels: 388875 -->
    • milestone: 198030 -->
    • priority: 7 --> 5
    • summary: MI1: No music/sound at all --> Support music in the Mac version of MI1
     
  • Markus Magnuson

    Markus Magnuson - 2003-09-06

    Logged In: YES
    user_id=583162

    So, what blocks are we discussing here? If it's just the
    "Mac0" block, I have some pretty good documentation on the
    format. Since Drigo Zoxx have managed to play the MI1 music
    in his SCUMM Explorer application, I could also look at his
    source code and write some new documentation.

     
  • Max Horn

    Max Horn - 2003-09-06

    Logged In: YES
    user_id=12935

    Yes this is "just" the Mac0 format. Feel free to forward me the
    docs on it. I know SCUMM Explorer supports the format, and I
    asked Drigo about it. Drigo told me he wouldn't discuss such
    things via email, and that I should rather ask him in the forums,
    so that the public can benefit from it. There, he told me he would
    implement it for us once we give him back CVS write access. He
    wasn't willing to help "just so" with it. Sorry, but I don't like being
    blackmailed....

    Anyway, if you can provide format specs, or a patch, please do
    so.

     
  • Markus Magnuson

    Markus Magnuson - 2003-09-08

    Logged In: YES
    user_id=583162

    I've sent you a block format spec.

     
  • Max Horn

    Max Horn - 2003-09-08

    Logged In: YES
    user_id=12935

    Better to attach those specs here, so that a person wanting to
    implement it can implement it.

     
  • James Brown

    James Brown - 2003-09-08

    Logged In: YES
    user_id=2715

    Unrelated, but RE: drigo... I've offered in the past to
    give him CVS access back, if he e-mailed me, but he never
    did. However given this behavior I don't believe we ever
    should in the future. That is all. :)

     
  • Markus Magnuson

    Markus Magnuson - 2003-09-08

    Logged In: YES
    user_id=583162

    OK, so here you go. I haven't checked endianess, but I guess
    everything is LE except sizes. Those 28 unknown bytes are
    probably some limits and value intervals for tempo/velocity
    etc.

    Mac0
    --
    4 bytes - 'SOUN'
    BE 4 bytes - block length

    4 bytes - 'Mac0'
    BE 4 bytes - (blockLength - 27)
    28 bytes - ???

    do this three times (once for each channel):
    4 bytes - 'Chan'
    BE 4 bytes - channel length
    4 bytes - instrument name (e.g. 'MARI')

    do this for ((chanLength-24)/4) times:
    2 bytes - note duration
    1 byte - note value
    1 byte - note velocity

    4 bytes - ???
    4 bytes - 'Loop'/'Done'
    4 bytes - ???

    4 bytes - 0x09
    --

    Instruments:
    "MARI" - Marimba
    "PLUC" - Pizzicato Strings
    "HARM" - Harmonica
    "PIPE" - Church Organ?
    "TROM" - Trombone
    "STRI" - String Ensemble
    "HORN" - French Horn?
    "VIBE" - Vibraphone
    "SHAK" - Shakuhachi?
    "PANP" - Pan Flute
    "WHIS" - Whistle/Bottle
    "ORGA" - Drawbar Organ
    "BONG" - Woodblock?
    "BASS" - Bass

     
  • Markus Magnuson

    Markus Magnuson - 2003-09-08

    Logged In: YES
    user_id=583162

    uhm, that last 0x09 value is a single byte, not four bytes

     
  • Max Horn

    Max Horn - 2003-10-08

    Logged In: YES
    user_id=12935

    Assigning this to our music master blaster, Jamieson, in an
    attempt to coerce him into implementing this ;-).

     
  • Max Horn

    Max Horn - 2003-10-08
    • assigned_to: nobody --> jamieson630
     
  • Jamieson Christian

    Logged In: YES
    user_id=596642

    First-pass Mac0->GMD conversion code is in CVS. Tempo
    seems to be good. Instrument selections MUST be refined
    later on; current mapping sounds cruddy. Loop timing is a
    little off on most (but not all) looped songs; I don't know why
    just yet. And I think some notes might be missing in the
    conversion. There were a lot of suspicious-looking note
    events with noteNum == 1, which is way too low for any
    practical use. Right now I'm treating them the same as
    noteNum == 0, which is a rest.

    Well, it's something, at least. I'll try to refine it ATP.

     
  • Max Horn

    Max Horn - 2004-03-13
    • summary: Support music in the Mac version of MI1 --> AUDIO: Support music in the Mac version of MI1
     
  • Eugene Sandulenko

    • assigned_to: jamieson630 --> nobody
     
  • Eugene Sandulenko

    Logged In: YES
    user_id=166507

    Back to the pool.

     
  • Max Horn

    Max Horn - 2006-10-19
    • summary: AUDIO: Support music in the Mac version of MI1 --> AUDIO: Improve music in the Mac version of MI1
     
  • Max Horn

    Max Horn - 2006-10-19

    Logged In: YES
    user_id=12935

    Renaming this tracker item -- basic support for the music in MI1/Mac has been
    in there for years now, thanks to jamieson630, it just isn't quite finished/perfect
    yet.

     
  • digitall

    digitall - 2014-04-20

    Is this outdated? Can someone please test?

     
  • digitall

    digitall - 2014-04-20
    • Group: --> Engine: SCUMM