You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to convert Saleae logicpro pcm file to wav,
But it shows some issue.
UnboundLocalError 'channels'
File "D:\python_project\pcm2wav2\PCM2Wav\PCM2Wav.py", line 54, in _generate
frame = self._calc_frame(channels)
UnboundLocalError: local variable 'channels' referenced before assignment
short variable format issue.
Source code only support 'short' variable format:(-32768) <= supported value <= 32767
So, it makes error when value is out of range.
Some value was 65532,......
Can I modify "__formats = {1: 'c', 2: 'h'}" --> __formats = {1: 'c', 2: 'i'}?
Can somebody share good example of csv file working with this source code?
I'd like to convert Saleae logicpro pcm file to wav,
But it shows some issue.
File "D:\python_project\pcm2wav2\PCM2Wav\PCM2Wav.py", line 54, in _generate
frame = self._calc_frame(channels)
UnboundLocalError: local variable 'channels' referenced before assignment
Source code only support 'short' variable format:(-32768) <= supported value <= 32767
So, it makes error when value is out of range.
Some value was 65532,......
Can I modify "__formats = {1: 'c', 2: 'h'}" --> __formats = {1: 'c', 2: 'i'}?
i2s.zip
The text was updated successfully, but these errors were encountered: