igorski / MWEngine

Audio engine and DSP library for Android, written in C++ providing low latency performance within a musical context, while providing a Java/Kotlin API. Supports both OpenSL and AAudio.
MIT License
259 stars 45 forks source link

Synth Legato - Portamento #84

Open teotigraphix opened 5 years ago

teotigraphix commented 5 years ago

I was playing around today and realized we can set frequencies real-time and you also mentioned 'legato' in the code comments.

You would need a place on audio event for flags, since you need to specify which event IS legato.

This would also have to be mono synth as well.

So as with most of my other issues, I am just looking for some conversation and direction.

igorski commented 5 years ago

This could be tackled along with https://github.com/igorski/MWEngine/issues/83

If we do it at the audio event level, rather than at the instrument level you can merely shift the base pitch of the event and restore it its original value after the event has finished playing/set the original value when it starts playing, all using automation parameters.