https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=136445
Run:
sudo rpi-update
In /boot/config.txt add the following line:
https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=136445
Run:
sudo rpi-update
In /boot/config.txt add the following line:
| #!/bin/bash | |
| fluidsynth --audio-bufcount=4 --gain=1 -isa alsa "$1" & | |
| while ! aconnect 20 128; do sleep 1; done |
| SUBSYSTEM=="usb", ACTION=="add", ENV{ID_MODEL}=="nanoKEY2", TAG+="systemd", ENV{SYSTEMD_WANTS}="midi-keyboard-drums.service" | |
| SUBSYSTEM=="usb", ACTION=="remove", ENV{ID_MODEL}=="nanoKEY2", RUN+="/usr/bin/killall fluidsynth" | |
| SUBSYSTEM=="usb", ACTION=="add", ENV{ID_MODEL}=="UMX_61", TAG+="systemd", ENV{SYSTEMD_WANTS}="midi-keyboard-rhodes.service" | |
| SUBSYSTEM=="usb", ACTION=="remove", ENV{ID_MODEL}=="UMX_61", RUN+="/usr/bin/killall fluidsynth" | |
| SUBSYSTEM=="usb", ACTION=="add", ENV{ID_MODEL}=="nanoKEY2", RUN+="/usr/bin/killall emulationstation" | |
| SUBSYSTEM=="usb", ACTION=="add", ENV{ID_MODEL}=="UMX_61", RUN+="/usr/bin/killall emulationstation" |
| sox -t alsa default ./record.flac silence 1 0.1 1% 2 1.0 1% |
| #!/usr/bin/padsp python | |
| import sys | |
| import wave | |
| import ossaudiodev | |
| audiofile = wave.open(sys.argv[1], 'r') | |
| (nchannels, sampwidth, framerate, nframes, comptype, compname) = audiofile.getparams() | |
| audiofile.setpos(0) |
| # Settings made here will only override settings in the global retroarch.cfg if placed above the #include line | |
| input_remapping_directory = "/opt/retropie/configs/n64/" | |
| input_player1_l_x_plus_axis = "+0" | |
| input_player1_l_x_minus_axis = "-0" | |
| input_player1_l_y_plus_axis = "+1" | |
| input_player1_l_y_minus_axis = "-1" | |
| input_player1_l2_btn = "1" |
| ffmpeg -ss 18 -i VID_20180421_134758383.mp4 \ | |
| -loop 1 -i thriller.png \ | |
| -filter_complex "[0:v]fade=out:st=35:d=2,hflip,vflip[myrecord]; \ | |
| [1:v]fade=out:st=3:d=1[watermark]; \ | |
| [myrecord][watermark]overlay=(W-w)/2:(H-h)/2[v]; \ | |
| [0:a]afade=out:st=35:d=2[a]" | |
| -map "[v]" -map "[a]" -to 37 thriller.mp4 |
| { | |
| "ecmaVersion": 6, | |
| "libs": [ | |
| "browser", | |
| "react" | |
| ], | |
| "plugins": { | |
| "node": {}, | |
| "jsx": {} | |
| } |
| ffmpeg \ | |
| -ss 00:00:00.537 -i "GUITARRA HUMANA (Na Gaita - Sanfona) - Bruna Scopel.mp4" \ | |
| -ss 00:00:14.456 -i "Guitarra Humana vs Contrabaixo no Forró.mp4" \ | |
| -ss 00:00:00.164 -i "Guitarra humana - Veja como fica na guitarra de VERDADE kkkkkkkk.mp4" \ | |
| -ss 00:00:00.433 -i "TOCA A PISADINHA 'BOKA ESTÚDIO'.mp4" \ | |
| \ | |
| -filter_complex \ | |
| "[0:v][1:v]hstack[t]; \ | |
| [2:v][3:v]hstack[b]; \ | |
| [t][b]vstack[v]; \ |
| nmap -sn 192.168.1-25.* |