speech_recognition icon indicating copy to clipboard operation
speech_recognition copied to clipboard

"get rms"

Open dsrenesanse opened this issue 6 years ago • 1 comments

RMS value getter through channels

dsrenesanse avatar Mar 26 '19 19:03 dsrenesanse

One more thing - can we make this functionality to work more like subscription than a future? The consumption would look like this:

StreamSubscription<dynamic> _rmsSubscription;
_rmsSubscription.rmsChanges.listen((double value) {
    // do some magic with rms
});

It seems to make more sense to consume the value of RMS continuously rather than "one-shot".

@Renesanse thoughts?

vintage avatar May 04 '19 18:05 vintage