fake-bpy-module 20250828__py3-none-any.whl → 20260118__py3-none-any.whl

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 (309) hide show
  1. {bl_console_utils → _bl_console_utils}/autocomplete/complete_calltip/__init__.pyi +0 -13
  2. {bl_console_utils → _bl_console_utils}/autocomplete/complete_import/__init__.pyi +0 -5
  3. {bl_console_utils → _bl_console_utils}/autocomplete/complete_namespace/__init__.pyi +0 -11
  4. {bl_console_utils → _bl_console_utils}/autocomplete/intellisense/__init__.pyi +0 -10
  5. {bl_i18n_utils → _bl_i18n_utils}/__init__.pyi +1 -0
  6. {bl_i18n_utils → _bl_i18n_utils}/bl_extract_messages/__init__.pyi +1 -0
  7. {bl_i18n_utils → _bl_i18n_utils}/settings/__init__.pyi +2 -0
  8. _bl_i18n_utils/utils_spell_check/__init__.pyi +22 -0
  9. {bl_ui_utils → _bl_ui_utils}/__init__.pyi +1 -0
  10. _bpy_internal/__init__.pyi +3 -1
  11. _bpy_internal/disk_file_hash_service/__init__.pyi +19 -0
  12. _bpy_internal/disk_file_hash_service/backend_sqlite/__init__.pyi +48 -0
  13. _bpy_internal/disk_file_hash_service/hash_service/__init__.pyi +64 -0
  14. _bpy_internal/disk_file_hash_service/types/__init__.pyi +53 -0
  15. _bpy_internal/filesystem/__init__.pyi +5 -0
  16. _bpy_internal/filesystem/locking/__init__.pyi +28 -0
  17. _bpy_internal/platform/__init__.pyi +5 -0
  18. _bpy_types/__init__.pyi +115 -117
  19. {rna_info → _rna_info}/__init__.pyi +0 -1
  20. addon_utils/__init__.pyi +0 -13
  21. aud/__init__.pyi +66 -142
  22. bl_app_templates_system/Storyboarding/__init__.pyi +11 -0
  23. bl_app_templates_system/__init__.pyi +5 -0
  24. bl_app_templates_system/py.typed +0 -0
  25. bl_math/__init__.pyi +2 -12
  26. bl_operators/__init__.pyi +1 -0
  27. bl_operators/add_mesh_torus/__init__.pyi +0 -2
  28. bl_operators/anim/__init__.pyi +47 -24
  29. bl_operators/assets/__init__.pyi +0 -6
  30. bl_operators/bone_selection_sets/__init__.pyi +0 -28
  31. bl_operators/clip/__init__.pyi +0 -20
  32. bl_operators/connect_to_output/__init__.pyi +0 -2
  33. bl_operators/console/__init__.pyi +0 -10
  34. bl_operators/constraint/__init__.pyi +0 -8
  35. bl_operators/copy_global_transform/__init__.pyi +261 -0
  36. bl_operators/file/__init__.pyi +0 -6
  37. bl_operators/freestyle/__init__.pyi +0 -8
  38. bl_operators/geometry_nodes/__init__.pyi +0 -8
  39. bl_operators/grease_pencil/__init__.pyi +0 -2
  40. bl_operators/image/__init__.pyi +0 -10
  41. bl_operators/image_as_planes/__init__.pyi +0 -4
  42. bl_operators/mesh/__init__.pyi +0 -47
  43. bl_operators/node/__init__.pyi +277 -57
  44. bl_operators/object/__init__.pyi +0 -37
  45. bl_operators/object_align/__init__.pyi +0 -2
  46. bl_operators/object_quick_effects/__init__.pyi +0 -8
  47. bl_operators/object_randomize_transform/__init__.pyi +0 -2
  48. bl_operators/presets/__init__.pyi +1 -51
  49. bl_operators/rigidbody/__init__.pyi +0 -6
  50. bl_operators/screen_play_rendered_anim/__init__.pyi +0 -2
  51. bl_operators/sequencer/__init__.pyi +0 -16
  52. bl_operators/spreadsheet/__init__.pyi +0 -2
  53. bl_operators/userpref/__init__.pyi +0 -50
  54. bl_operators/uvcalc_follow_active/__init__.pyi +1 -3
  55. bl_operators/uvcalc_lightmap/__init__.pyi +0 -2
  56. bl_operators/uvcalc_transform/__init__.pyi +21 -12
  57. bl_operators/vertexpaint_dirt/__init__.pyi +0 -2
  58. bl_operators/view3d/__init__.pyi +0 -16
  59. bl_operators/wm/__init__.pyi +0 -92
  60. bl_operators/world/__init__.pyi +0 -2
  61. bl_ui/__init__.pyi +3 -4
  62. bl_ui/anim/__init__.pyi +0 -2
  63. bl_ui/asset_shelf/__init__.pyi +0 -2
  64. bl_ui/generic_ui_list/__init__.pyi +1 -17
  65. bl_ui/node_add_menu/__init__.pyi +261 -6
  66. bl_ui/node_add_menu_compositor/__init__.pyi +96 -80
  67. bl_ui/node_add_menu_geometry/__init__.pyi +266 -306
  68. bl_ui/node_add_menu_shader/__init__.pyi +49 -50
  69. bl_ui/node_add_menu_texture/__init__.pyi +16 -62
  70. bl_ui/properties_collection/__init__.pyi +0 -14
  71. bl_ui/properties_constraint/__init__.pyi +55 -209
  72. bl_ui/properties_data_armature/__init__.pyi +0 -36
  73. bl_ui/properties_data_bone/__init__.pyi +0 -20
  74. bl_ui/properties_data_camera/__init__.pyi +0 -30
  75. bl_ui/properties_data_curve/__init__.pyi +0 -30
  76. bl_ui/properties_data_curves/__init__.pyi +0 -16
  77. bl_ui/properties_data_empty/__init__.pyi +0 -4
  78. bl_ui/properties_data_grease_pencil/__init__.pyi +0 -40
  79. bl_ui/properties_data_lattice/__init__.pyi +0 -8
  80. bl_ui/properties_data_light/__init__.pyi +0 -20
  81. bl_ui/properties_data_lightprobe/__init__.pyi +0 -28
  82. bl_ui/properties_data_mesh/__init__.pyi +1 -42
  83. bl_ui/properties_data_metaball/__init__.pyi +0 -12
  84. bl_ui/properties_data_modifier/__init__.pyi +12 -19
  85. bl_ui/properties_data_pointcloud/__init__.pyi +0 -12
  86. bl_ui/properties_data_shaderfx/__init__.pyi +0 -2
  87. bl_ui/properties_data_speaker/__init__.pyi +0 -12
  88. bl_ui/properties_data_volume/__init__.pyi +0 -18
  89. bl_ui/properties_freestyle/__init__.pyi +0 -50
  90. bl_ui/properties_grease_pencil_common/__init__.pyi +0 -159
  91. bl_ui/properties_mask_common/__init__.pyi +0 -14
  92. bl_ui/properties_material/__init__.pyi +0 -32
  93. bl_ui/properties_material_gpencil/__init__.pyi +23 -45
  94. bl_ui/properties_object/__init__.pyi +35 -42
  95. bl_ui/properties_output/__init__.pyi +0 -40
  96. bl_ui/properties_paint_common/__init__.pyi +23 -19
  97. bl_ui/properties_particle/__init__.pyi +0 -106
  98. bl_ui/properties_physics_cloth/__init__.pyi +0 -28
  99. bl_ui/properties_physics_common/__init__.pyi +0 -2
  100. bl_ui/properties_physics_dynamicpaint/__init__.pyi +0 -44
  101. bl_ui/properties_physics_field/__init__.pyi +0 -20
  102. bl_ui/properties_physics_fluid/__init__.pyi +0 -56
  103. bl_ui/properties_physics_geometry_nodes/__init__.pyi +0 -2
  104. bl_ui/properties_physics_rigidbody/__init__.pyi +0 -16
  105. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +0 -26
  106. bl_ui/properties_physics_softbody/__init__.pyi +0 -30
  107. bl_ui/properties_render/__init__.pyi +58 -86
  108. bl_ui/properties_scene/__init__.pyi +0 -34
  109. bl_ui/properties_strip/__init__.pyi +744 -0
  110. bl_ui/properties_strip_modifier/__init__.pyi +45 -0
  111. bl_ui/properties_texture/__init__.pyi +0 -54
  112. bl_ui/properties_view_layer/__init__.pyi +7 -28
  113. bl_ui/properties_workspace/__init__.pyi +0 -8
  114. bl_ui/properties_world/__init__.pyi +0 -22
  115. bl_ui/space_clip/__init__.pyi +82 -166
  116. bl_ui/space_console/__init__.pyi +0 -12
  117. bl_ui/space_dopesheet/__init__.pyi +67 -76
  118. bl_ui/space_filebrowser/__init__.pyi +0 -60
  119. bl_ui/space_graph/__init__.pyi +0 -66
  120. bl_ui/space_image/__init__.pyi +28 -162
  121. bl_ui/space_info/__init__.pyi +0 -12
  122. bl_ui/space_nla/__init__.pyi +0 -58
  123. bl_ui/space_node/__init__.pyi +99 -132
  124. bl_ui/space_outliner/__init__.pyi +0 -30
  125. bl_ui/space_properties/__init__.pyi +29 -6
  126. bl_ui/space_sequencer/__init__.pyi +159 -987
  127. bl_ui/space_spreadsheet/__init__.pyi +0 -6
  128. bl_ui/space_statusbar/__init__.pyi +0 -2
  129. bl_ui/space_text/__init__.pyi +0 -32
  130. bl_ui/space_time/__init__.pyi +29 -22
  131. bl_ui/space_toolsystem_toolbar/__init__.pyi +7 -2
  132. bl_ui/space_topbar/__init__.pyi +7 -52
  133. bl_ui/space_userpref/__init__.pyi +77 -225
  134. bl_ui/space_view3d/__init__.pyi +69 -551
  135. bl_ui/space_view3d_sidebar/__init__.pyi +127 -0
  136. bl_ui/space_view3d_toolbar/__init__.pyi +22 -799
  137. bl_ui/utils/__init__.pyi +0 -17
  138. blf/__init__.pyi +6 -50
  139. bmesh/__init__.pyi +0 -7
  140. bmesh/geometry/__init__.pyi +0 -3
  141. bmesh/ops/__init__.pyi +5 -450
  142. bmesh/types/__init__.pyi +298 -639
  143. bmesh/utils/__init__.pyi +16 -43
  144. bpy/app/__init__.pyi +66 -58
  145. bpy/app/icons/__init__.pyi +0 -6
  146. bpy/app/timers/__init__.pyi +0 -6
  147. bpy/app/translations/__init__.pyi +1 -16
  148. bpy/msgbus/__init__.pyi +1 -4
  149. bpy/ops/action/__init__.pyi +17 -186
  150. bpy/ops/anim/__init__.pyi +38 -279
  151. bpy/ops/armature/__init__.pyi +20 -191
  152. bpy/ops/asset/__init__.pyi +11 -97
  153. bpy/ops/boid/__init__.pyi +7 -38
  154. bpy/ops/brush/__init__.pyi +3 -104
  155. bpy/ops/buttons/__init__.pyi +4 -71
  156. bpy/ops/cachefile/__init__.pyi +2 -63
  157. bpy/ops/camera/__init__.pyi +0 -11
  158. bpy/ops/clip/__init__.pyi +43 -427
  159. bpy/ops/cloth/__init__.pyi +0 -5
  160. bpy/ops/collection/__init__.pyi +3 -35
  161. bpy/ops/console/__init__.pyi +10 -88
  162. bpy/ops/constraint/__init__.pyi +3 -80
  163. bpy/ops/curve/__init__.pyi +23 -254
  164. bpy/ops/curves/__init__.pyi +54 -149
  165. bpy/ops/cycles/__init__.pyi +1 -14
  166. bpy/ops/dpaint/__init__.pyi +3 -21
  167. bpy/ops/ed/__init__.pyi +10 -82
  168. bpy/ops/export_anim/__init__.pyi +2 -10
  169. bpy/ops/export_scene/__init__.pyi +1 -155
  170. bpy/ops/extensions/__init__.pyi +15 -150
  171. bpy/ops/file/__init__.pyi +29 -216
  172. bpy/ops/fluid/__init__.pyi +13 -70
  173. bpy/ops/font/__init__.pyi +10 -134
  174. bpy/ops/geometry/__init__.pyi +3 -124
  175. bpy/ops/gizmogroup/__init__.pyi +1 -12
  176. bpy/ops/gpencil/__init__.pyi +5 -49
  177. bpy/ops/graph/__init__.pyi +20 -315
  178. bpy/ops/grease_pencil/__init__.pyi +62 -523
  179. bpy/ops/image/__init__.pyi +19 -379
  180. bpy/ops/import_anim/__init__.pyi +2 -16
  181. bpy/ops/import_curve/__init__.pyi +0 -6
  182. bpy/ops/import_scene/__init__.pyi +0 -50
  183. bpy/ops/info/__init__.pyi +4 -35
  184. bpy/ops/lattice/__init__.pyi +3 -33
  185. bpy/ops/marker/__init__.pyi +4 -49
  186. bpy/ops/mask/__init__.pyi +17 -176
  187. bpy/ops/material/__init__.pyi +3 -15
  188. bpy/ops/mball/__init__.pyi +1 -30
  189. bpy/ops/mesh/__init__.pyi +34 -932
  190. bpy/ops/nla/__init__.pyi +22 -183
  191. bpy/ops/node/__init__.pyi +420 -625
  192. bpy/ops/object/__init__.pyi +197 -1239
  193. bpy/ops/outliner/__init__.pyi +47 -327
  194. bpy/ops/paint/__init__.pyi +29 -282
  195. bpy/ops/paintcurve/__init__.pyi +4 -36
  196. bpy/ops/palette/__init__.pyi +3 -27
  197. bpy/ops/particle/__init__.pyi +20 -160
  198. bpy/ops/pointcloud/__init__.pyi +3 -35
  199. bpy/ops/pose/__init__.pyi +29 -234
  200. bpy/ops/poselib/__init__.pyi +19 -66
  201. bpy/ops/preferences/__init__.pyi +9 -177
  202. bpy/ops/ptcache/__init__.pyi +5 -31
  203. bpy/ops/render/__init__.pyi +10 -68
  204. bpy/ops/rigidbody/__init__.pyi +6 -56
  205. bpy/ops/scene/__init__.pyi +23 -168
  206. bpy/ops/screen/__init__.pyi +36 -202
  207. bpy/ops/script/__init__.pyi +1 -12
  208. bpy/ops/sculpt/__init__.pyi +42 -313
  209. bpy/ops/sculpt_curves/__init__.pyi +6 -21
  210. bpy/ops/sequencer/__init__.pyi +187 -644
  211. bpy/ops/sound/__init__.pyi +3 -109
  212. bpy/ops/spreadsheet/__init__.pyi +5 -32
  213. bpy/ops/surface/__init__.pyi +0 -48
  214. bpy/ops/text/__init__.pyi +27 -225
  215. bpy/ops/text_editor/__init__.pyi +0 -5
  216. bpy/ops/texture/__init__.pyi +3 -18
  217. bpy/ops/transform/__init__.pyi +10 -382
  218. bpy/ops/ui/__init__.pyi +29 -154
  219. bpy/ops/uilist/__init__.pyi +0 -13
  220. bpy/ops/uv/__init__.pyi +195 -288
  221. bpy/ops/view2d/__init__.pyi +3 -73
  222. bpy/ops/view3d/__init__.pyi +37 -339
  223. bpy/ops/wm/__init__.pyi +129 -1317
  224. bpy/ops/workspace/__init__.pyi +7 -39
  225. bpy/ops/world/__init__.pyi +2 -10
  226. bpy/path/__init__.pyi +0 -34
  227. bpy/props/__init__.pyi +332 -203
  228. bpy/stub_internal/rna_enums/__init__.pyi +102 -82
  229. bpy/types/__init__.pyi +51712 -89245
  230. bpy/utils/__init__.pyi +4 -75
  231. bpy/utils/previews/__init__.pyi +1 -10
  232. bpy/utils/units/__init__.pyi +0 -12
  233. bpy_extras/anim_utils/__init__.pyi +24 -16
  234. bpy_extras/bmesh_utils/__init__.pyi +0 -1
  235. bpy_extras/id_map_utils/__init__.pyi +14 -6
  236. bpy_extras/image_utils/__init__.pyi +0 -9
  237. bpy_extras/io_utils/__init__.pyi +4 -23
  238. bpy_extras/keyconfig_utils/__init__.pyi +1 -1
  239. bpy_extras/mesh_utils/__init__.pyi +0 -12
  240. bpy_extras/node_shader_utils/__init__.pyi +0 -8
  241. bpy_extras/object_utils/__init__.pyi +0 -14
  242. bpy_extras/view3d_utils/__init__.pyi +0 -18
  243. {fake_bpy_module-20250828.dist-info → fake_bpy_module-20260118.dist-info}/METADATA +4 -1
  244. fake_bpy_module-20260118.dist-info/RECORD +385 -0
  245. {fake_bpy_module-20250828.dist-info → fake_bpy_module-20260118.dist-info}/top_level.txt +15 -14
  246. freestyle/chainingiterators/__init__.pyi +0 -22
  247. freestyle/functions/__init__.pyi +0 -139
  248. freestyle/predicates/__init__.pyi +0 -51
  249. freestyle/shaders/__init__.pyi +0 -65
  250. freestyle/types/__init__.pyi +139 -777
  251. freestyle/utils/ContextFunctions/__init__.pyi +0 -23
  252. freestyle/utils/__init__.pyi +0 -6
  253. gpu/capabilities/__init__.pyi +0 -21
  254. gpu/matrix/__init__.pyi +1 -10
  255. gpu/platform/__init__.pyi +0 -5
  256. gpu/shader/__init__.pyi +22 -6
  257. gpu/state/__init__.pyi +59 -38
  258. gpu/texture/__init__.pyi +0 -2
  259. gpu/types/__init__.pyi +84 -152
  260. gpu_extras/batch/__init__.pyi +0 -4
  261. gpu_extras/presets/__init__.pyi +6 -8
  262. idprop/types/__init__.pyi +6 -6
  263. imbuf/__init__.pyi +2 -9
  264. imbuf/types/__init__.pyi +5 -25
  265. keyingsets_builtins/__init__.pyi +1 -45
  266. mathutils/__init__.pyi +106 -2168
  267. mathutils/bvhtree/__init__.pyi +3 -25
  268. mathutils/geometry/__init__.pyi +41 -133
  269. mathutils/interpolate/__init__.pyi +3 -4
  270. mathutils/kdtree/__init__.pyi +0 -11
  271. mathutils/noise/__init__.pyi +0 -62
  272. fake_bpy_module-20250828.dist-info/RECORD +0 -370
  273. {animsys_refactor → _animsys_refactor}/__init__.pyi +0 -0
  274. {animsys_refactor → _animsys_refactor}/py.typed +0 -0
  275. {bl_console_utils → _bl_console_utils}/__init__.pyi +0 -0
  276. {bl_console_utils → _bl_console_utils}/autocomplete/__init__.pyi +0 -0
  277. {bl_console_utils → _bl_console_utils}/py.typed +0 -0
  278. {bl_i18n_utils → _bl_i18n_utils}/merge_po/__init__.pyi +0 -0
  279. {bl_i18n_utils → _bl_i18n_utils}/py.typed +0 -0
  280. {bl_i18n_utils → _bl_i18n_utils}/utils/__init__.pyi +0 -0
  281. {bl_i18n_utils → _bl_i18n_utils}/utils_cli/__init__.pyi +0 -0
  282. {bl_i18n_utils → _bl_i18n_utils}/utils_languages_menu/__init__.pyi +0 -0
  283. {bl_i18n_utils → _bl_i18n_utils}/utils_rtl/__init__.pyi +0 -0
  284. {bl_previews_utils → _bl_previews_utils}/__init__.pyi +0 -0
  285. {bl_previews_utils → _bl_previews_utils}/bl_previews_render/__init__.pyi +0 -0
  286. {bl_previews_utils → _bl_previews_utils}/py.typed +0 -0
  287. {bl_rna_utils → _bl_rna_utils}/__init__.pyi +0 -0
  288. {bl_rna_utils → _bl_rna_utils}/data_path/__init__.pyi +0 -0
  289. {bl_rna_utils → _bl_rna_utils}/py.typed +0 -0
  290. {bl_text_utils → _bl_text_utils}/__init__.pyi +0 -0
  291. {bl_text_utils → _bl_text_utils}/external_editor/__init__.pyi +0 -0
  292. {bl_text_utils → _bl_text_utils}/py.typed +0 -0
  293. {bl_ui_utils → _bl_ui_utils}/layout/__init__.pyi +0 -0
  294. {bl_ui_utils → _bl_ui_utils}/py.typed +0 -0
  295. /_bpy_internal/{freedesktop → platform/freedesktop}/__init__.pyi +0 -0
  296. {bpy_restrict_state → _bpy_restrict_state}/__init__.pyi +0 -0
  297. {bpy_restrict_state → _bpy_restrict_state}/py.typed +0 -0
  298. {console_python → _console_python}/__init__.pyi +0 -0
  299. {console_python → _console_python}/py.typed +0 -0
  300. {console_shell → _console_shell}/__init__.pyi +0 -0
  301. {console_shell → _console_shell}/py.typed +0 -0
  302. {graphviz_export → _graphviz_export}/__init__.pyi +0 -0
  303. {graphviz_export → _graphviz_export}/py.typed +0 -0
  304. {keyingsets_utils → _keyingsets_utils}/__init__.pyi +0 -0
  305. {keyingsets_utils → _keyingsets_utils}/py.typed +0 -0
  306. {rna_info → _rna_info}/py.typed +0 -0
  307. {rna_xml → _rna_xml}/__init__.pyi +0 -0
  308. {rna_xml → _rna_xml}/py.typed +0 -0
  309. {fake_bpy_module-20250828.dist-info → fake_bpy_module-20260118.dist-info}/WHEEL +0 -0
