-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set default framelength to the usual long block 2048 samples
- Loading branch information
1 parent
0a5add5
commit e3270ac
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e3270ac
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.
Hi Nils:
Thanks for the Python MDCT :-)
I installed, and tried:
import mdct
spec = mdct.mdct(signal)
output = mdct.imdct(spec)
All works!
BUT:
How do I change the window shapes? For example, I want to try out different beta for the KBD windows.
Cheers,
Arijit
e3270ac
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.
You can pass in both numpy arrays and callables as the
window
parameter.For example a callable with a
beta
parameter set. The appropriate windowlength will be set during the transform:or a numpy array of fixed length, also with the beta parameter set. The framelength needs to be known beforehand.
For the future, please do not comment on individual commits with usuage questions. Instead you should