Skip to content

ATtinyTeenageRiot/hex2wavjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hex2WavJS

Javascript library for interacting with TinyAudioBoot and 8BitMixtapeNEO

Usage

Program Chip

var hex2wav = new Hex2wav();
var decoded_hex_array = hex2wav.decodeHexFile(hex_string);
var signal = hex2wav.generateProgrammingSignal(decoded_hex_array);
hex2wav.playSignal(hex2wav.audioCtx, signal);

Send control signal

var hex2wav = new Hex2wav();
var sig = hex2wav.generateControlSignal(arr);
hex2wav.playSignal(hex2wav.audioCtx, sig);

Set EEPROM

var arr = [85]; // max length 64
var hex2wav = new Hex2wav();
var sig = hex2wav.generateEEPROMSignal(arr);
hex2wav.playSignal(hex2wav.audioCtx, sig);

Credit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published