Map Zyn PAD detune and filter order
This commit is contained in:
parent
85245363b0
commit
01eea5eccf
10 changed files with 145 additions and 4 deletions
|
|
@ -656,6 +656,16 @@ public sealed class PatchScriptTests
|
|||
Assert.Empty(export.Warnings);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void VoiceLowPassOrderSelectsFaustFilterOrder()
|
||||
{
|
||||
var patch = PatchScript.Parse("v w=saw f=80 lpf=.1 lpf_order=2");
|
||||
var export = FaustEmitter.Emit(patch);
|
||||
|
||||
Assert.Equal(2, patch.Voices[0].Filter.LowPassOrder);
|
||||
Assert.Contains("fi.lowpass(2, max(20.0,", export.Source);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void VoiceEnvelopeUsesStandardAdsrAndNoteGate()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue