aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/jsyn
Commit message (Collapse)AuthorAgeFilesLines
* midi: fixes for ExoSynth (#114)Phil Burk2022-08-113-45/+75
| | | | | | | | | | Combine channel and noteNumber as a tag for the VoiceAllocator to avoid collisions when the same note is played on multiple channels. Allocate more voices: numChannels * voicesPerChannel For GM2 synths, force channel 10 (9) to use preset 128. That is a sign for the synth that this is a rhythm channel.
* Remove LOGGER references and a '== Double.NaN' check (#113)Santiago Seifert2022-08-041-1/+1
| | | | LOGGER is not imported, and Double.NaN doesn't follow traditional '==' comparison rules.
* Add support for arbitrary offsets in MessageParser.parse (#112)Santiago Seifert2022-08-032-12/+37
| | | | Used for MIDI message parsing.
* WaveRecorder: fix hang in StreamingThread (#106)Phil Burk2022-01-303-28/+43
| | | | | | | | | | The read() could hang forever waiting for data when the WaveRecorder was stopped. Now it terminates the thread. Also fix bug in AudioFifo when partially full. It would not read any data! Fixes #105
* Add getUnits() method to Circuit. (#104)Phil Burk2021-10-301-0/+9
| | | Add new TestCircuit unit test.
* jsyn: remove dependency on SLF4JPhil Burk2021-09-0117-214/+55
| | | | | | It was causing too many problems and had no apparent benefit. Fixes #101
* Fix ExponentialRamp exceptionPhil Burk2021-04-111-9/+9
| | | | | | Negative input could cause a crash. Fixes #92
* Add WaveFolder unit generator.Phil Burk2020-11-242-5/+87
| | | | Fold waveforms using sin(a*x).
* Restructured project, added gradle, JUnit, logger, and moreRubbaBoy2020-10-30248-0/+24919
Added Gradle (and removed ant), modernized testing via the JUnit framework, moved standalone examples from the tests directory to a separate module, removed sparsely used Java logger and replaced it with SLF4J. More work could be done, however this is a great start to greatly improving the health of the codebase.