diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2017-08-16 23:54:40 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2017-08-16 23:54:40 +0900 |
commit | df77159e29d62a805f29597d4ebb5b441af416c8 (patch) | |
tree | c4c997f4f1d37f865d27dc8975b0052401e004e8 | |
parent | 3da7ea7891ccb0349376018f4b1186d5734da448 (diff) |
PMD: fixed PPZ envelope, fixed PPZ portamento
-rw-r--r-- | fmdriver/fmdriver_pmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fmdriver/fmdriver_pmd.c b/fmdriver/fmdriver_pmd.c index 3c3c930..bd1c424 100644 --- a/fmdriver/fmdriver_pmd.c +++ b/fmdriver/fmdriver_pmd.c @@ -1840,7 +1840,7 @@ static void pmd_ppz8_freq_out( uint32_t freq = part->actual_freq | (((uint32_t)part->actual_freq_upper) << 16); if (!freq) return; if (part->portamento_diff) { - freq += part->portamento_diff * 4; + freq += part->portamento_diff << 4; } int32_t det = 0; if (part->lfof.freq || part->lfof_b.freq) { @@ -5429,7 +5429,7 @@ static void pmd_part_proc_ppz8( struct driver_pmd *pmd, struct pmd_part *part ) { - if (!part->ptr) return; + //if (!part->ptr) return; part->proc_masked = pmd_part_masked(part); part->len_cnt--; if (part->proc_masked) { |