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

Small request #16

Open
0W1audio opened this issue Jul 14, 2019 · 0 comments
Open

Small request #16

0W1audio opened this issue Jul 14, 2019 · 0 comments

Comments

@0W1audio
Copy link

Hello Zach,

I just discovered your wavebender that is sounding close to what I was looking for !

I want to create a codec test.
= Send continuous full scale signal on one channel and Digital Silence on the other.

I suppose that I don't need to send sine or square or Noise, just max sample amplitude and min sample amplitude.

This should sound trivial to you, but not to me !
Could you help, please ?

For your information, on the Raspberry Pi some of your example are working, some not.
python whitenoise.py | aplay = OK
python square.py | aplay = OK
python relaxing.py | aplay = OK
python violin.py | aplay = OK but there are underrun
Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
underrun!!! (at least 191.995 ms long)
underrun!!! (at least 194.765 ms long)
underrun!!! (at least 198.716 ms long)
underrun!!! (at least 49.127 ms long)
underrun!!! (at least 202.240 ms long)
underrun!!! (at least 53.436 ms long)

python sbagen.py | aplay = ERROR
aplay: read_header:2834: read error

damped.py / focus3.py and binaral.py => same error (Just a brief tone and the following error):
Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Traceback (most recent call last):
File "damped.py", line 28, in
write_wavefile(stdout, samples, None)
File "/usr/local/lib/python2.7/dist-packages/wavebender/init.py", line 98, in write_wavefile
w.writeframesraw(frames)
File "/usr/local/lib/python2.7/dist-packages/wavebender/wave.py", line 435, in writeframesraw
self._file.write(data)
IOError: [Errno 32] Broken pipe
Exception IOError: IOError(29, 'Illegal seek') in <bound method Wave_write.del of <wavebender.wave.Wave_write instance at 0x7649a238>> ignored

Best regards,
Jean

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