-
Notifications
You must be signed in to change notification settings - Fork 7
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
Running errors and what I think are logical errors #3
Comments
Thanks @mostcat now that you've reported this I think what I will do is make a github workflow and add some tests for python 3.9-3.11, I originally wrote this I think it was just after python 3 came out and it was a learning project! But I'm really happy someone else uses it :D I'll adress those fixes in a couple of days and hopefully make the whole thing a bit more robust. I can ping you on the pull request if you're interested in reviewing it! |
I'm happy to be involved in maintaining |
Nice, I have a bunch of raspberry pis at home, they're awesome! And yeah, DTMF is old, but so am I ;) I've made a PR, it's still 100% WIP but basically the idea is that i will make a cli that is a bit more robust and compatible with the previous implementation (e.g. send a bunch of letters)
currently I did the audio playback with a blocking implementation and started on a non-blocking implementation which might be useful but it should probably be done with asyncio rather than callbacks (it's just that pyaudio uses callbacks so i'll just start with that, it's probably enough, i think i might just add a simple queue implementation instead which the callback can read from until it runs out!) you can see the in progress PR here: #4 |
This should be pretty much done. There are some features that are partially implemented, but i'm happy to work on them if they're used, otherwise anyone is free to submit a PR with fixes, additions, tests, etc :) let me know if you have any issues!! |
Your problem is fixed quickly, kudos to you. |
env:
The error is concentrated in this sentence:
Error1:
Error2:
sr*int(length))
int(length) = int(0.25) = 0
After fixing the above 2 errors, you can dial normally through the phone handset
The text was updated successfully, but these errors were encountered: