Skip to content

[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

Merged
merged 7 commits into from
Mar 10, 2022

Conversation

SmileGoat
Copy link
Contributor

PR types

[New features]

PR changes

Describe

@SmileGoat SmileGoat added this to the r0.2.0 milestone Mar 7, 2022
@mergify mergify bot added the Deployment label Mar 7, 2022
@zh794390558 zh794390558 changed the title add raw_audio & feature_cache [speechx]add raw_audio & feature_cache Mar 8, 2022
class RawAudioSource {
public:
RawAudioSource(int buffer_size = kint16max);
virtual void AcceptWaveform(kaldi::BaseFloat* data, int length);
Copy link
Collaborator

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
Copy link
Collaborator

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");
Copy link
Collaborator

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

Copy link
Collaborator

@zh794390558 zh794390558 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zh794390558 zh794390558 merged commit bedd2de into PaddlePaddle:speechx Mar 10, 2022
@SmileGoat SmileGoat deleted the stream_feature branch July 14, 2022 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants