fake-bge-module 20250312__py3-none-any.whl → 20260203__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 (395) hide show
  1. {animsys_refactor → _animsys_refactor}/__init__.pyi +7 -6
  2. {bl_console_utils → _bl_console_utils}/__init__.pyi +1 -0
  3. {bl_console_utils → _bl_console_utils}/autocomplete/__init__.pyi +1 -0
  4. {bl_console_utils → _bl_console_utils}/autocomplete/complete_calltip/__init__.pyi +1 -13
  5. {bl_console_utils → _bl_console_utils}/autocomplete/complete_import/__init__.pyi +1 -5
  6. {bl_console_utils → _bl_console_utils}/autocomplete/complete_namespace/__init__.pyi +3 -13
  7. {bl_console_utils → _bl_console_utils}/autocomplete/intellisense/__init__.pyi +1 -10
  8. {bl_i18n_utils → _bl_i18n_utils}/__init__.pyi +2 -0
  9. _bl_i18n_utils/bl_extract_messages/__init__.pyi +28 -0
  10. {bl_i18n_utils → _bl_i18n_utils}/merge_po/__init__.pyi +2 -1
  11. {bl_i18n_utils → _bl_i18n_utils}/settings/__init__.pyi +10 -7
  12. {bl_i18n_utils → _bl_i18n_utils}/utils/__init__.pyi +53 -50
  13. _bl_i18n_utils/utils_cli/__init__.pyi +11 -0
  14. _bl_i18n_utils/utils_languages_menu/__init__.pyi +6 -0
  15. {bl_i18n_utils → _bl_i18n_utils}/utils_rtl/__init__.pyi +3 -2
  16. _bl_i18n_utils/utils_spell_check/__init__.pyi +22 -0
  17. {bl_previews_utils → _bl_previews_utils}/__init__.pyi +1 -0
  18. _bl_previews_utils/bl_previews_render/__init__.pyi +14 -0
  19. {bl_rna_utils → _bl_rna_utils}/__init__.pyi +1 -0
  20. {bl_rna_utils → _bl_rna_utils}/data_path/__init__.pyi +3 -2
  21. {bl_text_utils → _bl_text_utils}/__init__.pyi +1 -0
  22. _bl_text_utils/external_editor/__init__.pyi +6 -0
  23. {bl_ui_utils → _bl_ui_utils}/__init__.pyi +1 -0
  24. {bl_ui_utils → _bl_ui_utils}/layout/__init__.pyi +2 -1
  25. _blendfile_header/__init__.pyi +48 -0
  26. _bpy_internal/__init__.pyi +5 -1
  27. _bpy_internal/addons/__init__.pyi +1 -0
  28. _bpy_internal/addons/cli/__init__.pyi +2 -1
  29. _bpy_internal/assets/__init__.pyi +5 -0
  30. _bpy_internal/assets/remote_library_listing/__init__.pyi +5 -0
  31. _bpy_internal/assets/remote_library_listing/blender_asset_library_openapi/__init__.pyi +13 -0
  32. _bpy_internal/disk_file_hash_service/__init__.pyi +19 -0
  33. _bpy_internal/disk_file_hash_service/backend_sqlite/__init__.pyi +48 -0
  34. _bpy_internal/disk_file_hash_service/hash_service/__init__.pyi +64 -0
  35. _bpy_internal/disk_file_hash_service/types/__init__.pyi +53 -0
  36. _bpy_internal/extensions/__init__.pyi +1 -0
  37. _bpy_internal/extensions/junction_module/__init__.pyi +8 -7
  38. _bpy_internal/extensions/stale_file_manager/__init__.pyi +9 -8
  39. _bpy_internal/extensions/wheel_manager/__init__.pyi +6 -5
  40. {bl_i18n_utils/utils_languages_menu → _bpy_internal/filesystem}/__init__.pyi +2 -2
  41. _bpy_internal/filesystem/locking/__init__.pyi +28 -0
  42. _bpy_internal/grease_pencil/__init__.pyi +1 -0
  43. _bpy_internal/grease_pencil/stroke/__init__.pyi +22 -6
  44. _bpy_internal/platform/__init__.pyi +5 -0
  45. _bpy_internal/platform/freedesktop/__init__.pyi +21 -0
  46. _bpy_internal/system_info/__init__.pyi +1 -0
  47. _bpy_internal/system_info/text_generate_runtime/__init__.pyi +2 -1
  48. _bpy_internal/system_info/url_prefill_runtime/__init__.pyi +2 -1
  49. _bpy_internal/system_info/url_prefill_startup/__init__.pyi +3 -2
  50. {bpy_restrict_state → _bpy_restrict_state}/__init__.pyi +1 -0
  51. _bpy_types/__init__.pyi +1635 -0
  52. {console_python → _console_python}/__init__.pyi +8 -7
  53. _console_shell/__init__.pyi +10 -0
  54. {graphviz_export → _graphviz_export}/__init__.pyi +3 -2
  55. _keyingsets_utils/__init__.pyi +21 -0
  56. {rna_info → _rna_info}/__init__.pyi +32 -27
  57. {rna_xml → _rna_xml}/__init__.pyi +7 -6
  58. addon_utils/__init__.pyi +13 -25
  59. aud/__init__.pyi +133 -155
  60. bge/__init__.pyi +1 -0
  61. bge/app/__init__.pyi +1 -0
  62. bge/constraints/__init__.pyi +22 -51
  63. bge/types/__init__.pyi +618 -1913
  64. bge_extras/__init__.pyi +1 -0
  65. bge_extras/logger/__init__.pyi +4 -3
  66. bgui/__init__.pyi +1 -0
  67. bgui/frame/__init__.pyi +1 -0
  68. bgui/frame_button/__init__.pyi +1 -0
  69. bgui/image/__init__.pyi +1 -1
  70. bgui/image_button/__init__.pyi +1 -0
  71. bgui/label/__init__.pyi +1 -0
  72. bgui/list_box/__init__.pyi +1 -1
  73. bgui/progress_bar/__init__.pyi +2 -1
  74. bgui/system/__init__.pyi +3 -5
  75. bgui/text_block/__init__.pyi +1 -0
  76. bgui/text_input/__init__.pyi +9 -8
  77. bgui/theme/__init__.pyi +4 -3
  78. bgui/widget/__init__.pyi +5 -4
  79. bl_app_override/__init__.pyi +4 -3
  80. bl_app_override/helpers/__init__.pyi +3 -2
  81. bl_app_template_utils/__init__.pyi +5 -4
  82. bl_app_templates_system/Game_Engine/__init__.pyi +5 -4
  83. bl_app_templates_system/Storyboarding/__init__.pyi +11 -0
  84. bl_app_templates_system/__init__.pyi +2 -0
  85. bl_keymap_utils/__init__.pyi +1 -0
  86. bl_keymap_utils/io/__init__.pyi +10 -9
  87. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
  88. bl_keymap_utils/keymap_hierarchy/__init__.pyi +2 -1
  89. bl_keymap_utils/platform_helpers/__init__.pyi +3 -2
  90. bl_keymap_utils/versioning/__init__.pyi +2 -1
  91. bl_math/__init__.pyi +4 -13
  92. bl_operators/__init__.pyi +4 -2
  93. bl_operators/add_mesh_torus/__init__.pyi +9 -9
  94. bl_operators/anim/__init__.pyi +90 -62
  95. bl_operators/assets/__init__.pyi +14 -18
  96. bl_operators/bmesh/__init__.pyi +1 -0
  97. bl_operators/bmesh/find_adjacent/__init__.pyi +12 -9
  98. bl_operators/bone_selection_sets/__init__.pyi +34 -60
  99. bl_operators/clip/__init__.pyi +39 -57
  100. bl_operators/connect_to_output/__init__.pyi +20 -18
  101. bl_operators/console/__init__.pyi +17 -25
  102. bl_operators/constraint/__init__.pyi +15 -21
  103. bl_operators/copy_global_transform/__init__.pyi +261 -0
  104. bl_operators/file/__init__.pyi +13 -17
  105. bl_operators/freestyle/__init__.pyi +15 -21
  106. bl_operators/geometry_nodes/__init__.pyi +30 -36
  107. bl_operators/grease_pencil/__init__.pyi +5 -5
  108. bl_operators/image/__init__.pyi +14 -22
  109. bl_operators/image_as_planes/__init__.pyi +36 -42
  110. bl_operators/mesh/__init__.pyi +8 -53
  111. bl_operators/node/__init__.pyi +375 -92
  112. bl_operators/node_editor/__init__.pyi +1 -0
  113. bl_operators/node_editor/node_functions/__init__.pyi +10 -9
  114. bl_operators/object/__init__.pyi +57 -98
  115. bl_operators/object_align/__init__.pyi +8 -8
  116. bl_operators/object_quick_effects/__init__.pyi +15 -21
  117. bl_operators/object_randomize_transform/__init__.pyi +6 -6
  118. bl_operators/presets/__init__.pyi +46 -94
  119. bl_operators/rigidbody/__init__.pyi +12 -16
  120. bl_operators/screen_play_rendered_anim/__init__.pyi +5 -5
  121. bl_operators/sequencer/__init__.pyi +40 -54
  122. bl_operators/spreadsheet/__init__.pyi +7 -7
  123. bl_operators/userpref/__init__.pyi +69 -117
  124. bl_operators/uvcalc_follow_active/__init__.pyi +8 -8
  125. bl_operators/uvcalc_lightmap/__init__.pyi +12 -12
  126. bl_operators/uvcalc_transform/__init__.pyi +39 -28
  127. bl_operators/vertexpaint_dirt/__init__.pyi +7 -7
  128. bl_operators/view3d/__init__.pyi +31 -43
  129. bl_operators/wm/__init__.pyi +139 -231
  130. bl_operators/world/__init__.pyi +6 -6
  131. bl_ui/__init__.pyi +18 -17
  132. bl_ui/anim/__init__.pyi +5 -5
  133. bl_ui/asset_shelf/__init__.pyi +5 -5
  134. bl_ui/generic_ui_list/__init__.pyi +12 -26
  135. bl_ui/node_add_menu/__init__.pyi +281 -12
  136. bl_ui/node_add_menu_compositor/__init__.pyi +135 -91
  137. bl_ui/node_add_menu_geometry/__init__.pyi +407 -263
  138. bl_ui/node_add_menu_shader/__init__.pyi +67 -67
  139. bl_ui/node_add_menu_texture/__init__.pyi +25 -69
  140. bl_ui/properties_animviz/__init__.pyi +3 -2
  141. bl_ui/properties_collection/__init__.pyi +20 -30
  142. bl_ui/properties_constraint/__init__.pyi +228 -450
  143. bl_ui/properties_data_armature/__init__.pyi +45 -79
  144. bl_ui/properties_data_bone/__init__.pyi +33 -51
  145. bl_ui/properties_data_camera/__init__.pyi +43 -75
  146. bl_ui/properties_data_curve/__init__.pyi +42 -101
  147. bl_ui/properties_data_curves/__init__.pyi +21 -35
  148. bl_ui/properties_data_empty/__init__.pyi +8 -10
  149. bl_ui/properties_data_grease_pencil/__init__.pyi +49 -87
  150. bl_ui/properties_data_lattice/__init__.pyi +12 -18
  151. bl_ui/properties_data_light/__init__.pyi +28 -46
  152. bl_ui/properties_data_lightprobe/__init__.pyi +35 -61
  153. bl_ui/properties_data_mesh/__init__.pyi +73 -120
  154. bl_ui/properties_data_metaball/__init__.pyi +16 -26
  155. bl_ui/properties_data_modifier/__init__.pyi +34 -39
  156. bl_ui/properties_data_pointcloud/__init__.pyi +17 -27
  157. bl_ui/properties_data_shaderfx/__init__.pyi +4 -4
  158. bl_ui/properties_data_speaker/__init__.pyi +15 -25
  159. bl_ui/properties_data_volume/__init__.pyi +22 -38
  160. bl_ui/properties_freestyle/__init__.pyi +79 -127
  161. bl_ui/properties_game/__init__.pyi +88 -84
  162. bl_ui/properties_grease_pencil_common/__init__.pyi +33 -190
  163. bl_ui/properties_mask_common/__init__.pyi +33 -45
  164. bl_ui/properties_material/__init__.pyi +52 -111
  165. bl_ui/properties_material_gpencil/__init__.pyi +48 -68
  166. bl_ui/properties_object/__init__.pyi +123 -93
  167. bl_ui/properties_output/__init__.pyi +103 -81
  168. bl_ui/properties_paint_common/__init__.pyi +78 -59
  169. bl_ui/properties_particle/__init__.pyi +160 -262
  170. bl_ui/properties_physics_cloth/__init__.pyi +36 -62
  171. bl_ui/properties_physics_common/__init__.pyi +11 -11
  172. bl_ui/properties_physics_dynamicpaint/__init__.pyi +81 -123
  173. bl_ui/properties_physics_field/__init__.pyi +35 -53
  174. bl_ui/properties_physics_fluid/__init__.pyi +106 -160
  175. bl_ui/properties_physics_geometry_nodes/__init__.pyi +6 -6
  176. bl_ui/properties_physics_rigidbody/__init__.pyi +28 -42
  177. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +44 -68
  178. bl_ui/properties_physics_softbody/__init__.pyi +38 -66
  179. bl_ui/properties_render/__init__.pyi +267 -259
  180. bl_ui/properties_scene/__init__.pyi +69 -72
  181. bl_ui/properties_strip/__init__.pyi +744 -0
  182. bl_ui/properties_strip_modifier/__init__.pyi +45 -0
  183. bl_ui/properties_texture/__init__.pyi +69 -122
  184. bl_ui/properties_view_layer/__init__.pyi +97 -51
  185. bl_ui/properties_workspace/__init__.pyi +12 -18
  186. bl_ui/properties_world/__init__.pyi +33 -53
  187. bl_ui/space_clip/__init__.pyi +231 -311
  188. bl_ui/space_console/__init__.pyi +14 -24
  189. bl_ui/space_dopesheet/__init__.pyi +193 -125
  190. bl_ui/space_filebrowser/__init__.pyi +107 -131
  191. bl_ui/space_graph/__init__.pyi +93 -80
  192. bl_ui/space_image/__init__.pyi +207 -291
  193. bl_ui/space_info/__init__.pyi +14 -24
  194. bl_ui/space_logic/__init__.pyi +14 -22
  195. bl_ui/space_nla/__init__.pyi +63 -69
  196. bl_ui/space_node/__init__.pyi +215 -154
  197. bl_ui/space_outliner/__init__.pyi +65 -61
  198. bl_ui/space_properties/__init__.pyi +41 -16
  199. bl_ui/space_sequencer/__init__.pyi +276 -979
  200. bl_ui/space_spreadsheet/__init__.pyi +27 -23
  201. bl_ui/space_statusbar/__init__.pyi +4 -4
  202. bl_ui/space_text/__init__.pyi +39 -73
  203. bl_ui/space_time/__init__.pyi +33 -78
  204. bl_ui/space_toolsystem_common/__init__.pyi +31 -28
  205. bl_ui/space_toolsystem_toolbar/__init__.pyi +67 -43
  206. bl_ui/space_topbar/__init__.pyi +68 -111
  207. bl_ui/space_userpref/__init__.pyi +310 -445
  208. bl_ui/space_view3d/__init__.pyi +667 -1122
  209. bl_ui/space_view3d_sidebar/__init__.pyi +127 -0
  210. bl_ui/space_view3d_toolbar/__init__.pyi +237 -966
  211. bl_ui/utils/__init__.pyi +4 -3
  212. blend_render_info/__init__.pyi +4 -2
  213. blf/__init__.pyi +92 -59
  214. bmesh/__init__.pyi +4 -10
  215. bmesh/geometry/__init__.pyi +2 -4
  216. bmesh/ops/__init__.pyi +442 -815
  217. bmesh/types/__init__.pyi +377 -720
  218. bmesh/utils/__init__.pyi +20 -45
  219. bpy/__init__.pyi +2 -1
  220. bpy/app/__init__.pyi +96 -90
  221. bpy/app/handlers/__init__.pyi +24 -19
  222. bpy/app/icons/__init__.pyi +2 -7
  223. bpy/app/timers/__init__.pyi +5 -18
  224. bpy/app/translations/__init__.pyi +21 -35
  225. bpy/msgbus/__init__.pyi +20 -9
  226. bpy/ops/__init__.pyi +21 -3
  227. bpy/ops/action/__init__.pyi +121 -226
  228. bpy/ops/anim/__init__.pyi +204 -358
  229. bpy/ops/armature/__init__.pyi +129 -249
  230. bpy/ops/asset/__init__.pyi +82 -111
  231. bpy/ops/bge_bricknodes/__init__.pyi +61 -0
  232. bpy/ops/boid/__init__.pyi +44 -50
  233. bpy/ops/bricknodes/__init__.pyi +37 -0
  234. bpy/ops/brush/__init__.pyi +33 -120
  235. bpy/ops/buttons/__init__.pyi +27 -83
  236. bpy/ops/cachefile/__init__.pyi +16 -74
  237. bpy/ops/camera/__init__.pyi +3 -13
  238. bpy/ops/clip/__init__.pyi +278 -558
  239. bpy/ops/cloth/__init__.pyi +2 -6
  240. bpy/ops/collection/__init__.pyi +34 -44
  241. bpy/ops/console/__init__.pyi +70 -111
  242. bpy/ops/constraint/__init__.pyi +34 -102
  243. bpy/ops/curve/__init__.pyi +163 -315
  244. bpy/ops/curves/__init__.pyi +163 -189
  245. bpy/ops/cycles/__init__.pyi +8 -18
  246. bpy/ops/dpaint/__init__.pyi +21 -30
  247. bpy/ops/ed/__init__.pyi +59 -103
  248. bpy/ops/export_anim/__init__.pyi +4 -11
  249. bpy/ops/export_scene/__init__.pyi +29 -174
  250. bpy/ops/extensions/__init__.pyi +102 -194
  251. bpy/ops/file/__init__.pyi +166 -272
  252. bpy/ops/fluid/__init__.pyi +78 -86
  253. bpy/ops/font/__init__.pyi +73 -164
  254. bpy/ops/geometry/__init__.pyi +33 -144
  255. bpy/ops/gizmogroup/__init__.pyi +8 -14
  256. bpy/ops/gpencil/__init__.pyi +31 -58
  257. bpy/ops/graph/__init__.pyi +176 -411
  258. bpy/ops/grease_pencil/__init__.pyi +416 -639
  259. bpy/ops/image/__init__.pyi +148 -492
  260. bpy/ops/import_anim/__init__.pyi +5 -18
  261. bpy/ops/import_curve/__init__.pyi +4 -6
  262. bpy/ops/import_scene/__init__.pyi +22 -49
  263. bpy/ops/info/__init__.pyi +27 -43
  264. bpy/ops/lattice/__init__.pyi +26 -43
  265. bpy/ops/logic/__init__.pyi +49 -122
  266. bpy/ops/logic_nodes/__init__.pyi +461 -0
  267. bpy/ops/marker/__init__.pyi +24 -60
  268. bpy/ops/mask/__init__.pyi +118 -222
  269. bpy/ops/material/__init__.pyi +19 -18
  270. bpy/ops/mball/__init__.pyi +13 -39
  271. bpy/ops/mesh/__init__.pyi +409 -1264
  272. bpy/ops/nla/__init__.pyi +140 -232
  273. bpy/ops/node/__init__.pyi +1189 -807
  274. bpy/ops/object/__init__.pyi +806 -1659
  275. bpy/ops/outliner/__init__.pyi +284 -432
  276. bpy/ops/paint/__init__.pyi +189 -381
  277. bpy/ops/paintcurve/__init__.pyi +29 -44
  278. bpy/ops/palette/__init__.pyi +23 -34
  279. bpy/ops/particle/__init__.pyi +135 -201
  280. bpy/ops/pointcloud/__init__.pyi +23 -42
  281. bpy/ops/pose/__init__.pyi +195 -310
  282. bpy/ops/poselib/__init__.pyi +45 -73
  283. bpy/ops/preferences/__init__.pyi +89 -221
  284. bpy/ops/ptcache/__init__.pyi +32 -39
  285. bpy/ops/render/__init__.pyi +36 -83
  286. bpy/ops/rigidbody/__init__.pyi +47 -78
  287. bpy/ops/scene/__init__.pyi +169 -222
  288. bpy/ops/screen/__init__.pyi +146 -259
  289. bpy/ops/script/__init__.pyi +9 -15
  290. bpy/ops/sculpt/__init__.pyi +194 -354
  291. bpy/ops/sculpt_curves/__init__.pyi +21 -29
  292. bpy/ops/sequencer/__init__.pyi +586 -836
  293. bpy/ops/sound/__init__.pyi +25 -131
  294. bpy/ops/spreadsheet/__init__.pyi +34 -21
  295. bpy/ops/surface/__init__.pyi +7 -54
  296. bpy/ops/text/__init__.pyi +166 -281
  297. bpy/ops/text_editor/__init__.pyi +2 -6
  298. bpy/ops/texture/__init__.pyi +20 -22
  299. bpy/ops/transform/__init__.pyi +108 -445
  300. bpy/ops/ui/__init__.pyi +157 -219
  301. bpy/ops/uilist/__init__.pyi +4 -16
  302. bpy/ops/uv/__init__.pyi +291 -347
  303. bpy/ops/view2d/__init__.pyi +29 -88
  304. bpy/ops/view3d/__init__.pyi +238 -438
  305. bpy/ops/wm/__init__.pyi +651 -1510
  306. bpy/ops/workspace/__init__.pyi +42 -44
  307. bpy/ops/world/__init__.pyi +12 -13
  308. bpy/path/__init__.pyi +6 -37
  309. bpy/props/__init__.pyi +395 -259
  310. bpy/{_typing → stub_internal}/__init__.pyi +1 -0
  311. bpy/{_typing → stub_internal}/rna_enums/__init__.pyi +214 -114
  312. bpy/types/__init__.pyi +93286 -103826
  313. bpy/utils/__init__.pyi +46 -104
  314. bpy/utils/previews/__init__.pyi +7 -15
  315. bpy/utils/units/__init__.pyi +6 -15
  316. bpy_extras/__init__.pyi +1 -0
  317. bpy_extras/anim_utils/__init__.pyi +32 -23
  318. bpy_extras/asset_utils/__init__.pyi +1 -0
  319. bpy_extras/bmesh_utils/__init__.pyi +2 -2
  320. bpy_extras/id_map_utils/__init__.pyi +15 -6
  321. bpy_extras/image_utils/__init__.pyi +3 -11
  322. bpy_extras/io_utils/__init__.pyi +22 -38
  323. bpy_extras/keyconfig_utils/__init__.pyi +5 -4
  324. bpy_extras/mesh_utils/__init__.pyi +3 -14
  325. bpy_extras/node_shader_utils/__init__.pyi +63 -70
  326. bpy_extras/node_utils/__init__.pyi +4 -3
  327. bpy_extras/object_utils/__init__.pyi +6 -19
  328. bpy_extras/view3d_utils/__init__.pyi +1 -18
  329. bpy_extras/wm_utils/__init__.pyi +1 -0
  330. bpy_extras/wm_utils/progress_report/__init__.pyi +12 -11
  331. {fake_bge_module-20250312.dist-info → fake_bge_module-20260203.dist-info}/METADATA +9 -3
  332. fake_bge_module-20260203.dist-info/RECORD +414 -0
  333. {fake_bge_module-20250312.dist-info → fake_bge_module-20260203.dist-info}/WHEEL +1 -1
  334. {fake_bge_module-20250312.dist-info → fake_bge_module-20260203.dist-info}/top_level.txt +16 -16
  335. freestyle/__init__.pyi +1 -0
  336. freestyle/chainingiterators/__init__.pyi +41 -60
  337. freestyle/functions/__init__.pyi +56 -194
  338. freestyle/predicates/__init__.pyi +11 -61
  339. freestyle/shaders/__init__.pyi +95 -156
  340. freestyle/types/__init__.pyi +306 -941
  341. freestyle/utils/ContextFunctions/__init__.pyi +4 -24
  342. freestyle/utils/__init__.pyi +46 -36
  343. gpu/__init__.pyi +84 -5
  344. gpu/capabilities/__init__.pyi +1 -21
  345. gpu/matrix/__init__.pyi +16 -24
  346. gpu/platform/__init__.pyi +3 -7
  347. gpu/select/__init__.pyi +2 -1
  348. gpu/shader/__init__.pyi +43 -9
  349. gpu/state/__init__.pyi +66 -44
  350. gpu/texture/__init__.pyi +4 -5
  351. gpu/types/__init__.pyi +216 -216
  352. gpu_extras/__init__.pyi +1 -0
  353. gpu_extras/batch/__init__.pyi +2 -5
  354. gpu_extras/presets/__init__.pyi +9 -10
  355. idprop/__init__.pyi +17 -0
  356. idprop/types/__init__.pyi +18 -17
  357. imbuf/__init__.pyi +13 -9
  358. imbuf/types/__init__.pyi +10 -23
  359. keyingsets_builtins/__init__.pyi +51 -93
  360. mathutils/__init__.pyi +296 -2255
  361. mathutils/bvhtree/__init__.pyi +24 -30
  362. mathutils/geometry/__init__.pyi +83 -132
  363. mathutils/interpolate/__init__.pyi +7 -5
  364. mathutils/kdtree/__init__.pyi +5 -14
  365. mathutils/noise/__init__.pyi +62 -106
  366. nodeitems_builtins/__init__.pyi +5 -4
  367. nodeitems_utils/__init__.pyi +10 -9
  368. rna_keymap_ui/__init__.pyi +7 -6
  369. rna_prop_ui/__init__.pyi +14 -13
  370. _bpy_internal/freedesktop/__init__.pyi +0 -20
  371. bgl/__init__.pyi +0 -4235
  372. bl_i18n_utils/bl_extract_messages/__init__.pyi +0 -24
  373. bl_i18n_utils/utils_cli/__init__.pyi +0 -10
  374. bl_previews_utils/bl_previews_render/__init__.pyi +0 -11
  375. bl_text_utils/external_editor/__init__.pyi +0 -5
  376. bpy_types/__init__.pyi +0 -29
  377. console_shell/__init__.pyi +0 -9
  378. fake_bge_module-20250312.dist-info/RECORD +0 -395
  379. keyingsets_utils/__init__.pyi +0 -18
  380. {animsys_refactor → _animsys_refactor}/py.typed +0 -0
  381. {bgl → _bl_console_utils}/py.typed +0 -0
  382. {bl_console_utils → _bl_i18n_utils}/py.typed +0 -0
  383. {bl_i18n_utils → _bl_previews_utils}/py.typed +0 -0
  384. {bl_previews_utils → _bl_rna_utils}/py.typed +0 -0
  385. {bl_rna_utils → _bl_text_utils}/py.typed +0 -0
  386. {bl_text_utils → _bl_ui_utils}/py.typed +0 -0
  387. {bl_ui_utils → _blendfile_header}/py.typed +0 -0
  388. {bpy_restrict_state → _bpy_restrict_state}/py.typed +0 -0
  389. {bpy_types → _bpy_types}/py.typed +0 -0
  390. {console_python → _console_python}/py.typed +0 -0
  391. {console_shell → _console_shell}/py.typed +0 -0
  392. {graphviz_export → _graphviz_export}/py.typed +0 -0
  393. {keyingsets_utils → _keyingsets_utils}/py.typed +0 -0
  394. {rna_info → _rna_info}/py.typed +0 -0
  395. {rna_xml → _rna_xml}/py.typed +0 -0
aud/__init__.pyi CHANGED
@@ -14,6 +14,46 @@ Handle.
14
14
  import typing
15
15
  import collections.abc
16
16
  import typing_extensions
17
+ import numpy.typing as npt
18
+
19
+ class AnimateableProperty:
20
+ """An AnimateableProperty object stores an array of float values for animating sound properties (e.g. pan, volume, pitch-scale)"""
21
+
22
+ animated: typing.Any
23
+ """ Whether the property is animated."""
24
+
25
+ count: typing.Any
26
+ """ The count of floats for a property."""
27
+
28
+ def read(self, position: float) -> None:
29
+ """Reads the properties value at the given position.
30
+
31
+ :param position: The position in the animation in frames.
32
+ :return: A numpy array of values representing the properties value.
33
+ """
34
+
35
+ def readSingle(self, position: float) -> float:
36
+ """Reads the properties value at the given position, assuming there is exactly one value.
37
+
38
+ :param position: The position in the animation in frames.
39
+ :return: The value at that position.
40
+ """
41
+
42
+ def write(self, data, position: int) -> None:
43
+ """Writes the properties value.If position is also given, the property is marked animated and
44
+ the values are written starting at position.
45
+
46
+ :param data: numpy array of float32 values.
47
+ :param position: The starting position in frames.
48
+ """
49
+
50
+ def writeConstantRange(self, data, position_start: int, position_end: int) -> None:
51
+ """Fills the properties frame range with a constant value and marks it animated.
52
+
53
+ :param data: numpy array of float values representing the constant value.
54
+ :param position_start: The start position in frames.
55
+ :param position_end: The end position in frames.
56
+ """
17
57
 
