Package bpy :: Package ops :: Module sound
[hide private]
[frames] | no frames]

Module sound

Functions [hide private]
 
open(path='', filename='', directory='', filter_blender=False, filter_image=False, filter_movie=True, filter_python=False, filter_font=False, filter_sound=True, filter_text=False, filter_folder=True, filemode=9, cache=False)
Load a sound file.
 
pack()
Pack the sound into the current blend file.
 
unpack(method='USE_LOCAL')
Unpack the sound to the samples filename.
Function Details [hide private]

open(path='', filename='', directory='', filter_blender=False, filter_image=False, filter_movie=True, filter_python=False, filter_font=False, filter_sound=True, filter_text=False, filter_folder=True, filemode=9, cache=False)

 

Load a sound file.

Parameters:
  • filemode (int) - The setting for the file browser mode to load a .blend file, a library or a special file. in (1, 9)
  • filter_text (boolean)
  • filter_sound (boolean)
  • filter_image (boolean)
  • filter_movie (boolean)
  • filter_blender (boolean)
  • filename (string)
  • filter_font (boolean)
  • cache (boolean)
  • filter_python (boolean)
  • directory (string)
  • path (string)
  • filter_folder (boolean)

unpack(method='USE_LOCAL')

 

Unpack the sound to the samples filename.

Parameters:
  • method (enum) - How to unpack. in (USE_LOCAL, WRITE_LOCAL, USE_ORIGINAL, WRITE_ORIGINAL)