|
2fe3ea766c
|
fifo: Drop unused library
|
2017-04-09 10:53:57 +10:00 |
|
|
17599177cb
|
ports/attiny85: Looping sound effects.
It sounds like the crappiest doorbell you've ever heard, but we now get
a crude "ding dong" effect with this code, on a loop.
|
2017-04-09 10:17:49 +10:00 |
|
|
7214ae7d78
|
synth: Make enable/mute bits volatile.
Otherwise the optimiser doesn't bother to re-check them.
|
2017-04-09 10:17:09 +10:00 |
|
|
fb59c52b71
|
ports/pc: Start playback when enable ≠ 0.
After configuring the voices, we start playback until all channels stop.
|
2017-04-09 10:13:29 +10:00 |
|
|
ba7d0598c9
|
synth: Turn off channels that are "done".
|
2017-04-09 10:07:27 +10:00 |
|
|
dd483630d7
|
voice: Add test for voice channel done.
|
2017-04-09 10:07:10 +10:00 |
|
|
57769d477a
|
adsr: Add debugging
|
2017-04-09 10:06:38 +10:00 |
|
|
5855eb3da0
|
adsr: Add test for "ADSR done" event.
|
2017-04-09 10:06:11 +10:00 |
|
|
093b6dd888
|
ports/attiny85: Set sample rate to 8kHz
|
2017-04-09 09:17:28 +10:00 |
|
|
3f7c6353c1
|
ports/attiny85: Remove debugging #if blocks
|
2017-04-09 09:17:04 +10:00 |
|
|
b1ddd0c099
|
ports/attiny85: Define program target
|
2017-04-09 09:16:50 +10:00 |
|
|
38bf5a4261
|
Makefile: Remove .dep output definitions.
This confuses `make` and it winds up telling `gcc` to write the compiled
binary to the `.dep` output.
|
2017-04-09 09:09:53 +10:00 |
|
|
9bba7c0c19
|
ports/attiny85: Work in progress ATTiny85 port
|
2017-04-09 08:24:14 +10:00 |
|
|
301f5d0b8c
|
fifo: Add FIFO buffer library
|
2017-04-09 08:23:52 +10:00 |
|
|
9f3cd37109
|
ports/pc: Set default target in Makefile
|
2017-04-09 08:23:33 +10:00 |
|
|
4bad2a4c91
|
Makefile: Re-work build system
Running `make PORT=...` should be all that's required to build one of
the ports.
|
2017-04-09 08:22:54 +10:00 |
|
|
67bf582ee4
|
adsr: Add functions for configuring the ADSR.
|
2017-04-09 08:17:03 +10:00 |
|
|
286caebd67
|
adsr: Consider sustain time in initialisation.
|
2017-04-09 07:45:32 +10:00 |
|
|
54f47795ac
|
waveform: Fix logic errors in triangle synthesis
|
2017-04-09 07:26:16 +10:00 |
|
|
aff9a6c00b
|
waveform: Flip phase of sawtooth wave.
|
2017-04-09 07:22:32 +10:00 |
|
|
6f7749c0fb
|
waveform: Increase step to 16-bits.
Integer overflow was breaking sawtooth output.
|
2017-04-09 07:19:04 +10:00 |
|
|
2a9c5ac4dd
|
waveform: Fix square wave generation.
|
2017-04-08 22:02:02 +10:00 |
|
|
06199b7da8
|
pc/main: Tweak output
|
2017-04-08 21:53:12 +10:00 |
|
|
2236e9eda8
|
synth: Show channel output in debug
|
2017-04-08 21:53:00 +10:00 |
|
|
d7ae5000ca
|
adsr: Tweak attack/release envelope computation.
|
2017-04-08 21:52:27 +10:00 |
|
|
2281f8b0e3
|
voice: Debugging
|
2017-04-08 21:52:10 +10:00 |
|
|
ba94adbfd1
|
adsr: Fix attack envelope.
|
2017-04-08 21:41:02 +10:00 |
|
|
b77e364f53
|
adsr: Define "done" state
|
2017-04-08 21:40:49 +10:00 |
|
|
e24cf7376e
|
ports/pc: Debugging, bugfixes.
|
2017-04-08 20:56:03 +10:00 |
|
|
c512e5e6ef
|
synth: Add debugging
|
2017-04-08 20:55:47 +10:00 |
|
|
5c90525e01
|
waveform: Add debugging
|
2017-04-08 20:55:38 +10:00 |
|
|
c7accf26d9
|
adsr: Add debugging
|
2017-04-08 20:55:18 +10:00 |
|
|
30e11101c4
|
Makefile: Add LIBS, INCLUDES
|
2017-04-08 20:54:50 +10:00 |
|
|
90b100c23f
|
debug.h: Add debug helper
|
2017-04-08 20:26:45 +10:00 |
|
|
3dc6a8f55f
|
Add bin and obj directories.
|
2017-04-08 20:24:17 +10:00 |
|
|
be44d90dae
|
synth.h: Remove const keyword.
`gcc` doesn't like me assigning it there.
|
2017-04-08 20:23:48 +10:00 |
|
|
35e7d5ed9a
|
Beginnings of separate ports.
|
2017-04-08 20:23:26 +10:00 |
|
|
84370bd932
|
ADSR-based synthesizer for microcontrollers
Initial check-in.
|
2017-04-08 18:57:37 +10:00 |
|