18
58
  class Device:
19
59
  """Device objects represent an audio output backend like OpenAL or SDL, but might also represent a file output or RAM buffer output."""
@@ -50,8 +90,8 @@ The speed of sound in air is typically 343.3 m/s."""
50
90
  volume: typing.Any
51
91
  """ The overall volume of the device."""
52
92
 
53
- def lock(self):
54
- """Locks the device so that it's guaranteed, that no samples are
93
+ def lock(self) -> None:
94
+ """Locks the device so that its guaranteed, that no samples are
55
95
  read from the streams until `unlock` is called.
56
96
  This is useful if you want to do start/stop/pause/resume some
57
97
  sounds at the same time.
@@ -62,18 +102,15 @@ The speed of sound in air is typically 343.3 m/s."""
62
102
  """Plays a sound.
63
103
 
64
104
  :param sound: The sound to play.
65
- :type sound: Sound
66
105
  :param keep: See `Handle.keep`.
67
- :type keep: bool
68
106
  :return: The playback handle with which playback can be
69
107
  controlled with.
70
- :rtype: Handle
71
108
  """
72
109
 
73
- def stopAll(self):
110
+ def stopAll(self) -> None:
74
111
  """Stops all playing and paused sounds."""
75
112
 
76
- def unlock(self):
113
+ def unlock(self) -> None:
77
114
  """Unlocks the device after a lock call, see `lock` for
78
115
  details.
79
116
 
@@ -103,66 +140,53 @@ class DynamicMusic:
103
140
  """Adds a new scene.