aud/__init__.pyi CHANGED
@@ -29,7 +29,6 @@ class AnimateableProperty:
29
29
  """Reads the properties value at the given position.
30
30
 
31
31
  :param position: The position in the animation in frames.
32
- :type position: float
33
32
  :return: A numpy array of values representing the properties value.
34
33
  """
35
34
 
@@ -37,9 +36,7 @@ class AnimateableProperty:
37
36
  """Reads the properties value at the given position, assuming there is exactly one value.
38
37
 
39
38
  :param position: The position in the animation in frames.
40
- :type position: float
41
39
  :return: The value at that position.
42
- :rtype: float
43
40
  """
44
41
 
45
42
  def write(self, data, position: int) -> None:
@@ -48,7 +45,6 @@ class AnimateableProperty:
48
45
 
49
46
  :param data: numpy array of float32 values.
50
47
  :param position: The starting position in frames.
51
- :type position: int
52
48
  """
53
49
 
54
50
  def writeConstantRange(self, data, position_start: int, position_end: int) -> None:
@@ -56,9 +52,7 @@ class AnimateableProperty:
56
52
 
57
53
  :param data: numpy array of float values representing the constant value.
58
54
  :param position_start: The start position in frames.
59
- :type position_start: int
60
55
  :param position_end: The end position in frames.
61
- :type position_end: int
62
56
  """
63
57
 
64
58
  class Device:
@@ -78,13 +72,13 @@ This factor is a scaling factor for the velocity vectors in doppler calculation.
78
72
  """ The native sample format of the device."""
79
73
 
80
74
  listener_location: typing.Any
81
- """ The listenerss location in 3D space, a 3D tuple of floats."""
75
+ """ The listeners's location in 3D space, a 3D tuple of floats."""
82
76
 
83
77
  listener_orientation: typing.Any
84
- """ The listeners orientation in 3D space as quaternion, a 4 float tuple."""
78
+ """ The listener's orientation in 3D space as quaternion, a 4 float tuple."""
85
79
 
86
80
  listener_velocity: typing.Any
87
- """ The listeners velocity in 3D space, a 3D tuple of floats."""
81
+ """ The listener's velocity in 3D space, a 3D tuple of floats."""
88
82
 
89
83
  rate: typing.Any
90
84
  """ The sampling rate of the device in Hz."""
@@ -108,12 +102,9 @@ The speed of sound in air is typically 343.3 m/s."""
108
102
  """Plays a sound.
109
103
 
110
104
  :param sound: The sound to play.
111
- :type sound: Sound
112
105
  :param keep: See `Handle.keep`.
113
- :type keep: bool
114
106
  :return: The playback handle with which playback can be
115
107
  controlled with.
116
- :rtype: Handle
117
108
  """
118
109
 
119
110
  def stopAll(self) -> None:
@@ -149,43 +140,34 @@ class DynamicMusic:
149
140
  """Adds a new scene.
150
141
 
151
142
  :param scene: The scene sound.
152
- :type scene: Sound
153
143
  :return: The new scene id.
154
- :rtype: int
155
144
  """
156
145
 
157
146
  def addTransition(self, ini: int, end: int, transition: Sound) -> bool:
158
147
  """Adds a new scene.
159
148
 
160
149
  :param ini: the initial scene foor the transition.
161
- :type ini: int
162
150
  :param end: The final scene for the transition.
163
- :type end: int
164
151
  :param transition: The transition sound.
165
- :type transition: Sound
166
152
  :return: false if the ini or end scenes dont exist, true otherwise.
167
- :rtype: bool
168
153
  """
169
154
 
170
155
  def pause(self) -> bool:
171
156
  """Pauses playback of the scene.
172
157
 
173
158
  :return: Whether the action succeeded.
174
- :rtype: bool
175
159
  """
176
160
 
177
161
  def resume(self) -> bool:
178
162
  """Resumes playback of the scene.
179
163
 
180
164
  :return: Whether the action succeeded.
181
- :rtype: bool
182
165
  """
183
166
 
184
167
  def stop(self) -> bool:
185
168
  """Stops playback of the scene.
