Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when converting a specific wav file. #21

Open
krperry opened this issue Oct 1, 2023 · 1 comment
Open

Crash when converting a specific wav file. #21

krperry opened this issue Oct 1, 2023 · 1 comment

Comments

@krperry
Copy link

krperry commented Oct 1, 2023

I was converting my own numbers from 0 to 9. I know they already exist it was just a test. All converted but the number nine. I will try to attach it here but first here is the error I got:

Before the error I just tried to attach the wav file and it would not let me. Here is a drop box link to it:
https://www.dropbox.com/scl/fi/po3fjhaz8o53109iprrhn/Nine.wav?rlkey=fzpojpkuvc55ftupp92xe304n&dl=0

After you try it I will remove the link kbut for now it will be up there.

Note I tried this with python 3.11 and 3.8.9
I would rather not go back to 2.x if I don't need to.
Traceback (most recent call last):
File "C:\data\python_wizard\python_wizard", line 87, in
result = BitPacker.pack(x)
File "C:\data\python_wizard\pywizard\FrameDataBinaryEncoder.py", line 18, in pack
parametersList = [ x.parameters() for x in frameData ]
File "C:\data\python_wizard\pywizard\FrameDataBinaryEncoder.py", line 18, in
parametersList = [ x.parameters() for x in frameData ]
File "C:\data\python_wizard\pywizard\FrameData.py", line 37, in parameters
self._parameters = self.parametersWithTranslate(False)
File "C:\data\python_wizard\pywizard\FrameData.py", line 47, in parametersWithTranslate
parameters["kParameterGain"] = self.parameterizedValueForRMS(self.reflector.rms, translate=translate)
File "C:\data\python_wizard\pywizard\Reflector.py", line 76, in rms
return self.codingTable.rms[CodingTable.kStopFrameIndex - 1]
NameError: name 'CodingTable' is not defined

@krperry
Copy link
Author

krperry commented Oct 1, 2023

I should mention I used this as a command:
python python_wizard my.wav -f arduino -S -p > my.h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant