gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > [help wanted] MIDI synth using soundfont + hardware

#164642 - theli - Tue Nov 11, 2008 5:13 pm

split from http://forum.gbadev.org/viewtopic.php?t=14959 since these are not much of announcements

well.... that's what i have for now (sounds better):
http://theli.ho.ua/temp/playmidi_sf2_no$gba.rar - for testing in no$gba (fscr image appended)
http://theli.ho.ua/temp/playmidi_sf2_hw.rar ( nds + data files)
http://theli.ho.ua/temp/playmidi_sf2.rar - source + data

and it hurts (yeah, sounds i have to listen to too) my head already sooo much....
any help is desperately needed!
anyone wants to work on this?

i want this for such projects as openttd, wolf3d, scummvm, doom and others (ports of old games which utilized midi hardware for music)
source removed up until the new devkitARM+libnds released
soundfont specs: http://connect.creativelabs.com/developer/SoundFont/sfspec21.pdf

ps: midi/mus parsers are not perfect for now (most midis won't play correctly) as main idea was to write a synth


Last edited by theli on Wed Jan 14, 2009 11:51 am; edited 8 times in total

#164643 - a128 - Tue Nov 11, 2008 5:33 pm

post the source and there will be some help I am sure

#164644 - theli - Tue Nov 11, 2008 6:08 pm

a128 wrote:
post the source and there will be some help I am sure

i had no help with midi synth for half a year since i started to try to create it in mentioned topic ;)
i'll post source later, of course

#164645 - hacker013 - Tue Nov 11, 2008 6:47 pm

maybe i can help
_________________
Website / Blog

Let the nds be with you.

#164646 - theli - Tue Nov 11, 2008 6:59 pm

i've edited first post to point to sourcecode
code is not very good but this is what i worked out for two days

#164774 - Lazy1 - Wed Nov 19, 2008 9:42 pm

E2M1 Sounds pretty good so far!

I'm not much with audio but I'll take a look anyway :D

#164803 - theli - Fri Nov 21, 2008 9:49 pm

i've updated builds... i've added simple MUS parser just to hear how doom's mus files would sound .. though i haven't progressed on synth ( as i have a close to zero knowledge of sound/music/synth :) )
btw, in binary builds there is a possibility to return to tune select by pressing B

#164873 - theli - Fri Nov 28, 2008 11:35 am

i've updated binary preview builds .. i slightly reduced cpu and memory usage.. finally tested on hardware and fixed some bugs which prevented this to work on hw...
now it sounds better.. but still far from "good"
also i've tested this with some bigger (4M - 10M) soundfonts .. should work (unless you press "yes" when asked if you want to preload all samples :) )

also, i removed sourcecode up until the new devkitARM+libnds are released

also, take into account that without preloading samples you'll get missing notes when playing tune for first time

#165958 - theli - Wed Jan 14, 2009 11:52 am

ok, so i've had some free time and finally upgraded to latest devkitARM :)
so i've updated a source to compile with it ... surprisingly, it required only a several changes
so i've uploaded source back and put a link in first post...

still noone interested? :(

#165970 - hacker013 - Wed Jan 14, 2009 7:40 pm

hacker013 wrote:
maybe i can help


i don't have the time anymore.
_________________
Website / Blog

Let the nds be with you.

#166409 - hacker013 - Sat Feb 07, 2009 2:40 pm

i think i have some time now, andare there new updates?
_________________
Website / Blog

Let the nds be with you.