Skip to content

decoding dtmf in real time #3

@denizsincar29

Description

@denizsincar29

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions