Click to See Complete Forum and Search --> : fmod (audio library) - vb api wrapper - with examples
whatsup
Mar 9th, 2010, 01:39 PM
this is a fix i made to the vb version of the fmod api
the original version didn't work,
so i looked in the C version that did work, and fixed the vb ver + tested it with some of the examples, and it works now.
the fmod is an audio library, instead of using mci/directshow/wmp
you can use this lib.
why to use it,
my reason was simple,
mci and directshow couldn't play all mp3 i have,
though they could play most of them, but there were some that they couldn't,
windows media player could play the ones that mci/directshow couldn't,
but i didn't want to depend on it.
edit: forgot to mention
you need the dll for this to work
you can download it here
http://www.fmod.org/index.php/download
Hack
Mar 9th, 2010, 01:46 PM
What fix?
I think you are missing an attachment. :)
whatsup
Mar 9th, 2010, 02:09 PM
you think right, and i updated it now.
whatsup
Mar 9th, 2010, 04:57 PM
updated a link for download the fmodex.dll
PhilipLyra
Apr 4th, 2010, 04:06 PM
SuperJob, Thank you very much.
Did you ever manage to get the recording samples working as well? That would help me with my project.
:wave:
whatsup
Apr 6th, 2010, 07:38 PM
no, i didn't test the recording stuff yet.
PhilipLyra
Apr 14th, 2010, 03:25 AM
Attached are the updated .vbp's for these.
whatsup
Apr 14th, 2010, 01:06 PM
thank you for that.
i tried to implement some effects, found some bugs, fixed them and now everything works fine.
effects examples updated.
whatsup
Apr 16th, 2010, 06:30 AM
updatet with new release
VBClassicRocks
Apr 18th, 2010, 07:30 AM
I've worked with FMod and Bass for a while now. It's obvious that
VB is an afterthought for both developers. For example, all of the
FMod examples use the following construct:
ERRCHECK (result)
When it should be ERRCHECK result OR Call ERRCHECK(result)
I also noticed that your Recording example still has the dreaded End statement.
whatsup
Apr 18th, 2010, 10:24 AM
errorcheck is working both ways
also other functions can be written like this
about the examples.
if a project could start and end (with some colicks here and there) without crashing i assumed this as a working project
because i just fixed the API decleration not the examples themselves.
lenourien
Mar 16th, 2011, 10:14 PM
hello everybody,
the recording examples don't work for me.
I select the output type as DirectSound, then when I want to select the record driver (it correctly shows me make sound card input driver) it says
FMOD Error! (37) An invalid parameter was passed to this function.
the function is FMOD_System_CreateSoundEx and I am not sure but the wrong parameter seems to be the second one (ByVal Name_or_data As String) which value is 0 (so not a string). I don't know how to correct that.
Should I change the value in the function to accept a long or should a provide a string? in that case, what string?
Can anybody please help???
Many thanks in advance.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.