Results 1 to 15 of 15

Thread: fmod (audio library) - vb api wrapper - with examples

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2009
    Posts
    489

    fmod (audio library) - vb api wrapper - with examples

    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
    Attached Files Attached Files
    Last edited by whatsup; May 6th, 2010 at 04:41 AM.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: fmod (audio library) - vb api wrapper - with examples

    What fix?

    I think you are missing an attachment.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2009
    Posts
    489

    Re: fmod (audio library) - vb api wrapper - with examples

    you think right, and i updated it now.

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2009
    Posts
    489

    Re: fmod (audio library) - vb api wrapper - with examples

    updated a link for download the fmodex.dll

  5. #5
    New Member
    Join Date
    Apr 2010
    Posts
    3

    Question Re: fmod (audio library) - vb api wrapper - with examples

    SuperJob, Thank you very much.

    Did you ever manage to get the recording samples working as well? That would help me with my project.


  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2009
    Posts
    489

    Re: fmod (audio library) - vb api wrapper - with examples

    no, i didn't test the recording stuff yet.

  7. #7
    New Member
    Join Date
    Apr 2010
    Posts
    3

    Thumbs up Re: fmod (audio library) - vb api wrapper - with examples

    Attached are the updated .vbp's for these.
    Attached Files Attached Files
    Last edited by PhilipLyra; Apr 14th, 2010 at 03:28 AM. Reason: added zipfiles

  8. #8

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2009
    Posts
    489

    Re: fmod (audio library) - vb api wrapper - with examples

    thank you for that.
    i tried to implement some effects, found some bugs, fixed them and now everything works fine.

    effects examples updated.
    Last edited by whatsup; Apr 14th, 2010 at 01:14 PM.

  9. #9

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2009
    Posts
    489

    Re: fmod (audio library) - vb api wrapper - with examples

    updatet with new release

  10. #10
    Fanatic Member
    Join Date
    Mar 2009
    Posts
    804

    Re: fmod (audio library) - vb api wrapper - with examples

    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.

  11. #11

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2009
    Posts
    489

    Re: fmod (audio library) - vb api wrapper - with examples

    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.
    Last edited by whatsup; Apr 18th, 2010 at 02:12 PM.

  12. #12
    New Member
    Join Date
    Oct 2009
    Posts
    5

    Re: fmod (audio library) - vb api wrapper - with examples

    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.

  13. #13
    Fanatic Member Black_Storm's Avatar
    Join Date
    Sep 2007
    Location
    any where
    Posts
    575

    Re: fmod (audio library) - vb api wrapper - with examples

    hi i downloaded this attachment but i can not find fmod 43001 in fmod.com or fdmod.org download page,because it is not availble,any here has this version to i can use source codes downloaded?
    i need fmodex.dll version 43001 used in #1 thread

  14. #14
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    5,872

    Re: fmod (audio library) - vb api wrapper - with examples


  15. #15
    Lively Member
    Join Date
    Oct 2009
    Location
    Gran Canaria, Spain.
    Posts
    101

    Re: fmod (audio library) - vb api wrapper - with examples

    Quote Originally Posted by Black_Storm View Post
    hi i downloaded this attachment but i can not find fmod 43001 in fmod.com or fdmod.org download page,because it is not availble,any here has this version to i can use source codes downloaded?
    i need fmodex.dll version 43001 used in #1 thread
    I found V4.30.1 @ 386kb Created 02 August 2011

    I don't think I am allowed to upload it to the Forum though

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width