mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-27 15:03:01 +00:00
implement note off resets slides flag
This commit is contained in:
parent
43c9c58034
commit
e0b0da2072
1 changed files with 3 additions and 3 deletions
|
@ -466,7 +466,7 @@ void DivEngine::processRow(int i, bool afterDelay) {
|
||||||
//chan[i].note=-1;
|
//chan[i].note=-1;
|
||||||
chan[i].keyOn=false;
|
chan[i].keyOn=false;
|
||||||
chan[i].keyOff=true;
|
chan[i].keyOff=true;
|
||||||
if (chan[i].inPorta) {
|
if (chan[i].inPorta && song.noteOffResetsSlides) {
|
||||||
if (chan[i].stopOnOff) {
|
if (chan[i].stopOnOff) {
|
||||||
chan[i].portaNote=-1;
|
chan[i].portaNote=-1;
|
||||||
chan[i].portaSpeed=-1;
|
chan[i].portaSpeed=-1;
|
||||||
|
@ -487,7 +487,7 @@ void DivEngine::processRow(int i, bool afterDelay) {
|
||||||
//chan[i].note=-1;
|
//chan[i].note=-1;
|
||||||
chan[i].keyOn=false;
|
chan[i].keyOn=false;
|
||||||
chan[i].keyOff=true;
|
chan[i].keyOff=true;
|
||||||
if (chan[i].inPorta) {
|
if (chan[i].inPorta && song.noteOffResetsSlides) {
|
||||||
if (chan[i].stopOnOff) {
|
if (chan[i].stopOnOff) {
|
||||||
chan[i].portaNote=-1;
|
chan[i].portaNote=-1;
|
||||||
chan[i].portaSpeed=-1;
|
chan[i].portaSpeed=-1;
|
||||||
|
@ -948,7 +948,7 @@ bool DivEngine::nextTick(bool noAccum) {
|
||||||
if (--chan[i].cut<1) {
|
if (--chan[i].cut<1) {
|
||||||
chan[i].oldNote=chan[i].note;
|
chan[i].oldNote=chan[i].note;
|
||||||
//chan[i].note=-1;
|
//chan[i].note=-1;
|
||||||
if (chan[i].inPorta) {
|
if (chan[i].inPorta && song.noteOffResetsSlides) {
|
||||||
chan[i].keyOff=true;
|
chan[i].keyOff=true;
|
||||||
chan[i].keyOn=false;
|
chan[i].keyOn=false;
|
||||||
if (chan[i].stopOnOff) {
|
if (chan[i].stopOnOff) {
|
||||||
|
|
Loading…
Reference in a new issue