Cyberdemon
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom General > Adlib Tracking with Doom OPL instruments
 
Author
All times are GMT. The time now is 05:02. Post New Thread    Post A Reply
Super Jamie
Forum Staple


Posts: 2670
Registered: 03-08


I have been trying to learn FM synth lately and I wondered if it would be possible to extract the OPL timbres from the Doom WAD file and load them into something like Adlib Tracker II.

Looking at the info in the lump and the parameters for AT2 instruments, the data seems to correspond.
* http://doomwiki.org/wiki/GENMIDI
* http://www.adlibtracker.net/images/at2_02.png

Before I go ahead and spend the time, has anyone done this already and has the A2I files sitting around?

I see CSG has done the reverse: (ie. loading A2Is into GENMIDI)
* http://www.doomworld.com/vb/freedoom/58121-genmidi/

Old Post 01-11-12 23:47 #
Super Jamie is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
shadow1013
Junior Member


Posts: 228
Registered: 08-10


Ask fraggle, I think he happens to have some code to split them up, and he wrote csonicgo's code to make the a2i's to sbi to genmidi

Old Post 01-11-12 23:50 #
shadow1013 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Csonicgo
This post is probably useless


Posts: 3960
Registered: 03-04


Yeah, I'm working on making a new GENMIDI. thing is, I've been busy with college (I'm getting a music technology degree) and I've been working on real projects. when I get some time maybe this summer, I will finish it up. honestly, I was 1/2 way through already, when the OPL2 limitation kicked me in the nads. Since then it's been sticking to 4 waveforms, working with opl2 limitations, getting somewhat similar results. OPL2 is much harder to make good sounds with than OPL3, obviously.

Old Post 01-11-12 23:51 #
Csonicgo is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
fraggle
Super Moderator


Posts: 5999
Registered: 07-00


With the code I've written for Freedoom you can do exactly this. If you look in the genmidi directory there is a script called dumpgenmidi, which will write a bunch of SBI instrument files out, and output a config to stdout that matches the contents of config.py. You can load the SBI instruments using AT2.

Old Post 01-12-12 01:45 #
fraggle is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Csonicgo
This post is probably useless


Posts: 3960
Registered: 03-04


awesome, superjamie can help me out then. :3

Old Post 01-12-12 02:09 #
Csonicgo is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Super Jamie
Forum Staple


Posts: 2670
Registered: 03-08


I'm interested in making Adlib Tracker sound like Doom, not the other way round :P

Seriously tho give me a yell on on IRC, I'll help out if I can.

Fraggle: After fixing some indent errors I get

$ ./dumpgenmidi.py
File "./dumpgenmidi.py", line 67
return "Instrument(%s)" % (", ".join(args))
SyntaxError: 'return' outside function

Last edited by Super Jamie on 01-12-12 at 11:26

Old Post 01-12-12 11:16 #
Super Jamie is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
fraggle
Super Moderator


Posts: 5999
Registered: 07-00


There shouldn't be any indent errors. What did you have to fix?

Old Post 01-12-12 12:39 #
fraggle is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Super Jamie
Forum Staple


Posts: 2670
Registered: 03-08


Disregard, I'm an idiot. It helps if I clone your git instead of copy-pasting.

Currently rocking Doom pianos in AT2. Thank you so much :)

Old Post 01-12-12 12:48 #
Super Jamie is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
fraggle
Super Moderator


Posts: 5999
Registered: 07-00


Cool! Glad to hear it.

And if you're interested at all in helping to improve Freedoom's GENMIDI lump it would be greatly appreciated. There's a guide in README (HTML version here). I also drew up a list of things that need doing.

Old Post 01-12-12 14:39 #
fraggle is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
GeckoYamori
Junior Member


Posts: 172
Registered: 07-08


Alternatively if you can just view the info/settings for the patches you can then recreate them in any FM software. This is how I can very accurately mimic any Genesis/Mega Drive sounds I want in FM8, and since Doom has 2op that makes it twice as easy to recreate.

Old Post 01-12-12 16:20 #
GeckoYamori is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 05:02. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom General > Adlib Tracking with Doom OPL instruments

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Forums Directory