Module 'aud' has no attribute 'device' #64376
Operating system:linux 64bit
Broken: (example: 2.80,
7c9e649015, master, 2019-05-09, as found on the splash screen)
Short description of error
Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).
when i run script :
import aud device = aud.device() # load sound file (it can be a video file with audio) factory = aud.Factory('music.ogg') # play the audio, this return a handle to control play/pause handle = device.play(factory) # if the audio is not too big and will be used often you can buffer it factory_buffered = aud.Factory.buffer(factory) handle_buffered = device.play(factory_buffered)
I received an error message : AttributeError: module 'aud' has no attribute 'device'
And the sound will not play.
Blender 2.8 uses the latest version of audaspace where the
aud API has changed considerably, please refer to the audaspace bindings API documentation .
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?