Skip to content

Instantly share code, notes, and snippets.

View 0xfe's full-sized avatar
💭
miles to go before i sleep

Mohit Cheppudira 0xfe

💭
miles to go before i sleep
View GitHub Profile
@0xfe
0xfe / gm_patches.py
Last active February 22, 2020 23:53
Selected General MIDI patches
GM_PATCHES = [
0, # Acoustic Grand Piano
3, # Honky-tonk Piano
6, # Harpsichord
11, # Vibraphone
16, # Drawbar Organ
19, # Church Organ
22, # Harmonica
24, # Acoustic Guitar (nylon)
26, # Electric Guitar (jazz)
@0xfe
0xfe / deep-pitches-samplegen.py
Last active February 23, 2020 03:15
Generate audio samples for training
#!/usr/bin/env python3
import os
import re
import tempfile
import math
import random
import numpy as np
from midiutil.MidiFile import MIDIFile
from midi import Note, GM_PATCHES
@0xfe
0xfe / quid.css
Created December 29, 2018 16:22
Quid Client CSS
button.quid-pay-button {
background: rgba(255, 255, 255, 0.1) !important;
border: none !important;
border-bottom: 2px #00625d solid !important;
border-radius: 3px !important;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 12px !important;
margin: 0 !important;
outline: 0 !important;
padding: 8px !important;
Verifying my Blockstack ID is secured with the address 15Gn9qP2zjEJcKKxmtfCq232HP9H2RAohK https://explorer.blockstack.org/address/15Gn9qP2zjEJcKKxmtfCq232HP9H2RAohK
### Keybase proof
I hereby claim:
* I am 0xfe on github.
* I am qubit (https://keybase.io/qubit) on keybase.
* I have a public key ASD0Ru2w_nyBeID3S3RPL2faUhfcmqYupCNqychcsEb2dAo
To claim this, I am signing this object: