This file contains hidden or 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
# synthio_portamento_hack.py -- a hacky way to do portamento in synthio | |
# | |
import board, time, random | |
import audiobusio, audiomixer, synthio | |
import ulab.numpy as np | |
lck_pin, bck_pin, dat_pin = board.MISO, board.MOSI, board.SCK | |
audio = audiobusio.I2SOut(bit_clock=bck_pin, word_select=lck_pin, data=dat_pin) | |
mixer = audiomixer.Mixer(voice_count=1, sample_rate=28000, channel_count=1, |
This file contains hidden or 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
================================================================================ | |
ROBOT CODE DEBUG - 32-bit Opcode Format | |
================================================================================ | |
Robot: ROBOT1 | |
Active: True | |
-------------------------------------------------------------------------------- | |
1: ; SAMPLE ROBOT 'SCANNER' ; (comment/empty) | |
2: ]START ; LABEL -> addr 0 | |
3: ] DAMAGE TO D ; [ 0] MOV op1: 4 REG op2: 30 imm: 0 | |
4: ]SCAN ; LABEL -> addr 1 |
OlderNewer