cozmo.audio¶
Audio related classes, functions, events and values.
Classes
AudioEvents |
The possible values for an AudioEvent. |
-
class
cozmo.audio.
AudioEvents
¶ The possible values for an AudioEvent. Pass one of these event objects to robot.play_audio() to play the corresponding sound clip. Example:
robot.play_audio(cozmo.audio.AudioEvents.MusicFunLoop)
-
Invalid
= _AudioEvent(name='Invalid', id=0)¶ Reserved Id for invalid sound events
-
MusicBackgroundSilenceOff
= _AudioEvent(name='MusicBackgroundSilenceOff', id=3328628191)¶ Unmute cozmo background music
-
MusicBackgroundSilenceOn
= _AudioEvent(name='MusicBackgroundSilenceOn', id=4207184651)¶ Mute cozmo background music
-
MusicCubeWhack
= _AudioEvent(name='MusicCubeWhack', id=3324716189)¶ Plays the cube whack music
-
MusicFunLoop
= _AudioEvent(name='Music_Fun_Loop', id=1284343309)¶ Plays a fun music sound (that loops indefinitely).
-
MusicFunLoopStop
= _AudioEvent(name='Music_Fun_Loop_Stop', id=2123694542)¶ Stops all active plays of the fun music sound.
-
MusicGlobalStop
= _AudioEvent(name='MusicGlobalStop', id=2512535841)¶ Stop all playing music
-
MusicHotPotatoLevel1Loop
= _AudioEvent(name='MusicHotPotatoLevel1Loop', id=716489468)¶ Plays the level 1 hot potato music (Does not repeat)
-
MusicHotPotatoLevel1LoopStop
= _AudioEvent(name='MusicHotPotatoLevel1LoopStop', id=2689778401)¶ Stops active plays of the level 1 hot potato music
-
MusicHotPotatoLevel2Loop
= _AudioEvent(name='MusicHotPotatoLevel2Loop', id=2357357213)¶ Plays the level 2 hot potato music (Does not repeat)
-
MusicHotPotatoLevel2LoopStop
= _AudioEvent(name='MusicHotPotatoLevel2LoopStop', id=3058241090)¶ Stops active plays of the level 2 hot potato music
-
MusicHotPotatoLevel3Loop
= _AudioEvent(name='MusicHotPotatoLevel3Loop', id=2340195146)¶ Plays the level 3 hot potato music (Does not repeat)
-
MusicHotPotatoLevel3LoopStop
= _AudioEvent(name='MusicHotPotatoLevel3LoopStop', id=2301371667)¶ Stops active plays of the level 3 hot potato music
-
MusicHotPotatoLevel4Loop
= _AudioEvent(name='MusicHotPotatoLevel4Loop', id=4097176099)¶ Plays the level 4 hot potato music (Does not repeat)
-
MusicHotPotatoLevel4LoopStop
= _AudioEvent(name='MusicHotPotatoLevel4LoopStop', id=3129138908)¶ Stops active plays of the level 4 hot potato music
-
MusicMagic8RevealStinger
= _AudioEvent(name='MusicMagic8RevealStinger', id=1998467689)¶ Plays the magic fortune teller reveal music
-
MusicMagic8RevealStingerStop
= _AudioEvent(name='MusicMagic8RevealStingerStop', id=16687378)¶ Stops active plays of the magic fortune teller reveal music
-
MusicStyle80S1159BpmLoop
= _AudioEvent(name='MusicStyle80S1159BpmLoop', id=1808088864)¶ Plays 80s style music (Does not repeat)
-
MusicStyle80S1159BpmLoopStop
= _AudioEvent(name='MusicStyle80S1159BpmLoopStop', id=1451276801)¶ Stops active plays of 80s style music
-
MusicStyleDisco1135BpmLoop
= _AudioEvent(name='MusicStyleDisco1135BpmLoop', id=2717741607)¶ Plays disco style music (Does not repeat)
-
MusicStyleDisco1135BpmLoopStop
= _AudioEvent(name='MusicStyleDisco1135BpmLoopStop', id=3069781320)¶ Stops active plays of disco style music
-
MusicStyleMambo1183BpmLoop
= _AudioEvent(name='MusicStyleMambo1183BpmLoop', id=1905159696)¶ Plays mambo style music (Does not repeat)
-
MusicStyleMambo1183BpmLoopStop
= _AudioEvent(name='MusicStyleMambo1183BpmLoopStop', id=1709157641)¶ Stops active plays of mambo style music
-
MusicTinyOrchestraBass01Loop
= _AudioEvent(name='MusicTinyOrchestraBass01Loop', id=1352943452)¶ Plays the first tiny orchestra bass track (Does not repeat. Does not interact with the synchronized tiny orchestra system)
-
MusicTinyOrchestraBass01LoopStop
= _AudioEvent(name='MusicTinyOrchestraBass01LoopStop', id=1353021637)¶ Stops active plays of the first tiny orchestra bass track
-
MusicTinyOrchestraBass02Loop
= _AudioEvent(name='MusicTinyOrchestraBass02Loop', id=3270107901)¶ Plays the second tiny orchestra bass track (Does not repeat. Does not interact with the synchronized tiny orchestra system)
-
MusicTinyOrchestraBass02LoopStop
= _AudioEvent(name='MusicTinyOrchestraBass02LoopStop', id=3636979286)¶ Stops active plays of the second tiny orchestra bass track
-
MusicTinyOrchestraBass03Loop
= _AudioEvent(name='MusicTinyOrchestraBass03Loop', id=3677506218)¶ Plays the third tiny orchestra bass track (Does not repeat. Does not interact with the synchronized tiny orchestra system)
-
MusicTinyOrchestraBass03LoopStop
= _AudioEvent(name='MusicTinyOrchestraBass03LoopStop', id=1838210855)¶ Stops active plays of the third tiny orchestra bass track
-
MusicTinyOrchestraBassMode1
= _AudioEvent(name='MusicTinyOrchestraBassMode1', id=2111780371)¶ Turn on the first mode of the synchronized tiny orchestra bass channel (Requires the tiny orchestra system be initialized, and will loop until the system is turned off)
-
MusicTinyOrchestraBassMode1Stop
= _AudioEvent(name='MusicTinyOrchestraBassMode1Stop', id=222737888)¶ Turn off the first mode of the synchronized tiny orchestra bass channel
-
MusicTinyOrchestraBassMode2
= _AudioEvent(name='MusicTinyOrchestraBassMode2', id=2111780368)¶ Turn on the second mode of the synchronized tiny orchestra bass channel (Requires the tiny orchestra system be initialized, and will loop until the system is turned off)
-
MusicTinyOrchestraBassMode2Stop
= _AudioEvent(name='MusicTinyOrchestraBassMode2Stop', id=1587327405)¶ Turn off the second mode of the synchronized tiny orchestra bass channel
-
MusicTinyOrchestraBassMode3
= _AudioEvent(name='MusicTinyOrchestraBassMode3', id=2111780369)¶ Turn on the third mode of the synchronized tiny orchestra bass channel (Requires the tiny orchestra system be initialized, and will loop until the system is turned off)
-
MusicTinyOrchestraBassMode3Stop
= _AudioEvent(name='MusicTinyOrchestraBassMode3Stop', id=1731643034)¶ Turn off the third mode of the synchronized tiny orchestra bass channel
-
MusicTinyOrchestraBassStop
= _AudioEvent(name='MusicTinyOrchestraBassStop', id=1011028768)¶ Turn off all synchronized tiny orchestra bass channels
-
MusicTinyOrchestraGlockPluck01Loop
= _AudioEvent(name='MusicTinyOrchestraGlockPluck01Loop', id=2091022501)¶ Plays the first tiny orchestra glock pluck track (Does not repeat. Does not interact with the synchronized tiny orchestra system)
-
MusicTinyOrchestraGlockPluck01LoopStop
= _AudioEvent(name='MusicTinyOrchestraGlockPluck01LoopStop', id=1371551766)¶ Stops active plays of the first tiny orchestra glock pluck track
-
MusicTinyOrchestraGlockPluck02Loop
= _AudioEvent(name='MusicTinyOrchestraGlockPluck02Loop', id=1416718788)¶ Plays the second tiny orchestra glock pluck track (Does not repeat. Does not interact with the synchronized tiny orchestra system)
-
MusicTinyOrchestraGlockPluck02LoopStop
= _AudioEvent(name='MusicTinyOrchestraGlockPluck02LoopStop', id=1925511301)¶ Stops active plays of the second tiny orchestra glock pluck track
-
MusicTinyOrchestraGlockPluck03Loop
= _AudioEvent(name='MusicTinyOrchestraGlockPluck03Loop', id=668702647)¶ Plays the third tiny orchestra glock pluck track (Does not repeat. Does not interact with the synchronized tiny orchestra system)
-
MusicTinyOrchestraGlockPluck03LoopStop
= _AudioEvent(name='MusicTinyOrchestraGlockPluck03LoopStop', id=2578133564)¶ Stops active plays of the third tiny orchestra glock pluck track
-
MusicTinyOrchestraGlockPluckMode1
= _AudioEvent(name='MusicTinyOrchestraGlockPluckMode1', id=1774266660)¶ Turn on the first mode of the synchronized tiny orchestra glock pluck channel (Requires the tiny orchestra system be initialized, and will loop until the system is turned off)
-
MusicTinyOrchestraGlockPluckMode1Stop
= _AudioEvent(name='MusicTinyOrchestraGlockPluckMode1Stop', id=1662844729)¶ Turn off the first mode of the synchronized tiny orchestra glock pluck channel
-
MusicTinyOrchestraGlockPluckMode2
= _AudioEvent(name='MusicTinyOrchestraGlockPluckMode2', id=1774266663)¶ Turn on the second mode of the synchronized tiny orchestra glock pluck channel (Requires the tiny orchestra system be initialized, and will loop until the system is turned off)
-
MusicTinyOrchestraGlockPluckMode2Stop
= _AudioEvent(name='MusicTinyOrchestraGlockPluckMode2Stop', id=2287415996)¶ Turn off the second mode of the synchronized tiny orchestra glock pluck channel
-
MusicTinyOrchestraGlockPluckMode3
= _AudioEvent(name='MusicTinyOrchestraGlockPluckMode3', id=1774266662)¶ Turn on the third mode of the synchronized tiny orchestra glock pluck channel (Requires the tiny orchestra system be initialized, and will loop until the system is turned off)
-
MusicTinyOrchestraGlockPluckMode3Stop
= _AudioEvent(name='MusicTinyOrchestraGlockPluckMode3Stop', id=3420658727)¶ Turn off the third mode of the synchronized tiny orchestra glock pluck channel
-
MusicTinyOrchestraGlockPluckStop
= _AudioEvent(name='MusicTinyOrchestraGlockPluckStop', id=3644877187)¶ Turn off all synchronized tiny orchestra glock pluck channels
-
MusicTinyOrchestraInit
= _AudioEvent(name='MusicTinyOrchestraInit', id=4134268600)¶ Initialize the synchronized tiny orchestra system (Will not produce any sound on its own, one of the modes must be triggered)
-
MusicTinyOrchestraStop
= _AudioEvent(name='MusicTinyOrchestraStop', id=4261649076)¶ Turn off the synchronized tiny orchestra system
-
MusicTinyOrchestraStrings01Loop
= _AudioEvent(name='MusicTinyOrchestraStrings01Loop', id=846761783)¶ Plays the first tiny orchestra string track (Does not repeat. Does not interact with the synchronized tiny orchestra system)
-
MusicTinyOrchestraStrings01LoopStop
= _AudioEvent(name='MusicTinyOrchestraStrings01LoopStop', id=3051334784)¶ Stops active plays of the first tiny orchestra strings track
-
MusicTinyOrchestraStrings02Loop
= _AudioEvent(name='MusicTinyOrchestraStrings02Loop', id=363664914)¶ Plays the second tiny orchestra string track (Does not repeat. Does not interact with the synchronized tiny orchestra system)
-
MusicTinyOrchestraStrings02LoopStop
= _AudioEvent(name='MusicTinyOrchestraStrings02LoopStop', id=3105309531)¶ Stops active plays of the second tiny orchestra strings track
-
MusicTinyOrchestraStrings03Loop
= _AudioEvent(name='MusicTinyOrchestraStrings03Loop', id=2269081637)¶ Plays the third tiny orchestra string track (Does not repeat. Does not interact with the synchronized tiny orchestra system)
-
MusicTinyOrchestraStrings03LoopStop
= _AudioEvent(name='MusicTinyOrchestraStrings03LoopStop', id=4031668042)¶ Stops active plays of the third tiny orchestra strings track
-
MusicTinyOrchestraStringsMode1
= _AudioEvent(name='MusicTinyOrchestraStringsMode1', id=3175211494)¶ Turn on the first mode of the synchronized tiny orchestra strings channel (Requires the tiny orchestra system be initialized, and will loop until the system is turned off)
-
MusicTinyOrchestraStringsMode1Stop
= _AudioEvent(name='MusicTinyOrchestraStringsMode1Stop', id=2836526843)¶ Turn off the first mode of the synchronized tiny orchestra strings channel
-
MusicTinyOrchestraStringsMode2
= _AudioEvent(name='MusicTinyOrchestraStringsMode2', id=3175211493)¶ Turn on the second mode of the synchronized tiny orchestra strings channel (Requires the tiny orchestra system be initialized, and will loop until the system is turned off)
-
MusicTinyOrchestraStringsMode2Stop
= _AudioEvent(name='MusicTinyOrchestraStringsMode2Stop', id=3381154170)¶ Turn off the second mode of the synchronized tiny orchestra strings channel
-
MusicTinyOrchestraStringsMode3
= _AudioEvent(name='MusicTinyOrchestraStringsMode3', id=3175211492)¶ Turn on the third mode of the synchronized tiny orchestra strings channel (Requires the tiny orchestra system be initialized, and will loop until the system is turned off)
-
MusicTinyOrchestraStringsMode3Stop
= _AudioEvent(name='MusicTinyOrchestraStringsMode3Stop', id=2812380813)¶ Turn off the third mode of the synchronized tiny orchestra strings channel
-
MusicTinyOrchestraStringsStop
= _AudioEvent(name='MusicTinyOrchestraStringsStop', id=3805843413)¶ Turn off all synchronized tiny orchestra strings channels
-
SfxCubeLight
= _AudioEvent(name='SfxCubeLight', id=1237348851)¶ Plays cube light sound
-
SfxCubeLightStop
= _AudioEvent(name='SfxCubeLightStop', id=2096539976)¶ Stops active plays of cube light sound
-
SfxFiretruckTimerEnd
= _AudioEvent(name='SfxFiretruckTimerEnd', id=2490749974)¶ Plays firetruck timer end sound
-
SfxFiretruckTimerEndStop
= _AudioEvent(name='SfxFiretruckTimerEndStop', id=421166967)¶ Stops active plays of firetruck timer end sound
-
SfxFiretruckTimerStart
= _AudioEvent(name='SfxFiretruckTimerStart', id=2969457917)¶ Plays firetruck timer start sound
-
SfxFiretruckTimerStartStop
= _AudioEvent(name='SfxFiretruckTimerStartStop', id=494556302)¶ Stops active plays of firetruck timer start sound
-
SfxGameLose
= _AudioEvent(name='SfxGameLose', id=1551222965)¶ Plays game lose sound
-
SfxGameLoseStop
= _AudioEvent(name='SfxGameLoseStop', id=347471374)¶ Stops active plays of game lose sound
-
SfxGameWin
= _AudioEvent(name='SfxGameWin', id=2440620400)¶ Plays game win sound
-
SfxGameWinStop
= _AudioEvent(name='SfxGameWinStop', id=1156077641)¶ Stops active plays of game win sound
-
SfxGlobalStop
= _AudioEvent(name='SfxGlobalStop', id=2451909313)¶ Stops all playing sound effects
-
SfxHotPotatoCubeCharge
= _AudioEvent(name='SfxHotPotatoCubeCharge', id=1053690875)¶ Plays hot potato cube charge sound
-
SfxHotPotatoCubeChargeStop
= _AudioEvent(name='SfxHotPotatoCubeChargeStop', id=3280818964)¶ Stops active plays of hot potato cube charge sound
-
SfxHotPotatoCubeReady
= _AudioEvent(name='SfxHotPotatoCubeReady', id=1379908684)¶ Plays hot potato cube ready sound
-
SfxHotPotatoCubeReadyStop
= _AudioEvent(name='SfxHotPotatoCubeReadyStop', id=3293236253)¶ Stops active plays of hot potato cube ready sound
-
SfxHotPotatoPass
= _AudioEvent(name='SfxHotPotatoPass', id=17262752)¶ Plays hot potato pass sound
-
SfxHotPotatoPassStop
= _AudioEvent(name='SfxHotPotatoPassStop', id=2579746409)¶ Stops active plays of hot potato pass sound
-
SfxHotPotatoTimerEnd
= _AudioEvent(name='SfxHotPotatoTimerEnd', id=1167243172)¶ Plays hot potato timer end sound
-
SfxHotPotatoTimerEndStop
= _AudioEvent(name='SfxHotPotatoTimerEndStop', id=1930994181)¶ Stops active plays of hot potato timer end sound
-
SfxMagic8MessageReveal
= _AudioEvent(name='SfxMagic8MessageReveal', id=4071915446)¶ Plays magic fortune teller message reveal sound
-
SfxMagic8MessageRevealStop
= _AudioEvent(name='SfxMagic8MessageRevealStop', id=3951709903)¶ Stops active plays of magic fortune teller message reveal sound
-
SfxMagnetAttract
= _AudioEvent(name='SfxMagnetAttract', id=3253652261)¶ Plays magnet attract sound
-
SfxMagnetAttractStop
= _AudioEvent(name='SfxMagnetAttractStop', id=1573765534)¶ Stops active plays of magnet attrack sound
-
SfxMagnetRepel
= _AudioEvent(name='SfxMagnetRepel', id=131125164)¶ Plays magnet repel sound
-
SfxMagnetRepelStop
= _AudioEvent(name='SfxMagnetRepelStop', id=827939469)¶ Stops active plays of magnet repel sound
-
SfxPuttHoleSuccess
= _AudioEvent(name='Sfx_Putt_Hole_Success', id=3020894301)¶ Plays the putt-hole-success sound.
-
SfxPuttHoleSuccessStop
= _AudioEvent(name='Sfx_Putt_Hole_Success_Stop', id=3048074246)¶ Stops all active plays of the putt-hole-success sound.
Plays countdown sound
Stops active plays of countdown sound
Plays cube light on sound
Stops active plays of cube light on sound
Plays error sound
Stops active plays of error sound
Plays success sound
Stops active plays of success sound
Plays timer click sound
Stops active plays of timer click sound
Plays timer end sound
Stops active plays of timer end sound
Plays timer warning sound
Stop all active plays of timer warning sound
-
Sfx_Alien_Invasion_Ufo
= _AudioEvent(name='Sfx_Alien_Invasion_Ufo', id=72626837)¶ Plays alien invasion sound.
-
Sfx_Alien_Invasion_Ufo_Stop
= _AudioEvent(name='Sfx_Alien_Invasion_Ufo_Stop', id=2912905250)¶ Stops all active plays of the alien invasion sound.
-
Sfx_Brick_Bash
= _AudioEvent(name='Sfx_Brick_Bash', id=773532685)¶ Plays brick bash sound.
-
Sfx_Brick_Bash_Stop
= _AudioEvent(name='Sfx_Brick_Bash_Stop', id=1455749214)¶ Stops all active plays of the brick bash sound.
-
Sfx_Constellation_Star
= _AudioEvent(name='Sfx_Constellation_Star', id=1881919109)¶ Plays constellation star sound.
-
Sfx_Constellation_Star_Stop
= _AudioEvent(name='Sfx_Constellation_Star_Stop', id=579345806)¶ Stops all active plays of the constellation star sound.
-
Sfx_Egg_Decorating_Crack
= _AudioEvent(name='Sfx_Egg_Decorating_Crack', id=1294616912)¶ Plays egg cracking sound.
-
Sfx_Egg_Decorating_Crack_Stop
= _AudioEvent(name='Sfx_Egg_Decorating_Crack_Stop', id=3818701437)¶ Stops all active plays of the egg cracking sound.
-
Sfx_Fidget_Spinner_Loop_Play
= _AudioEvent(name='Sfx_Fidget_Spinner_Loop_Play', id=711055678)¶ Plays fidget spinner loop.
-
Sfx_Fidget_Spinner_Loop_Stop
= _AudioEvent(name='Sfx_Fidget_Spinner_Loop_Stop', id=2909245734)¶ Stops all the fidget spinned looping sound.
-
Sfx_Fidget_Spinner_Start
= _AudioEvent(name='Sfx_Fidget_Spinner_Start', id=2368469177)¶ Plays fidget spinner sound.
-
Sfx_Fidget_Spinner_Start_Stop
= _AudioEvent(name='Sfx_Fidget_Spinner_Start_Stop', id=2997419718)¶ Stops all active plays of the fidget spinner sound.
-
Sfx_Flappy_Increase
= _AudioEvent(name='Sfx_Flappy_Increase', id=3457937792)¶ Plays flappy sound.
-
Sfx_Flappy_Increase_Stop
= _AudioEvent(name='Sfx_Flappy_Increase_Stop', id=437871341)¶ Stops all active plays of the flappy sound.
-
Sfx_Morse_Code_Dash
= _AudioEvent(name='Sfx_Morse_Code_Dash', id=3631133922)¶ Plays morse code dash sound.
-
Sfx_Morse_Code_Dash_Stop
= _AudioEvent(name='Sfx_Morse_Code_Dash_Stop', id=4156175391)¶ Stops all active plays of the morse code dash sound.
-
Sfx_Morse_Code_Dot
= _AudioEvent(name='Sfx_Morse_Code_Dot', id=4212384135)¶ Plays morse code dot sound.
-
Sfx_Morse_Code_Dot_Stop
= _AudioEvent(name='Sfx_Morse_Code_Dot_Stop', id=850860868)¶ Stops all active plays of the morse code dot sound.
-
Sfx_Morse_Code_Silent
= _AudioEvent(name='Sfx_Morse_Code_Silent', id=1002265509)¶ Plays morse code silent sound.
-
Sfx_Morse_Code_Silent_Stop
= _AudioEvent(name='Sfx_Morse_Code_Silent_Stop', id=620507378)¶ Stops all active plays of the morse code silent sound.
-
Sfx_Paddle_Ball_Bounce
= _AudioEvent(name='Sfx_Paddle_Ball_Bounce', id=1845849602)¶ Plays paddle ball bounce sound.
-
Sfx_Paddle_Ball_Bounce_Stop
= _AudioEvent(name='Sfx_Paddle_Ball_Bounce_Stop', id=3192082383)¶ Stops all active plays of the paddle ball bounce sound.
-
Sfx_Pot_O_Gold_Blip_Level1
= _AudioEvent(name='Sfx_Pot_O_Gold_Blip_Level1', id=3533103863)¶ Plays the first pot of gold sound sound.
-
Sfx_Pot_O_Gold_Blip_Level1_Stop
= _AudioEvent(name='Sfx_Pot_O_Gold_Blip_Level1_Stop', id=970660780)¶ Stops all active plays of the first pot of gold blip sound.
-
Sfx_Pot_O_Gold_Blip_Level2
= _AudioEvent(name='Sfx_Pot_O_Gold_Blip_Level2', id=3533103860)¶ Plays the second pot of gold sound sound.
-
Sfx_Pot_O_Gold_Blip_Level2_Stop
= _AudioEvent(name='Sfx_Pot_O_Gold_Blip_Level2_Stop', id=3985940521)¶ Stops all active plays of the second pot of gold blip sound.
-
Sfx_Pot_O_Gold_Blip_Level3
= _AudioEvent(name='Sfx_Pot_O_Gold_Blip_Level3', id=3533103861)¶ Plays the third pot of gold sound sound.
-
Sfx_Pot_O_Gold_Blip_Level3_Stop
= _AudioEvent(name='Sfx_Pot_O_Gold_Blip_Level3_Stop', id=2482812534)¶ Stops all active plays of the third pot of gold blip sound.
-