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

decoding dtmf in real time #3

Open
denizsincar29 opened this issue Oct 4, 2022 · 0 comments
Open

decoding dtmf in real time #3

denizsincar29 opened this issue Oct 4, 2022 · 0 comments

Comments

@denizsincar29
Copy link

hello. recently i cloned this repozitory and wanted to make it decode dtmf in real time. but i couldn't figure out how to do that.
i'm blind and i use a screenreading software to write this issue, so maybe markdown can be a little wrong.
the template is like this:

import sounddevice as sd
def callback(indata,frames,time,status):
    pass

with sd.InputStream(samplerate=48000,channels=1,dtype='float32',callback=callback):
    while True:
        continue

callback receives the data from the microphone.
please can you tell me how to implement that?

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