Skip to content

Instantly share code, notes, and snippets.

View bbartling's full-sized avatar

Ben Bartling bbartling

View GitHub Profile
@bbartling
bbartling / CutSceneVoiceActing.md
Created December 27, 2025 18:59
Game Dev AI Voice Cutscene Generator Cheat Sheet

🎮 AI Voice Cutscene Generator (WSL + Edge-TTS)

Generate cinematic, human-sounding AI dialogue for game cut scenes using Microsoft Neural Voices, completely scriptable from Python.

The script takes a dialogue script with two characters, generates separate voice lines, then merges them into a single cutscene_edge.wav ready for Unity, Unreal, Godot, etc.

⚠️ This uses Microsoft’s neural TTS over the internet via Edge-TTS. Text is sent to Microsoft’s service; audio comes back. No API key required.

Works great with:

@bbartling
bbartling / README.md
Last active December 13, 2025 19:00
BACnet Auto-Scan to CSV with bacpypes3 and enhanced tester py with the bacpypes console

BACnet Diagnostic Tools

Two scripts for discovering, auditing, and manually testing BACnet networks.

1. Install Requirements

Run this once to get the required libraries:

pip install bacpypes3 ifaddr
@bbartling
bbartling / bin_chiller_hours.py
Last active September 27, 2025 19:13
Linkedlen article
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import os
# Load the CSV data into a DataFrame
df = pd.read_csv("Merged_Weather_System_Data.csv")
# Convert timestamp to datetime and set as index
df['ts'] = pd.to_datetime(df['ts'])
@bbartling
bbartling / agent.py
Last active October 23, 2025 12:47
AI Agent Acitivities
from __future__ import annotations
import argparse
import os
import re
import requests
import subprocess
import sys
from pathlib import Path
from typing import List, Tuple, Optional, Callable, Dict
@bbartling
bbartling / bacnet_test.py
Last active May 31, 2025 17:59
simple BAC0 scripts
import asyncio
import BAC0
"""
not tested yet
"""
async def main():
bacnet = BAC0.lite()
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.