473,377 Members | 1,153 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,377 software developers and data experts.

pyFMOD problem

I am trying to use pyfmod in python to manipulate sound.
i have installed pyfmod, ctype, numarray (if they are necessary), i
also copied fmod.dll to python/DLLs as well as windows/system32, but
when i tried

import pyFMOD

I got:

Traceback (most recent call last):
File "<pyshell#0>", line 1, in -toplevel-
import pyFMOD
File "C:\Python24\Lib\site-packages\pyFMOD.py", line 177, in
-toplevel-
_FSOUND_Sample_Load = getattr(fmod, "_FSOUND_Sample_Load@16")
File "C:\Python24\Lib\site-packages\ctypes\__init__.py", line 323,
in __getattr__
func = self._StdcallFuncPtr(name, self)
AttributeError: function '_FSOUND_Sample_Load@16' not found
-------------------------------------
How can I deal with this?
Thanks!
Jul 18 '05 #1
1 2375
wa*********@gmail.com (Tian) writes:
I am trying to use pyfmod in python to manipulate sound.
i have installed pyfmod, ctype, numarray (if they are necessary), i
also copied fmod.dll to python/DLLs as well as windows/system32, but
First, you should copy fmod.dll to a directory somewhere where
LoadLibrary can find it. That includes directories on PATH, plus the
directory where the executable is. python/DLLs does probably not work.
when i tried

import pyFMOD

I got:

Traceback (most recent call last):
File "<pyshell#0>", line 1, in -toplevel-
import pyFMOD
File "C:\Python24\Lib\site-packages\pyFMOD.py", line 177, in
-toplevel-
_FSOUND_Sample_Load = getattr(fmod, "_FSOUND_Sample_Load@16")
File "C:\Python24\Lib\site-packages\ctypes\__init__.py", line 323,
in __getattr__
func = self._StdcallFuncPtr(name, self)
AttributeError: function '_FSOUND_Sample_Load@16' not found
-------------------------------------
How can I deal with this?
Thanks!


The fmod.dll that I just downloaded has a function named
'_FSOUND_Sample_Load@20', which indicates an api change (the number of
the '@' sign indicates how many bytes are needed as parameters).

Probably pyFMOD needs an older version of fmod.dll, or pyFMOD should be
updated?

Thomas
Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Bruce Davis | last post by:
I'm having a problem on windows (both 2000 and XP) with a multi-threaded tkinter gui application. The problem appears to be a deadlock condition when a child thread pops up a Pmw dialog window in...
0
by: Tian | last post by:
I am trying to use pyFMOD, I have installed all other supporting libraries (hopefully), such as ctypes, numarray, I also installed FMOD itself and copied its DLL files to python/DLLs. When I try to...
6
by: Marian Aldenhövel | last post by:
Hi, I am using the FMOD audio-library with the pyFMOD python bindings. pyFMOD uses ctypes. It is possible to register callback functions with FMOD that are called at certain points in the...
11
by: Kostatus | last post by:
I have a virtual function in a base class, which is then overwritten by a function of the same name in a publically derived class. When I call the function using a pointer to the derived class...
117
by: Peter Olcott | last post by:
www.halting-problem.com
28
by: Jon Davis | last post by:
If I have a class with a virtual method, and a child class that overrides the virtual method, and then I create an instance of the child class AS A base class... BaseClass bc = new ChildClass();...
6
by: Ammar | last post by:
Dear All, I'm facing a small problem. I have a portal web site, that contains articles, for each article, the end user can send a comment about the article. The problem is: I the comment length...
16
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by...
2
by: Mike Collins | last post by:
I cannot get the correct drop down list value from a drop down I have on my web form. I get the initial value that was loaded in the list. It was asked by someone else what the autopostback was...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.