bert2/DtmfDetection

Identify dtmf microphone in the L and R channels separately

evedostomazi opened this issue · 5 comments

Is it possible to implement this procedure in the current dll ? If so, could you please send me a sample code?

bert2 commented

Analyzing all channels separately is currently not possible. Your only option is splitting the input stream in your application and analyzing both streams.

However this is of course quite inefficient. So multi channel support definitely makes sense, but requires quite a few changes and I'm not sure when I'll find the time to implement it.

Could you provide me an audio file with different DTMF tones on separate channels for testing?

Yes , when I finish the file production , I send to you the link to download.

bert2 commented

Ignore the above commit reference. That was a typo. Actually issue #2 has been fixed with the commit mentioned above. Issue #3 is still open and in progress now.

bert2 commented

The issue has been fixed and updated NuGet packages have been released. It is now possible to analyze each audio channel of multi-channel audio separately. However, by default this is deactivated and a (now proper) conversion to mono is done first. It can be activated by setting the forceMono flag of the DtmfTones() method or the LiveAudioDtmfAnalyzer() constructor to false.
See the updated examples in the README or the integration tests for more.

Thank you very much, here it is working correctly.
Now I want to learn how to control the volume, and if I can make mp3 recordings of the conversations.