forked from nist-ionstorage/pdq2
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Handling of the "silence" parameter in program_segments #21
Labels
Comments
To add more context, the current version works with the waveform defined here: Lines 53 to 94 in 702c069
However, this definition contradicts the description and example at http://pdq.readthedocs.io/en/v3.0-rc2/manual.html#wavesynth-format , where |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems like this line
pdq/pdq/host/protocol.py
Line 437 in 2880b59
is looking for the
silence
parameter one level too high and should actually be called fortarget_data
in the loop a few lines below (if at all). Besides always settingsilence
toFalse
, it also causes aKeyError
exception whensilence
gets passed togetattr(segment, target)()
twice, once by itself and once within**kwargs
.The text was updated successfully, but these errors were encountered: