Skip to content

Commit

Permalink
do not normalize on wave read
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitnelav committed Aug 2, 2024
1 parent cf7c7e1 commit 3b08083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acoustic_toolbox/_signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@ def to_wav(self, filename, depth=16):
# wavfile.write(filename, int(self.sr), np.int16(self._data/(np.abs(self._data).max()) * 32767) )

@classmethod
def from_wav(cls, filename, normalize=True):
def from_wav(cls, filename, normalize=False):
"""
Create an instance of `Signal` from a WAV file.
Expand Down

0 comments on commit 3b08083

Please sign in to comment.