EliasOenal / multimon-ng

GNU General Public License v2.0
947 stars 210 forks source link

Piping sox microphone audio into multimon-ng #158

Open DanCRichards opened 4 years ago

DanCRichards commented 4 years ago

I'm not entirely certain how to do this. My knowledge with sox and Multimon is very limited. I think that is the real issue.

I have tried different commands to get this to work

I have used my phone's keypad for testing the following code:

multimon-ng -a dtmf - sox -d -p | multimon-ng -a dtmf -

What is the process to do this?

DanCRichards commented 4 years ago

@EliasOenal Any thoughts on this?

snailcatcher commented 4 years ago

@DanCRichards Hi Dan, first of all your question does not really belong here, because it is not an issue! Pls read the docs or look how other projects like BOSWatch implement it. I don't know much about sox so you have to solve the part where sox writes to stdout yourself. This should be possible with the documentation.

For multimon itself you must look what format sox writes to stdout, if you can chosse use "raw" after the pipe this should be what you want: multimon-ng -t raw /dev/stdin just add the filters you want.