-
-
Notifications
You must be signed in to change notification settings - Fork 492
SFX Editor
You can define 64 sound effects which also can be used in the Music Editor as instruments.
Once in the editor you will see two inputs near the top, Index (IDX) and Speed (SPD). Index controls which sound effect you are editing (from 00 to 63) and Speed controls how fast that sound effect plays (from -4 to 03). Next, there are 4 ways to affect how your instrument sounds, on the left. These are:
- Wave For changing the type of waveform your instrument uses. The options are a set of waveforms defined in the waveform tab of the editor. A new cartridge will already have waveforms setup for Square, Triangle, Saw or Noise (usually used for percussion, explosions etc)
- Volume How loud your instrument is. If you want your SFX to fade in or out, this is the way to do it.
- Arpeggio Changing note, relative to the base note played. This can be used to play through chords.
- Pitch Change the base note.
The Octave (OCT) option at the bottom changes the octave your keyboard plays in. You can play notes with the Z
S
X
D
C
V
G
B
H
N
J
M
keys. The keys are mapped as if the bottom row on a standard qwerty keyboard are one octave of a piano, with sharps and flats on the row above. Pressing SPACE
will play your last played key.
The Loop function lets you repeat parts of your SFX. The first number controls the length of the loops (From 0-15) and the second number controls its position (Also 0-15). This will loop the current pattern for the selected option on the left. You can control the loops for all the options separately and they do not affect each other.
Use the sfx API function to play your sound effect.
TIC-80 tiny computer https://tic80.com | Twitter | Telegram | Terms
Built-in Editors
Console
Platform
RAM & VRAM | Display | Palette | Bits per Pixel (BPP) |
.tic
Format | Supported Languages
Other
Tutorials | Code Snippets | Libraries | External Tools | FFT
API
- BDR (0.90)
- BOOT (1.0)
- MENU
- OVR (deprecated)
- SCN (deprecated)
- TIC
- btn & btnp
- circ & circb
- clip
- cls
- elli & ellib (0.90)
- exit
- fget & fset (0.80)
- font
- key & keyp
- line
- map
- memcpy & memset
- mget & mset
- mouse
- music
- peek, peek4
- peek1, peek2 (1.0)
- pix
- pmem
- poke, poke4
- poke1, poke2 (1.0)
- rect & rectb
- reset
- sfx
- spr
- sync
- ttri (1.0)
- time
- trace
- tri & trib (0.90)
- tstamp (0.80)
- vbank (1.0)