Skip to content

Commit

Permalink
Merge branch 'stakira:master' into diffsinger-nomidi
Browse files Browse the repository at this point in the history
  • Loading branch information
oxygen-dioxide authored Jan 4, 2023
2 parents c996723 + 1691e8f commit f05f05a
Show file tree
Hide file tree
Showing 7 changed files with 896 additions and 28 deletions.
2 changes: 1 addition & 1 deletion OpenUtau.Core/OpenUtau.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<PackageReference Include="TinyPinyin.Net" Version="1.0.2" />
<PackageReference Include="UTF.Unknown" Version="2.5.1" />
<PackageReference Include="WanaKana-net" Version="1.0.0" />
<PackageReference Include="YamlDotNet" Version="11.2.1" />
<PackageReference Include="YamlDotNet" Version="12.0.1" />
<PackageReference Include="NetMQ" Version="4.0.1.9" />
</ItemGroup>
<ItemGroup Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' == 'true'">
Expand Down
1 change: 1 addition & 0 deletions OpenUtau.Core/Util/Yaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public static class Yaml {
.ConfigureDefaultValuesHandling(DefaultValuesHandling.OmitNull)
.WithEventEmitter(next => new FlowEmitter(next))
.DisableAliases()
.WithQuotingNecessaryStrings()
.Build();

public static IDeserializer DefaultDeserializer = new DeserializerBuilder()
Expand Down
858 changes: 858 additions & 0 deletions OpenUtau.Plugin.Builtin/KoreanCBNNPhonemizer.cs

Large diffs are not rendered by default.

15 changes: 8 additions & 7 deletions OpenUtau.Test/Classic/VoicebankConfigTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,35 +51,36 @@ public void SerializationTest() {
var yaml = Yaml.DefaultSerializer.Serialize(CreateConfig());
output.WriteLine(yaml);

//"" evaluates to " in verbatim string literals
Assert.Equal(@"portrait_opacity: 0.75
symbol_set:
preset: hiragana
head: '-'
tail: R
subbanks:
- prefix: ''
suffix: ''
- prefix: """"
suffix: """"
tone_ranges:
- C1-C4
- prefix: ''
- prefix: """"
suffix: D4
tone_ranges:
- C#4-F4
- prefix: ''
- prefix: """"
suffix: G4
tone_ranges:
- F#4-A#4
- prefix: ''
- prefix: """"
suffix: C5
tone_ranges:
- B4-B7
- color: power
prefix: ''
prefix: """"
suffix: C5P
tone_ranges:
- B4-B7
- color: shout
prefix: ''
prefix: """"
suffix: C5S
tone_ranges:
- B4-B7
Expand Down
8 changes: 8 additions & 0 deletions OpenUtau.Test/Core/USTx/UstxYamlTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ public void SpecialLyric() {
yaml = Yaml.DefaultSerializer.Serialize(new UNote() { lyric = "-&" });
actual = Yaml.DefaultDeserializer.Deserialize<UNote>(yaml);
Assert.Equal("-&", actual.lyric);

yaml = Yaml.DefaultSerializer.Serialize(new UNote() { lyric = "null" });
actual = Yaml.DefaultDeserializer.Deserialize<UNote>(yaml);
Assert.Equal("null", actual.lyric);

yaml = Yaml.DefaultSerializer.Serialize(new UNote() { lyric = "true" });
actual = Yaml.DefaultDeserializer.Deserialize<UNote>(yaml);
Assert.Equal("true", actual.lyric);
}
}
}
38 changes: 19 additions & 19 deletions OpenUtau/Strings/Strings.fr-FR.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

<system:String x:Key="exps.abbr">Abréviation</system:String>
<system:String x:Key="exps.apply">Appliquer</system:String>
<system:String x:Key="exps.caption">Expréssions</system:String>
<system:String x:Key="exps.caption">Expressions</system:String>
<system:String x:Key="exps.defaultvalue">Valeur par défaut</system:String>
<!--<system:String x:Key="exps.flag">Resampler Flag</system:String>-->
<system:String x:Key="exps.isflag">Est un Resampler Flag</system:String>
Expand Down Expand Up @@ -120,7 +120,7 @@
<!--<system:String x:Key="menu.tools.layout.vsplit12">Vertical 1:2</system:String>-->
<!--<system:String x:Key="menu.tools.layout.vsplit13">Vertical 1:3</system:String>-->
<system:String x:Key="menu.tools.prefs">Préférences...</system:String>
<system:String x:Key="menu.tools.project.expressions">Expréssions...</system:String>
<system:String x:Key="menu.tools.project.expressions">Expressions...</system:String>
<system:String x:Key="menu.tools.singer.install">Installer une Voix</system:String>
<system:String x:Key="menu.tools.singer.installadv">Installer une Voix (paramètres avancés)</system:String>
<system:String x:Key="menu.tools.singers">Voix</system:String>
Expand Down Expand Up @@ -153,7 +153,7 @@
<system:String x:Key="oto.color">Couleur</system:String>
<system:String x:Key="oto.consonant">Consonne</system:String>
<system:String x:Key="oto.cutoff">Fin</system:String>
<system:String x:Key="oto.edit.consonant">Définir Consonant</system:String>
<system:String x:Key="oto.edit.consonant">Définir la consonne</system:String>
<system:String x:Key="oto.edit.cutoff">Définir la fin</system:String>
<system:String x:Key="oto.edit.offset">Définir le début</system:String>
<system:String x:Key="oto.edit.overlap">Définir le chevauchement</system:String>
Expand All @@ -167,11 +167,11 @@
<system:String x:Key="oto.set">Pitch</system:String>
<system:String x:Key="oto.suffix">Suffixe</system:String>

<!--<system:String x:Key="phoneticassistant.caption">Phonetic Assistant</system:String>-->
<!--<system:String x:Key="phoneticassistant.copy">Copy</system:String>-->
<system:String x:Key="phoneticassistant.caption">Assistant phonétique</system:String>
<system:String x:Key="phoneticassistant.copy">Copier</system:String>

<system:String x:Key="pianoroll.menu.lyrics">Paroles</system:String>
<system:String x:Key="pianoroll.menu.lyrics.dashtoplus">Remplacer "-" avec "+"</system:String>
<system:String x:Key="pianoroll.menu.lyrics.dashtoplus">Remplacer "-" par "+"</system:String>
<system:String x:Key="pianoroll.menu.lyrics.edit">Modifier les paroles</system:String>
<system:String x:Key="pianoroll.menu.lyrics.hanzitopinyin">Hanzi -> Pinyin</system:String>
<system:String x:Key="pianoroll.menu.lyrics.hiraganatoromaji">Hiragana -> Romaji</system:String>
Expand Down Expand Up @@ -230,8 +230,8 @@ Maintenir Ctrl pour sélectionner</system:String>
<system:String x:Key="prefs.appearance.showghostnotes">Montrer les notes des autres pistes sur le piano roll</system:String>
<system:String x:Key="prefs.appearance.showportrait">Montrer le portrait sur le piano roll</system:String>
<system:String x:Key="prefs.appearance.theme">Thème</system:String>
<system:String x:Key="prefs.appearance.theme.dark">Nuit</system:String>
<system:String x:Key="prefs.appearance.theme.light">Jour</system:String>
<system:String x:Key="prefs.appearance.theme.dark">Sombre</system:String>
<system:String x:Key="prefs.appearance.theme.light">Clair</system:String>
<system:String x:Key="prefs.caption">Préférences</system:String>
<system:String x:Key="prefs.note.restart">Note: veuillez redémarrer OpenUtau après avoir changé cette option.</system:String>
<system:String x:Key="prefs.off">Désactivé</system:String>
Expand Down Expand Up @@ -270,10 +270,10 @@ Avertissement : moresampler n'est pas entièrement pris en charge. Il peut être
<system:String x:Key="prefs.rendering.resampler.note">
Note: pour utiliser des resamplers externes, ajoutez le fichier .exe ou .dll du resampler dans le dossier "Resamplers" de OpenUTAU, puis choisissez-le dans Préférences.
</system:String>
<!--<system:String x:Key="prefs.rendering.threads.cpuwarn">
Warning: too many render threads may cause OpenUtau to run slowly.
</system:String>-->
<!--<system:String x:Key="prefs.rendering.threads.numthreads">Maximum Render Threads</system:String>-->
<system:String x:Key="prefs.rendering.threads.cpuwarn">
Attention : trop de thread pourrait ralentir OpenUTAU.
</system:String>
<system:String x:Key="prefs.rendering.threads.numthreads">Threads maximum pour le rendu</system:String>
<!--<system:String x:Key="prefs.rendering.wavtool">Wavtool</system:String>-->

<system:String x:Key="progress.saved">Projet enregistré. {0}</system:String>
Expand All @@ -282,22 +282,22 @@ Avertissement : moresampler n'est pas entièrement pris en charge. Il peut être
<system:String x:Key="singers.caption">Voicebanks</system:String>
<system:String x:Key="singers.editoto.editinvlabeler">Editer dans VLabeler</system:String>
<system:String x:Key="singers.editoto.gotosource">Ouvrir l'emplacement</system:String>
<!--<system:String x:Key="singers.editoto.regenfrq">Regenerate FRQ</system:String>-->
<!--<system:String x:Key="singers.editoto.regenfrq.regenerating">Regenerating FRQ</system:String>-->
<system:String x:Key="singers.editoto.regenfrq">Régénérer FRQ</system:String>
<system:String x:Key="singers.editoto.regenfrq.regenerating">Régénération FRQ</system:String>
<system:String x:Key="singers.editoto.reset">Réinitialiser l'Oto</system:String>
<system:String x:Key="singers.editoto.save">Sauvegarder l'Oto</system:String>
<system:String x:Key="singers.editoto.setvlabelerpath">Téléchargez vLabeler (1.0.0-beta1 ou plus) de https://github.com/sdercolin/vlabeler et définissez le chemin d'accès dans préférences d'abord !</system:String>
<system:String x:Key="singers.errorreport">Générer un rapport d'erreur de la Voix</system:String>
<system:String x:Key="singers.location">Emplacement</system:String>
<system:String x:Key="singers.otoview.moveleft">Bouger a gauche</system:String>
<system:String x:Key="singers.otoview.moveright">Bouger a droite</system:String>
<system:String x:Key="singers.otoview.moveleft">Bouger à gauche</system:String>
<system:String x:Key="singers.otoview.moveright">Bouger à droite</system:String>
<system:String x:Key="singers.otoview.selectnext">Séléctionner suivant</system:String>
<system:String x:Key="singers.otoview.selectprev">Séléctionner précédent</system:String>
<system:String x:Key="singers.otoview.showall">Montrer tout</system:String>
<system:String x:Key="singers.otoview.zoomin">Zoomer</system:String>
<system:String x:Key="singers.otoview.zoomout">Dézoomer</system:String>
<system:String x:Key="singers.refresh">Rafraîchir</system:String>
<system:String x:Key="singers.setdefaultphonemizer">Définir le phonemizeur par défaut</system:String>
<system:String x:Key="singers.setdefaultphonemizer">Définir le phonemizer par défaut</system:String>
<system:String x:Key="singers.setencoding">Configurer l'encodage</system:String>
<system:String x:Key="singers.setportrait">Définir le portrait</system:String>
<system:String x:Key="singers.subbanks.cancel">Annuler</system:String>
Expand All @@ -320,7 +320,7 @@ Avertissement : moresampler n'est pas entièrement pris en charge. Il peut être
Clic gauche: Configurer les expressions
Clic droit: Réinitialiser les expressions
</system:String>
<system:String x:Key="tip.exps.notsupported">Expression non supporter par le moteur de rendu</system:String>
<system:String x:Key="tip.exps.notsupported">Expression non supportée par le moteur de rendu</system:String>
<system:String x:Key="tip.lyricbox.next">Tab: Note Suivante</system:String>
<system:String x:Key="tip.lyricbox.prev">Maj+Tab: Note Précédente</system:String>
<system:String x:Key="tip.notes.basics">
Expand All @@ -344,7 +344,7 @@ Général
<system:String x:Key="tip.notes.zoomy">Scroller ici pour zoomer verticalement ▶</system:String>

<system:String x:Key="tracks.more">Plus</system:String>
<system:String x:Key="tracks.movedown">Déscendre</system:String>
<system:String x:Key="tracks.movedown">Descendre</system:String>
<system:String x:Key="tracks.moveup">Monter</system:String>
<system:String x:Key="tracks.remove">Supprimer</system:String>
<system:String x:Key="tracks.selectrenderer">Séléctionner le moteur de rendu</system:String>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ OpenUtau is an open source editing environment for UTAU community with modern us

It is **strongly recommend** to go through a few Wiki pages before use:
- [Getting-Started](https://github.com/stakira/OpenUtau/wiki/Getting-Started)
- [Resamplers](https://github.com/stakira/OpenUtau/wiki/Resamplers)
- [Resamplers](https://github.com/stakira/OpenUtau/wiki/Resamplers-and-Wavtools)
- [Phonemizers](https://github.com/stakira/OpenUtau/wiki/Phonemizers)
- [FAQ](https://github.com/stakira/OpenUtau/wiki/FAQ)

Expand Down

0 comments on commit f05f05a

Please sign in to comment.