186
169
 
187
170
  :return: Whether the action succeeded.
188
- :rtype: bool
189
171
  """
190
172
 
191
173
  class HRTF:
@@ -195,20 +177,16 @@ class HRTF:
195
177
  """Loads all HRTFs from a directory.
196
178
 
197
179
  :param extension: The file extension of the hrtfs.
198
- :type extension: str
199
180
  :param directory: The path to where the HRTF files are located.
200
181
  :return: The loaded `HRTF` object.
201
- :rtype: typing_extensions.Self
202
182
  """
203
183
 
204
184
  def loadRightHrtfSet(self, extension: str, directory) -> typing_extensions.Self:
205
185
  """Loads all HRTFs from a directory.
206
186
 
207
187
  :param extension: The file extension of the hrtfs.
208
- :type extension: str
209
188
  :param directory: The path to where the HRTF files are located.
210
189
  :return: The loaded `HRTF` object.
211
- :rtype: typing_extensions.Self
212
190
  """
213
191
 
214
192
  def addImpulseResponseFromSound(
@@ -217,13 +195,9 @@ class HRTF:
217
195
  """Adds a new hrtf to the HRTF object
218
196
 
219
197
  :param sound: The sound that contains the hrtf.
220
- :type sound: Sound
221
198
  :param azimuth: The azimuth angle of the hrtf.
222
- :type azimuth: float
223
199
  :param elevation: The elevation angle of the hrtf.
224
- :type elevation: float
225
200
  :return: Whether the action succeeded.
226
- :rtype: bool
227
201
  """
228
202
 
229
203
  class Handle:
@@ -233,7 +207,7 @@ class Handle:
233
207
  """ This factor is used for distance based attenuation of the source.:attr:`Device.distance_model`"""
234
208
 
235
209
  cone_angle_inner: typing.Any
236
- """ The opening angle of the inner cone of the source. If the cone values of a source are set there are two (audible) cones with the apex at the `location` of the source and with infinite height, heading in the direction of the sources `orientation`.
210
+ """ The opening angle of the inner cone of the source. If the cone values of a source are set there are two (audible) cones with the apex at the `location` of the source and with infinite height, heading in the direction of the source's `orientation`.
237
211
  In the inner cone the volume is normal. Outside the outer cone the volume will be `cone_volume_outer` and in the area between the volume will be interpolated linearly."""
238
212
 
239
213
  cone_angle_outer: typing.Any
@@ -255,13 +229,13 @@ At this distance the volume will be exactly `volume`.:attr:`Device.distance_mode
255
229
  This can be used to seek the sound to some position and start playback again."""
256
230
 
257
231
  location: typing.Any
258
- """ The sources location in 3D space, a 3D tuple of floats."""
232
+ """ The source's location in 3D space, a 3D tuple of floats."""
259
233
 
260
234
  loop_count: typing.Any
261
235
  """ The (remaining) loop count of the sound. A negative value indicates infinity."""
262
236
 
263
237
  orientation: typing.Any
264
- """ The sources orientation in 3D space as quaternion, a 4 float tuple."""
238
+ """ The source's orientation in 3D space as quaternion, a 4 float tuple."""
265
239
 
266
240
  pitch: typing.Any
267
241
  """ The pitch of the sound."""
@@ -270,13 +244,13 @@ This can be used to seek the sound to some position and start playback again."""
270
244
  """ The playback position of the sound in seconds."""
271
245
 
272
246
  relative: typing.Any
273
- """ Whether the sources location, velocity and orientation is relative or absolute to the listener."""
247
+ """ Whether the source's location, velocity and orientation is relative or absolute to the listener."""
274
248
 
275
249
  status: typing.Any
276
250
  """ Whether the sound is playing, paused or stopped (=invalid)."""
277
251
 
278
252
  velocity: typing.Any
279
- """ The sources velocity in 3D space, a 3D tuple of floats."""
253
+ """ The source's velocity in 3D space, a 3D tuple of floats."""
280
254
 
281
255
  volume: typing.Any
282
256
  """ The volume of the sound."""
@@ -291,21 +265,18 @@ This can be used to seek the sound to some position and start playback again."""
291
265
  """Pauses playback.
292
266
 
293
267
  :return: Whether the action succeeded.
294
- :rtype: bool
295
268
  """
296
269
 
297
270
  def resume(self) -> bool:
298
271
  """Resumes playback.
299
272
 
300
273
  :return: Whether the action succeeded.
301
- :rtype: bool
302
274
  """
303
275
 
304
276
  def stop(self) -> bool:
305
277
  """Stops playback.
306
278
 
307
279
  :return: Whether the action succeeded.
308
- :rtype: bool
309
280
  """
310
281
 
311
282
  class ImpulseResponse:
@@ -318,9 +289,7 @@ class PlaybackManager:
318
289
  """Adds a category with a custom volume.
319
290
 
320
291
  :param volume: The volume for ther new category.
321
- :type volume: float
322
292
  :return: The key of the new category.
323
- :rtype: int
324
293
  """
325
294
 
326
295
  def clean(self) -> None:
@@ -330,59 +299,45 @@ class PlaybackManager:
330
299
  """Retrieves the volume of a category.
331
300
 
332
301
  :param catKey: the key of the category.
333
- :type catKey: int
334
302
  :return: The volume of the category.
335
- :rtype: float
336
303
  """
337
304
 
338
305
  def pause(self, catKey: int) -> bool:
339
306
  """Pauses playback of the category.
340
307
 
341
308
  :param catKey: the key of the category.
342
- :type catKey: int
343
309
  :return: Whether the action succeeded.
344
- :rtype: bool
345
310
  """
346
311
 
347
312
  def play(self, sound: Sound, catKey: int) -> Handle:
348
313
  """Plays a sound through the playback manager and assigns it to a category.
349
314
 
350
315
  :param sound: The sound to play.
351
- :type sound: Sound
352
316
  :param catKey: the key of the category in which the sound will be added,
353
317
  if it doesnt exist, a new one will be created.
354
- :type catKey: int
355
318
  :return: The playback handle with which playback can be controlled with.
356
- :rtype: Handle
357
319
  """
358
320
 
359
321
  def resume(self, catKey: int) -> bool:
360
322
  """Resumes playback of the catgory.
361
323
 
362
324
  :param catKey: the key of the category.
363
- :type catKey: int
364
325
  :return: Whether the action succeeded.
365
- :rtype: bool
366
326
  """
367
327
 
368
328
  def setVolume(self, volume: float, catKey: int) -> int:
369
329
  """Changes the volume of a category.
370
330
 
371
331
  :param volume: the new volume value.
372
- :type volume: float
373
332
  :param catKey: the key of the category.
374
- :type catKey: int
375
333
  :return: Whether the action succeeded.
376
- :rtype: int
377
334
  """
378
335
 
379
336
  def stop(self, catKey: int) -> bool:
380
337
  """Stops playback of the category.
381
338
 
382
339
  :param catKey: the key of the category.
383
- :type catKey: int
384
340
  :return: Whether the action succeeded.
385
- :rtype: bool
386
341
  """
387
342
 
388
343
  class Sequence:
@@ -399,7 +354,7 @@ class Sequence:
399
354
  This factor is a scaling factor for the velocity vectors in doppler calculation. So a value bigger than 1 will exaggerate the effect as it raises the velocity."""
400
355
 
401
356
  fps: typing.Any
402
- """ The listenerss location in 3D space, a 3D tuple of floats."""
357
+ """ The listeners's location in 3D space, a 3D tuple of floats."""
403
358
 
404
359
  muted: typing.Any
405
360
  """ Whether the whole sequence is muted."""
@@ -415,7 +370,6 @@ The speed of sound in air is typically 343.3 m/s."""
415
370
  """Adds a new entry to the sequence.
416
371
 
417
372
  :return: The entry added.
418
- :rtype: SequenceEntry
419
373
  """
420
374
 
421
375
  def remove(self) -> None:
@@ -431,7 +385,7 @@ class SequenceEntry:
431
385
  """ This factor is used for distance based attenuation of the source.:attr:`Device.distance_model`"""
432
386
 
433
387
  cone_angle_inner: typing.Any
434
- """ The opening angle of the inner cone of the source. If the cone values of a source are set there are two (audible) cones with the apex at the `location` of the source and with infinite height, heading in the direction of the sources `orientation`.
388
+ """ The opening angle of the inner cone of the source. If the cone values of a source are set there are two (audible) cones with the apex at the `location` of the source and with infinite height, heading in the direction of the source's `orientation`.
435
389
  In the inner cone the volume is normal. Outside the outer cone the volume will be `cone_volume_outer` and in the area between the volume will be interpolated linearly."""
436
390
 
437
391
  cone_angle_outer: typing.Any
@@ -452,7 +406,7 @@ At this distance the volume will be exactly `volume`.:attr:`Device.distance_mode
452
406
  """ Whether the entry is muted."""
