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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Spotify API - Implicit Grant Flow</title> | |
</head> |
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 music21 | |
import itertools | |
from random import randint | |
MIN_REPETITIONS = 4 | |
MAX_REPETITIONS = 10 | |
NUMBER_OF_PARTS = 10 | |
motives = ['e4 e e', 'e8 f8 e4', 'r8 e f e', 'r8 e f g', 'e8 f g r', |
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 itertools | |
import os | |
import sys | |
SPLITFILE = 'splits.txt' | |
binaries = [ 'DBNBeatTracker', | |
'SpectralOnsetDetection', | |
'CNNOnsetDetector', | |
'DBNDownBeatTracker', |
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
# Copyright (c) 2010 Aldo Cortesi | |
# Copyright (c) 2010, 2014 dequis | |
# Copyright (c) 2012 Randall Ma | |
# Copyright (c) 2012-2014 Tycho Andersen | |
# Copyright (c) 2012 Craig Barnes | |
# Copyright (c) 2013 horsik | |
# Copyright (c) 2013 Tao Sauvage | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal |
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
for pid in $(xdotool search "") | |
do | |
echo "Doing $pid..." | |
xdotool key --window $pid KP_1+KP_0+KP_3+KP_Multiply | |
done |
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
do | |
echo "Doing $pid..." | |
xdotool key --window $pid KP_1+KP_0+KP_3+KP_Multiply | |
done |
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 collections | |
import itertools | |
def optionset_generator(optionset_schema): | |
iterables = {} | |
for key, value in optionset_schema.items(): | |
if isinstance(value, collections.Iterable): | |
iterables[key] = value | |
else: |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
mod12 =: 12 & | | |
matrix =. monad : 0 | |
m =. mod12 y -/ (y - (0 { y)) | |
) | |
pcs =: i. 12 | |
shuf =: {~ ?~@# | |
newrow =: shuf pcs |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder