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 time | |
start_time = time.time() | |
start_time_all = start_time | |
import sys | |
import essentia | |
import essentia.standard as es | |
import matplotlib | |
import matplotlib.pyplot as plt |
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 numpy as np | |
import librosa | |
import librosa.display | |
import matplotlib | |
import matplotlib.pyplot as plt | |
import time | |
def draw_tempogram(audio_in, audio_out, offset, duration): | |
""" Make PNG file for specified MP3 file using LibRosa tools. | |
""" |
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
document.onkeyup = function(e) { | |
var btn = { 37: 'Назад', 39: 'Вперёд' }; | |
var el = function(title) { | |
return document.querySelector(['a[title="', title, '"]'].join('')); | |
}; | |
Object.keys(btn).forEach(function(code) { | |
if (e.ctrlKey && e.keyCode == code) { | |
var link = el(btn[code]); | |
if (link) link.click(); | |
} |
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
<html> | |
<head> | |
<title>Girls gone wild!</title> | |
<link rel="stylesheet" type="text/css" href="/static/style.css"> | |
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script> | |
<script type="text/javascript" src="http://localhost:8080/application.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function () { | |
var jug = new Juggernaut; | |
jug.subscribe('babes', function (data) { |