Search found 9 matches

by tashiy
Sun Jun 24, 2012 5:35 pm
Forum: General Discussion
Topic: Extract/Convert Adlib Instruments
Replies: 20
Views: 11670

An OPL channel consists of two operators. Player::setupChannel loads the 0xC0 register and calls Player::setupOperator twice, first with offset 0 to write parameters to first operator and then with offset 3 to write parameters to second operator. Ah ok then all the 0x23,0x43,0x63,0x83,0xE3 are load...
by tashiy
Sun Jun 24, 2012 8:33 am
Forum: General Discussion
Topic: Extract/Convert Adlib Instruments
Replies: 20
Views: 11670

Thanks a lot for guiding me through the data jungle :) In adplayer.cpp I only see the following register adresses: Player::setupChannel 0xC0 Player::setupOperator 0x20 0x40 0x60 0x80 0xE0 Where are the others you listed? However I looked at the adplug sources. I have not found mid.c. I also looked i...
by tashiy
Thu Jun 21, 2012 5:43 pm
Forum: General Discussion
Topic: Extract/Convert Adlib Instruments
Replies: 20
Views: 11670

Thank you Jepael. I had problems to see the byteorder In the sourcecode I see the OPL Register addresses like 0x20, 0x40, 0x20. I think data get written there to control the fm synth. But I don`t understand the order from the the 11 instrument bytes. If I understand the code right the procedure Play...
by tashiy
Wed Jun 20, 2012 8:00 pm
Forum: General Discussion
Topic: Extract/Convert Adlib Instruments
Replies: 20
Views: 11670

I see much info regarding noteFrequencies and things like uint8_t instruments in lordhoto`s sourcecode . In the following link i found the register information from the OPL Chip in the moddingwiki. Sadly that all over my head. I can`t really see any connection and dependencies in the specification a...
by tashiy
Wed Jun 20, 2012 6:58 pm
Forum: General Discussion
Topic: Extract/Convert Adlib Instruments
Replies: 20
Views: 11670

No, they cannot be directly imported. The .laa files are extracted adlib audio resource data from Monkey Island. You need to look inside the .laa file yourself somehow (hex editor, C code) and see the exact OPL register settings for all the 8 instruments. That is about ten bytes per instrument, muc...
by tashiy
Wed Jun 20, 2012 6:08 am
Forum: General Discussion
Topic: Extract/Convert Adlib Instruments
Replies: 20
Views: 11670

There is a DOS program called SBTimbre that you can enter instrument parameters and use MIDI interface to play the sounds with MIDI keyboard. Nice, didn't know something like this existed. However, tashiy would of course still need to look up the parameters, or find someone to do it for them. But t...
by tashiy
Tue Jun 19, 2012 3:03 pm
Forum: General Discussion
Topic: Extract/Convert Adlib Instruments
Replies: 20
Views: 11670

Thank you for your detailed answer!

Then I try to sample some sounds from the games. Maybe I find some parts of the game where instruments are played only one note at a time.

I wish I can programm some midi controlled scummvm synth. But I can`t programm. I know thats a common excuse.
by tashiy
Tue Jun 19, 2012 11:44 am
Forum: General Discussion
Topic: Extract/Convert Adlib Instruments
Replies: 20
Views: 11670

I read there is adlib support in scumm vm. Because of that I think the OPL FM Synthesizer chip must be emulated. http://wiki.scummvm.org/index.php/User_Manual/Appendix:_Music_and_sound This is also an interesing tread about the opl emulation: Source: http://forums.scummvm.org/viewtopic.php?t=11012&s...
by tashiy
Tue Jun 19, 2012 9:44 am
Forum: General Discussion
Topic: Extract/Convert Adlib Instruments
Replies: 20
Views: 11670

Extract/Convert Adlib Instruments

Hi all I really like the Adlib sound from the old Lucas Arts Adventures Games (specially Monkey1/2). Is there a possible way to convert single instruments to wave samples from the games? I know Adlib have a Yamaha 2OP FM chip. Therefor the instruments have to be emulated. Would be great to create so...