# Speaker(ID)

base classes — `bpy_struct`, `ID`

class `bpy.types.``Speaker`(ID)

  Speaker data-block for 3D audio speaker objects

  `animation_data`

    Animation data for this data-block

    Type: | `AnimData`, (readonly)

  `attenuation`

    How strong the distance affects volume, depending on distance model

    Type: | float in [0, inf], default 0.0

  `cone_angle_inner`

    Angle of the inner cone, in degrees, inside the cone the volume is 100 %

    Type: | float in [0, 360], default 0.0

  `cone_angle_outer`

    Angle of the outer cone, in degrees, outside this cone the volume is the outer cone volume, between inner and outer cone the volume is interpolated

    Type: | float in [0, 360], default 0.0

  `cone_volume_outer`

    Volume outside the outer cone

    Type: | float in [0, 1], default 0.0

  `distance_max`

    Maximum distance for volume calculation, no matter how far away the object is

    Type: | float in [0, inf], default 0.0

  `distance_reference`

    Reference distance at which volume is 100 %

    Type: | float in [0, inf], default 0.0

  `muted`

    Mute the speaker

    Type: | boolean, default False

  `pitch`

    Playback pitch of the sound

    Type: | float in [0.1, 10], default 0.0

  `relative`

    Whether the source is relative to the camera or not

    Type: | boolean, default False, (readonly)

  `sound`

    Sound data-block used by this speaker

    Type: | `Sound`

  `volume`

    How loud the sound is

    Type: | float in [0, 1], default 0.0

  `volume_max`

    Maximum volume, no matter how near the object is

    Type: | float in [0, 1], default 0.0

  `volume_min`

    Minimum volume, no matter how far away the object is

    Type: | float in [0, 1], default 0.0

Inherited Properties

`bpy_struct.id_data` `ID.name` `ID.users` `ID.use_fake_user` `ID.tag` | `ID.is_updated` `ID.is_updated_data` `ID.is_library_indirect` `ID.library` `ID.preview`

Inherited Functions

`bpy_struct.as_pointer` `bpy_struct.driver_add` `bpy_struct.driver_remove` `bpy_struct.get` `bpy_struct.is_property_hidden` `bpy_struct.is_property_readonly` `bpy_struct.is_property_set` `bpy_struct.items` `bpy_struct.keyframe_delete` `bpy_struct.keyframe_insert` `bpy_struct.keys` | `bpy_struct.path_from_id` `bpy_struct.path_resolve` `bpy_struct.property_unset` `bpy_struct.type_recast` `bpy_struct.values` `ID.copy` `ID.user_clear` `ID.animation_data_create` `ID.animation_data_clear` `ID.update_tag`

References

`bpy.context.speaker` `BlendData.speakers` | `BlendDataSpeakers.new` `BlendDataSpeakers.remove`