DS-Monotron v0.2 Beta

DS, DSi and 3DS homebrews: apps, emulators, games and tools for Luma3DS and the Homebrew Launcher, with versions and links.
User avatar
sniper3d
Master Gamer
Members
Posts: 2480
Joined: Mon 3 Jan 2011 13:07
Wi-Fi: Oui
PS3 Dongle: Aucun

DS-Monotron v0.2 Beta

Post by sniper3d »

Automatically translated from French.

furrtek updates his version of "DS-Monotron", an emulator of the "KORG Monotron" mini analog synth for the nintendo DS.
External content (video or audio) hidden: it sets its own cookies.
Left/right: Octave shift -2/+2.
Down: Sustain.
B: Test tone.
Spoiler
Sound synthesis source:

//Patch to cutoff or pitch
if (mode) {
flt=filter*(1-((1-lfo)*intlfo));
} else {
pitchlfo=(1-((1-lfo)*intlfo));
flt=filter;
}


//Double LP filter + resonance

float fb = peak + peak/(1.0f - flt);
buf0 = buf0 + flt * ((sine*80) - buf0 + fb * (buf0 - buf1))/2;
buf1 = buf1 + flt * (buf0 - buf1);


// output left and right
*target++ = (smp*pan)/256;

*target++ = (smp*(255-pan))/256;

sine-=(pitch*pitchmod*pitchlfo);
if (sine >= 400.0f) sine = 0.0f;
lfo-=ratelfo;
if (lfo < 0.01f) lfo=1.0f;
This content is for members only. Log in or register for free to see it.
Official Site
Source

Everything for DS · DSi · 3DS