This file contains 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
[X] Invalid | |
[.] Untried | |
[?] Unknown | |
[V] OK | |
WARNING: I will not provide any part of archive under any circumstances. Do not ask for it. | |
WARNING: When the password is found, this Gist will be deleted in 30 seconds. | |
eqgrp-free-file.tar.xz.gpg | |
[X] equationgroup | |
[V] theequationgroup |
This file contains 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
#!/usr/bin/python | |
import sys | |
import Image | |
from midiutil.MidiGenerator import MidiGenerator | |
from midiutil.TrackGen import LoopingArray | |
filename = sys.argv[1] | |
midifilename = filename[0:filename.find('.')]+'.midi' |
This file contains 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 com.sun.image.codec.jpeg.*; | |
PImage img; | |
int numberOfFrames = 600; | |
void setup() | |
{ | |
size(1024,768); | |
} | |
This file contains 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
# Convert the note on/off events to frequency/duration pair | |
# 1. Create the midi notes2frequency table. Tuning is based upon A=440 | |
my $a = 440; # a is 440 hz... | |
my @midi; | |
for($x = 0; $x < 127; ++$x) | |
{ | |
$midi[$x] = ($a / 32) * (2 ** (($x - 9) / 12)); | |
} | |
# 2. Parse the channel events |
This file contains 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 random | |
import sys | |
import argparse | |
#Characters | |
superscript = [ | |
"\u030d", "\u030e", "\u0304", "\u0305", "\u033f", | |
"\u0311", "\u0306", "\u0310", "\u0352", "\u0357", | |
"\u0351", "\u0307", "\u0308", "\u030a", "\u0342", | |
"\u0343", "\u0344", "\u034a", "\u034b", "\u034c", |
NewerOlder