Getting SoundSequence Values in bpy.types.*

So first off I know little to no Python.

With that out of the way, I’m wanting to make a script that edits scene values from the attenuation of a sound sequence clip. I looked at the API and found that this is bpy.types.SoundSequence().attenuation. However, after an hour of messing in the console, I still can’t get it to work. I named the strip in the sequencer “01” and attempted bpy.types.SoundSequence(01).attenuation, but I’m not even sure how it’s supposed to work.

Please tell me where I’m going wrong.

Looks like that one’s gone in 2.62
http://audaspace.wordpress.com/


>>> C.scene.sequence_editor.sequences_all["CarSkid.wav"]
bpy.data.scenes['Scene'].sequence_editor.sequences_all["CarSkid.wav"]

>>> type(C.scene.sequence_editor.sequences_all["CarSkid.wav"])
<class 'bpy.types.SoundSequence'>

>>> C.scene.sequence_editor.sequences_all["CarSkid.wav"].a<ctrl-space>
                                                          nimation_offset_end
                                                          nimation_offset_start
                                                          s_pointer(

A speaker however has attenuation and a distance model


>>> bpy.data.speakers['Speaker'].attenuation
1.0