skip to navigation
skip to content

Not Logged In

pyfmodex 0.3.1

Python bindings to the Fmod Ex library.

Latest Version: 0.3.2

This is pyfmodex a fmod ex binding using ctypes.

Installation

For installation, first make sure that you have the fmod ex library for you platform somewhere on your path, so python will be able to find it. For download visit http://fmod.org/fmod-downloads.html. Ignore everything except the fmod ex api, there are numerous things which will try to distract you. Next, execute: setup.py install. You might be required to add python as first think of this command. And on linux don’t forget to run this command with superuser rights (sudo or su root). Usage —– To verify if everythink works, open python interactive interpreter and try importing pyfmodex: `python import pyfmodex ` If there is no error, good. It worked. Playing a sound is a little bit complicated, but nothing horrible: `python import pyfmodex system = pyfmodex.System() system.init() sound = system.create_sound("somefile.mp3") sound.play() ` Of course, somefile.mp3 must be replaced with somethink that actually exists. Here, i used the default parameters and not used features like 3d positioning. For more info, you can using dir function and of course the source. Python 3 compatibility ———————- Pyfmodex works with python 3 (tested in version 3.3, older may work). Note that because of some changes in the ctypes library in python 3, you must pass string sto pyfmodex as byte strings for now.

 
File Type Py Version Uploaded on Size
pyfmodex-0.3.1-py2-none-any.whl (md5) Python Wheel 2.7 2014-08-25 27KB
pyfmodex-0.3.1.zip (md5) Source 2014-08-25 27KB
  • Downloads (All Versions):
  • 28 downloads in the last day
  • 92 downloads in the last week
  • 289 downloads in the last month