Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

ByteBeatLib

ByteBeat Library for RimWorld A mod that provides ByteBeat algorithmic music generation capabilities for modders. This mod is a LIBRARY that provides: • ByteBeat audio processing engine • Bytebeat expression compiler for audio generation • Real time audio playback system • ByteBeat composer UI window • Pattern library with example compositions • Multiple audio modes (Bytebeat, Signed Bytebeat, Floatbeat, Funcbeat) Info - about bytebeat from [url=https://steamcommunity.com/linkfilter/?u=http%3A%2F%2Fdollchan.net]dollchan.net[/url]: Bytebeat music (or one-liner music) was invented in September 2011. They're generally a piece of rhythmic and somewhat melodic music with no score, no instruments, and no real oscillators. It's simply a single-line formula that defines a waveform as a function of time, processed (usually) 8000 times per second, resulting in an audible waveform with a 256-step resolution from silence (0) to full amplitude (256). If you put that formula into a program with a loop that increments time variable (t), you can generate the headerless unsigned 8 bit mono 8kHz audio stream on output, like in this application. Since these directly output a waveform, they have great performance in compiled languages and can often be ran on even the weakest embedded devices. Features: Bytebeat Signed Bytebeat Floatbeat Funcbeat Variables String Indexing Mathematical functions Scientific notation Ternary Operators Adjustable sample rates Controls for playback speed and volume Pattern selection and library Waveform visualization Debug logging Real time audio playback For modders: 1. Reference the DLL: Add ByteBeatLib.dll to your mod's Assemblies folder and reference it in your project 2. Extend patterns library: Add custom patterns to the library or dynamically inject them using Harmony patches 3. Trigger Music: Use Harmony or rimworld's event system to play bytebeat music at specified moments (like after finished research, raid start, crafting something etc) UI is OPTIONABLE. Bytebeat can work in the background Credits - viznut - creator of bytebeat - bytebeat song authors featured in this mod [url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fko-fi.com%2Fvhsn_][img]https://i.imgur.com/Cbn9SN1.png[/img][/url][ko-fi.com]