-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[speechx]add raw_audio & feature_cache #1542
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
Conversation
speechx/speechx/frontend/raw_audio.h
Outdated
class RawAudioSource { | ||
public: | ||
RawAudioSource(int buffer_size = kint16max); | ||
virtual void AcceptWaveform(kaldi::BaseFloat* data, int length); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
length一样
@@ -0,0 +1,109 @@ | |||
// todo refactor, repalce with gtest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
speechx/examples/feat 下加上 run.sh 的脚本,把所有的test都run下
void Register(kaldi::OptionsItf* opts) { frame_opts.Register(opts); } | ||
void Register(kaldi::OptionsItf* opts) { | ||
opts->Register( | ||
"streaming-chunk", &streaming_chunk, "streaming chunk size"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
streaming chunk size in sec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR types
[New features]
PR changes
Describe