9d9ef625dccb7ba0ed3295f18d90de9d6dd59469,nussl/audio_signal.py,AudioSignal,add,#AudioSignal#Any#,697
Before Change
Returns:
(:obj:`AudioSignal`): New ``AudioSignal`` object with the sum of ``self`` and ``other``.
return self + other
def sub(self, other):
Subtracts two audio signal objects.
After Change
self._verify_audio_arithmetic(other)
new_signal = copy.deepcopy(self)
new_signal.audio_data = self.audio_data + other.audio_data
return new_signal
def subtract(self, other):
Subtracts two audio signal objects.
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 7
Instances Project Name: interactiveaudiolab/nussl
Commit Name: 9d9ef625dccb7ba0ed3295f18d90de9d6dd59469
Time: 2017-04-04
Author: ethanmanilow@gmail.com
File Name: nussl/audio_signal.py
Class Name: AudioSignal
Method Name: add
Project Name: acl-org/acl-anthology
Commit Name: 8db928a64275e4855070d400a857f743c3dfaa9b
Time: 2019-04-16
Author: gildea
File Name: tools/fixedcase/protect.py
Class Name:
Method Name: protect_recurse
Project Name: interactiveaudiolab/nussl
Commit Name: e01dc00651cb36ee62d3cb9c97d82a4892e1f001
Time: 2017-02-09
Author: ethanmanilow@gmail.com
File Name: nussl/audio_signal.py
Class Name: AudioSignal
Method Name: add
Project Name: biotite-dev/biotite
Commit Name: 28364852cbd5b886f103a5266db020dfe252447b
Time: 2020-06-17
Author: patrick.kunzm@gmail.com
File Name: src/biotite/database/rcsb/query.py
Class Name: FieldQuery
Method Name: __invert__
Project Name: interactiveaudiolab/nussl
Commit Name: 9d9ef625dccb7ba0ed3295f18d90de9d6dd59469
Time: 2017-04-04
Author: ethanmanilow@gmail.com
File Name: nussl/audio_signal.py
Class Name: AudioSignal
Method Name: add