This file contains 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
#Include VMR.ahk | |
vm := new VMR().login() | |
vol := 0.5 | |
vm.strip[6].AppGain := Format("(""Spotify"", {:.1f})", vol) | |
^a:: | |
vol -= 0.1 | |
vm.strip[6].AppGain := Format("(""Spotify"", {:.1f})", vol) | |
return |
This file contains 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
""" | |
Creates some dummy test scenes and rotates through them. | |
For each scene switch some Voicemeeter parameters are changed. | |
Requires voicemeeter-api package at https://github.com/onyx-and-iris/voicemeeter-api-python | |
""" | |
import asyncio | |
import logging |
This file contains 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 socket | |
import time | |
from dataclasses import dataclass | |
from pathlib import Path | |
try: | |
import tomllib | |
except ModuleNotFoundError: | |
import tomli as tomllib |
This file contains 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 obsws_python as obs | |
import xair_api | |
mapping = { | |
"START": 1, | |
"BRB": 2, | |
"END": 3, | |
"LIVE": 4, | |
} # set the mapping for the scene to channel mapping here. "scenename": "channel" | |
obsip = "localhost" # set the obs machine ip here. localhost works if you run this script on the same machine. |
This file contains 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 time | |
import obsws_python as obs | |
def on_record_state_changed(data): | |
"""The state of the record output has changed.""" | |
print(f"Current record state: {data.output_state}") | |
if data.output_state == "OBS_WEBSOCKET_OUTPUT_STARTED": |
This file contains 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 logging | |
import time | |
from pathlib import Path | |
import requests | |
from watchdog.events import FileSystemEventHandler | |
from watchdog.observers import Observer | |
logging.basicConfig(level=logging.INFO) |
This file contains 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
require_relative "../../lib/voicemeeter" | |
class Main | |
GAINLAYER = 0 | |
def initialize(vm) | |
@vm = vm | |
@vm.register(method(:on_midi) | |
end |
This file contains 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 logging | |
import obsws_python as obs | |
logging.basicConfig( | |
level=logging.DEBUG, | |
) | |
def main(): |
This file contains 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
# -*- mode: python ; coding: utf-8 -*- | |
block_cipher = None | |
added_files = [ | |
( 'controllerClient/x64', 'controllerClient/x64' ), | |
( 'controllerClient/x86', 'controllerClient/x86' ), | |
] |
This file contains 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 logging | |
import os | |
import subprocess | |
import time | |
from pathlib import Path | |
import voicemeeterlib | |
logging.basicConfig(level=logging.DEBUG) |