Skip to content

Instantly share code, notes, and snippets.

View divisiondeariza's full-sized avatar

Emmanuel Ariza divisiondeariza

  • Funky Town
View GitHub Profile
@divisiondeariza
divisiondeariza / autotune.clj
Created August 27, 2020 17:42 — forked from devn/autotune.clj
autotune/autocorrect pitch overtone
(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
@divisiondeariza
divisiondeariza / squarify.sh
Last active March 8, 2019 00:30
Well, a little script to make facebook friendly my videos. :)
#!/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
@divisiondeariza
divisiondeariza / getSpotifyTopTracks.py
Last active May 14, 2017 03:27
How get top tracks (cover, audio url and name) from a song using spotipy
"""
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