feat: add SFX volume control and improve audio feedback
- Implemented separate sound effects volume control in settings. - Updated backend to handle new `sfx_volume` parameter. - Enhanced UI to include sound effects volume slider in admin panel. - Integrated sound effects for various user interactions (clicks, navigation, alerts). - Added a new global sound engine to manage audio synthesis without external files. - Updated documentation for Docker deployment and Windows packaging. - Refactored audio context management to ensure sound effects are available post user interaction.
This commit is contained in:
+1
-1
@@ -67,7 +67,7 @@ def main():
|
||||
print(f" 本地资源 : TORCH_HOME={os.environ.get('TORCH_HOME')}")
|
||||
print(f" NLTK_DATA={os.environ.get('NLTK_DATA')}")
|
||||
print("=" * 64)
|
||||
uvicorn.run("app.main:app", host=settings.HOST, port=settings.PORT, reload=True)
|
||||
uvicorn.run("app.main:app", host=settings.HOST, port=settings.PORT, reload=False)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user