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
f=$(ls -r $1/*/drums.wav) ; shntool join $f ; mv joined.wav $1/drums.wav | |
f=$(ls -r $1/*/vocals.wav) ; shntool join $f ; mv joined.wav $1/vocals.wav | |
f=$(ls -r $1/*/bass.wav) ; shntool join $f ; mv joined.wav $1/bass.wav | |
f=$(ls -r $1/*/other.wav) ; shntool join $f ; mv joined.wav $1/other.wav | |
for x in $( ls -1 $1/*.mp3 ) ; do spleeter separate -i $x -o $1 -p spleeter:4stems ; done | |
mkdir $2 ; ffmpeg -i $1 -f segment -segment_time 60 -c copy $2/%03d.mp3 |
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
sudo aptitude install rlwrap swh-plugins ; | |
rlwrap pacmd ; | |
load-module module-ladspa-sink sink_name=ladspa_out plugin=mbeq_1197 label=mbeq control=11.621622,10,4.594594,2.702703,0,0,-1.621622,-0.270270,-5.405406,-3.513514,-8.648648,-5.675676,-4.054054,1.351351,9.189189 ; | |
load-module module-ladspa-sink sink_name=sc4m plugin=sc4m_1916 label=sc4m control=1,1.5,401,-30,20,5,12 ; | |
set-default-sink sc4m ; |
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
#include <iostream> // input output c standard | |
#include <string> // leichterer umgang mit namen als strings | |
#include <cstdlib> // enthaelt random | |
using namespace std; // leichter als immer std:: zu schreiben | |
int pot = 100; | |
int max_user = 100 ; // maximum user anzahl | |
int max_tip = 45 ; // maximale tip groesse | |
int anzahl ; // einzugebende anzahl der user |
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
ffmpeg -video_size 1024x768 -framerate 25 -f x11grab -i :0.0+100,200 output.mp4 |
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
ffmpeg -f fbdev -i /dev/fb0 -r 24 -c:v libx264 -b:v 500k output.avi |
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
curl -u 'tomscotch' https://api.github.com/user/repos -d '{"name":"projectname",$ARGV[1]:"atomatically generated"}' | |
git remote add origin tomscotch@github.com:tomscotch/$ARGV[1].git | |
git push origin master |