Skip to content
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

Extraction of fixed windows for LLD #27

Open
giorgiolbt opened this issue Apr 28, 2021 · 2 comments
Open

Extraction of fixed windows for LLD #27

giorgiolbt opened this issue Apr 28, 2021 · 2 comments

Comments

@giorgiolbt
Copy link

giorgiolbt commented Apr 28, 2021

Hi,

I was wondering if it is possible to have a total number of windows that is fixed even when extracting LLD. At the moment, for each audio, I obtain a variable number of vectors of features that depends on the length of the audio since the window size is fixed. I would need to have for instance 200 rows for each audio independently from the audio's duration.

Thanks in advance!
Giorgio

@frankenjoe
Copy link
Collaborator

No, that is not possible.

@bagustris
Copy link

Use zero paddings. That's the common step in speech processing.
Using keras, it only needs one line to make all utterances have the same row size.

Reference:
https://www.tensorflow.org/api_docs/python/tf/keras/preprocessing/sequence/pad_sequences

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants