fmod help

Blitz3D Forums/Blitz3D Programming/fmod help

Guy Fawkes(Posted 2008) [#1]
What's up w/ the fmod dlls? I put the userlibs in the userlib folder in the blitz3d folder, and when i try to compile like demo_midi.bb it crashes both in debug and regular then says 'userlib cannot be found' but i KNOW it is there.

~DarkShadowWing~


Bobysait(Posted 2008) [#2]
1/ Did you restart blitz3D? ( commands are highlighted ?)
2/ Are you sure every command refer to a good dll function ?


Guy Fawkes(Posted 2008) [#3]
yes to both questions.


Bobysait(Posted 2008) [#4]
Ok, maybe you need to update your bass.dll to last version +> Copy the dlls in windows/System32/ then run the code, it should work


Guy Fawkes(Posted 2008) [#5]
which dlls would that be?


Bobysait(Posted 2008) [#6]
look at this topic:
http://www.blitzbasic.com/toolbox/toolbox.php?tool=207



and eventually a kit of sound for midi to copy in "windows/system32"

Default "Creative Labs" GM midi soundfont (4 mb version): http://www.abrexxes.huntingsoftware.de/blitz/CT4MGM.zip (3,8 mb) You need BBS version 1.6.0 or highter)




Guy Fawkes(Posted 2008) [#7]
how to use the 2nd 1?


LineOf7s(Posted 2008) [#8]
Sorry if I'm horribly wrong, but isn't DarkShadowWing asking about fmod, and Bobysait is talking about the (excellent) wrapper for Bass?

ie two different things

Which wrapper are you using for fmod, DSW? Off the top of my head, I didn't think anyone had done one for Blitz3D. You should have a .decls file as well as the .dll files for it...


Guy Fawkes(Posted 2008) [#9]
i thought fmod was the wrapper. lol

and yes i have the decls.


Guy Fawkes(Posted 2008) [#10]
the line that screws up is this.

music  = BASS_MIDI_StreamCreateFile(0,file1$,0,0,0,0) ; we load a midi file

If Not BASS_ChannelPlay (music,0) RuntimeError "Midi file not ready!" ; we play the file



Bobysait(Posted 2008) [#11]
refering to the "demo_midi.bb" I thought DarkShadowWing talked about BassMod ( the extended version of Bass )