Skip to content

Commit

Permalink
Update Shift example readme according to the new API
Browse files Browse the repository at this point in the history
  • Loading branch information
iver56 committed Aug 30, 2023
1 parent dac7a00 commit 498a7d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ augment = Compose([
AddGaussianNoise(min_amplitude=0.001, max_amplitude=0.015, p=0.5),
TimeStretch(min_rate=0.8, max_rate=1.25, p=0.5),
PitchShift(min_semitones=-4, max_semitones=4, p=0.5),
Shift(min_fraction=-0.5, max_fraction=0.5, p=0.5),
Shift(p=0.5),
])

# Generate 2 seconds of dummy audio for the sake of example
Expand Down

0 comments on commit 498a7d4

Please sign in to comment.