Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
 


Go Back   Oddworld Forums > Zulag One > Oddworld Discussion > Oddworld Mods & Hacks


Reply
 
Thread Tools
 
  #1  
Old 04-12-2015, 01:28 PM
Paul's Avatar
Paul Paul is offline
Outlaw Sniper
 
Join Date: Jun 2007
Location: MilkyWay
Posts: 1,534
Rep Power: 14
Paul has learned amuch throughout their quest (675)Paul has learned amuch throughout their quest (675)Paul has learned amuch throughout their quest (675)Paul has learned amuch throughout their quest (675)Paul has learned amuch throughout their quest (675)Paul has learned amuch throughout their quest (675)
Default AO and AE music format

In this thread: http://www.oddworldforums.net/showthread.php?t=21492

Mlg man managed to get a sound font and some midi's working from AE using fluidsynth. I've found that on Linux fluidsynth seems to be really buggy.

As part of this project: https://github.com/paulsapps/alive I want to implement a music player that runs on the native file formats. But I need someone who is good with PSX sound/sound fonts/midi to help explain how it all fits together.

E.g a the SEQ/MIDI data will play a "tone" on a "channel" from the active "program". Each tone in a program links up to a structure that has the offset into sounds.dat with the sample rate and size in bytes. Yet when I try this in the real engine the sounds do not match at all, and using the sample rate given in the info that tells me where the offset is in sounds.dat isn't always right either :S

Anyway, the plan is to write some code that will use fluidsynth API to generate a soundfont from the vb/vh/sounds.dat, loads the SEQ data in memory, patch a standard midi header into it and play that. That should open the door for replacing fluidsynth if need be, or at least have working music on one platform for now.

Edit: Now at a point where playing midi works, but getting fluidsynth to use the sounds.dat samples is.. frustrating. I don't understand how a program/preset/patch relates to a midi key/velocity.
__________________
[ http://www.paulsapps.com ]

Crawling sligs will shout "Mommy!" while running around and then the slig mommy will appear and help them put their pants on.


Last edited by Paul; 04-19-2015 at 03:24 PM..
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules

Smilies are On
[IMG] code is On
HTML code is On
Forum Jump



All times are GMT -8. The time now is 04:47 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.

Please note that the Oddworld Forums are not affiliated with Oddworld Inhabitants.