-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add Support for Processing Tone Detection Against a Static Audio File via Command Line #9
Comments
@MaxwellDPS I am not sure what you mean. Can you provide an example? |
I suspect that he's after the same thing I am. I'd like to be able to feed this individual files (from trunk-recorder/etc), and get a webhook-style response back saying if it contained tones or not, and if so, which department/etc they match. For my use-case, it would ideally be a web API in the app itself, but CLI could also work. Basically hit the API with the audio file and a configuration object with the 'detectors' configuration (so that the app itself doesn't need to have those configs hardcoded; this lets me use the same instance of fd-tone-notify to handle a bunch of different systems that may have the same tones defined), and get a response similar to what is sent for the webhook right now. I'd handle notifications myself, and wouldn't want to record - but I could see a use case where someone would also want to be able to pass in the notification configuration, and have notifications sent from fd-tone-notify too. |
@natecarlson So to clarify, you are requesting the ability to run the detection logic against an arbitrary file instead of processing a live stream of audio? So something like this?
|
Yes.. I don't know if multiple tone detection would be necessary; for my purposes it would not.. I'd be running it against files that each contain individual transmissions. |
For me: If not then yeah being able to run a command and point it to the file to run from. Would need to work in both linux and windows so everyone could use it. |
Hey, it would be super awesome if you could use cli flags to pass a file and get a json response like the webhook!
The text was updated successfully, but these errors were encountered: