-
Download video on https://savetube.io/en22
-
Run
./v2m.py video.mp4
https://github.com/svsdval/video2midi -
Adjust piano keys, start and end, channels (save settings)
-
Generate 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
def flatten_hash(param, prefix=nil) | |
param.each_pair.reduce({}) do |a, (k, v)| | |
if v.is_a?(Array) | |
v = v.map.with_index { |x, i| [i, x] }.to_h | |
end | |
if v.is_a?(Hash) | |
a.merge(flatten_hash(v, "#{prefix}#{k}.")) | |
else | |
a.merge("#{prefix}#{k}".to_sym => v) |
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
require 'json' | |
def flatten_hash(param, prefix=nil) | |
param.each_pair.reduce({}) do |a, (k, v)| | |
if v.is_a?(Array) | |
v = v.map.with_index { |x, i| [i, x] }.to_h | |
end | |
if v.is_a?(Hash) | |
a.merge(flatten_hash(v, "#{prefix}#{k}.")) |
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
<?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>RunAtLoad</key> | |
<true/> | |
<key>KeepAlive</key> | |
<true/> | |
<key>Label</key> | |
<string>TotalSpaces3.restart</string> |
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
let match; | |
const text = $(".dscWrapper").text(); | |
const regex = /TL_[A-Z0-9]{6}/g; | |
const matches = []; | |
while ((match = regex.exec(text)) !== null) { | |
matches.push(match[0]); | |
} | |
function download(data, filename, type) { |
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
(* Content-type: application/vnd.wolfram.mathematica *) | |
(*** Wolfram Notebook File ***) | |
(* http://www.wolfram.com/nb *) | |
(* CreatedBy='Mathematica 9.0' *) | |
(*CacheID: 234*) | |
(* Internal cache information: | |
NotebookFileLineBreakTest |
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
(* Content-type: application/vnd.wolfram.mathematica *) | |
(*** Wolfram Notebook File ***) | |
(* http://www.wolfram.com/nb *) | |
(* CreatedBy='Mathematica 9.0' *) | |
(*CacheID: 234*) | |
(* Internal cache information: | |
NotebookFileLineBreakTest |
OlderNewer