104
141
 
105
142
  :param scene: The scene sound.
106
- :type scene: Sound
107
143
  :return: The new scene id.
108
- :rtype: int
109
144
  """
110
145
 
111
146
  def addTransition(self, ini: int, end: int, transition: Sound) -> bool:
112
147
  """Adds a new scene.
113
148
 
114
149
  :param ini: the initial scene foor the transition.
115
- :type ini: int
116
150
  :param end: The final scene for the transition.
117
- :type end: int
118
151
  :param transition: The transition sound.
119
- :type transition: Sound
120
- :return: false if the ini or end scenes don't exist, true othrwise.
121
- :rtype: bool
152
+ :return: false if the ini or end scenes dont exist, true otherwise.
122
153
  """
123
154
 
124
155
  def pause(self) -> bool:
125
156
  """Pauses playback of the scene.
126
157
 
127
158
  :return: Whether the action succeeded.
128
- :rtype: bool
129
159
  """
130
160
 
131
161
  def resume(self) -> bool:
132
162
  """Resumes playback of the scene.
133
163
 
134
164
  :return: Whether the action succeeded.
135
- :rtype: bool
136
165
  """
137
166
 
138
167
  def stop(self) -> bool:
139
168
  """Stops playback of the scene.
140
169
 
141
170
  :return: Whether the action succeeded.
