revoxx 1.0.0.dev5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. revoxx-1.0.0.dev5/LICENSE +201 -0
  2. revoxx-1.0.0.dev5/MANIFEST.in +8 -0
  3. revoxx-1.0.0.dev5/PKG-INFO +301 -0
  4. revoxx-1.0.0.dev5/README.md +251 -0
  5. revoxx-1.0.0.dev5/pyproject.toml +114 -0
  6. revoxx-1.0.0.dev5/revoxx/__init__.py +23 -0
  7. revoxx-1.0.0.dev5/revoxx/__main__.py +6 -0
  8. revoxx-1.0.0.dev5/revoxx/app.py +827 -0
  9. revoxx-1.0.0.dev5/revoxx/audio/__init__.py +3 -0
  10. revoxx-1.0.0.dev5/revoxx/audio/audio_buffer.py +118 -0
  11. revoxx-1.0.0.dev5/revoxx/audio/audio_queue_processor.py +186 -0
  12. revoxx-1.0.0.dev5/revoxx/audio/buffer_manager.py +104 -0
  13. revoxx-1.0.0.dev5/revoxx/audio/level_calculator.py +167 -0
  14. revoxx-1.0.0.dev5/revoxx/audio/player.py +450 -0
  15. revoxx-1.0.0.dev5/revoxx/audio/processors/__init__.py +10 -0
  16. revoxx-1.0.0.dev5/revoxx/audio/processors/clipping_detector.py +89 -0
  17. revoxx-1.0.0.dev5/revoxx/audio/processors/mel_spectrogram.py +239 -0
  18. revoxx-1.0.0.dev5/revoxx/audio/processors/processor_base.py +41 -0
  19. revoxx-1.0.0.dev5/revoxx/audio/queue_manager.py +291 -0
  20. revoxx-1.0.0.dev5/revoxx/audio/recorder.py +555 -0
  21. revoxx-1.0.0.dev5/revoxx/audio/shared_state.py +533 -0
  22. revoxx-1.0.0.dev5/revoxx/constants.py +283 -0
  23. revoxx-1.0.0.dev5/revoxx/controllers/__init__.py +25 -0
  24. revoxx-1.0.0.dev5/revoxx/controllers/audio_controller.py +561 -0
  25. revoxx-1.0.0.dev5/revoxx/controllers/device_controller.py +484 -0
  26. revoxx-1.0.0.dev5/revoxx/controllers/dialog_controller.py +475 -0
  27. revoxx-1.0.0.dev5/revoxx/controllers/display_controller.py +682 -0
  28. revoxx-1.0.0.dev5/revoxx/controllers/file_operations_controller.py +331 -0
  29. revoxx-1.0.0.dev5/revoxx/controllers/navigation_controller.py +332 -0
  30. revoxx-1.0.0.dev5/revoxx/controllers/process_manager.py +324 -0
  31. revoxx-1.0.0.dev5/revoxx/controllers/session_controller.py +229 -0
  32. revoxx-1.0.0.dev5/revoxx/dataset/__init__.py +5 -0
  33. revoxx-1.0.0.dev5/revoxx/dataset/exporter.py +389 -0
  34. revoxx-1.0.0.dev5/revoxx/resources/keyboard_shortcuts.txt +36 -0
  35. revoxx-1.0.0.dev5/revoxx/resources/microphone.png +0 -0
  36. revoxx-1.0.0.dev5/revoxx/resources/templates/dataset_readme.txt +29 -0
  37. revoxx-1.0.0.dev5/revoxx/resources/templates/index_format_with_intensity.txt +11 -0
  38. revoxx-1.0.0.dev5/revoxx/resources/templates/index_format_without_intensity.txt +8 -0
  39. revoxx-1.0.0.dev5/revoxx/session/__init__.py +15 -0
  40. revoxx-1.0.0.dev5/revoxx/session/inspector.py +238 -0
  41. revoxx-1.0.0.dev5/revoxx/session/manager.py +412 -0
  42. revoxx-1.0.0.dev5/revoxx/session/models.py +304 -0
  43. revoxx-1.0.0.dev5/revoxx/session/script_parser.py +88 -0
  44. revoxx-1.0.0.dev5/revoxx/ui/__init__.py +3 -0
  45. revoxx-1.0.0.dev5/revoxx/ui/dialogs/__init__.py +7 -0
  46. revoxx-1.0.0.dev5/revoxx/ui/dialogs/dataset_dialog.py +725 -0
  47. revoxx-1.0.0.dev5/revoxx/ui/dialogs/dialog_utils.py +304 -0
  48. revoxx-1.0.0.dev5/revoxx/ui/dialogs/find_dialog.py +95 -0
  49. revoxx-1.0.0.dev5/revoxx/ui/dialogs/help_dialog.py +87 -0
  50. revoxx-1.0.0.dev5/revoxx/ui/dialogs/new_session_dialog.py +631 -0
  51. revoxx-1.0.0.dev5/revoxx/ui/dialogs/open_session_dialog.py +425 -0
  52. revoxx-1.0.0.dev5/revoxx/ui/dialogs/progress_dialog.py +104 -0
  53. revoxx-1.0.0.dev5/revoxx/ui/dialogs/session_settings_dialog.py +207 -0
  54. revoxx-1.0.0.dev5/revoxx/ui/dialogs/utterance_list_base.py +608 -0
  55. revoxx-1.0.0.dev5/revoxx/ui/dialogs/utterance_order_dialog.py +117 -0
  56. revoxx-1.0.0.dev5/revoxx/ui/emotion_indicator.py +259 -0
  57. revoxx-1.0.0.dev5/revoxx/ui/font_manager.py +270 -0
  58. revoxx-1.0.0.dev5/revoxx/ui/frequency_axis.py +319 -0
  59. revoxx-1.0.0.dev5/revoxx/ui/icon.py +40 -0
  60. revoxx-1.0.0.dev5/revoxx/ui/info_overlay.py +205 -0
  61. revoxx-1.0.0.dev5/revoxx/ui/level_meter/__init__.py +5 -0
  62. revoxx-1.0.0.dev5/revoxx/ui/level_meter/config.py +110 -0
  63. revoxx-1.0.0.dev5/revoxx/ui/level_meter/led_level_meter.py +1012 -0
  64. revoxx-1.0.0.dev5/revoxx/ui/menus/application_menu.py +666 -0
  65. revoxx-1.0.0.dev5/revoxx/ui/menus/audio_devices.py +268 -0
  66. revoxx-1.0.0.dev5/revoxx/ui/recording_display_state.py +30 -0
  67. revoxx-1.0.0.dev5/revoxx/ui/spectrogram/__init__.py +5 -0
  68. revoxx-1.0.0.dev5/revoxx/ui/spectrogram/controllers/__init__.py +13 -0
  69. revoxx-1.0.0.dev5/revoxx/ui/spectrogram/controllers/clipping_visualizer.py +160 -0
  70. revoxx-1.0.0.dev5/revoxx/ui/spectrogram/controllers/edge_indicator.py +103 -0
  71. revoxx-1.0.0.dev5/revoxx/ui/spectrogram/controllers/playback_controller.py +116 -0
  72. revoxx-1.0.0.dev5/revoxx/ui/spectrogram/controllers/zoom_controller.py +225 -0
  73. revoxx-1.0.0.dev5/revoxx/ui/spectrogram/display_base.py +364 -0
  74. revoxx-1.0.0.dev5/revoxx/ui/spectrogram/display_utils.py +80 -0
  75. revoxx-1.0.0.dev5/revoxx/ui/spectrogram/mel_processor_manager.py +130 -0
  76. revoxx-1.0.0.dev5/revoxx/ui/spectrogram/playback_handler.py +458 -0
  77. revoxx-1.0.0.dev5/revoxx/ui/spectrogram/recording_display.py +206 -0
  78. revoxx-1.0.0.dev5/revoxx/ui/spectrogram/recording_handler.py +216 -0
  79. revoxx-1.0.0.dev5/revoxx/ui/spectrogram/widget.py +966 -0
  80. revoxx-1.0.0.dev5/revoxx/ui/style_config.py +226 -0
  81. revoxx-1.0.0.dev5/revoxx/ui/themes.py +279 -0
  82. revoxx-1.0.0.dev5/revoxx/ui/widget_initializer.py +165 -0
  83. revoxx-1.0.0.dev5/revoxx/ui/window_base.py +1073 -0
  84. revoxx-1.0.0.dev5/revoxx/ui/window_factory.py +355 -0
  85. revoxx-1.0.0.dev5/revoxx/ui/window_manager.py +387 -0
  86. revoxx-1.0.0.dev5/revoxx/utils/__init__.py +6 -0
  87. revoxx-1.0.0.dev5/revoxx/utils/active_recordings.py +398 -0
  88. revoxx-1.0.0.dev5/revoxx/utils/audio_utils.py +191 -0
  89. revoxx-1.0.0.dev5/revoxx/utils/config.py +246 -0
  90. revoxx-1.0.0.dev5/revoxx/utils/device_manager.py +479 -0
  91. revoxx-1.0.0.dev5/revoxx/utils/file_manager.py +428 -0
  92. revoxx-1.0.0.dev5/revoxx/utils/process_cleanup.py +132 -0
  93. revoxx-1.0.0.dev5/revoxx/utils/settings_manager.py +149 -0
  94. revoxx-1.0.0.dev5/revoxx/utils/state.py +196 -0
  95. revoxx-1.0.0.dev5/revoxx/utils/text_utils.py +52 -0
  96. revoxx-1.0.0.dev5/revoxx.egg-info/PKG-INFO +301 -0
  97. revoxx-1.0.0.dev5/revoxx.egg-info/SOURCES.txt +122 -0
  98. revoxx-1.0.0.dev5/revoxx.egg-info/dependency_links.txt +1 -0
  99. revoxx-1.0.0.dev5/revoxx.egg-info/entry_points.txt +4 -0
  100. revoxx-1.0.0.dev5/revoxx.egg-info/requires.txt +32 -0
  101. revoxx-1.0.0.dev5/revoxx.egg-info/top_level.txt +2 -0
  102. revoxx-1.0.0.dev5/scripts_module/__init__.py +1 -0
  103. revoxx-1.0.0.dev5/scripts_module/export.py +184 -0
  104. revoxx-1.0.0.dev5/scripts_module/vadiate.py +113 -0
  105. revoxx-1.0.0.dev5/setup.cfg +4 -0
  106. revoxx-1.0.0.dev5/tests/test_active_recordings.py +439 -0
  107. revoxx-1.0.0.dev5/tests/test_audio_controller.py +326 -0
  108. revoxx-1.0.0.dev5/tests/test_audio_queue_manager.py +192 -0
  109. revoxx-1.0.0.dev5/tests/test_config.py +87 -0
  110. revoxx-1.0.0.dev5/tests/test_dataset_exporter.py +563 -0
  111. revoxx-1.0.0.dev5/tests/test_device_controller.py +534 -0
  112. revoxx-1.0.0.dev5/tests/test_dialog_controller.py +319 -0
  113. revoxx-1.0.0.dev5/tests/test_display_controller.py +365 -0
  114. revoxx-1.0.0.dev5/tests/test_file_manager.py +218 -0
  115. revoxx-1.0.0.dev5/tests/test_file_operations_controller.py +376 -0
  116. revoxx-1.0.0.dev5/tests/test_ipc_communication.py +252 -0
  117. revoxx-1.0.0.dev5/tests/test_navigation_controller.py +307 -0
  118. revoxx-1.0.0.dev5/tests/test_new_session_dialog.py +151 -0
  119. revoxx-1.0.0.dev5/tests/test_process_manager.py +260 -0
  120. revoxx-1.0.0.dev5/tests/test_session_controller.py +371 -0
  121. revoxx-1.0.0.dev5/tests/test_session_manager.py +457 -0
  122. revoxx-1.0.0.dev5/tests/test_session_models.py +284 -0
  123. revoxx-1.0.0.dev5/tests/test_stable_sorting.py +178 -0
  124. revoxx-1.0.0.dev5/tests/test_utterance_list_dialog_sorting.py +192 -0
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,8 @@
1
+ include README.md
2
+ include LICENSE
3
+ include requirements.txt
4
+ recursive-include revoxx/resources *
5
+ recursive-include revoxx/resources/templates *
6
+ global-exclude __pycache__
7
+ global-exclude *.py[co]
8
+ global-exclude .DS_Store
@@ -0,0 +1,301 @@
1
+ Metadata-Version: 2.4
2
+ Name: revoxx
3
+ Version: 1.0.0.dev5
4
+ Summary: Speech recording application for creating high-quality speech datasets
5
+ Author-email: Grammatek ehf <info@grammatek.com>
6
+ Maintainer-email: Grammatek ehf <info@grammatek.com>
7
+ License-Expression: Apache-2.0
8
+ Project-URL: Homepage, https://github.com/icelandic-lt/revoxx
9
+ Project-URL: Documentation, https://github.com/icelandic-lt/revoxx#readme
10
+ Project-URL: Repository, https://github.com/icelandic-lt/revoxx
11
+ Project-URL: Issues, https://github.com/icelandic-lt/revoxx/issues
12
+ Keywords: speech,recording,tts,dataset,audio,voice,emotional-speech
13
+ Classifier: Development Status :: 4 - Beta
14
+ Classifier: Intended Audience :: Science/Research
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: Operating System :: OS Independent
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3.9
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Topic :: Multimedia :: Sound/Audio :: Capture/Recording
22
+ Classifier: Topic :: Multimedia :: Sound/Audio :: Speech
23
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
24
+ Requires-Python: >=3.9
25
+ Description-Content-Type: text/markdown
26
+ License-File: LICENSE
27
+ Requires-Dist: setuptools>=60.0.0
28
+ Requires-Dist: numpy<2.0.0,>=1.20.0; python_version < "3.10"
29
+ Requires-Dist: numpy<2.0.0,>=1.23.0; python_version == "3.10.*"
30
+ Requires-Dist: numpy>=1.24.0; python_version >= "3.11"
31
+ Requires-Dist: matplotlib>=3.5.0
32
+ Requires-Dist: librosa<0.10.0,>=0.9.0; python_version < "3.10"
33
+ Requires-Dist: librosa<0.11.0,>=0.10.0; python_version == "3.10.*"
34
+ Requires-Dist: librosa>=0.10.1; python_version >= "3.11"
35
+ Requires-Dist: scipy<1.11.0,>=1.7.0; python_version < "3.10"
36
+ Requires-Dist: scipy>=1.9.0; python_version >= "3.10"
37
+ Requires-Dist: sounddevice>=0.4.0
38
+ Requires-Dist: soundfile>=0.12.0
39
+ Requires-Dist: tqdm>=4.65.0
40
+ Provides-Extra: vad
41
+ Requires-Dist: torch>=2.0.0; extra == "vad"
42
+ Requires-Dist: silero-vad>=5.0; extra == "vad"
43
+ Provides-Extra: dev
44
+ Requires-Dist: black>=22.0.0; extra == "dev"
45
+ Requires-Dist: isort>=5.10.0; extra == "dev"
46
+ Requires-Dist: flake8>=6.0.0; extra == "dev"
47
+ Requires-Dist: pytest>=7.0.0; extra == "dev"
48
+ Requires-Dist: pytest-cov>=3.0.0; extra == "dev"
49
+ Dynamic: license-file
50
+
51
+ # Revoxx - Record Voices
52
+
53
+ This repository provides **Revoxx**, a graphical recording application for recording raw speech and generating datasets.
54
+
55
+ ![Version](https://img.shields.io/badge/Version-main-darkgreen)
56
+ ![Python](https://img.shields.io/badge/python-3.9-blue?logo=python&logoColor=white)
57
+ ![Python](https://img.shields.io/badge/python-3.10-blue?logo=python&logoColor=white)
58
+ ![Python](https://img.shields.io/badge/python-3.11-blue?logo=python&logoColor=white)
59
+ [![CI Status](https://github.com/icelandic-lt/revoxx/actions/workflows/build.yml/badge.svg)](https://github.com/icelandic-lt/revoxx/actions/workflows/build.yml)
60
+ ![Docker](https://img.shields.io/badge/Docker-[unavailable]-red)
61
+
62
+ ## Overview
63
+
64
+ **Revoxx** has been created by [Grammatek ehf](https://www.grammatek.com) and is part of the [Icelandic Language Technology Programme](https://github.com/icelandic-lt/icelandic-lt).
65
+
66
+ - **Category:** [TTS](https://github.com/icelandic-lt/icelandic-lt/blob/main/doc/tts.md)
67
+ - **Domain:** Laptop/Workstation
68
+ - **Languages:** Python
69
+ - **Language Version/Dialect:**
70
+ - Python: 3.9, 3.10, 3.11
71
+ - **Audience**: Developers, Researchers
72
+ - **Origins:** [Icelandic EmoSpeech scripts](https://github.com/icelandic-lt/emospeech-scripts)
73
+
74
+ ## Status
75
+ ![Production](https://img.shields.io/badge/Production-darkgreen)
76
+
77
+ ## System Requirements
78
+ - **Operating System:** Linux/OS-X, should work on Windows
79
+ - **Recording:** Audio Interface, good voice microphone and headphones
80
+
81
+ ## Description
82
+
83
+ **Revoxx** is a graphical speech recorder specialized in recording TTS datasets quickly and reliably.<br>
84
+ You can use this project to create emotional / non-emotional voice recordings on a Workstation / Laptop with suitable audio equipment.
85
+ It has integrated support to easily transform raw recordings into datasets for training TTS voice models.<br>
86
+ This tool is especially useful for recording many short utterances - up to an utterance duration of approx. 30-45 secs each.
87
+ For longer texts, you need to split your input texts in appropriately sized chunks that would fit on the speaker screen.
88
+ <br>
89
+ **Revoxx** has been inspired by [Icelandic EmoSpeech scripts](https://github.com/icelandic-lt/emospeech-scripts), but has been vastly improved and is rewritten from scratch.<br>
90
+
91
+ **Screenshot:**
92
+
93
+ <img src="doc/screenshot1.png" alt="screenshot1" width="100%"/>
94
+
95
+ We have condensed our experience from when we recorded [Talrómur 3](https://repository.clarin.is/repository/xmlui/handle/20.500.12537/344),
96
+ the Icelandic emotional speech dataset, and created this tool to minimize hassle, valuable recording & post-processing time.
97
+
98
+ - **Revoxx** makes recording of speech **fast, reliable and convenient for the recording engineer and the voice talent**
99
+ - Integrates all necessary tools to check if recordings & equipment meet your expected requirements
100
+ - Automatically analyzes and validates audio equipment compatibility, including Sample Rate, Bit Depth, and I/O
101
+ channel configurations
102
+ - Supports unlimited re-recording while maintaining a complete **archive of raw recordings**, even for deleted content
103
+ - Text size is automatically adjusted according to available screen real-estate
104
+ - **Intuitive keyboard shortcuts** for accessing core functionalities
105
+ - Recordings are organized into **Recording Sessions**
106
+ - Record emotional sessions for each speaker or record more traditional LJSpeech-style sessions
107
+ - Seamless transitions between different recording sessions with automatic progress tracking: continue where you left-off
108
+ - Offers advanced search and navigation capabilities for utterances, with flexible sorting by label, emotion, text
109
+ content, and recorded takes
110
+ - Consistent audio settings & metadata for all recordings
111
+ - **Real-time monitoring** including toggable recording levels, mel spectrograms, maximum frequency detection, and more
112
+ - Customizable **industry-standard presets for Peak/RMS levels**
113
+ - Dedicated **Monitoring mode** for precise input calibration
114
+ - **Multi-Screen Support**
115
+ - You can use multiple monitors to **separate recording view from speaker view**
116
+ - We support Apple's "Continuity" feature for a **convenient dual screen setup with an external iPad**
117
+ - Each screen appearance can be individually configured
118
+ - All screen layouts, placement & configuration is preserved at exit
119
+ - Export Dataset
120
+ - Facilitates **batch export of multiple sessions** into T3 (Talrómur3) dataset format
121
+ - Groups different recording sessions of the same speaker into a common dataset
122
+
123
+ ## Installation
124
+
125
+ <details>
126
+ <summary><b>Basic Installation</b></summary>
127
+
128
+ ### Using uv
129
+
130
+ [uv](https://github.com/astral-sh/uv) is a fast Python package installer and resolver:
131
+
132
+ ```bash
133
+ uv pip install revoxx # From PyPI
134
+ uv pip install . # From source
135
+ uv pip install revoxx[vad] # With VAD support
136
+ ```
137
+
138
+ ### Using pip
139
+
140
+ ```bash
141
+ pip install revoxx # From PyPI
142
+ pip install . # From source
143
+ pip install revoxx[vad] # With VAD support
144
+ ```
145
+
146
+ ### From source
147
+
148
+ ```bash
149
+ git clone https://github.com/icelandic-lt/revoxx.git
150
+ cd revoxx
151
+ # Then use either uv or pip as shown above
152
+ ```
153
+
154
+ ### With Voice Activity Detection (VAD)
155
+
156
+ The VAD functionality requires PyTorch (~2GB). Install it separately if needed:
157
+
158
+ ```bash
159
+ uv pip install revoxx[vad] # Using uv
160
+ # or
161
+ pip install revoxx[vad] # Using pip
162
+ ```
163
+
164
+ </details>
165
+
166
+ <details>
167
+ <summary><b>Development Setup</b></summary>
168
+
169
+ ### For development
170
+
171
+ #### Using uv (recommended - faster)
172
+
173
+ ```bash
174
+ git clone https://github.com/icelandic-lt/revoxx.git
175
+ cd revoxx
176
+
177
+ # Create and activate virtual environment
178
+ uv venv
179
+ source .venv/bin/activate # On Windows: .venv\Scripts\activate
180
+
181
+ # Install in editable mode with dev dependencies
182
+ uv pip install -e .[dev]
183
+ # With VAD support:
184
+ uv pip install -e .[dev,vad]
185
+ ```
186
+
187
+ #### Using pip (traditional)
188
+
189
+ ```bash
190
+ git clone https://github.com/icelandic-lt/revoxx.git
191
+ cd revoxx
192
+
193
+ # Create and activate virtual environment
194
+ python3 -m venv venv
195
+ source venv/bin/activate # On Windows: venv\Scripts\activate
196
+
197
+ # Install in editable mode with dev dependencies
198
+ pip install -e .[dev]
199
+ # With VAD support:
200
+ pip install -e .[dev,vad]
201
+ ```
202
+
203
+ Development dependencies include:
204
+ - **black**: Code formatter
205
+ - **isort**: Import statement organizer
206
+ - **flake8**: Code linter
207
+ - **pytest**: Testing framework
208
+ - **pytest-cov**: Code coverage reporting
209
+
210
+ ### Running code quality checks
211
+
212
+ ```bash
213
+ # Format code
214
+ black revoxx/ scripts_module/ tests/
215
+
216
+ # Check code style
217
+ flake8 revoxx/ scripts_module/ tests/
218
+
219
+ # Run tests
220
+ pytest tests/
221
+
222
+ # Run tests with coverage
223
+ pytest tests/ --cov=revoxx --cov-report=html
224
+ ```
225
+
226
+ </details>
227
+
228
+ ## Running Revoxx
229
+
230
+ ### After installation
231
+
232
+ Once installed, you can run Revoxx using:
233
+
234
+ ```bash
235
+ revoxx
236
+ ```
237
+
238
+ ### During development (without installation)
239
+
240
+ Run as a Python module:
241
+
242
+ ```bash
243
+ python -m revoxx
244
+ ```
245
+
246
+ ### In PyCharm or other IDEs
247
+
248
+ Configure your run configuration with:
249
+ - **Module name**: `revoxx` (not script path)
250
+ - **Working directory**: Project root directory
251
+
252
+ ### Command-line tools
253
+
254
+ The package includes additional utilities:
255
+
256
+ ```bash
257
+ revoxx-export # Export sessions to dataset format
258
+ revoxx-vadiate # Voice Activity Detection tool (requires [vad] option)
259
+ ```
260
+
261
+ **Note:** The `revoxx-vadiate` tool requires the VAD dependencies. Install with `pip install revoxx[vad]` or `pip install .[vad]` to use this tool.
262
+
263
+ ### Command-line arguments
264
+
265
+ ```bash
266
+ revoxx --help # Show all available options
267
+ revoxx --show-devices # List available audio devices
268
+ revoxx --session path/to/session # Open specific session
269
+ ```
270
+
271
+ ## Prepare recordings
272
+
273
+ Before you start recording, you should prepare a script with the utterances you want to record.
274
+ The script should be a simple text file with one utterance per line. The utterances can be in any language you want.
275
+
276
+ A script file follows Festival-style and has the following possible two formats:
277
+
278
+ For a script with emotion levels:
279
+
280
+ ```text
281
+ ( <unique id> "<emotion-level>: <utterance>" )
282
+ ```
283
+
284
+ For a script without emotion levels. This format was used for recording our non-emotional "addendas":
285
+
286
+ ```text
287
+ ( <unique id> "<utterance>" )
288
+ ```
289
+
290
+ You can see for both formats an example in the directory [scripts](scripts).
291
+
292
+ The emotion levels can be from any monotonic numerical value range you want. If you want to follow Talrómur 3 dataset conventions, you can use emotion levels 0-5 for 6 emotions: neutral, happy, sad, angry, surprised, and helpful.
293
+ The emotion levels are used to control the emotion intensity of the speech in combination with the specific emotion.
294
+ Neutral speech corresponds to emotion level 0.
295
+
296
+ ## Record dataset
297
+
298
+ to be defined
299
+
300
+ ## Acknowledgements
301
+ This project is part of the program Language Technology for Icelandic. The program was funded by the Icelandic Ministry of Culture and Business Affairs.