by Casey Anderson
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| midi controls gui | |
| written for midifighter twister | |
| HT Scott Cazan for line 55 | |
| */ | |
| s.boot; | |
| MIDIIn.connectAll; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Filter MIDI Messages by srcID | |
| // (example) | |
| s.boot; | |
| MIDIIn.connectAll; | |
| ~organPort = MIDIIn.findPort("QuNexus", "Port 1"); | |
| ~buttonPort = MIDIIn.findPort("Midi Fighter 3D", "Midi Fighter 3D"); | |
| ~twisterPort = MIDIIn.findPort("Midi Fighter Twister", "Midi Fighter Twister"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| subsonic_cleanup | |
| example input: "the body - No One Deserves Happiness - 01 Wanderings.wav" | |
| example output: "01 Wanderings.wav" | |
| usage: python3 subsonic_cleanup.py --path "the body - No One Deserves Happiness/" --ext "wav" | |
| TODO: | |
| * check to see if album or artist has digit, need alternate procedure for such a case |
(assumes a working Anaconda installation)
- Create an
Anacondaenvironment for this workshop:conda create -n scraping python=3.8 - Activate the
scrapingenvironment:conda activate scraping - Install
nltkto our environment:pip install nltk - Instal
matplotlibto our environment:pip install matplotlib - Run
jupyter notebookin our environment:jupyter notebook
Python is a general-purpose, interpreted, high-level programming language. The syntax of the language has been optimized to emphasize code readability, as well as brevity.
Note: though there are multiple versions of python we will exclusively use Python3
A variable is a container for data