Skip to content

Instantly share code, notes, and snippets.

View X-Raym's full-sized avatar

Raymond Radet X-Raym

View GitHub Profile
@X-Raym
X-Raym / XR_Toggle focused window titlebar.ahk
Created July 18, 2024 23:32
Toggle focused window titlebar on Windows with Auto-Hot Key v2.
;ALT+Q
!q:: {
WinSetStyle "^0xC00000", "A" ;caption
;WinSetStyle "^0x40000", "A" ;sizebox
WinSetStyle "^0x800000", "A" ;border
}
desc:MIDI Pad audio meter
// based on Akai LPD8 VU meter by Tale
// Mod by X-Raym
// https://forum.cockos.com/showthread.php?t=290733
slider1:pads=4<1,16,1>Pads per Row
slider2:range_min=-20<-150,12,1>Range Min (dB)
slider3:range_max=0<-150,12,1>Range Max (dB)
slider4:midi_note_dest=36<1,127,1>MIDI Note Start
@X-Raym
X-Raym / Deezer Cookie Partners
Created March 6, 2024 11:08
List of Advertisement companies, web trackers and commercial partners for cookies data from on major Music Streaming website (Deezer, Spotify). Diff check to see the common partners and the different one.
@X-Raym
X-Raym / TrackRouting2dot.lua
Last active March 6, 2024 11:01
REAPER Track Routing to Graphviz by Fabian mod by X-Raym https://forums.cockos.com/showthread.php?t=239250
-- TrackRouting2dot, v0.1, M Fabian (Mod by X-Raym
-- Goes through the current project and generates a file (png or gif or jpg or...)
-- that graphically displays the track routing within the project
-- Uses the dot layout engine, available in the Graphviz package from http://graphviz.org/
-- TODO:
-- * DONE! - Add send and receive channels at the respective ends of the arrows
-- * DONE! - Add "implicit" sends from children to parents, hatched lines
-- * Make edges orthogonal (splines=ortho should fix that but doesn't, probably not possible)
-- * DONE! - Make the track colors more like what the colors actually look in Reaper
-- * DONE! - Distinhguish MIDI sends
@X-Raym
X-Raym / capitlize vscode.md
Created January 17, 2024 16:35
Capitilize first letter of every line in VS Code

Capitilize first letter of every line in VS Code

SEARCH

^(\w)

REPLACE

\U$1

@X-Raym
X-Raym / 4 CCT+HSI Open DMX from MIDI.noisette
Last active October 5, 2024 09:31
For Nanlite Pavotube II XR
{"metaData": {"version": "1.9.17", "versionNumber": 67857}, "projectSettings": {"containers": {"dashboardSettings": {"parameters": [{"value": "", "controlAddress": "/showDashboardOnStartup", "enabled": false}]}, "customDefinitions": {}}}, "dashboardManager": {"parameters": [{"value": true, "controlAddress": "/editMode"}, {"value": false, "controlAddress": "/snapping"}], "items": [{"niceName": "Dashboard", "type": "BaseItem", "itemManager": {"parameters": [{"value": [1200.0, 800.0], "controlAddress": "/canvasSize", "enabled": false}], "items": [{"parameters": [{"value": [-84.0, -78.0], "controlAddress": "/viewUIPosition"}, {"value": [200.0, 40.0], "controlAddress": "/viewUISize"}, {"value": "/item/go", "controlAddress": "/target"}, {"value": "Killswitch", "controlAddress": "/customText", "enabled": true}, {"value": "", "controlAddress": "/customImage", "enabled": false}, {"value": "", "controlAddress": "/dashboardTarget"}], "niceName": "Item", "hideInEditor": true, "type": "DashboardLinkItem", "ghostAddress":
@X-Raym
X-Raym / gist:345c48c8e816d0b894d3894ddd914069
Last active December 10, 2023 23:49
QL+ from REAPER DMX Control
Piste MIDI avec MIDI Control Output
MIDI FX capable of MIDI CC Out, like ReaControl MIDI
Check Channel and CC number
In QL+
LoopBe as Input of the universe. Not output
Launch LoopBe
Add Profile in In/Out for loopbe
Add Slider
On virtual console
@X-Raym
X-Raym / gist:b03860ad0cca341140eedf9be8d0629c
Created December 10, 2023 11:42
Multiply a video rate by x4 and pitch audio up, lossless with FFPMEG
With Pitch Change, via audio Resampling
C:\Users\USER>C:\Users\USER\AppData\Roaming\REAPER\UserPlugins\ffmpeg.exe -i "E:\Bureau\PXL_20231209_213533058.mp4" -filter_complex "[0:v]setpts=0.25*PTS[v];[0:a]asetrate=192000[a]" -ar 48000 -map "[v]" -map "[a]" "E:\Bureau\PXL_20231209_213533058_x4.mp4"
Without Pitch Change
C:\Users\USER>C:\Users\USER\AppData\Roaming\REAPER\UserPlugins\ffmpeg.exe -i "E:\Bureau\PXL_20231209_215801374.mp4" -filter_complex "[0:v]setpts=0.25*PTS[v];[0:a]atempo=4.0[a]" -map "[v]" -map "[a]" "E:\Bureau\PXL_20231209_215801374_x4.mp4"
@X-Raym
X-Raym / gist:19b384affd7db22faaef47182123aa80
Created June 16, 2023 08:48
Regex to remove inline style in JavaScript
style=".+?"
<REAPER_PROJECT 0.1 "6.79/win64" 1684446322
RIPPLE 0
GROUPOVERRIDE 0 0 0
AUTOXFADE 129
ENVATTACH 0
POOLEDENVATTACH 0
MIXERUIFLAGS 11 48
PEAKGAIN 1
FEEDBACK 0
PANLAW 1