Guestbook

Thursday, January 29th, 2009 at 22:29
  • Jan 29th, 2009 at 23:18 | #1

    Howdy Sascha,

    nice blog ye got there. I really like your orthometer class.

  • Cassio
    Feb 7th, 2009 at 05:43 | #2

    Hello Sascha Hennig, okay?

    I read part of his tutorial on using the FMOD API. I did download the files on your site more when I run an error message saying “The system can not find the file selected.”
    I want to put functions to enable sounds in my MASM code, if you have files I would be very grateful

    Cássio Marinho
    Brazil

    • Feb 7th, 2009 at 19:17 | #3

      Howdy Cássio.

      This is due to the fact that I did not include any .mod (music) file in the archive (because I am not a good mod maker myself and other mods are copyrighted). Same as if you wrote an MP3-Player and tell it to play a file which does not exist. If you download a “*.mod” file from the internet, put it into the folder where you extracted the archive to and rename it “modname.mod” the compiled executable should work. This is because the filename of the music-file is hardcoded for simplicity, so the code is easier to understand.

      If you want to use the FMOD API with MASM and dont really care how to create your own header and library files I would suggest to go with the third archive and use those header and library files which you can find in the sub-directory called “./usethose” ;) Note that they where created for FMOD 3.75 – so if you want to use the newest FMOD libraries you would have to create your own header and library files.

      Hope I could help, have a nice day,
      Sascha

  • Feb 8th, 2009 at 19:13 | #4

    Hello Sasha!

    The program is working in formato.MOD
    But I need to play the audio in a format popular (wave). You tell me how to do it?

    Have a nice day!
    Cássio
    Manaus, Brazil

    • Feb 8th, 2009 at 19:25 | #5

      Well, I was not planning on writing a tutorial about FMOD itself, after all there are loads of them in the net. A great and simple to follow one you can find here:

      http://www.gamedev.net/reference/articles/article2098.asp

      It obviously is not for MASM, on the other hand it shouldnt be a problem to convert: include the library and header files at the top of your project and just use the invoke wrapper to call the functions from the dll which the mentioned tutorial states. There is a part explicitly talking about working with MP3 and WAV files.

  • Cassio
    Feb 8th, 2009 at 20:04 | #6

    You know a program that converts files:

    . Wave/MP3 MOD for …?

  • Cassio
    Feb 8th, 2009 at 20:40 | #7

    I need to place a recorded sound of my voice and put in the program (in MASM). How to make an audio and save as. MOD?

    Sorry for all questions.Você was my light at the end of the tunnel

    • Feb 19th, 2009 at 12:02 | #8

      Took me a few days of thinking about how to put it. Well, no I wont be helping you with those requests. Not that I am not helpful. I will help if help is needed. Doing things for someone which he could easily do himself or could learn for himself with a little bit of work is actually quite the opposite of helping – it interferes with the growth of that person. Helping with something the other person wont be able to comprehend is the same – the person wont be able to learn anything from the help. It is just someone else doing the persons work.

      I already gave you some advice though.I told you to follow the tutorial linked above, which you obviously have not, else you would know that you dont need (cant even) convert a wav/mp3 to mod, but load the wav/mp3 using the functions given in the mentioned tutorial.

      That was another reason I took a few days to respond. Maybe you have already tried to solve those questions yourself – well or maybe you have given up. Either way is better for us both than me doing your work :)

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>