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
(defsynth pitch-follow-1 [] | |
(let [in (mix [(sound-in)]) | |
amp (amplitude:kr in 0.05 0.05) | |
[freq has-freq] (pitch:kr in | |
:amp-threshold 0.02 | |
:median 7) | |
out-1 (mix [(var-saw:ar (mul-add:ar 0.5 1 2) | |
0 | |
(lf-noise1:kr (mul-add:kr 0.3 0.1 0.1)))]) | |
out-2 (loop [n 6 |
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
#!/bin/bash | |
# Usage: | |
# bash squarify.sh -i INPUTFILE -t "text" output.mp4 | |
# | |
# Options | |
# -i: input file | |
# -t text to overlay | |
while echo $1 | grep -q ^-; do |
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
""" | |
Yeah, I know its awful and should be a class, Maybe latter. | |
Anyway, it works like a charm :3 | |
Gets the first result in query for artist (I ain't no will improve spotify algorithms) and from it gets the top tracks from this artist | |
If doesn't find the artist throws an empty list [] | |
""" | |
import spotipy |