From 8817ac20d545873adafb9ee47213baba073ec5b1 Mon Sep 17 00:00:00 2001 From: AutumnSky1010 <66455966+AutumnSky1010@users.noreply.github.com> Date: Sat, 15 Jun 2024 20:18:54 +0900 Subject: [PATCH] :+1: Adjustments for release. --- README.md | 20 +++++++++++++++---- src/SoundMaker/ScoreData/SMSC/Error.cs | 4 ++++ src/SoundMaker/ScoreData/SMSC/SMSCFormat.cs | 4 ++-- .../ScoreData/SMSC/SMSCReadResult.cs | 2 +- src/SoundMaker/SoundMaker.csproj | 6 +++--- 5 files changed, 26 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index e687488..0f7c1e8 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ [Wiki](https://github.com/AutumnSky1010/SoundMaker/wiki) ## ⛰️要件 -.NET 6 +.NET 6 以降 ## ⏬インストール方法 ### NuGet @@ -23,6 +23,12 @@ ## 🎶簡単な使い方 ```CSharp +using SoundMaker; +using SoundMaker.Sounds; +using SoundMaker.Sounds.Score; +using SoundMaker.Sounds.SoundChannels; +using SoundMaker.WaveFile; + namespace YourNamespace; public static class YourClass { @@ -106,7 +112,7 @@ public static class YourClass - Monaural 1ch ## 🍄作った人のツイッター -[Twitter](https://twitter.com/DTB_AutumnSky) +[Twitter(X)](https://x.com/DTB_AutumnSky) ## ©️ライセンス MIT License @@ -120,7 +126,7 @@ You can do The following content with this library. [Wiki](https://github.com/AutumnSky1010/SoundMaker/wiki) ## ⛰️Requirement -.NET 6 +.NET 6 or later ## ⏬Installation ### NuGet @@ -129,6 +135,12 @@ You can do The following content with this library. ## 🎶Usage ```CSharp +using SoundMaker; +using SoundMaker.Sounds; +using SoundMaker.Sounds.Score; +using SoundMaker.Sounds.SoundChannels; +using SoundMaker.WaveFile; + namespace YourNamespace; public static class YourClass { @@ -210,7 +222,7 @@ public static class YourClass - Monaural 1ch ## 🍄Author -[Twitter](https://twitter.com/DTB_AutumnSky) +[Twitter(X)](https://x.com/DTB_AutumnSky) ## ©️License SoundMaker is licensed under the MIT License. diff --git a/src/SoundMaker/ScoreData/SMSC/Error.cs b/src/SoundMaker/ScoreData/SMSC/Error.cs index bfcde3b..2b132c4 100644 --- a/src/SoundMaker/ScoreData/SMSC/Error.cs +++ b/src/SoundMaker/ScoreData/SMSC/Error.cs @@ -1,4 +1,8 @@ namespace SoundMaker.ScoreData.SMSC; +/// +/// Error of reading SMSC data
+/// SMSCデータの読み取り結果 +///
public record Error { internal Error(SMSCReadErrorType type, Token? token) diff --git a/src/SoundMaker/ScoreData/SMSC/SMSCFormat.cs b/src/SoundMaker/ScoreData/SMSC/SMSCFormat.cs index dd2b8e6..7c3ad9a 100644 --- a/src/SoundMaker/ScoreData/SMSC/SMSCFormat.cs +++ b/src/SoundMaker/ScoreData/SMSC/SMSCFormat.cs @@ -10,8 +10,8 @@ public static class SMSCFormat /// Reads SMSC data.
/// SMSCデータを読み込む。 /// - /// - /// + /// SMSC data. SMSCデータ + /// The read results. 読み取り結果 public static SMSCReadResult Read(string data) { var lexer = new Lexer(data); diff --git a/src/SoundMaker/ScoreData/SMSC/SMSCReadResult.cs b/src/SoundMaker/ScoreData/SMSC/SMSCReadResult.cs index 8885fe4..a35220b 100644 --- a/src/SoundMaker/ScoreData/SMSC/SMSCReadResult.cs +++ b/src/SoundMaker/ScoreData/SMSC/SMSCReadResult.cs @@ -57,7 +57,7 @@ public bool TryGetValue(out IReadOnlyList value) } /// - /// Returns the result assuming the reading was successful. If it fails, an empty array is returned.
+ /// Returns the result assuming the reading was successful. If it fails or empty, an empty array is returned.
/// 読み込みに成功した前提で結果を返す。失敗時は空の配列が戻る。 ///
/// On success: result, On failure: empty array diff --git a/src/SoundMaker/SoundMaker.csproj b/src/SoundMaker/SoundMaker.csproj index 2a76a36..065d35d 100644 --- a/src/SoundMaker/SoundMaker.csproj +++ b/src/SoundMaker/SoundMaker.csproj @@ -11,16 +11,16 @@ C#;.NET;game;music;sound;chiptune;audio;wave;wav; LICENSE.txt True - 2.2.0 + 2.3.0 AutumnSky1010 You can do The following content with this library. 1. make the sound of chiptune(old game sound) 2. export sound to a file of wave format. SoundMakerIcon.png - Copyright ©2023 AutumnSky1010 + Copyright ©2024 AutumnSky1010 README.md - https://github.com/AutumnSky1010/SoundMaker/releases/tag/SoundMaker-ver.2.2.0 + https://github.com/AutumnSky1010/SoundMaker/releases/tag/SoundMaker-ver.2.3.0 https://github.com/AutumnSky1010/SoundMaker/wiki