Because of implementation of Midi in Bonzomatic and the organisation of MIDI assignment on APCMini faders are overlapping with this pads :
- Fader 0 <-> Pad 0,6
- Fader 1 <-> Pad 1,6
- Fader 2 <-> Pad 2,6
- Fader 3 <-> Pad 3,6
- Fader 4 <-> Pad 4,6
| scale=720:-2 |
Because of implementation of Midi in Bonzomatic and the organisation of MIDI assignment on APCMini faders are overlapping with this pads :
| #!/bin/sh | |
| import os | |
| from pathlib import Path | |
| import argparse | |
| import subprocess | |
| def _gif_this(source_file, output, start_time, end_time, duration, fps, scale): | |
| """ | |
| http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html |
| ==| 2021-08-13 @ 10:00 |== | |
| Pacific/Midway | |
| Pacific/Niue | |
| Pacific/Pago_Pago | |
| Pacific/Samoa | |
| US/Samoa | |
| ==| 2021-08-13 @ 11:00 |== | |
| Pacific/Honolulu | |
| Pacific/Johnston | |
| Pacific/Rarotonga |
| #version 410 core | |
| uniform float fGlobalTime; // in seconds | |
| uniform vec2 v2Resolution; // viewport resolution (in pixels) | |
| uniform float fFrameTime; // duration of the last frame, in seconds | |
| uniform sampler1D texFFT; // towards 0.0 is bass / lower freq, towards 1.0 is higher / treble freq | |
| uniform sampler1D texFFTSmoothed; // this one has longer falloff and less harsh transients | |
| uniform sampler1D texFFTIntegrated; // this is continually increasing | |
| uniform sampler2D texPreviousFrame; // screenshot of the previous frame |
| # Create a texture that concat profile | |
| mogrify -resize 512x512! *.png ; montage -mode concatenate -tile x1 *.png ../tex1.jpg |
| #!/bin/sh | |
| set -x | |
| #Download media + metadata | |
| youtube-dl --write-info-json -x --audio-format mp3 -o "tmp_out.%(ext)s" $1 | |
| # Maybe a way to get the file name from previous function | |
| INFO="tmp_out.info.json" | |
| AUDIO="tmp_out.mp3" | |
| echo :: $INFO $AUDIO :: |
| ## Generation of files ## | |
| cat > movies.txt <<EOL | |
| A New Hope (1977) | |
| The Empire Strikes Back (1980) | |
| Return of the Jedi (1983) | |
| The Phantom Menace (1999) | |
| Attack of the Clones (2002) | |
| Revenge of the Sith (2005) | |
| The Force Awakens (2015) |
| #version 150 | |
| in VertexData | |
| { | |
| vec4 v_position; | |
| vec3 v_normal; | |
| vec2 v_texcoord; | |
| } inData; | |
| out vec4 fragColor; |
| # crontab -l | |
| 59 09 * * 1-5 export DISPLAY=:0.0 && /usr/bin/play.sh | |
| # ^---------- better to wrap the command to a script | |
| # ^------make it launchable without display / terminal | |
| # | |
| # /usr/bin/play.sh | |
| #!/bin/bash | |
| /usr/bin/mplayer -vo null -vc dummy -really-quiet -volume 75 -loop 2 "$(ls /home/totetmatt/Music/JRMelody/* | shuf | head -n 1)" > /dev/null 2>&1 |