1
0
mirror of https://github.com/sjlongland/atinysynth.git synced 2025-09-13 10:03:15 +10:00
Commit Graph

12 Commits

Author SHA1 Message Date
Luciano Martorella
c19c6dddcb - Added sequencer from binary 'waveform' and ADSR data.
- Added waveform generic API to create waveforms, and use period instead of frequency in waveform (avoid division on MCUs)
- Introduced 'def' struct in ADSR API for reuse
- Multi-track MML parser and compilation
- Added some samples from https://electronicmusic.fandom.com/wiki/Music_Macro_Language
- Added scale.mml for testing
2021-05-18 20:18:29 +02:00
0e69a48102
waveform.c: Clean up trailing whitespace 2021-05-18 14:41:34 +10:00
Luciano Martorella
b6bdd2557c - Fixed fractional frequency 2021-05-16 19:02:33 +02:00
Luciano Martorella
8381065e5b - Fixed typo 2021-05-16 19:01:43 +02:00
Luciano Martorella
a25fb68071 - Sawtooth wave: overflow fix 2021-05-10 19:47:02 +02:00
d1cbf66261
waveform: Add support for frequency scaling.
For conniseurs of DDS frequency generation, we provide the option of
scaling the integer frequency so that frequency may be specified to
fractions of 1Hz.  This is useful in musical applications where the
frequency of most notes is a non-integer value.
2017-07-25 07:59:23 +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
5c90525e01
waveform: Add debugging 2017-04-08 20:55:38 +10:00
84370bd932
ADSR-based synthesizer for microcontrollers
Initial check-in.
2017-04-08 18:57:37 +10:00