Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@superbock
Copy link
Collaborator

This PR addresses the inconsistencies of audio.signal package.

  • replace the att of FramedSignal by gain and move everything to Signal
  • mark att as deprecated
  • alter remix() and normalize() to always return the same dtype
  • normalize() rescales the signal to have maximum range for the dtype NOTE: this changes the old behaviour!
  • remix() converts to float and back if needed to prevent clipping when down-mixing
  • rescale() can be used to convert a signal with int dtype to float dtype and scale it to the maximum range [-1,1]
  • multi-channel support for some functions
  • negative indexing of FramedSignal behaves like normal Python/Numpy indexing NOTE: this changes the old behaviour!

@superbock superbock force-pushed the feature/unify_signal_behaviour branch 4 times, most recently from 637092c to 00fd15c Compare January 29, 2016 14:12
@superbock superbock force-pushed the feature/unify_signal_behaviour branch from 00fd15c to 827593d Compare February 17, 2016 11:48
@superbock superbock force-pushed the feature/unify_signal_behaviour branch from 827593d to 5c2c33a Compare February 17, 2016 12:16
Sebastian Böck added 2 commits February 17, 2016 20:03
normalize() rescales the signal to have maximum range for the dtype
remix() converts to float and back if needed to prevent clipping when down-mixing
@superbock superbock force-pushed the feature/unify_signal_behaviour branch from 1752574 to 050223a Compare February 17, 2016 19:25
Sebastian Böck added 2 commits February 18, 2016 05:54
frames to left of the first frame can still be accessed with frame_signal()
@superbock superbock changed the title WIP: replace att by gain and move everything to the Signal class; Consistent behaviour of Signal and SignalProcessor Feb 18, 2016
@superbock superbock changed the title Consistent behaviour of Signal and SignalProcessor Make audio.signal package more consistent Feb 18, 2016
superbock pushed a commit that referenced this pull request Feb 18, 2016
Make audio.signal package more consistent
@superbock superbock merged commit 1328431 into develop Feb 18, 2016
@superbock superbock deleted the feature/unify_signal_behaviour branch February 18, 2016 12:08
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

Successfully merging this pull request may close these issues.

1 participant