MIDI synthesizer plugin built around the programmable sound generators AY-3-8910 and YM2149.
Based on Ayumi, an emulator for the AY-3-8910 and YM2149.
- Sound as close to the original chips as possible.
- Similar limitations to the original machines using these chips (mainly ZX Spectrum, Amstrad CPC, MSX and Atari ST).
- Implement similar techniques to the ones used in those computers in a way that makes it easy to use them to create music in a MIDI environment.
- Support popular audio plugin formats.
General:
- AY-3-8910 and YM2149 modes.
- Configurable clock rate from 1 to 2 Mhz.
- Configurable update rate from 50 to 300Hz.
- Jack standalone.
- LV2 plugin.
- VST2 plugin.
- VST3 plugin.
- CLAP plugin.
MIDI:
- Omni on/off.
- Mono/Poly modes.
- Poly mode with up to 3 simultaneous voices.
- Mono mode with MIDI channels grouped for each voice.
- Arpeggios in mono mode with variable speed and direction.
- Software controlled amplitude envelope (AHDSR).
- Software controlled pitch envelope for the attack/hold.
- Volume.
- Velocity.
- Pitch bend.
- Voice pan.
- Vibrato
- Portamento
Install dependencies:
- cmake
- make
- GCC
- lv2-dev
Clone this repository with submodules:
git clone --recurse-submodules https://github.com/berarma/aymidi
Build the project:
cmake build
cd build
make
The plugins will be in the build/bin/
directory.
Load the plugin into your plugins host and connect the MIDI input and audio outputs.
The output is unfiltered unlike it was in the old computers. The amplification circuits which accompanied these chips together with the computer or TV speakers filtered the audio output significantly.
WARNING: Exposing your ears to the high harmonics for extended periods of time or at high volumes can damage them.
It's recommended to put at least a low-pass filter in the audio outputs to take care of your ears but also to get it to sound more like the original hardware.
The MIDI implementation table can help you when playing.
There's an instruments file for VMPK in the resources directory.
Other similar projects which might better fulfill your needs and also served as inspiration:
Thanks to the authors of these resources which helped in the learning process:
- Summary of MIDI 1.0 Messages
- MIDI 1.0 Control Change Messages
- Philip Rees article on MIDI channels, voices, timbres and modes
- gwEm's maxYMiser Tutorial
- Arkos Tracker 2 manual and tutorials
This project uses code from the following projects:
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.