This tutorial walks you through generating a sine wave in Python, using libraries like wave and struct, and exporting it as a .wav file. Ideal for those interested in audio processing or sound design.
Animations
Audio
Graphics
Media
Animating a Virtual Idol (Part 1: The Drawings)Making the character assets: Each layer of the character is simply a transparent png with a fixed center of rotation (which we can mark later on)All of these layers will be joined to one another and moved in whichever ways we command. -Body The Body will be placed right at the back of the character, […]
Audio
Audio Compression
Code
Python
Extrema Compression (Part 2)Part 2 is on decompression, start with Part 1 Extrema Compression (Part 1)Decompression:Luckily for us the decompression phase is much simpler than the compression phase. It would have been simpler regardless but We create a new wave file for the output, we simply need to have a while loop read through the file five bytes […]
Audio
Audio Compression
Code
Media
Python
Extrema Compression (Part 1)ExtremaCompression is a low-loss compression method for audio.
Unlike MP3, OGG and other common standards the results still vary widely proptional to frequency.
Higher frequency oscillations will be encoded with minimal loss, but also minimal compression, while low frequencies will compress very small but the quality may deviate from the original product.
Audio
Code
Old Projects
Python
.Au Audio files with pythonThe Sun Microsystems .au not the ones from Audacity. I believe it’s a great place to start learning about structs, how to pack/unpack, and how to work with file headers.
Audio
Code
Python
Play AlongPlay Along is a very simple python tool for helping synchronise jam band performances.
The bottom left, shows the current bar (root note and scale) while the bottom-right shows the next bar to give some warning of what to play next.
0