Autor Tema: FMOD Ex bindings  (Leído 4221 veces)

0 Usuarios y 1 Visitante están viendo este tema.

Desconectado josebita

  • Administrator
  • Hero Member
  • *****
  • Mensajes: 4038
  • Karma: 257
  • Sexo: Masculino
    • Ver Perfil
    • BennuGD Mobile Worklog
FMOD Ex bindings
« en: Septiembre 17, 2010, 03:44:50 pm »
I'm creating some simple FMOD Ex bindings for BennuGD, not only for playback but also for mic. processing. Yesterday I got microphone spectrum analysis (FFT) working, and it's pretty simple to use. The module's API is not yet finished, but I have it working in Linux, MacOS X and win32. If anybody is willing to give it a try, please let me know.



PS: The bars on the bottom-left part of the window are actually the spectrum as captured by my computer's mic. As I was speaking softly, they're small in size and as they are pretty low-freq, they're in the left part of the screen.

Desconectado FreeYourMind

  • Hero Member
  • *****
  • Mensajes: 5531
  • Karma: 125
  • Sexo: Masculino
    • Ver Perfil
    • GECA soft
Re: FMOD Ex bindings
« Respuesta #1 en: Septiembre 17, 2010, 03:50:18 pm »
I give a try to the photo, if you want i try something else, let me know  ;D ;D

Desconectado josebita

  • Administrator
  • Hero Member
  • *****
  • Mensajes: 4038
  • Karma: 257
  • Sexo: Masculino
    • Ver Perfil
    • BennuGD Mobile Worklog
Re: FMOD Ex bindings
« Respuesta #2 en: Septiembre 19, 2010, 02:42:59 am »
As promised, the example code for a very simple mic spectrum analyser.

MacOS X: http://www.megaupload.com/?d=WLZ8VRU3
Win32:     http://www.megaupload.com/?d=Z77XXY7U
Linux:      http://www.megaupload.com/?d=5QHIV7WF

Comments:
* As I said, the API in still unfinished. Some functions/global vars might change their name or the way they need to be used.

* MacOS X: Uncrompress in a path without spaces and double click the .app file inside.
* Windows: Uncrompress and run main.exe
* Linux: Uncompress to a route without spaces and double-click runme.sh

* You can also use the MacOS X package as a packaging example for your games in MacOS X. As long as the path to the file doesn't cantain spaces, it'll work fine.
* The MacOS X & win32 packages contain the latest binary version of BennuGD. The Linux version assumes BennuGD is already installed in your system, as done by the official installer or the packages in my PPA.