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
-- softcut study 3: cut | |
-- | |
-- E2 fade time | |
-- E3 metro time (random cut) | |
file = _path.dust.."/code/softcut-studies/lib/whirl1.aif" | |
fade_time = 0.01 | |
metro_time = 1.0 | |
positions = {0,0,0,0} |
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
### Baudot TTY/TDD Message Transmitter | |
### The 5-bit mode is defined in ANSI TIA/EIA-825 (2000) | |
### "A Frequency Shift Keyed Modem for use on the Public Switched Telephone Network" | |
import audiocore | |
from audiocore import RawSample | |
from audioio import AudioOut | |
from audiomixer import Mixer | |
import adafruit_trellism4 | |
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
-- cranes | |
-- dual looper / delay | |
-- (grid optional) | |
-- v2.12 @dan_derks | |
-- https://llllllll.co/t/21207 | |
-- --------------------- | |
-- to start: | |
-- press key 2 to rec. | |
-- sounds are written to | |
-- two buffers. |
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
local sc = include("lib/tlps") | |
sc.file_path = "/home/we/dust/audio/tape/notis." | |
local lfo = include("lib/hnds") | |
local muted_L = false | |
local muted_R = false | |
rate = 1.0 | |
rec = 1.0 |
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
-- clock test | |
-- | |
-- ... | |
-- . | |
engine.name = 'PolyPerc' | |
local dividers = { 1, 4, 8 } | |
local led_states = { false, false, false } |
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
// CroneEngine_Atari2600 | |
// Atari2600 | |
// two independent voices, each of which has a 4 bit volume control (16 values), | |
// 5 bit pitch (32 values), and a 4 bit control register which selects the type of sound | |
// The standard labels for these registers are AUDV0 and AUDV1 for the volume registers, | |
// AUDF0 and AUDF1 for the pitch registers, and AUDC0 and AUDC1 for the control registers. | |
// The 5 bit pitch is very limited and the frequency values are simply divided down from | |
// 30KHz reference frequency creating higher or lower pitch | |
// Note that setting the pitch register to a lower value results in a higher pitch. |
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
-- hid-terminal.lua | |
-- requires keycodes lib | |
-- enter text to the norns screen - upper and lower case text | |
local keyb = hid.connect() | |
local keycodes = require 'keycodes' | |
local wordarray ={} |
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
-- keyboard map class | |
local keycodes = {} | |
keycodes.keys = { | |
[hid.codes.KEY_1]="1", | |
[hid.codes.KEY_2]="2", | |
[hid.codes.KEY_3]="3", | |
[hid.codes.KEY_4]="4", | |
[hid.codes.KEY_5]="5", |
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
local keyb = hid.connect(1) -- connection is by vport number not device id | |
function init() | |
--tab.print(keyb) | |
-- print(" ") | |
--print(keyb.port .." " ..hid.devices[keyb.port].name) | |
print("List:") | |
tab.print(hid.list) | |
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
local keyb = hid.connect(3) | |
local keyboard_codes = { | |
KEY_ESC="ESC", | |
KEY_1="1", | |
KEY_2="2", | |
KEY_3="3", | |
KEY_4="4", | |
KEY_5="5", |
NewerOlder