Skip to content

Commit fe399fc

Browse files
committed
SynthV 插件:修改默认选项值
1 parent 1a0b904 commit fe399fc

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

csharp/Plugins/SynthV/Properties.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@
5050
</Option>
5151
</InputOptions>
5252
<OutputOptions>
53-
<Option Name="vibrato" Type="enum" Default="hybrid">
53+
<Option Name="vibrato" Type="enum" Default="none">
5454
<Notes>自动颤音处理方式</Notes>
5555
<EnumChoices>
56-
<Choice Name="全部丢弃" Tag="none">
56+
<Choice Name="全部抹平" Tag="none">
5757
<Label>所有音符的颤音深度将被设置为 0,以保证输出的音高曲线与输入一致</Label>
5858
</Choice>
5959
<Choice Name="全部保留" Tag="always">

csharp/Plugins/SynthV/SynthVConverter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
namespace SynthV.Stream
1111
{
12-
internal class SynthVConverter : IProjectConverter
12+
public class SynthVConverter : IProjectConverter
1313
{
1414
public Project Load(string path, ConverterOptions options)
1515
{
@@ -31,7 +31,7 @@ public void Save(string path, Project project, ConverterOptions options)
3131
{
3232
var svProject = new SynthVEncoder
3333
{
34-
VibratoOption = options.GetValueAsEnum("vibrato", VibratoOptions.Hybrid),
34+
VibratoOption = options.GetValueAsEnum("vibrato", VibratoOptions.None),
3535
ParamSampleInterval = options.GetValueAsInteger("desample", 40)
3636
}.EncodeProject(project);
3737
var stream = new FileStream(path, FileMode.Create, FileAccess.Write);

0 commit comments

Comments
 (0)