-
Notifications
You must be signed in to change notification settings - Fork 621
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
Adjust documentation after review #2175
Conversation
6000793
to
3d4c9ec
Compare
3d4c9ec
to
15ad1c7
Compare
!build |
CI MESSAGE: [1538926]: BUILD STARTED |
CI MESSAGE: [1538926]: BUILD FAILED |
CI MESSAGE: [1538926]: BUILD PASSED |
3cc1b0a
to
1dd7b04
Compare
.DocStr(R"code(Converts a Spectrogram to a mel Spectrogram using triangular filter banks. | ||
Expects an input with 2 or more dimensions where the last two dimensions correspond to the | ||
fft bin index and the window index respectively.)code") | ||
.DocStr(R"code(Converts a Spectrogram to a mel spectrogram by using triangular filter banks. |
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.
.DocStr(R"code(Converts a Spectrogram to a mel spectrogram by using triangular filter banks. | |
.DocStr(R"code(Converts a spectrogram to a mel spectrogram by applying a bank of triangular filters. |
- Banks are not triangular. Filters are.
- It converts a spectrogram (data), not the operator.
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.
Done
R"code(Determines whether to normalize the triangular filter weights by the width | ||
of their mel bands. |
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.
R"code(Determines whether to normalize the triangular filter weights by the width | |
of their mel bands. | |
R"code(Determines whether to normalize the triangular filter weights by the width | |
of their frequency bands. |
The weights are normalized in input domain.
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.
Done
consistent with the implementation of the Hidden Markov Toolkit (HTK). | ||
)code", | ||
"slaney"); | ||
R"code(Determines the formula that will be used to convert frequencies from Hertz to mel |
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.
R"code(Determines the formula that will be used to convert frequencies from Hertz to mel | |
R"code(Determines the formula that will be used to convert frequencies from hertz to mel |
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.
Done
)code", | ||
"slaney"); | ||
R"code(Determines the formula that will be used to convert frequencies from Hertz to mel | ||
and from mel to Hertz. |
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.
and from mel to Hertz. | |
and from mel to hertz. |
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.
Done
R"code(Determines the formula that will be used to convert frequencies from Hertz to mel | ||
and from mel to Hertz. | ||
|
||
The mel scale is a perceptual scale of pitches, so there is no formula. |
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.
We select a formula and say there's not formula? The previous variant was much better.
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.
Done
8192); | ||
Unless specified otherwise, ``reference_power`` is typically the maximum of the signal. | ||
|
||
Here is a list of the inputs and outputs: |
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.
Here is a list of the inputs and outputs: | |
Inputs and outputs: |
Hopefully we can insert an empty line. I think the original header was better.
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.
Done
.NumInput(1) | ||
.NumOutput(detail::kNumOutputs) | ||
.AddOptionalArg("cutoff_db", | ||
R"code(The threshold [dB], below which everything is considered as silence.)code", |
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.
R"code(The threshold [dB], below which everything is considered as silence.)code", | |
R"code(The threshold, in dB, below which the signal is considered silent.)code", |
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.
Done
.AddOptionalArg("window_length", R"code(Size of a sliding window. | ||
|
||
This window is used to calculate the short-term power of the signal.)code", 2048) |
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.
.AddOptionalArg("window_length", R"code(Size of a sliding window. | |
This window is used to calculate the short-term power of the signal.)code", 2048) | |
.AddOptionalArg("window_length", R"code(Size of the sliding window used in the calculation of | |
the short-term power of the signal.)code", 2048) |
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.
Done
|
||
This window is used to calculate the short-term power of the signal.)code", 2048) | ||
.AddOptionalArg("reference_power", | ||
R"code(The reference power that is used to convert the signal to db. |
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.
R"code(The reference power that is used to convert the signal to db. | |
R"code(The reference power that is used to convert the signal to dB. |
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.
Done
If a value for reference_power is not provided, the maximum value of the signal will be used as the | ||
reference power.)code", |
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.
If a value for reference_power is not provided, the maximum value of the signal will be used as the | |
reference power.)code", | |
If a value for reference_power is not provided, the maximum power of the signal will be used as the | |
reference.)code", |
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.
Done
CI MESSAGE: [1641630]: BUILD STARTED |
CI MESSAGE: [1641630]: BUILD FAILED |
Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
!build |
d4abed6
to
856997a
Compare
CI MESSAGE: [1641646]: BUILD STARTED |
CI MESSAGE: [1641646]: BUILD PASSED |
Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
2237b9a
to
d1a6c28
Compare
!build |
d1a6c28
to
36a886c
Compare
CI MESSAGE: [1647716]: BUILD STARTED |
CI MESSAGE: [1647716]: BUILD FAILED |
36a886c
to
a292191
Compare
!build |
CI MESSAGE: [1647874]: BUILD STARTED |
CI MESSAGE: [1647874]: BUILD FAILED |
Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
!build |
a292191
to
a170278
Compare
CI MESSAGE: [1648152]: BUILD STARTED |
CI MESSAGE: [1648152]: BUILD FAILED |
CI MESSAGE: [1648152]: BUILD PASSED |
Signed-off-by: Janusz Lisiecki jlisiecki@nvidia.com
Why we need this PR?
Pick one, remove the rest
What happened in this PR?
Fill relevant points, put NA otherwise. Replace anything inside []
fixes a numerous language and formatting defects in the documentation
whole documentation
NA
CI build and documentation review of the output
Documentation has been updated
JIRA TASK: [DALI-1552]