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
| import librosa | |
| import numpy as np | |
| from pydub import AudioSegment | |
| from pathlib import Path | |
| import pretty_midi | |
| import argparse | |
| ''' | |
| Given a directory of samples will generate a concatenated output | |
| containing each sample in order of increasing pitch |
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
| ''' | |
| Tool for tagging my music collection for tracks of my own that | |
| I have exported. The tool expects a directory structure as follows: | |
| - Artist | |
| - Album Name | |
| - song_name.mp3 | |
| If there is a nested structcxscure e.g. |
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
| lsof -i TCP:8086 | awk '/LISTEN/{print $2}' | xargs kill -9 |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>com.matthew.homebrewupdate.plist</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>/Users/matthew/bin/homebrewupdate.sh</string> |