-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 26638cd
Showing
13 changed files
with
1,507 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/介绍/ | ||
*.srt | ||
*.wav | ||
.idea |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import sys | ||
|
||
from PySide6.QtWidgets import QApplication | ||
|
||
|
||
def main(): | ||
pass | ||
|
||
|
||
if __name__ == '__main__': | ||
main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from pydub.playback import play | ||
|
||
from utils import AllSound, MySound | ||
|
||
jr1_allsound = AllSound("./filepath/jr1.wav") | ||
info_dict ={ | ||
"text":"你好", | ||
"start":10500, | ||
"end":13700, | ||
"checked":0, | ||
"can_use":0, | ||
"file_name":"jr1.wav", | ||
"all_sound":jr1_allsound.sound | ||
} | ||
|
||
short_sound = MySound(info_dict) | ||
print(len(short_sound.sound)) | ||
play(short_sound.sound) |
Oops, something went wrong.