453
407
 
454
408
  relative: typing.Any
455
- """ Whether the sources location, velocity and orientation is relative or absolute to the listener."""
409
+ """ Whether the source's location, velocity and orientation is relative or absolute to the listener."""
456
410
 
457
411
  sound: typing.Any
458
412
  """ The sound the entry is representing and will be played in the sequence."""
@@ -484,9 +438,7 @@ class Sound:
484
438
 
485
439
  :param data: The data as two dimensional numpy array.
486
440
  :param rate: The sample rate.
487
- :type rate: float
488
441
  :return: The created `Sound` object.
489
- :rtype: typing_extensions.Self
490
442
  """
491
443
 
492
444
  @classmethod
@@ -494,9 +446,7 @@ class Sound:
494
446
  """Creates a sound object of a sound file.
495
447
 
496
448
  :param filename: Path of the file.
497
- :type filename: str
498
449
  :return: The created `Sound` object.
499
- :rtype: typing_extensions.Self
500
450
  """
501
451
 
502
452
  @classmethod
@@ -504,7 +454,6 @@ class Sound:
504
454
  """Creates an empty sound list that can contain several sounds.
505
455
 
506
456
  :return: The created `Sound` object.
507
- :rtype: typing_extensions.Self
508
457
  """
509
458
 
510
459
  @classmethod
@@ -512,12 +461,9 @@ class Sound:
512
461
  """Creates a sawtooth sound which plays a sawtooth wave.
513
462
 
514
463
  :param frequency: The frequency of the sawtooth wave in Hz.
515
- :type frequency: float
516
464
  :param rate: The sampling rate in Hz. Its recommended to set this
517
465
  value to the playback devices sampling rate to avoid resampling.
518
- :type rate: int
519
466
  :return: The created `Sound` object.
520
- :rtype: typing_extensions.Self
521
467
  """
522
468
 
523
469
  @classmethod
@@ -526,9 +472,7 @@ class Sound:
526
472
 
527
473
  :param rate: The sampling rate in Hz. Its recommended to set this
528
474
  value to the playback devices sampling rate to avoid resampling.
529
- :type rate: int
530
475
  :return: The created `Sound` object.
531
- :rtype: typing_extensions.Self
532
476
  """
533
477
 
534
478
  @classmethod
@@ -536,12 +480,9 @@ class Sound:
536
480
  """Creates a sine sound which plays a sine wave.
537
481
 
538
482
  :param frequency: The frequency of the sine wave in Hz.
539
- :type frequency: float
540
483
  :param rate: The sampling rate in Hz. Its recommended to set this
541
484
  value to the playback devices sampling rate to avoid resampling.
542
- :type rate: int
543
485
  :return: The created `Sound` object.
544
- :rtype: typing_extensions.Self
545
486
  """
546
487
 
547
488
  @classmethod
@@ -549,12 +490,9 @@ class Sound:
549
490
  """Creates a square sound which plays a square wave.
550
491
 
551
492
  :param frequency: The frequency of the square wave in Hz.
552
- :type frequency: float
553
493
  :param rate: The sampling rate in Hz. Its recommended to set this
554
494
  value to the playback devices sampling rate to avoid resampling.
555
- :type rate: int
556
495
  :return: The created `Sound` object.
557
- :rtype: typing_extensions.Self
558
496
  """
559
497
 
560
498
  @classmethod
@@ -562,12 +500,9 @@ class Sound:
562
500
  """Creates a triangle sound which plays a triangle wave.
563
501
 
564
502
  :param frequency: The frequency of the triangle wave in Hz.
565
- :type frequency: float
566
503
  :param rate: The sampling rate in Hz. Its recommended to set this
567
504
  value to the playback devices sampling rate to avoid resampling.
568
- :type rate: int
569
505
  :return: The created `Sound` object.
570
- :rtype: typing_extensions.Self
571
506
  """
572
507
 
