Skip to main content

Python bindings to the Fmod Ex library.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyfmodex-0.3.1.zip (28.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyfmodex-0.3.1-py2-none-any.whl (28.0 kB view details)

Uploaded Python 2

File details

Details for the file pyfmodex-0.3.1.zip.

File metadata

  • Download URL: pyfmodex-0.3.1.zip
  • Upload date:
  • Size: 28.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyfmodex-0.3.1.zip
Algorithm Hash digest
SHA256 1349db4742eb4b6fa5561f4d4ce3cc6899c95799a214f8229d9fb727d198871f
MD5 bca77462093eba3bdbef791317284825
BLAKE2b-256 0b02c9b5fa57d8aada6de0a05562b7667232c7536ba2f2a6255f9978a99d4280

See more details on using hashes here.

File details

Details for the file pyfmodex-0.3.1-py2-none-any.whl.

File metadata

File hashes

Hashes for pyfmodex-0.3.1-py2-none-any.whl
Algorithm Hash digest
SHA256 b4c4f321067a95aba4fb3167854120965c7cd046abaab897e68797b8395ea348
MD5 71741ea33ebd638a5c76b03b25a536ea
BLAKE2b-256 4ad710dbc867644e8edf08e707f126e80743b84c42e6d8b9b033f0df54481fec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page