Update documentation, standardize on WAV audio format, and improve attribution (#19)

* Remove MP3 sound files and update documentation to reflect WAV-only support

* Fix stale strings
This commit is contained in:
Jatin K Malik
2025-04-19 00:02:52 -05:00
committed by GitHub
parent a33c0d1b4c
commit 076ea78b4b
8 changed files with 34 additions and 19 deletions
+1 -6
View File
@@ -18,7 +18,7 @@ PACKAGE_DIR = os.path.dirname(MODULE_DIR)
RESOURCES_DIR = os.path.join(os.path.dirname(PACKAGE_DIR), "resources")
SOUNDS_DIR = os.path.join(RESOURCES_DIR, "sounds")
# Sound file paths - prioritize WAV files
# Sound file paths
START_SOUND = os.path.join(SOUNDS_DIR, "start_recording.wav")
STOP_SOUND = os.path.join(SOUNDS_DIR, "stop_recording.wav")
ERROR_SOUND = os.path.join(SOUNDS_DIR, "error.wav")
@@ -70,11 +70,6 @@ def _play_sound_file(sound_path):
if not player:
return False
file_ext = os.path.splitext(sound_path)[1].lower().lstrip(".")
if file_ext not in formats:
logger.warning(f"Format {file_ext} not supported by {player}")
return False
try:
if player == "paplay":
subprocess.Popen(
+2 -1
View File
@@ -216,7 +216,8 @@ class TrayIndicator:
about_dialog = Gtk.AboutDialog()
about_dialog.set_program_name("Vocalinux")
about_dialog.set_version("0.1.0")
about_dialog.set_copyright("© 2025 Vocalinux Team")
about_dialog.set_copyright("© 2025 | @jatinkrmalik")
about_dialog.set_authors(["Jatin K Malik"])
about_dialog.set_comments("A seamless voice dictation system for Ubuntu")
about_dialog.set_website("https://github.com/jatinkrmalik/vocalinux")
about_dialog.set_website_label("GitHub Repository")