Learn Before
Audio Editing Ideas
Now that we understand that SciPy File IO lets us interact with WAV files as lists of frequencies, we can start to think of ways to manipulate this data to create recognizable effects.
-Change volume: If we want to make a WAV file quieter or louder, we could create a loop that iterates for each element in the WAV file frequency list and replaces each original element by multiplying the original element by a constant. The constant should be less than 1 to quiet the WAV file, and greater than one to make the file louder.
-Slow down: If we want to make a WAV file with a slowed down effect we could create a loop that iterates for each element in the WAV file frequency list and doubles the original elements consecutively. The resulting file would be twice as long and thus slower.
-Reverse audio: If we want to reverse a WAV file, create a loop that reverses the order of the elements in the list
As you can see, these ideas are pretty intuitive. How can we create effects that are less intuitive, such as a record skipping effect?
0
1
Tags
Python Programming Language
Data Science