This file contains hidden or 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
| setcpm(60/4) | |
| addVoicings('cookie', { | |
| 7: ['3M 7m 9M 12P 15P', '7m 10M 13M 16M 19P', '3M 6M 9M 13M 15P', '7m 9M 13M 16M 20P'], | |
| '^7': ['3M 6M 9M 12P 14M', '7M 10M 13M 16M 19P', '3M 7M 10M 14M 17M', '6M 10M 14M 17M 21M'], | |
| m7: ['8P 11P 14m 17m 19P', '5P 8P 11P 14m 17m', '3m 7m 10m 14m 17m', '5P 10m 14m 17m 19P'], | |
| m7b5: ['3m 5d 8P 11P 14m', '5d 8P 11P 14m 17m', '3m 5d 10m 14m 17m', '8P 12d 15P 17m 21m'], | |
| o7: ['3m 6M 9M 11A 15P', '3m 5d 8P 11A 14d', '6M 9M 12d 15P 18d'], | |
| '7alt': ['3M 7m 10m 13m 15P', '3M 6m 10m 13m 16m', '7m 10m 13m 16m 18A'], | |
| '7#11': ['7m 10m 13m 15P 17m', '3M 7m 11A 14M 17m', '7m 11A 14M 17m 19P'], |
This file contains hidden or 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
| import struct | |
| import math | |
| import random | |
| import os | |
| # --- MIDI CONSTANTS --- | |
| PPQ = 960 | |
| # General MIDI Map | |
| KICK = 36 |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Tunnel Vision Dissolve Shader</title> | |
| <style> | |
| body { margin: 0; overflow: hidden; background-color: #add8e6; } | |
| canvas { display: block; } | |
| .info { |
This file contains hidden or 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
| # Made by @xdavidhu (github.com/xdavidhu, https://xdavidhu.me/) | |
| # Merge with https://github.com/Pinoccio/tool-serial-pcap/blob/master/serial-pcap | |
| # And https://wiki.wireshark.org/CaptureSetup/Pipes | |
| import serial | |
| import io | |
| import os | |
| import subprocess | |
| import signal | |
| import time |
This file contains hidden or 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
| # --- Configuration --- | |
| $inputFile = "C:\Users\new\Videos\someVideo.mp4" | |
| $outputFile = "C:\Users\new\Videos\someVideoNormalised.mp4" | |
| # --- Target Loudness --- | |
| $target_I = "-14" | |
| $target_LRA = "7" | |
| $target_TP = "-1.5" | |
| Write-Host "Running Pass 1 (analysis)..." -ForegroundColor Yellow |
This file contains hidden or 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
| export interface ChromaKeyOptions { | |
| keyColor?: [number, number, number] // RGB color to key out (default: magenta) | |
| tolerance?: number // Tolerance range for color matching (0-100) | |
| softness?: number // Edge softness (0-100) | |
| spill?: number // Spill suppression strength (0-100) | |
| preserveEdges?: boolean // Preserve edge detail | |
| } | |
| export interface ImageData { | |
| data: Uint8ClampedArray |
This file contains hidden or 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
| export interface DeSepAIOptions { | |
| strength?: number | |
| notchWhiten?: boolean | |
| shiftBase?: [number, number, number] | |
| preserveDark?: boolean | |
| } | |
| export interface ImageData { | |
| data: Uint8ClampedArray | |
| width: number |
This file contains hidden or 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
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| import matplotlib.cm as cm | |
| import wave | |
| import contextlib | |
| import cv2 | |
| import os | |
| import shutil | |
| from moviepy.editor import AudioFileClip, VideoFileClip |
This file contains hidden or 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
| import os | |
| import shutil | |
| from pathlib import Path | |
| def follow_and_copy_symlinks(source_directory: str, model_directory_name: str = "MODEL"): | |
| """ | |
| Follows all symbolic links in a given source directory, copies the target | |
| files (blobs) to a new 'MODEL' directory, and names the copies after | |
| the original symlinks. |
This file contains hidden or 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
| 5.1,3.5,1.4,0.2,Iris-setosa | |
| 4.9,3.0,1.4,0.2,Iris-setosa | |
| 4.7,3.2,1.3,0.2,Iris-setosa | |
| 4.6,3.1,1.5,0.2,Iris-setosa | |
| 5.0,3.6,1.4,0.2,Iris-setosa | |
| 5.4,3.9,1.7,0.4,Iris-setosa | |
| 4.6,3.4,1.4,0.3,Iris-setosa | |
| 5.0,3.4,1.5,0.2,Iris-setosa | |
| 4.4,2.9,1.4,0.2,Iris-setosa | |
| 4.9,3.1,1.5,0.1,Iris-setosa |
NewerOlder