573
508
  def ADSR(
@@ -577,15 +512,10 @@ class Sound:
577
512
  Note: there is currently no way to trigger the release with this API.
578
513
 
579
514
  :param attack: The attack time in seconds.
580
- :type attack: float
581
515
  :param decay: The decay time in seconds.
582
- :type decay: float
583
516
  :param sustain: The sustain level.
584
- :type sustain: float
585
517
  :param release: The release level.
586
- :type release: float
587
518
  :return: The created `Sound` object.
588
- :rtype: typing_extensions.Self
589
519
  """
590
520
 
591
521
  def accumulate(self, additive=False) -> typing_extensions.Self:
@@ -596,21 +526,36 @@ class Sound:
596
526
 
597
527
  :param additive: Whether the accumulation should be additive or not.
598
528
  :return: The created `Sound` object.
599
- :rtype: typing_extensions.Self
600
529
  """
601
530
 
602
531
  def addSound(self, sound: typing_extensions.Self) -> None:
603
532
  """Adds a new sound to a sound list.
604
533
 
605
534
  :param sound: The sound that will be added to the list.
606
- :type sound: typing_extensions.Self
535
+ """
536
+
537
+ def animateableTimeStretchPitchScale(
538
+ self,
539
+ fps: float,
540
+ time_stretch: float,
541
+ pitch_scale: float,
542
+ quality: int,
543
+ preserve_formant: bool,
544
+ ) -> typing_extensions.Self:
545
+ """Applies time-stretching and pitch-scaling to the sound.
546
+
547
+ :param fps: The FPS of the animation system.
548
+ :param time_stretch: The factor by which to stretch or compress time.
549
+ :param pitch_scale: The factor by which to adjust the pitch.
550
+ :param quality:
551
+ :param preserve_formant: Whether to preserve the vocal formants during pitch-shifting.
552
+ :return: The created `Sound` object.
607
553
  """
608
554
 
609
555
  def binaural(self) -> typing_extensions.Self:
610
556
  """Creates a binaural sound using another sound as source. The original sound must be mono
611
557
 
612
558
  :return: The created `Sound` object.
613
- :rtype: typing_extensions.Self
614
559
  """
615
560
 
616
561
  def cache(self) -> typing_extensions.Self:
@@ -619,14 +564,12 @@ class Sound:
619
564
  but it consumes a lot of memory.
620
565
 
621
566
  :return: The created `Sound` object.
622
- :rtype: typing_extensions.Self
623
567
  """
624
568
 
625
569
  def convolver(self) -> typing_extensions.Self:
626
570
  """Creates a sound that will apply convolution to another sound.
627
571
 
628
572
  :return: The created `Sound` object.
629
- :rtype: typing_extensions.Self
630
573
  """
631
574
 
632
575
  def data(self) -> None:
@@ -639,9 +582,16 @@ class Sound:
639
582
  """Delays by playing adding silence in front of the other sounds data.
640
583
 
641
584
  :param time: How many seconds of silence should be added before the sound.
642
- :type time: float
643
585
  :return: The created `Sound` object.
644
- :rtype: typing_extensions.Self
586
+ """
587
+
588
+ def Echo(self, delay: float, feedback: float, mix: float) -> typing_extensions.Self:
589
+ """Adds Echo effect to the sound.
590
+
591
+ :param delay: The delay time in seconds.
592
+ :param feedback: The feedback amount (0.0 to 1.0).
593
+ :param mix: The wet/dry mix (0.0 to 1.0).
594
+ :return: The created `Sound` object.
645
595
  """
646
596
 
647
597
  def envelope(
@@ -650,15 +600,10 @@ class Sound:
650
600
  """Delays by playing adding silence in front of the other sounds data.
651
601
 
652
602
  :param attack: The attack factor.
653
- :type attack: float
654
603
  :param release: The release factor.
655
- :type release: float
656
604
  :param threshold: The general threshold value.
657
- :type threshold: float
658
605
  :param arthreshold: The attack/release threshold value.
659
- :type arthreshold: float
660
606
  :return: The created `Sound` object.
661
- :rtype: typing_extensions.Self
662
607
  """
663
608
 
664
609
  def fadein(self, start: float, length: float) -> typing_extensions.Self:
@@ -666,11 +611,8 @@ class Sound:
666
611
  time interval.
667
612
 
668
613
  :param start: Time in seconds when the fading should start.
669
- :type start: float
670
614
  :param length: Time in seconds how long the fading should last.
671
- :type length: float
672
615
  :return: The created `Sound` object.
673
- :rtype: typing_extensions.Self
674
616
  """
675
617
 
676
618
  def fadeout(self, start: float, length: float) -> typing_extensions.Self:
@@ -678,11 +620,8 @@ class Sound:
678
620
  time interval.
679
621
 
680
622
  :param start: Time in seconds when the fading should start.
681
- :type start: float
682
623
  :param length: Time in seconds how long the fading should last.
683
- :type length: float
684
624
  :return: The created `Sound` object.
685
- :rtype: typing_extensions.Self
686
625
  """
687
626
 
688
627
  def filter(self, b: list[float], a: list[float] = (1)) -> typing_extensions.Self:
@@ -694,11 +633,8 @@ class Sound:
694
633
  in the end, you dont have to scale yourself.
695
634
 
696
635
  :param b: The nominator filter coefficients.
697
- :type b: list[float]
698
636
  :param a: The denominator filter coefficients.
699
- :type a: list[float]
700
637
  :return: The created `Sound` object.
701
- :rtype: typing_extensions.Self
702
638
  """
703
639
 
704
640
  def highpass(self, frequency: float, Q: float = 0.5) -> typing_extensions.Self:
@@ -706,31 +642,23 @@ class Sound:
706
642
  function H(s) = s^2 / (s^2 + s/Q + 1)
707
643
 
708
644
  :param frequency: The cut off trequency of the highpass.
709
- :type frequency: float
710
645
  :param Q: Q factor of the lowpass.
711
- :type Q: float
712
646
  :return: The created `Sound` object.
713
- :rtype: typing_extensions.Self
714
647
  """
715
648
 
716
649
  def join(self, sound: typing_extensions.Self) -> typing_extensions.Self:
717
650
  """Plays two factories in sequence.
718
651
 
719
652
  :param sound: The sound to play second.
720
- :type sound: typing_extensions.Self
721
653
  :return: The created `Sound` object.
722
- :rtype: typing_extensions.Self
723
654
  """
724
655
 
725
656
  def limit(self, start: float, end: float) -> typing_extensions.Self:
726
657
  """Limits a sound within a specific start and end time.
727
658
 
728
659
  :param start: Start time in seconds.
729
- :type start: float
730
660
  :param end: End time in seconds.
731
- :type end: float
732
661
  :return: The created `Sound` object.
733
- :rtype: typing_extensions.Self
734
662
  """
735
663
 
736
664
  def loop(self, count: int) -> typing_extensions.Self:
@@ -738,38 +666,29 @@ class Sound:
738
666
 
739
667
  :param count: How often the sound should be looped.
740
668
  Negative values mean endlessly.
741
- :type count: int
742
669
  :return: The created `Sound` object.
743
- :rtype: typing_extensions.Self
744
670
  """
745
671
 
746
672
  def lowpass(self, frequency: float, Q: float = 0.5) -> typing_extensions.Self:
747
673
  """Creates a second order lowpass filter based on the transfer function H(s) = 1 / (s^2 + s/Q + 1)
748
674
 
749
675
  :param frequency: The cut off trequency of the lowpass.
750
- :type frequency: float
751
676
  :param Q: Q factor of the lowpass.
752
- :type Q: float
753
677
  :return: The created `Sound` object.
754
- :rtype: typing_extensions.Self
755
678
  """
756
679
 
757
680
  def mix(self, sound: typing_extensions.Self) -> typing_extensions.Self:
758
681
  """Mixes two factories.
759
682
 
760
683
  :param sound: The sound to mix over the other.
761
- :type sound: typing_extensions.Self
762
684
  :return: The created `Sound` object.
763
- :rtype: typing_extensions.Self
764
685
  """
765
686
 
766
687
  def modulate(self, sound: typing_extensions.Self) -> typing_extensions.Self:
767
688
  """Modulates two factories.
768
689
 
769
690
  :param sound: The sound to modulate over the other.
770
- :type sound: typing_extensions.Self
771
691
  :return: The created `Sound` object.
772
- :rtype: typing_extensions.Self
773
692
  """
774
693
 
775
694
  def mutable(self) -> typing_extensions.Self:
@@ -777,7 +696,6 @@ class Sound:
777
696
  If the original sound is a sound list, the playing sound can change.
778
697
 
779
698
  :return: The created `Sound` object.
780
- :rtype: typing_extensions.Self
781
699
  """
782
700
 
783
701
  def pingpong(self) -> typing_extensions.Self:
@@ -785,50 +703,40 @@ class Sound:
785
703
  This is like joining a sound with its reverse.
786
704
 
787
705
  :return: The created `Sound` object.
788
- :rtype: typing_extensions.Self
789
706
  """
790
707
 
791
708
  def pitch(self, factor: float) -> typing_extensions.Self:
792
709
  """Changes the pitch of a sound with a specific factor.
793
710
 
794
711
  :param factor: The factor to change the pitch with.
795
- :type factor: float
796
712
  :return: The created `Sound` object.
797
- :rtype: typing_extensions.Self
798
713
  """
799
714
 
800
715
  def rechannel(self, channels: int) -> typing_extensions.Self:
801
716
  """Rechannels the sound.
802
717
 
803
718
  :param channels: The new channel configuration.
804
- :type channels: int
805
719
  :return: The created `Sound` object.
806
- :rtype: typing_extensions.Self
807
720
  """
808
721
 
809
722
  def resample(self, rate: float, quality: int) -> typing_extensions.Self:
810
723
  """Resamples the sound.
811
724
 
812
725
  :param rate: The new sample rate.
813
- :type rate: float
814
726
  :param quality: Resampler performance vs quality choice (0=fastest, 3=slowest).
815
- :type quality: int
816
727
  :return: The created `Sound` object.
817
- :rtype: typing_extensions.Self
818
728
  """
819
729
 
820
730
  def reverse(self) -> typing_extensions.Self:
821
731
  """Plays a sound reversed.
822
732
 
823
733
  :return: The created `Sound` object.
824
- :rtype: typing_extensions.Self
825
734
  """
826
735
 
827
736
  def sum(self) -> typing_extensions.Self:
828
737
  """Sums the samples of a sound.
829
738
 
830
739
  :return: The created `Sound` object.
831
- :rtype: typing_extensions.Self
832
740
  """
833
741
 
834
742
  def threshold(self, threshold: float = 0) -> typing_extensions.Self:
@@ -838,18 +746,30 @@ class Sound:
838
746
 
839
747
  :param threshold: Threshold value over which an amplitude counts
840
748
  non-zero.
841
- :type threshold: float
842
749
  :return: The created `Sound` object.
843
- :rtype: typing_extensions.Self
750
+ """
751
+
752
+ def timeStretchPitchScale(
753
+ self,
754
+ time_stretch: float,
755
+ pitch_scale: float,
756
+ quality: int,
757
+ preserve_formant: bool,
758
+ ) -> typing_extensions.Self:
759
+ """Applies time-stretching and pitch-scaling to the sound.
760
+
761
+ :param time_stretch: The factor by which to stretch or compress time.
762
+ :param pitch_scale: The factor by which to adjust the pitch.
763
+ :param quality: Rubberband stretcher quality (STRETCHER_QUALITY_*).
764
+ :param preserve_formant: Whether to preserve the vocal formants during pitch-shifting.
765
+ :return: The created `Sound` object.
844
766
  """
845
767
 
846
768
  def volume(self, volume: float) -> typing_extensions.Self:
847
769
  """Changes the volume of a sound.
848
770
 
849
771
  :param volume: The new volume..
850
- :type volume: float
851
772
  :return: The created `Sound` object.
852
- :rtype: typing_extensions.Self
853
773
  """
854
774
 
855
775
  def write(
@@ -866,21 +786,13 @@ class Sound:
866
786
  """Writes the sound to a file.
867
787
 
868
788
  :param filename: The path to write to.
869
- :type filename: str
870
789
  :param rate: The sample rate to write with.
871
- :type rate: int
872
790
  :param channels: The number of channels to write with.
873
- :type channels: int
874
791
  :param format: The sample format to write with.
875
- :type format: int
876
792
  :param container: The container format for the file.
877
- :type container: int
878
793
  :param codec: The codec to use in the file.
879
- :type codec: int
880
794
  :param bitrate: The bitrate to write with.
881
- :type bitrate: int
882
795
  :param buffersize: The size of the writing buffer.
883
- :type buffersize: int
884
796
  """
885
797
 
886
798
  class Source:
@@ -1151,3 +1063,15 @@ STATUS_PLAYING: typing.Any
1151
1063
  STATUS_STOPPED: typing.Any
1152
1064
  """ Constant value 3
1153
1065
  """
1066
+
1067
+ STRETCHER_QUALITY_CONSISTENT: typing.Any
1068
+ """ Constant value 2
1069
+ """
1070
+
1071
+ STRETCHER_QUALITY_FAST: typing.Any
1072
+ """ Constant value 1
1073
+ """
1074
+
1075
+ STRETCHER_QUALITY_HIGH: typing.Any
1076
+ """ Constant value 0
1077
+ """