Update signal visualizer tool

This commit is contained in:
ShikyC 2024-05-03 00:06:43 -07:00
parent b76a5f1da7
commit fdb968f02c
4 changed files with 38 additions and 2 deletions

View File

@ -127,4 +127,16 @@ If you prefer to use the Arduino Micro/Leonardo board, please refer to the [Ardu
Note that with `analog = true`, all the keyboard drum inputs are disabled. Sorry for this but it need further refactoring to make them work together. If you want to switch back to keyboard inputs, set `analog = false`. Note that with `analog = true`, all the keyboard drum inputs are disabled. Sorry for this but it need further refactoring to make them work together. If you want to switch back to keyboard inputs, set `analog = false`.
4. Launch the game and enjoy! 4. Launch the game and enjoy!
## Online Signal Visualizer Tool
If you find debugging and finding the best sensitivity values very inconvenient with serial port's communications, you can use this [taiko signal visualizer](https://shiky.me/taiko). It's a simple tool I created to show the output of the Taiko Controller (ESP32-Analog version only).
Just connect the board to the computer (using the USB port, not the serial port) and the waveform will be shown in the graphs. So you don't need to turn on debug mode or using `Serial.print()` command to obtain the values to tune the sensitivities.
### How it works
The analog version of the controller simulates as a gamepad and sends the hit force values to the game as the axis values of the left and right joysticks. So with the built-in `Gamepad` API it's very easy to read the values directly. To prevent the tool reading from other gamepads, the controller must be named with `Taiko Controller (Vendor: 4869 Product: 4869)`, so please don't change the `pID` and `vID` values in the firmware.
![Taiko Test Tool](./images/taiko_test.webp)

View File

@ -127,4 +127,16 @@ Arduino Micro/Leonardoボードを使用する場合は、[Arduino XInputライ
`analog = true`で、すべてのキーボードドラム入力が無効になります。これはさらなるリファクタリングが必要ですが、一緒に機能させるために申し訳ありません。キーボード入力に戻したい場合は、`analog = false`に設定してください。 `analog = true`で、すべてのキーボードドラム入力が無効になります。これはさらなるリファクタリングが必要ですが、一緒に機能させるために申し訳ありません。キーボード入力に戻したい場合は、`analog = false`に設定してください。
4. ゲームを起動して楽しんでください! 4. ゲームを起動して楽しんでください!
## オンライン信号ビジュアライザーツール
シリアルポートの通信でデバッグを行うのが不便で、最適な感度値を見つけるのが困難な場合、この[太鼓信号ビジュアライザー](https://shiky.me/taiko)を使用することができます。これは私が作成したシンプルなツールで、太鼓コントローラーESP32-Analog版のみの出力を表示します。
ボードをコンピュータに接続するだけUSBポートを使用し、シリアルポートは使用しないと、波形がグラフに表示されます。したがって、デバッグモードをオンにする必要もなく、`Serial.print()` コマンドを使用して感度を調整するための値を取得する必要もありません。
### 使い方
コントローラのアナログバージョンはゲームパッドとして動作し、ヒット力の値をゲームに左右のジョイスティックの軸値として送信します。内蔵の `Gamepad` APIを使用すると、値を直接読み取るのが非常に簡単です。他のゲームパッドからのツールの読み取りを防ぐために、コントローラは `Taiko Controller (Vendor: 4869 Product: 4869)` という名前でなければなりませんので、ファームウェアの `pID``vID` の値を変更しないでください。
![太鼓テストツール](./images/taiko_test.webp)

View File

@ -128,3 +128,15 @@
请注意,使用`analog = true`时,所有键盘鼓输入都将被禁用。对此表示抱歉,但它需要进一步重构才能同时工作。如果你想切换回键盘输入,请设置`analog = false`。 请注意,使用`analog = true`时,所有键盘鼓输入都将被禁用。对此表示抱歉,但它需要进一步重构才能同时工作。如果你想切换回键盘输入,请设置`analog = false`。
4. 开始游玩咚! 4. 开始游玩咚!
## 在线信号可视化工具
如果您发现通过串行端口的通信进行调试并找到最佳灵敏度值非常不便,您可以使用这个[太鼓信号可视化工具](https://shiky.me/taiko)。这是一个简单的工具我创建它是为了显示太鼓控制器仅限ESP32-Analog版本的输出。
只需将板连接到计算机使用USB端口不使用串行端口波形就会显示在图表中。因此您无需开启调试模式或使用`Serial.print()`命令来获取调整灵敏度所需的值。
### 如何工作
控制器的模拟版本作为游戏手柄模拟,并将击打力量值作为左右摇杆的轴值发送到游戏中。通过内置的`Gamepad` API直接读取值非常容易。为了防止工具读取其他游戏手柄控制器必须命名为`Taiko Controller (Vendor: 4869 Product: 4869)`,因此请不要更改固件中的`pID`和`vID`值。
![太鼓测试工具](./images/taiko_test.webp)

BIN
images/taiko_test.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB