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 |
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
| #!/usr/bin/env python3 | |
| """ | |
| Public Address Effect Processor | |
| Adds vintage public address system effects to WAV files. | |
| Janky AF | |
| """ | |
| import tkinter as tk | |
| from tkinter import ttk, filedialog, messagebox |
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
| #!/usr/bin/env python3 | |
| """ | |
| Enterprise-grade Chat UI for OpenRouter's Cypher Alpha model using Tkinter. | |
| Features: | |
| - Full conversation history with scrollback | |
| - Dark/light theming toggle | |
| - Syntax-highlighted code blocks with copy-on-right-click | |
| - Streaming AI responses in background thread | |
| - Export/import chat history as JSON |
NewerOlder