142
- :rtype: bool
143
171
  """
144
172
 
145
173
  class HRTF:
146
- """An HRTF object represents a set of head related transfer functions as impulse responses. It's used for binaural sound"""
174
+ """An HRTF object represents a set of head related transfer functions as impulse responses. Its used for binaural sound"""
147
175
 
148
176
  def loadLeftHrtfSet(self, extension: str, directory) -> typing_extensions.Self:
149
177
  """Loads all HRTFs from a directory.
150
178
 
151
179
  :param extension: The file extension of the hrtfs.
152
- :type extension: str
153
180
  :param directory: The path to where the HRTF files are located.
154
181
  :return: The loaded `HRTF` object.
155
- :rtype: typing_extensions.Self
156
182
  """
157
183
 
158
184
  def loadRightHrtfSet(self, extension: str, directory) -> typing_extensions.Self:
159
185
  """Loads all HRTFs from a directory.
160
186
 
161
187
  :param extension: The file extension of the hrtfs.
162
- :type extension: str
163
188
  :param directory: The path to where the HRTF files are located.
164
189
  :return: The loaded `HRTF` object.
165
- :rtype: typing_extensions.Self
166
190
  """
167
191
 
168
192
  def addImpulseResponseFromSound(
@@ -171,13 +195,9 @@ class HRTF:
171
195
  """Adds a new hrtf to the HRTF object
172
196
 
173
197
  :param sound: The sound that contains the hrtf.
174
- :type sound: Sound
175
198
  :param azimuth: The azimuth angle of the hrtf.
176
- :type azimuth: float
177
199
  :param elevation: The elevation angle of the hrtf.
178
- :type elevation: float
179
200
  :return: Whether the action succeeded.
180
- :rtype: bool
181
201
  """
182
202
 
183
203
  class Handle:
@@ -245,21 +265,18 @@ This can be used to seek the sound to some position and start playback again."""
245
265
  """Pauses playback.
246
266
 
247
267
  :return: Whether the action succeeded.
248
- :rtype: bool
249
268
  """
250
269
 
251
270
  def resume(self) -> bool:
252
271
  """Resumes playback.
253
272
 
254
273
  :return: Whether the action succeeded.
255
- :rtype: bool
256
274
  """
257
275
 
258
276
  def stop(self) -> bool:
259
277
  """Stops playback.
260
278
 
261
279
  :return: Whether the action succeeded.
262
- :rtype: bool
263
280
  """
264
281
 
265
282
  class ImpulseResponse:
@@ -272,71 +289,55 @@ class PlaybackManager:
272
289
  """Adds a category with a custom volume.
273
290
 
274
291
  :param volume: The volume for ther new category.
275
- :type volume: float
276
292
  :return: The key of the new category.
277
- :rtype: int
278
293
  """
279
294
 
280
- def clean(self):
295
+ def clean(self) -> None:
281
296
  """Cleans all the invalid and finished sound from the playback manager."""
282
297
 
283
298
  def getVolume(self, catKey: int) -> float:
284
299
  """Retrieves the volume of a category.
285
300
 
286
301
  :param catKey: the key of the category.
287
- :type catKey: int
288
- :return: The volume of the cateogry.
289
- :rtype: float
302
+ :return: The volume of the category.
290
303
  """
291
304
 
292
305
  def pause(self, catKey: int) -> bool:
293
306
  """Pauses playback of the category.
294
307
 
295
308
  :param catKey: the key of the category.
296
- :type catKey: int
297
309
  :return: Whether the action succeeded.
298
- :rtype: bool
299
310
  """
300
311
 
301
312
  def play(self, sound: Sound, catKey: int) -> Handle:
302
313
  """Plays a sound through the playback manager and assigns it to a category.
303
314
 
304
315
  :param sound: The sound to play.
305
- :type sound: Sound
306
316
  :param catKey: the key of the category in which the sound will be added,
307
- if it doesn't exist, a new one will be created.
308
- :type catKey: int
317
+ if it doesnt exist, a new one will be created.
309
318
  :return: The playback handle with which playback can be controlled with.
310
- :rtype: Handle
311
319
  """
312
320
 
313
321
  def resume(self, catKey: int) -> bool:
314
322
  """Resumes playback of the catgory.
315
323
 
316
324
  :param catKey: the key of the category.
317
- :type catKey: int
318
325
  :return: Whether the action succeeded.
319
- :rtype: bool
320
326
  """
321
327
 
322
328
  def setVolume(self, volume: float, catKey: int) -> int:
323
329
  """Changes the volume of a category.
324
330
 
325
331
  :param volume: the new volume value.
326
- :type volume: float
327
332
  :param catKey: the key of the category.
328
- :type catKey: int
329
333
  :return: Whether the action succeeded.
330
- :rtype: int
331
334
  """
332
335
 
333
336
  def stop(self, catKey: int) -> bool:
334
337
  """Stops playback of the category.
335
338
 
336
339
  :param catKey: the key of the category.
337
- :type catKey: int
338
340
  :return: Whether the action succeeded.
339
- :rtype: bool
340
341
  """
341
342
 
342
343
  class Sequence:
@@ -369,13 +370,12 @@ The speed of sound in air is typically 343.3 m/s."""
369
370
  """Adds a new entry to the sequence.
370
371
 
371
372
  :return: The entry added.
372
- :rtype: SequenceEntry
373
373
  """
374
374
 
375
- def remove(self):
375
+ def remove(self) -> None:
376
376
  """Removes an entry from the sequence."""
377
377
 
378
- def setAnimationData(self):
378
+ def setAnimationData(self) -> None:
379
379
  """Writes animation data to a sequence."""
380
380
 
381
381
  class SequenceEntry:
@@ -417,10 +417,10 @@ At this distance the volume will be exactly `volume`.:attr:`Device.distance_mode
417
417
  volume_minimum: typing.Any
418
418
  """ The minimum volume of the source.:attr:`Device.distance_model`"""
419
419
 
420
- def move(self):
420
+ def move(self) -> None:
421
421
  """Moves the entry."""
422
422
 
423
- def setAnimationData(self):
423
+ def setAnimationData(self) -> None:
424
424
  """Writes animation data to a sequenced entry."""
425
425
 
426
426
  class Sound:
@@ -438,9 +438,7 @@ class Sound:
438
438
 
439
439
  :param data: The data as two dimensional numpy array.
440
440
  :param rate: The sample rate.
441
- :type rate: float
442
441
  :return: The created `Sound` object.
443
- :rtype: typing_extensions.Self
444
442
  """
445
443
 
446
444
  @classmethod
@@ -448,9 +446,7 @@ class Sound:
448
446
  """Creates a sound object of a sound file.
449
447
 
450
448
  :param filename: Path of the file.
451
- :type filename: str
452
449
  :return: The created `Sound` object.
453
- :rtype: typing_extensions.Self
454
450
  """
455
451
 
456
452
  @classmethod
@@ -458,7 +454,6 @@ class Sound:
458
454
  """Creates an empty sound list that can contain several sounds.
459
455
 
460
456
  :return: The created `Sound` object.
461
- :rtype: typing_extensions.Self
462
457
  """
463
458
 
464
459
  @classmethod
@@ -466,23 +461,18 @@ class Sound:
466
461
  """Creates a sawtooth sound which plays a sawtooth wave.
467
462
 
468
463
  :param frequency: The frequency of the sawtooth wave in Hz.
469
- :type frequency: float
470
- :param rate: The sampling rate in Hz. It's recommended to set this
471
- value to the playback device's samling rate to avoid resamping.
472
- :type rate: int
464
+ :param rate: The sampling rate in Hz. Its recommended to set this
465
+ value to the playback devices sampling rate to avoid resampling.
473
466
  :return: The created `Sound` object.
474
- :rtype: typing_extensions.Self
475
467
  """
476
468
 
477
469
  @classmethod
478
470
  def silence(cls, rate: int = 48000) -> typing_extensions.Self:
479
471
  """Creates a silence sound which plays simple silence.
480
472
 
481
- :param rate: The sampling rate in Hz. It's recommended to set this
482
- value to the playback device's samling rate to avoid resamping.
483
- :type rate: int
473
+ :param rate: The sampling rate in Hz. Its recommended to set this
474
+ value to the playback devices sampling rate to avoid resampling.
484
475
  :return: The created `Sound` object.
485
- :rtype: typing_extensions.Self
486
476
  """
487
477
 
488
478
  @classmethod
@@ -490,12 +480,9 @@ class Sound:
490
480
  """Creates a sine sound which plays a sine wave.
491
481
 
492
482
  :param frequency: The frequency of the sine wave in Hz.
493
- :type frequency: float
494
- :param rate: The sampling rate in Hz. It's recommended to set this
495
- value to the playback device's samling rate to avoid resamping.
496
- :type rate: int
483
+ :param rate: The sampling rate in Hz. Its recommended to set this
484
+ value to the playback devices sampling rate to avoid resampling.
497
485
  :return: The created `Sound` object.
498
- :rtype: typing_extensions.Self
499
486
  """
500
487
 
501
488
  @classmethod
@@ -503,12 +490,9 @@ class Sound:
503
490
  """Creates a square sound which plays a square wave.
504
491
 
505
492
  :param frequency: The frequency of the square wave in Hz.
506
- :type frequency: float
507
- :param rate: The sampling rate in Hz. It's recommended to set this
508
- value to the playback device's samling rate to avoid resamping.
509
- :type rate: int
493
+ :param rate: The sampling rate in Hz. Its recommended to set this
494
+ value to the playback devices sampling rate to avoid resampling.
510
495
  :return: The created `Sound` object.
511
- :rtype: typing_extensions.Self
512
496
  """
513
497
 
514
498
  @classmethod
@@ -516,12 +500,9 @@ class Sound:
516
500
  """Creates a triangle sound which plays a triangle wave.
517
501
 
518
502
  :param frequency: The frequency of the triangle wave in Hz.
519
- :type frequency: float
520
- :param rate: The sampling rate in Hz. It's recommended to set this
521
- value to the playback device's samling rate to avoid resamping.
522
- :type rate: int
503
+ :param rate: The sampling rate in Hz. Its recommended to set this
504
+ value to the playback devices sampling rate to avoid resampling.
523
505
  :return: The created `Sound` object.
524
- :rtype: typing_extensions.Self
525
506
  """
526
507
 
527
508
  def ADSR(
@@ -531,15 +512,10 @@ class Sound:
531
512
  Note: there is currently no way to trigger the release with this API.
532
513
 
533
514
  :param attack: The attack time in seconds.
534
- :type attack: float
535
515
  :param decay: The decay time in seconds.
536
- :type decay: float
537
516
  :param sustain: The sustain level.
538
- :type sustain: float
539
517
  :param release: The release level.
540
- :type release: float
541
518
  :return: The created `Sound` object.
542
- :rtype: typing_extensions.Self
543
519
  """
544
520
 
545
521
  def accumulate(self, additive=False) -> typing_extensions.Self:
@@ -550,21 +526,36 @@ class Sound:
550
526
 
551
527
  :param additive: Whether the accumulation should be additive or not.
552
528
  :return: The created `Sound` object.
553
- :rtype: typing_extensions.Self
554
529
  """
555
530
 
556
- def addSound(self, sound: typing_extensions.Self):
531
+ def addSound(self, sound: typing_extensions.Self) -> None:
557
532
  """Adds a new sound to a sound list.
558
533
 
559
534
  :param sound: The sound that will be added to the list.
560
- :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.
561
553
  """
562
554
 
563
555
  def binaural(self) -> typing_extensions.Self:
564
556
  """Creates a binaural sound using another sound as source. The original sound must be mono
565
557
 
566
558
  :return: The created `Sound` object.
567
- :rtype: typing_extensions.Self
568
559
  """
569
560
 
570
561
  def cache(self) -> typing_extensions.Self:
@@ -573,46 +564,46 @@ class Sound:
573
564
  but it consumes a lot of memory.
574
565
 
575
566
  :return: The created `Sound` object.
576
- :rtype: typing_extensions.Self
577
567
  """
578
568
 
579
569
  def convolver(self) -> typing_extensions.Self:
580
570
  """Creates a sound that will apply convolution to another sound.
581
571
 
582
572
  :return: The created `Sound` object.
583
- :rtype: typing_extensions.Self
584
573
  """
585
574
 
586
- def data(self):
575
+ def data(self) -> None:
587
576
  """Retrieves the data of the sound as numpy array.
588
577
 
589
578
  :return: A two dimensional numpy float array.
590
579
  """
591
580
 
592
581
  def delay(self, time: float) -> typing_extensions.Self:
593
- """Delays by playing adding silence in front of the other sound's data.
582
+ """Delays by playing adding silence in front of the other sounds data.
594
583
 
595
584
  :param time: How many seconds of silence should be added before the sound.
596
- :type time: float
597
585
  :return: The created `Sound` object.
598
- :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.
599
595
  """
600
596
 
601
597
  def envelope(
602
598
  self, attack: float, release: float, threshold: float, arthreshold: float
603
599
  ) -> typing_extensions.Self:
604
- """Delays by playing adding silence in front of the other sound's data.
600
+ """Delays by playing adding silence in front of the other sounds data.
605
601
 
606
602
  :param attack: The attack factor.
607
- :type attack: float
608
603
  :param release: The release factor.
609
- :type release: float
610
604
  :param threshold: The general threshold value.
611
- :type threshold: float
612
605
  :param arthreshold: The attack/release threshold value.
613
- :type arthreshold: float
614
606
  :return: The created `Sound` object.
615
- :rtype: typing_extensions.Self
616
607
  """
617
608
 
618
609
  def fadein(self, start: float, length: float) -> typing_extensions.Self:
@@ -620,11 +611,8 @@ class Sound:
620
611
  time interval.
621
612
 
622
613
  :param start: Time in seconds when the fading should start.
623
- :type start: float
624
614
  :param length: Time in seconds how long the fading should last.
625
- :type length: float
626
615
  :return: The created `Sound` object.
627
- :rtype: typing_extensions.Self
628
616
  """
629
617
 
630
618
  def fadeout(self, start: float, length: float) -> typing_extensions.Self:
@@ -632,27 +620,21 @@ class Sound:
632
620
  time interval.
633
621
 
634
622
  :param start: Time in seconds when the fading should start.
635
- :type start: float
636
623
  :param length: Time in seconds how long the fading should last.
637
- :type length: float
638
624
  :return: The created `Sound` object.
639
- :rtype: typing_extensions.Self
640
625
  """
641
626
 
642
627
  def filter(self, b: list[float], a: list[float] = (1)) -> typing_extensions.Self:
643
628
  """Filters a sound with the supplied IIR filter coefficients.
644
- Without the second parameter you'll get a FIR filter.If the first value of the a sequence is 0,
629
+ Without the second parameter youll get a FIR filter.If the first value of the a sequence is 0,
645
630
  it will be set to 1 automatically.
646
631
  If the first value of the a sequence is neither 0 nor 1, all
647
632
  filter coefficients will be scaled by this value so that it is 1
648
- in the end, you don't have to scale yourself.
633
+ in the end, you dont have to scale yourself.
649
634
 
650
635
  :param b: The nominator filter coefficients.
651
- :type b: list[float]
652
636
  :param a: The denominator filter coefficients.
653
- :type a: list[float]
654
637
  :return: The created `Sound` object.
655
- :rtype: typing_extensions.Self
656
638
  """
657
639
 
658
640
  def highpass(self, frequency: float, Q: float = 0.5) -> typing_extensions.Self:
@@ -660,31 +642,23 @@ class Sound:
660
642
  function H(s) = s^2 / (s^2 + s/Q + 1)
661
643
 
662
644
  :param frequency: The cut off trequency of the highpass.
663
- :type frequency: float
664
645
  :param Q: Q factor of the lowpass.
665
- :type Q: float
666
646
  :return: The created `Sound` object.
667
- :rtype: typing_extensions.Self
668
647
  """
669
648
 
670
649
  def join(self, sound: typing_extensions.Self) -> typing_extensions.Self:
671
650
  """Plays two factories in sequence.
672
651
 
673
652
  :param sound: The sound to play second.
674
- :type sound: typing_extensions.Self
675
653
  :return: The created `Sound` object.
676
- :rtype: typing_extensions.Self
677
654
  """
678
655
 
679
656
  def limit(self, start: float, end: float) -> typing_extensions.Self:
680
657
  """Limits a sound within a specific start and end time.
681
658
 
682
659
  :param start: Start time in seconds.
683
- :type start: float
684
660
  :param end: End time in seconds.
685
- :type end: float
686
661
  :return: The created `Sound` object.
687
- :rtype: typing_extensions.Self
688
662
  """
689
663
 
690
664
  def loop(self, count: int) -> typing_extensions.Self:
@@ -692,38 +666,29 @@ class Sound:
692
666
 
693
667
  :param count: How often the sound should be looped.
694
668
  Negative values mean endlessly.
695
- :type count: int
696
669
  :return: The created `Sound` object.
697
- :rtype: typing_extensions.Self
698
670
  """
699
671
 
700
672
  def lowpass(self, frequency: float, Q: float = 0.5) -> typing_extensions.Self:
701
673
  """Creates a second order lowpass filter based on the transfer function H(s) = 1 / (s^2 + s/Q + 1)
702
674
 
703
675
  :param frequency: The cut off trequency of the lowpass.
704
- :type frequency: float
705
676
  :param Q: Q factor of the lowpass.
706
- :type Q: float
707
677
  :return: The created `Sound` object.
708
- :rtype: typing_extensions.Self
709
678
  """
710
679
 
711
680
  def mix(self, sound: typing_extensions.Self) -> typing_extensions.Self:
712
681
  """Mixes two factories.
713
682
 
714
683
  :param sound: The sound to mix over the other.
715
- :type sound: typing_extensions.Self
716
684
  :return: The created `Sound` object.
717
- :rtype: typing_extensions.Self
718
685
  """
719
686
 
720
687
  def modulate(self, sound: typing_extensions.Self) -> typing_extensions.Self:
721
688
  """Modulates two factories.
722
689
 
723
690
  :param sound: The sound to modulate over the other.
724
- :type sound: typing_extensions.Self
725
691
  :return: The created `Sound` object.
726
- :rtype: typing_extensions.Self
727
692
  """
728
693
 
729
694
  def mutable(self) -> typing_extensions.Self:
@@ -731,7 +696,6 @@ class Sound:
731
696
  If the original sound is a sound list, the playing sound can change.
732
697
 
733
698
  :return: The created `Sound` object.
734
- :rtype: typing_extensions.Self
735
699
  """
736
700
 
737
701
  def pingpong(self) -> typing_extensions.Self:
@@ -739,50 +703,40 @@ class Sound:
739
703
  This is like joining a sound with its reverse.
740
704
 
741
705
  :return: The created `Sound` object.
742
- :rtype: typing_extensions.Self
743
706
  """
744
707
 
745
708
  def pitch(self, factor: float) -> typing_extensions.Self:
746
709
  """Changes the pitch of a sound with a specific factor.
747
710
 
748
711
  :param factor: The factor to change the pitch with.
749
- :type factor: float
750
712
  :return: The created `Sound` object.
751
- :rtype: typing_extensions.Self
752
713
  """
753
714
 
754
715
  def rechannel(self, channels: int) -> typing_extensions.Self:
755
716
  """Rechannels the sound.
756
717
 
757
718
  :param channels: The new channel configuration.
758
- :type channels: int
759
719
  :return: The created `Sound` object.
760
- :rtype: typing_extensions.Self
761
720
  """
762
721
 
763
722
  def resample(self, rate: float, quality: int) -> typing_extensions.Self:
764
723
  """Resamples the sound.
765
724
 
766
725
  :param rate: The new sample rate.
767
- :type rate: float
768
726
  :param quality: Resampler performance vs quality choice (0=fastest, 3=slowest).
769
- :type quality: int
770
727
  :return: The created `Sound` object.
771
- :rtype: typing_extensions.Self
772
728
  """
773
729
 
774
730
  def reverse(self) -> typing_extensions.Self:
775
731
  """Plays a sound reversed.
776
732
 
777
733
  :return: The created `Sound` object.
778
- :rtype: typing_extensions.Self
779
734
  """
780
735
 
781
736
  def sum(self) -> typing_extensions.Self:
782
737
  """Sums the samples of a sound.
783
738
 
784
739
  :return: The created `Sound` object.
785
- :rtype: typing_extensions.Self
786
740
  """
787
741
 
788
742
  def threshold(self, threshold: float = 0) -> typing_extensions.Self:
@@ -792,18 +746,30 @@ class Sound:
792
746
 
793
747
  :param threshold: Threshold value over which an amplitude counts
794
748
  non-zero.
795
- :type threshold: float
796
749
  :return: The created `Sound` object.
797
- :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.
798
766
  """
799
767
 
800
768
  def volume(self, volume: float) -> typing_extensions.Self:
801
769
  """Changes the volume of a sound.
802
770
 
803
771
  :param volume: The new volume..
804
- :type volume: float
805
772
  :return: The created `Sound` object.
806
- :rtype: typing_extensions.Self
807
773
  """
808
774
 
809
775
  def write(
@@ -816,25 +782,17 @@ class Sound:
816
782
  codec: int,
817
783
  bitrate: int,
818
784
  buffersize: int,
819
- ):
785
+ ) -> None:
820
786
  """Writes the sound to a file.
821
787
 
822
788
  :param filename: The path to write to.
823
- :type filename: str
824
789
  :param rate: The sample rate to write with.
825
- :type rate: int
826
790
  :param channels: The number of channels to write with.
827
- :type channels: int
828
791
  :param format: The sample format to write with.
829
- :type format: int
830
792
  :param container: The container format for the file.
831
- :type container: int
832
793
  :param codec: The codec to use in the file.
833
- :type codec: int
834
794
  :param bitrate: The bitrate to write with.
835
- :type bitrate: int
836
795
  :param buffersize: The size of the writing buffer.
837
- :type buffersize: int
838
796
  """
839
797
 
840
798
  class Source:
@@ -870,6 +828,14 @@ AP_PITCH: typing.Any
870
828
  """ Constant value 2
871
829
  """
872
830
 
831
+ AP_PITCH_SCALE: typing.Any
832
+ """ Constant value 6
833
+ """
834
+
835
+ AP_TIME_STRETCH: typing.Any
836
+ """ Constant value 5
837
+ """
838
+
873
839
  AP_VOLUME: typing.Any
874
840
  """ Constant value 0
875
841
  """
@@ -1097,3 +1063,15 @@ STATUS_PLAYING: typing.Any
1097
1063
  STATUS_STOPPED: typing.Any
1098
1064
  """ Constant value 3
1099
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
+ """