183 コミット

作成者 SHA1 メッセージ 日付
みてるぞ 0e1e87ec05 feat: 回答遅延問題対応(#40) (#41)
#40

#40

#40

Co-authored-by: miteruzo <miteruzo@naver.com>
Reviewed-on: #41
2026-01-03 13:23:32 +09:00
みてるぞ 7edc6e6a80 Merge pull request 'AI 移行' (#38) from ai-migration into main
Reviewed-on: #38
2025-12-03 02:02:35 +09:00
みてるぞ cf7eed84bc 軽量化 2025-12-02 00:40:31 +09:00
みてるぞ 05052bbccd 軽量化 2025-12-02 00:17:45 +09:00
みてるぞ 49d887b6cd 軽量化 2025-12-02 00:10:17 +09:00
みてるぞ 9e28c1744e 軽量化 2025-12-01 23:54:09 +09:00
みてるぞ 3eab48c8ef 画面サイズを縮小 2025-12-01 12:40:05 +09:00
みてるぞ 8994105d4e #34 2025-11-30 03:17:15 +09:00
みてるぞ bdf13bf97f ぼちぼちだ2025-11-29 05:15:36 +09:00
みてるぞ 11c2f0c0d4 #37 nizika_ai 最新版に対応 2025-10-21 22:53:14 +09:00
みてるぞ b3ae86033c main.py にリネーム 2025-01-06 23:33:49 +09:00
みてるぞ 88e710572a 現行の分は移行完了したので main.py 削除 2025-01-06 23:32:59 +09:00
みてるぞ 9a68a29e1b #32 完了 2025-01-06 23:22:55 +09:00
みてるぞ 270b4515d8 #35 2025-01-05 17:41:41 +00:00
みてるぞ 9d0b5aff70 Revert "#35"
This reverts commit 41f5a7718f.
2025-01-05 17:37:15 +00:00
みてるぞ 41f5a7718f #35 2025-01-05 17:18:14 +00:00
みてるぞ 4ad5868b63 #34 2025-01-03 05:21:43 +09:00
みてるぞ 37c9947d4a #34 動画再生可能に 2025-01-03 05:03:18 +09:00
みてるぞ 6ee5582a32 不要なファイル削除 2024-12-27 01:03:37 +09:00
みてるぞ 12fbdbc7e2 #35 チャット取得確認用出力追加 2024-12-26 03:51:17 +00:00
みてるぞ a9ba0f697e #33 処理落ち対策 2024-12-26 00:52:43 +09:00
みてるぞ 93fc438d8a #31 layer を GameObject の 属性化 2024-12-25 23:18:36 +09:00
みてるぞ 50281f9120 #31 2024-12-25 01:19:42 +09:00
みてるぞ c6028507ea #31 2024-12-24 01:48:04 +09:00
みてるぞ 9149483dcb #31 2024-12-24 01:39:51 +09:00
みてるぞ a7785fa2c1 Merge branch 'ai-migration' of https://git.miteruzo.com/miteruzo/nizika_broadcast into ai-migration 2024-12-24 01:39:18 +09:00
みてるぞ 49661dad71 #31 2024-12-24 01:39:08 +09:00
みてるぞ fb5b64b49b #31 誤字修正 2024-12-23 11:21:19 +00:00
みてるぞ e49eff0876 #31 ニジカのクエリ処理 2024-12-23 17:26:18 +09:00
みてるぞ af862a7981 #31 ぼちぼち 2024-12-23 05:26:28 +09:00
みてるぞ 29b831e380 #31 2024-12-22 09:30:48 +09:00
みてるぞ 98703409ef ぼちぼち ( #31 ) 2024-12-21 20:09:01 +09:00
みてるぞ 7289fe5812 nizika_ai をいったん除外 ( #31 ) 2024-12-21 18:51:44 +09:00
みてるぞ ba5a428f7b #31 2024-12-19 22:53:49 +00:00
みてるぞ 05cd19525c 大月追加 2024-12-18 01:50:16 +09:00
みてるぞ 80dc32dbb7 #31 tyotto 2024-12-17 03:55:18 +00:00
みてるぞ 75f3f1cff3 31 ヨヨコぼちぼち 2024-12-17 08:26:48 +09:00
みてるぞ 2ba68d9e31 #31 き太く陽調整 2024-12-17 07:19:33 +09:00
みてるぞ 65fe453426 #31 き太移行完了 2024-12-16 17:00:14 +00:00
みてるぞ 2ce5329aae #31 き太く陽設置(挙動が不安定) 2024-12-16 17:50:10 +09:00
みてるぞ 20cf2cec04 #31 吹き出しの改善 2024-12-14 06:04:39 +09:00
みてるぞ 8c53efe707 #31 Densya-nai de no sagefu-bun 2024-12-12 09:44:19 +00:00
みてるぞ f13c6d8260 #31 ニジカ足パタ対応 2024-12-12 01:46:01 +09:00
みてるぞ d66153b87a #31 Xonzitu sagefu-bun 2024-12-10 03:55:16 +00:00
みてるぞ 3f0825f835 #31 FPS を追記 2024-12-10 08:57:12 +09:00
みてるぞ c83c99bc74 #31 本日作業分 2024-12-09 17:34:57 +09:00
みてるぞ 9f705446a8 #31 ぼちぼち 2024-12-09 15:40:06 +09:00
みてるぞ 11195e5125 #31 today sagefu-bun 2024-12-06 03:55:17 +00:00
みてるぞ 57ae0992c1 #31 作りかけ 2024-12-06 01:45:11 +09:00
みてるぞ a4ec55a4cd Merge branch 'main' into ai-migration 2024-12-04 00:31:44 +09:00
みてるぞ 5583ded358 #30 ニジカが喋ってくれなかったので 2024-12-02 18:13:37 +09:00
みてるぞ 719ae99273 #30 おやつタイム対応(ブルスカ連携はまだ) 2024-12-02 16:01:04 +09:00
みてるぞ dbfd6deb1e #30 AI 部分を排除 2024-11-28 00:52:55 +09:00
みてるぞ 299a3acdff #28 本日作業分 2024-10-18 00:33:25 +09:00
みてるぞ d98714018c 'talk.py' を更新 2024-10-16 08:34:05 +09:00
みてるぞ 081ab9aa2e 画像入力に対応 2024-09-03 01:10:50 +09:00
みてるぞ f0570e0caf リストも受けつかぇるやぅに 2024-09-03 00:41:52 +09:00
みてるぞ dfa09e1e66 'talk.py' を更新 2024-09-01 17:34:25 +09:00
みてるぞ 28f16ec1d6 'main.py' を更新 2024-06-23 20:12:15 +09:00
みてるぞ 97393d51e2 'talk.py' を更新 2024-06-23 05:59:58 +09:00
みてるぞ ce11a0244c 投稿祭終了のためプロンプトを削除 2024-05-31 23:21:39 +09:00
みてるぞ 7e928120a4 'talk.py' を更新 2024-05-26 06:44:34 +09:00
みてるぞ 3874f838f1 ヨヨコと郁代回転,視野角拡大 2024-05-19 15:35:17 +09:00
みてるぞ f2683bca27 Merge branch 'main' into ofotukuy 2024-05-19 09:17:35 +09:00
みてるぞ 7b7dbdabb2 Ofotukuy Jojoko, Kaudo ni jotte kwaiten. 2024-05-16 03:46:53 +00:00
みてるぞ 7277819b6e 'talk.py' を更新 2024-05-14 20:52:10 +09:00
みてるぞ 0b8e9812b9 冗長な記述を削除 2024-05-13 21:55:16 +09:00
みてるぞ a00eaf7ff2 入りのときに日や月が出ないやぅに(XP草原は東と想定) 2024-05-13 21:08:55 +09:00
みてるぞ 80d6c09967 大月ヨヨコ爆誕 2024-05-13 02:54:10 +09:00
みてるぞ 37618c5df1 本日作業分 2024-05-13 01:00:32 +09:00
みてるぞ d80d03db46 Merge branch 'main' into ofotukuy 2024-05-12 04:49:32 +09:00
みてるぞ fa6b5ba68b き太く陽を昇らせる 2024-05-12 04:49:08 +09:00
みてるぞ cff0ec27d8 tukuy no iri 2024-05-09 03:55:34 +00:00
みてるぞ d676372276 夜の風景から月を削除 2024-05-09 08:29:24 +09:00
みてるぞ 39cf64149f 'talk.py' を更新 2024-05-09 00:52:23 +09:00
みてるぞ 436f21244d 昼から夕方への遷移をスムーズに 2024-05-08 23:52:48 +09:00
みてるぞ f6e7a7d42f 日の出、日の入に応じた時刻に背景変更 2024-05-08 01:26:43 +09:00
みてるぞ 420c8f1bfe Merge branch 'main' of https://git.miteruzo.com/miteruzo/nizika_broadcast 2024-05-06 05:39:53 +09:00
みてるぞ 7517fa251b 背景時間帯によって変動 2024-05-06 05:39:21 +09:00
みてるぞ 9d72533e17 'talk.py' を更新 2024-04-24 21:19:24 +09:00
みてるぞ 13a7f0d26d 'talk.py' を更新 2024-04-23 00:18:56 +09:00
みてるぞ 6cc400dbe6 'talk.py' を更新 2024-04-23 00:14:56 +09:00
みてるぞ 51a52c9ba8 すべてのエラーを握り潰すやぅに 2024-04-18 22:50:42 +09:00
みてるぞ 688b781faa 'talk.py' を更新 2024-04-18 22:21:34 +09:00
みてるぞ d67faabeff 'talk.py' を更新 2024-04-07 16:41:53 +09:00
みてるぞ a09278cfb7 'main.py' を更新 2024-04-07 15:19:35 +09:00
みてるぞ dfe5219342 'talk.py' を更新 2024-04-06 22:51:45 +09:00
みてるぞ 5c1e615ab7 '伊地知ニジカ 泳ぐ 右.mp4' を削除 2024-04-06 19:29:28 +09:00
みてるぞ 97ccb886b9 ニジカ右向き(かぅいふのは FTP 使へ) 2024-04-06 18:57:33 +09:00
みてるぞ 9fa218badf ダブル・モード,ちょっと修正 2024-04-06 06:09:36 +09:00
みてるぞ 0bda9547b1 ゴートうと対話 とりま完成(ついでにやばぃバグ修正) 2024-04-06 05:39:34 +09:00
みてるぞ 1f23e02fad Merge branch 'main' into double-talk 2024-04-04 20:57:54 +09:00
みてるぞ 4bbc5975a7 定数化 2024-04-04 20:56:17 +09:00
みてるぞ 322243db23 Merge branch 'main' into double-talk 2024-04-04 20:32:56 +09:00
みてるぞ 5aad85c9f6 コメント追加 2024-04-04 20:30:45 +09:00
みてるぞ e705e059e2 定数クラス追加 2024-04-04 08:33:30 +09:00
みてるぞ 89a34a7cdf Merge branch 'main' into double-talk 2024-04-04 07:43:25 +09:00
みてるぞ d7ecb02f50 added an error 2024-04-03 08:32:58 +09:00
みてるぞ 6196d5f2ed modified a bit 2024-04-02 03:47:28 +00:00
みてるぞ daaac744e3 Merge branch 'main' into double-talk 2024-04-02 08:21:28 +09:00
みてるぞ 5fe3be91af 宣言の整理 2024-04-02 08:19:19 +09:00
みてるぞ 9330b68e1f ゴートうと対話モード 2024-04-02 08:14:37 +09:00
みてるぞ 658d2fd9b3 Merge branch 'main' of https://git.miteruzo.com/miteruzo/nizika_broadcast 2024-03-31 23:48:52 +09:00
みてるぞ 41194d580f ゴートうひとり放送局 2024-03-31 23:48:25 +09:00
みてるぞ f02132bbf1 'talk.py' を更新 2024-03-26 22:52:21 +09:00
みてるぞ d10393e3b7 'talk.py' を更新 2024-03-26 22:45:13 +09:00
mitenaizo 171c4ce909 Merge branch 'main' of http://git.miteruzo.com/miteruzo/nizika_broadcast 2024-03-24 23:08:42 +09:00
mitenaizo 2d28738010 ゴートう 背景 2024-03-24 23:08:29 +09:00
みてるぞ eee780aa90 'talk.py' を更新 2024-03-24 19:58:34 +09:00
みてるぞ ba12ce6388 ゴートう追加(完了) 2024-03-22 01:47:26 +09:00
mitenaizo 63ab75097e ゴートう追加 2024-03-22 00:43:15 +09:00
mitenaizo 2d4f4bf6ee ゴートうバタバタ 2024-03-21 03:57:51 +09:00
mitenaizo 9dceca6d99 ゴートうのテーマ追加 2024-03-20 20:34:40 +09:00
みてるぞ 649055d6d6 ログに記録されるやぅに修正 2024-02-18 21:30:23 +09:00
みてるぞ 1b1fcd44e6 絵文字変換 2024-02-18 21:22:51 +09:00
みてるぞ 6524158f42 'talk.py' を更新 2024-02-17 20:54:11 +09:00
みてるぞ 68d35c6a56 'talk.py' を更新 2024-02-15 12:36:09 +09:00
みてるぞ 2aca654548 'talk.py' を更新 2024-02-14 21:39:23 +09:00
みてるぞ e280b339f2 'talk.py' を更新 2024-02-14 00:42:44 +09:00
みてるぞ 303e71ab5b 'talk.py' を更新 2024-02-14 00:22:30 +09:00
みてるぞ f5ca15e335 'talk.py' を更新 2024-02-13 08:11:00 +09:00
みてるぞ 47c7ee44cf 'talk.py' を更新 2024-02-12 11:13:16 +09:00
みてるぞ 8a6eb3e229 'talk.py' を更新 2024-01-29 08:24:45 +09:00
みてるぞ 4031ab28bd 'talk.py' を更新 2024-01-28 14:08:01 +09:00
みてるぞ 6724a01c1e 'talk.py' を更新 2024-01-28 14:07:29 +09:00
みてるぞ 8a4294395a prompt 修正 2024-01-19 08:35:57 +09:00
みてるぞ 99a31b5660 文脈保持 2024-01-18 00:52:04 +09:00
みてるぞ b4cf19af99 [talk.py] main の引数の個数不一致 2024-01-17 19:45:41 +09:00
mitenaizo 64fae25eae 背景 2024-01-14 21:56:05 +09:00
みてるぞ 699d907f35 added an error message 2023-12-27 08:24:06 +09:00
みてるぞ d9a41713c8 きし天復活したので茶漬けから解放 2023-12-12 23:28:12 +09:00
みてるぞ 098fdeca1d ニジカの設定追加 2023-12-12 23:19:52 +09:00
みてるぞ 1a2883b831 Merge branch 'main' of http://git.miteruzo.com/miteruzo/nizika_broadcast 2023-12-08 12:30:43 +09:00
みてるぞ 25bbbfc9b8 冗長な記述を修正 2023-12-08 12:29:10 +09:00
みてるぞ ea2d86e9a7 'common_module.py' を更新 2023-12-07 12:38:51 +09:00
みてるぞ cbc5f39bff 'rolling.mp4' を削除 2023-12-06 22:02:43 +09:00
みてるぞ 861ed086c0 一時ファイル 2023-12-06 08:21:14 +09:00
みてるぞ 5019e12aee ちょっと 2023-12-05 19:37:07 +09:00
みてるぞ 1a23ad790f 設定追加 2023-12-05 19:22:53 +09:00
みてるぞ 35255b057f デバッグ情報削除 2023-12-05 02:07:30 +09:00
みてるぞ 4f71f3410c 文字数まちがへてた. 2023-12-05 00:34:11 +09:00
みてるぞ 8a0abdb7fa ニジカ返答の改行と,改行をログに記録しないやぅ修正 2023-12-05 00:30:06 +09:00
みてるぞ 51bfc8a8d2 プロンプト編輯 2023-12-04 23:51:47 +09:00
みてるぞ d34d6e90fb ちゃんとテストしてからコミットしろ? 2023-12-04 23:42:05 +09:00
みてるぞ 37b73e9927 情報追加 2023-12-04 23:35:41 +09:00
みてるぞ f95fb6e4a5 ログ対応 2023-12-04 08:24:39 +09:00
みてるぞ f48861909a 'youtube.sample.py' を更新 2023-12-04 07:19:17 +09:00
みてるぞ 69c5fef3ae 修正 2023-12-03 14:32:48 +09:00
みてるぞ d67e490f84 live_chat.get で消江るのね 2023-12-03 14:21:37 +09:00
みてるぞ b9b53d3fef 日づけを str に変換忘れ 2023-12-03 14:17:55 +09:00
みてるぞ ec5b7a7627 ここ改行入れちゃだめなのか 2023-12-03 14:16:20 +09:00
みてるぞ d946534401 文字列カット追加 2023-12-03 14:14:11 +09:00
みてるぞ bbfb8c97fe YouTube ID を外部に 2023-12-03 09:11:08 +09:00
みてるぞ 64f37cf346 live chat 無効時の再定義追加 2023-12-03 07:38:26 +09:00
みてるぞ 7659245724 修正 2023-12-03 07:25:41 +09:00
みてるぞ 9aaf949d15 括弧開きっぱなし修正 2023-12-03 07:24:01 +09:00
みてるぞ ae0d754992 もっと (ry 2023-12-03 07:23:14 +09:00
みてるぞ 1d30353326 もっともっと太く 2023-12-03 07:21:44 +09:00
みてるぞ d464a9b5b7 もっと太く 2023-12-03 07:20:07 +09:00
みてるぞ 844bc64927 最初から太字にしようか 2023-12-03 07:18:34 +09:00
みてるぞ 4d38bc1926 縁追加 2023-12-03 07:16:44 +09:00
みてるぞ b49d618f5b 誤字修正 2023-12-03 07:12:26 +09:00
みてるぞ 539aa41940 インデントの修正 2023-12-03 07:11:46 +09:00
みてるぞ 5453ccbdbe チャット正常情報の追加 2023-12-03 07:09:14 +09:00
みてるぞ d46cb4e58f 不要なファイル削除 2023-12-03 06:20:16 +09:00
みてるぞ 94f2e5dab3 test 2023-12-03 00:31:10 +09:00
みてるぞ 86761e4451 TEST 2023-12-03 00:29:34 +09:00
みてるぞ b40f5de276 しょーもなさすぎる誤字 2023-12-03 00:00:11 +09:00
みてるぞ 52c862f56b aques 実行 2023-12-02 23:56:43 +09:00
Gitea da59975cba Segmentation Fault が回避できなかったので C++ に移行 2023-12-02 23:47:35 +09:00
みてるぞ 6cbd1fcb4d test 2023-12-02 23:38:38 +09:00
Gitea e9f3642698 辞書のパス指定 2023-12-02 19:50:01 +09:00
Gitea eb38bcf5de 辞書追加 2023-12-02 19:48:46 +09:00
みてるぞ 28aae0158f 音声記号列に変換 2023-12-02 19:42:27 +09:00
Gitea 9c2428c590 勘違ひだった 2023-12-02 19:02:30 +09:00
Gitea 666d9ca764 Python からだとうまくいかなかったので,C でコンパイルした(音声出力) 2023-12-02 18:47:48 +09:00
みてるぞ 543b3bbdd3 バグ修正 2023-12-02 18:10:04 +09:00
みてるぞ 594766db98 不要となったライブラリ削除 2023-12-02 18:08:40 +09:00
みてるぞ 203958b150 バグ修正 2023-12-02 18:07:49 +09:00
みてるぞ 8ecb92691e Merge branch 'main' of http://git.miteruzo.com/miteruzo/nizika_broadcast 2023-12-02 18:04:56 +09:00
みてるぞ ff392ea999 音声合成追加 2023-12-02 18:04:48 +09:00
みてるぞ 3a5b63742b Merge branch 'main' of http://git.miteruzo.com/miteruzo/nizika_broadcast 2023-12-02 06:46:01 +09:00
みてるぞ d78ad10c78 test 2023-12-02 06:19:32 +09:00
56個のファイルの変更1185行の追加122行の削除
+4 -2
ファイルの表示
@@ -1,3 +1,5 @@
/connection.py /connection.py
/__pycache__ __pycache__
/nizika_talking.wav
/youtube.py
/log.txt
+3
ファイルの表示
@@ -0,0 +1,3 @@
[submodule "nizika_ai"]
path = nizika_ai
url = https://git.miteruzo.com/miteruzo/nizika_ai
+63
ファイルの表示
@@ -0,0 +1,63 @@
言語処理ライブラリ(AqKanji2Koe)は、BSDライセンスに基づいてライセンスされている
下記のソフトウェアを使用しています。
This software has been used open source below.
--- MARISA: Matching Algorithm with Recursively Implemented StorAge ----
Copyright (c) 2010-2012, Susumu Yata
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
- Neither the name of the <ORGANIZATION> nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
--------------------- NAIST Japanese Dictionary ------------------
Copyright (c) 2009, Nara Institute of Science and Technology, Japan.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
Neither the name of the Nara Institute of Science and Technology
(NAIST) nor the names of its contributors may be used to endorse or
promote products derived from this software without specific prior
written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
バイナリ
ファイルの表示
バイナリファイルは表示されません.
バイナリ
ファイルの表示
バイナリファイルは表示されません.
実行可能ファイル
バイナリ
ファイルの表示
バイナリファイルは表示されません.
+37
ファイルの表示
@@ -0,0 +1,37 @@
import subprocess
from ctypes import ARRAY # type: ignore
from ctypes import POINTER, byref, c_int, c_ubyte, cast, cdll
class Aques:
@classmethod
def main (cls, text: str, goatoh_mode: bool = False) -> bytearray | None:
return cls.__synthe_utf8 (text, 100, './phont/ar_m5.phont' if goatoh_mode else './phont/ar_mf2.phont')
@staticmethod
def __synthe_utf8 (text, speed, phont_file = None) -> bytearray | None:
if phont_file is None:
phont = None
else:
with open (phont_file, 'rb') as f:
phont = f.read ()
p = subprocess.Popen ('./aques', stdin = subprocess.PIPE,
stdout = subprocess.PIPE)
koe: str = p.communicate (text.encode ())[0].decode ()
aqtk = cdll.LoadLibrary ('libAquesTalk2Eva.so')
aqtk.AquesTalk2_Synthe_Utf8.restype = POINTER (ARRAY (c_ubyte, 0))
size = c_int (0)
wav_p = aqtk.AquesTalk2_Synthe_Utf8 (koe.encode ('utf-8'), speed,
byref (size), phont)
if not bool (wav_p):
return None
wav_p = cast (wav_p, POINTER (ARRAY (c_ubyte, size.value)))
wav = bytearray (wav_p.contents)
aqtk.AquesTalk2_FreeWave (wav_p)
return wav
ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 17 KiB

変更後

幅:  |  高さ:  |  サイズ: 17 KiB

バイナリ
ファイルの表示
バイナリファイルは表示されません.

変更後

幅:  |  高さ:  |  サイズ: 57 KiB

バイナリ
ファイルの表示
バイナリファイルは表示されません.

変更後

幅:  |  高さ:  |  サイズ: 99 KiB

バイナリ
ファイルの表示
バイナリファイルは表示されません.

変更後

幅:  |  高さ:  |  サイズ: 53 KiB

バイナリ
ファイルの表示
バイナリファイルは表示されません.

変更後

幅:  |  高さ:  |  サイズ: 40 KiB

バイナリ
ファイルの表示
バイナリファイルは表示されません.
バイナリ
ファイルの表示
バイナリファイルは表示されません.

変更後

幅:  |  高さ:  |  サイズ: 166 KiB

バイナリ
ファイルの表示
バイナリファイルは表示されません.

変更後

幅:  |  高さ:  |  サイズ: 641 KiB

ファイルの表示
バイナリ
ファイルの表示
バイナリファイルは表示されません.
バイナリ
ファイルの表示
バイナリファイルは表示されません.
バイナリ
ファイルの表示
バイナリファイルは表示されません.

変更後

幅:  |  高さ:  |  サイズ: 554 KiB

+44
ファイルの表示
@@ -0,0 +1,44 @@
import unicodedata
class CommonModule:
@staticmethod
def is_wide (
c: str) \
-> bool:
return unicodedata.east_asian_width (c) in ['F', 'W', 'A']
@classmethod
def len_by_full (
cls,
string: str) \
-> float:
return sum (1 if cls.is_wide (c) else .5 for c in string)
@classmethod
def index_by_f2c (
cls,
string: str,
index: float) \
-> int:
i: int = 0
work: str = ''
for c in string:
work += c
if cls.len_by_full (work) > index:
break
else:
i += 1
return i
@classmethod
def mid_by_full (
cls,
string: str,
start: float,
length: float) \
-> str:
trimmed_left: str = string[cls.index_by_f2c (string, start):]
return trimmed_left[:cls.index_by_f2c (trimmed_left, length)]
-7
ファイルの表示
@@ -1,7 +0,0 @@
# 各変数に適切な値を設定し,ファイル名を connection.py として保存すること
OPENAI_ORGANISATION: str = 'org-XXXXXXXXXXXXXXXXXXXXXXXX' \
# Organisation ID
OPENAI_API_KEY: str = 'sk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' \
# API Key
+999 -45
ファイルの表示
ファイル差分が大きすぎるため省略します 差分を読込み
+2
ファイルの表示
@@ -0,0 +1,2 @@
[mypy]
disable_error_code = import-untyped
サブモジュール
+1
サブモジュール nizika_ai1f75763038 で追加されました
+32
ファイルの表示
@@ -0,0 +1,32 @@
import pygame
from pygame.locals import *
import sys
class Othello:
SCREEN_SIZE: tuple = (640, 480)
BOARD_COLOUR: tuple = (0, 128, 0)
@classmethod
def main (cls) -> None:
pygame.init ()
screen: pygame.Surface = pygame.display.set_mode (cls.SCREEN_SIZE)
while True:
screen.fill ((0, 0, 0))
# pygame.draw.rect (screen, BOARD_COLOUR, )
pygame.display.update ()
pygame.time.wait (33)
for event in pygame.event.get ():
if event.type == QUIT:
pygame.quit ()
sys.exit ()
if __name__ == '__main__':
Othello.main ()
実行可能ファイル
バイナリ
ファイルの表示
バイナリファイルは表示されません.
実行可能ファイル
バイナリ
ファイルの表示
バイナリファイルは表示されません.
実行可能ファイル
バイナリ
ファイルの表示
バイナリファイルは表示されません.
実行可能ファイル
バイナリ
ファイルの表示
バイナリファイルは表示されません.
実行可能ファイル
バイナリ
ファイルの表示
バイナリファイルは表示されません.
実行可能ファイル
バイナリ
ファイルの表示
バイナリファイルは表示されません.
実行可能ファイル
バイナリ
ファイルの表示
バイナリファイルは表示されません.
実行可能ファイル
バイナリ
ファイルの表示
バイナリファイルは表示されません.
実行可能ファイル
バイナリ
ファイルの表示
バイナリファイルは表示されません.
実行可能ファイル
バイナリ
ファイルの表示
バイナリファイルは表示されません.
実行可能ファイル
バイナリ
ファイルの表示
バイナリファイルは表示されません.
実行可能ファイル
バイナリ
ファイルの表示
バイナリファイルは表示されません.
実行可能ファイル
バイナリ
ファイルの表示
バイナリファイルは表示されません.
実行可能ファイル
バイナリ
ファイルの表示
バイナリファイルは表示されません.
バイナリ
ファイルの表示
バイナリファイルは表示されません.
バイナリ
ファイルの表示
バイナリファイルは表示されません.
バイナリ
ファイルの表示
バイナリファイルは表示されません.
バイナリ
ファイルの表示
バイナリファイルは表示されません.
バイナリ
ファイルの表示
バイナリファイルは表示されません.
バイナリ
ファイルの表示
バイナリファイルは表示されません.
バイナリ
ファイルの表示
バイナリファイルは表示されません.
バイナリ
ファイルの表示
バイナリファイルは表示されません.
バイナリ
ファイルの表示
バイナリファイルは表示されません.
バイナリ
ファイルの表示
バイナリファイルは表示されません.
バイナリ
ファイルの表示
バイナリファイルは表示されません.
バイナリ
ファイルの表示
バイナリファイルは表示されません.
バイナリ
ファイルの表示
バイナリファイルは表示されません.
バイナリ
ファイルの表示
バイナリファイルは表示されません.
-34
ファイルの表示
@@ -1,34 +0,0 @@
==================================================
SofTalk
==================================================
【機能説明】
 漢字・英字等を含む文章を音声合成で読み上げます。
 引数に文章/オプションを指定すれば自動で読み上げを開始するので、他のアプリケーションから呼び出して使用することもできます。
【操作方法】
 ヘルプ・公式サイトのFAQをご覧下さい。
【注意事項】
 本ソフトをご利用になるにはMicrosoft .NET Frameworkが必要です。
【そ の 他】
 本ソフトはフリーウェアです。
 本ソフトのご利用に際し如何なる損失や損害が発生しても、一切の責任を負いかねます。
【製作著作】
 cncc
 https://w.atwiki.jp/softalk/
バイナリ
ファイルの表示
バイナリファイルは表示されません.
-34
ファイルの表示
@@ -1,34 +0,0 @@
import sys
import openai
from openai.types import *
from connection import *
class Talk:
max_tokens_count: int = 100
responses_count: int = 1
temperature: float = .7
top_p: int = 1
@classmethod
def main (cls, message: str) -> str:
openai.organization = OPENAI_ORGANISATION
openai.api_key = OPENAI_API_KEY
return cls.__get_message (message).content
@classmethod
def __get_message (cls, message: str) \
-> chat.chat_completion_message.ChatCompletionMessage:
return openai.chat.completions.create (
model = 'gpt-3.5-turbo',
messages = [{'role': 'system',
'content': 'あなたの名前は伊地知ニジカ。友達はゴートうひとりとラマ田リョウ。好きな人は喜多ちゃん。すべての語尾に「ぬ゛ん」か「だぬ゛ん」をつけて質問に短く答えろ。定期的に「ぬ゛ぅ゛ぅ゛ぅ゛ぅ゛ん゛」、「ボッチチャーン」、「あっ」のいずれかを発しろ'},
{'role': 'user',
'content': message}]).choices[0].message
if __name__ == '__main__':
print (Talk.main (sys.argv[1] if len (sys.argv) > 1 else ''))