From dd23dbcd1f89356ecb7df356a637d72cd6a2e3de Mon Sep 17 00:00:00 2001 From: jpunkt Date: Thu, 4 Nov 2021 19:38:19 +0100 Subject: [PATCH] Storyboard for Kaunas. --- pizzactrl/sb_en.py | 258 +++++++++++++++++++-------------------------- 1 file changed, 108 insertions(+), 150 deletions(-) diff --git a/pizzactrl/sb_en.py b/pizzactrl/sb_en.py index 6b0e59b..31baa24 100644 --- a/pizzactrl/sb_en.py +++ b/pizzactrl/sb_en.py @@ -7,247 +7,205 @@ STORYBOARD = [ ), storyboard.Chapter( storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('01en')), + sound=fs_names.StoryFile('IC-SIBI-01')), storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('02en')), + sound=fs_names.StoryFile('IC-SIBI-02')), storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT), - storyboard.Do(storyboard.Activity.ADVANCE_UP) # VERT02up + # storyboard.Do(storyboard.Activity.ADVANCE_UP) # VERT02up ), storyboard.Chapter( storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('03en')), - storyboard.Do(storyboard.Activity.ADVANCE_UP), # VERT02down + sound=fs_names.StoryFile('IC-SIBI-03')), + # storyboard.Do(storyboard.Activity.ADVANCE_UP), # VERT02down storyboard.Do(storyboard.Activity.LIGHT_BACK, intensity=1.0, fade=0.5), storyboard.Do(storyboard.Activity.LIGHT_LAYER, intensity=0.0, fade=0.5), storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('05en')), - storyboard.Do(storyboard.Activity.ADVANCE_UP), # VERT03 + sound=fs_names.StoryFile('IC-SIBI-05')), + # storyboard.Do(storyboard.Activity.ADVANCE_UP), # VERT03 storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('06en')), + sound=fs_names.StoryFile('IC-SIBI-06')), storyboard.Do(storyboard.Activity.LIGHT_BACK, intensity=0.0, fade=1.0), storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('07en')), + sound=fs_names.StoryFile('IC-SIBI-07')), storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT), - storyboard.Do(storyboard.Activity.ADVANCE_UP), # VERT04 + # storyboard.Do(storyboard.Activity.ADVANCE_UP), # VERT04 storyboard.Do(storyboard.Activity.LIGHT_LAYER, intensity=1.0, fade=1.0), ), storyboard.Chapter( storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('08en')), + sound=fs_names.StoryFile('IC-SIBI-08')), + # storyboard.Do(storyboard.Activity.ADVANCE_LEFT), # HOR02 + storyboard.Do(storyboard.Activity.LIGHT_BACK, + intensity=1.0, fade=0.5), + storyboard.Do(storyboard.Activity.LIGHT_LAYER, + intensity=0., fade=0.5), storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('11en')), + sound=fs_names.StoryFile('IC-SIBI-09')), storyboard.Do(storyboard.Activity.PLAY_SOUND, sound=fs_names.SFX_REC_AUDIO), storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('12en')), + sound=fs_names.StoryFile('IC-SIBI-10')), + storyboard.Do(storyboard.Activity.PLAY_SOUND, + sound=fs_names.StoryFile('IC-SIBI-11')), + storyboard.Do(storyboard.Activity.LIGHT_BACK, + intensity=0., fade=1.0), storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT), storyboard.Do(storyboard.Activity.PLAY_SOUND, sound=fs_names.SFX_REC_AUDIO), storyboard.Do(storyboard.Activity.RECORD_SOUND, filename=fs_names.REC_NAME, - duration=7.0, + duration=5.0, cache=True), storyboard.Do(storyboard.Activity.PLAY_SOUND, sound=fs_names.SFX_STOP_REC), ), storyboard.Chapter( storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('13en')), + sound=fs_names.StoryFile('IC-SIBI-12')), storyboard.Do(storyboard.Activity.PLAY_SOUND, sound=fs_names.REC_NAME), storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('14en')), - storyboard.Do(storyboard.Activity.ADVANCE_UP), # Bild 6 - storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('15en')), - storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT), - storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.SFX_REC_AUDIO), - storyboard.Do(storyboard.Activity.RECORD_SOUND, - filename=fs_names.REC_MY_IBK, - duration=60.0), - storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.SFX_STOP_REC), - storyboard.Do(storyboard.Activity.ADVANCE_UP) # Bild 7 - ), - storyboard.Chapter( - storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('16en')), - storyboard.Do(storyboard.Activity.LIGHT_BACK, - intensity=0.0), - storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT), - storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.SFX_REC_AUDIO), - storyboard.Do(storyboard.Activity.TAKE_PHOTO, - filename=fs_names.REC_PORTRAIT), - storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.SFX_SHUTTER) - ), - storyboard.Chapter( - storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('17en')), - storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT), - storyboard.Do(storyboard.Activity.ADVANCE_UP) - ), - storyboard.Chapter( - storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('18en')), - storyboard.Do(storyboard.Activity.LIGHT_BACK, - intensity=1.0, fade=2.0), - storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('19en')), - storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('20en')), - storyboard.Do(storyboard.Activity.LIGHT_BACK, - intensity=0., fade=2.0), - storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('21en')), - storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT), - storyboard.Do(storyboard.Activity.ADVANCE_UP) # Bild 9 - ), - storyboard.Chapter( + sound=fs_names.StoryFile('IC-SIBI-13')), + # storyboard.Do(storyboard.Activity.ADVANCE_UP), # VERT05 storyboard.Do(storyboard.Activity.LIGHT_LAYER, - intensity=1., fade=0.5), + intensity=1.0, fade=1.0), + storyboard.Do(storyboard.Activity.PLAY_SOUND, + sound=fs_names.StoryFile('IC-SIBI-14')), + # storyboard.Do(storyboard.Activity.ADVANCE_LEFT), # HOR03 storyboard.Do(storyboard.Activity.LIGHT_BACK, - intensity=1., fade=0.5), - storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('22en')), - storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('23en')), - storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('24en')), + intensity=1.0, fade=0.5), storyboard.Do(storyboard.Activity.LIGHT_LAYER, - intensity=0., fade=1.), + intensity=0., fade=0.5), + storyboard.Do(storyboard.Activity.PLAY_SOUND, + sound=fs_names.StoryFile('IC-SIBI-15')), storyboard.Do(storyboard.Activity.LIGHT_BACK, - intensity=0., fade=1.), + intensity=0., fade=1.0), storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('25en')), - storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT), - storyboard.Do(storyboard.Activity.ADVANCE_UP) # Bild 10 - ), - storyboard.Chapter( - storyboard.Do(storyboard.Activity.LIGHT_BACK, - intensity=1., fade=1.), - storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('26en')), - storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('27en')), - storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('28en')), - storyboard.Do(storyboard.Activity.LIGHT_BACK, - intensity=0., fade=1.), - storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('29en')), - storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT), - storyboard.Do(storyboard.Activity.ADVANCE_UP) # Bild 11 - ), - storyboard.Chapter( - storyboard.Do(storyboard.Activity.LIGHT_BACK, - intensity=1., fade=1.), - storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('30en')), - storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('31en')), - storyboard.Do(storyboard.Activity.LIGHT_BACK, - intensity=0., fade=1.), - storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('32en')), - storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT), - storyboard.Do(storyboard.Activity.ADVANCE_UP) # Bild 12 - ), - storyboard.Chapter( - storyboard.Do(storyboard.Activity.LIGHT_BACK, - intensity=1., fade=.5), - storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('33en')), - storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT), - storyboard.Do(storyboard.Activity.ADVANCE_UP) # Bild 13 + sound=fs_names.StoryFile('IC-SIBI-16')), + storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT) ), storyboard.Chapter( storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('34en')), - storyboard.Do(storyboard.Activity.LIGHT_BACK, - intensity=0., fade=1.), + sound=fs_names.StoryFile('IC-SIBI-17')), + storyboard.Do(storyboard.Activity.LIGHT_LAYER, + intensity=1.0, fade=1.0), + storyboard.Do(storyboard.Activity.PLAY_SOUND, + sound=fs_names.StoryFile('IC-SIBI-18')), + storyboard.Do(storyboard.Activity.LIGHT_LAYER, + intensity=0.0, fade=1.0), + storyboard.Do(storyboard.Activity.PLAY_SOUND, + sound=fs_names.StoryFile('IC-SIBI-19')), + storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT), + ), + storyboard.Chapter( + storyboard.Do(storyboard.Activity.PLAY_SOUND, + sound=fs_names.StoryFile('IC-SIBI-20')), + storyboard.Do(storyboard.Activity.LIGHT_LAYER, + intensity=1.0, fade=1.0), + storyboard.Do(storyboard.Activity.PLAY_SOUND, + sound=fs_names.StoryFile('IC-SIBI-21')), + storyboard.Do(storyboard.Activity.LIGHT_LAYER, + intensity=0.0, fade=1.0), + storyboard.Do(storyboard.Activity.PLAY_SOUND, + sound=fs_names.StoryFile('IC-SIBI-22')), + storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT), + ), + storyboard.Chapter( + storyboard.Do(storyboard.Activity.PLAY_SOUND, + sound=fs_names.StoryFile('IC-SIBI-23')), + storyboard.Do(storyboard.Activity.LIGHT_LAYER, + intensity=1.0, fade=1.0), + storyboard.Do(storyboard.Activity.PLAY_SOUND, + sound=fs_names.StoryFile('IC-SIBI-24')), + storyboard.Do(storyboard.Activity.LIGHT_LAYER, + intensity=0.0, fade=1.0), + storyboard.Do(storyboard.Activity.PLAY_SOUND, + sound=fs_names.StoryFile('IC-SIBI-25')), + storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT), + storyboard.Do(storyboard.Activity.LIGHT_LAYER, + intensity=1.0, fade=1.0), + ), + storyboard.Chapter( + storyboard.Do(storyboard.Activity.PLAY_SOUND, + sound=fs_names.StoryFile('IC-SIBI-26')), + storyboard.Do(storyboard.Activity.PLAY_SOUND, + sound=fs_names.StoryFile('IC-SIBI-27')), storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT), storyboard.Do(storyboard.Activity.PLAY_SOUND, sound=fs_names.SFX_REC_AUDIO), storyboard.Do(storyboard.Activity.RECORD_SOUND, filename=fs_names.REC_CITY_NAME, - duration=7.0), + duration=5.0, + cache=False), storyboard.Do(storyboard.Activity.PLAY_SOUND, sound=fs_names.SFX_STOP_REC), - storyboard.Do(storyboard.Activity.ADVANCE_UP) # Bild 14 + storyboard.Do(storyboard.Activity.LIGHT_LAYER, + intensity=0.0, fade=0.5), + storyboard.Do(storyboard.Activity.LIGHT_BACK, + intensity=1.0, fade=0.5), ), storyboard.Chapter( - storyboard.Do(storyboard.Activity.LIGHT_BACK, - intensity=1., fade=1.), storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('35en')), + sound=fs_names.StoryFile('IC-SIBI-28')), + storyboard.Do(storyboard.Activity.PLAY_SOUND, + sound=fs_names.StoryFile('IC-SIBI-29')), storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT), storyboard.Do(storyboard.Activity.PLAY_SOUND, sound=fs_names.SFX_REC_AUDIO), storyboard.Do(storyboard.Activity.RECORD_SOUND, filename=fs_names.REC_CITY_DESC, - duration=60.0), + duration=60.0, + cache=False), storyboard.Do(storyboard.Activity.PLAY_SOUND, sound=fs_names.SFX_STOP_REC), - storyboard.Do(storyboard.Activity.ADVANCE_UP) # Bild 15 ), storyboard.Chapter( storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('36en')), + sound=fs_names.StoryFile('IC-SIBI-30')), + storyboard.Do(storyboard.Activity.PLAY_SOUND, + sound=fs_names.StoryFile('IC-SIBI-31')), storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT), storyboard.Do(storyboard.Activity.PLAY_SOUND, sound=fs_names.SFX_REC_AUDIO), storyboard.Do(storyboard.Activity.RECORD_SOUND, filename=fs_names.REC_CITY_SOUND, - duration=60.0), + duration=60.0, + cache=False), storyboard.Do(storyboard.Activity.PLAY_SOUND, sound=fs_names.SFX_STOP_REC), - storyboard.Do(storyboard.Activity.LIGHT_BACK, - intensity=0., fade=1.), - storyboard.Do(storyboard.Activity.ADVANCE_UP) # Bild 16 ), storyboard.Chapter( storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('37en')), - storyboard.Do(storyboard.Activity.LIGHT_BACK, - intensity=1., fade=1.), + sound=fs_names.StoryFile('IC-SIBI-32')), storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('38en')), - storyboard.Do(storyboard.Activity.ADVANCE_UP) # Bild 17 - ), - storyboard.Chapter( + sound=fs_names.StoryFile('IC-SIBI-33')), storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('39en')), + sound=fs_names.StoryFile('IC-SIBI-34')), storyboard.Do(storyboard.Activity.LIGHT_BACK, - intensity=0., fade=1.), + intensity=0.0, fade=1.0), storyboard.Do(storyboard.Activity.WAIT_FOR_INPUT), storyboard.Do(storyboard.Activity.PLAY_SOUND, sound=fs_names.SFX_REC_AUDIO), storyboard.Do(storyboard.Activity.RECORD_VIDEO, filename=fs_names.REC_DRAW_CITY, - duration=60.0), - storyboard.Do(storyboard.Activity.TAKE_PHOTO, - filename=fs_names.REC_CITY_PHOTO), + duration=70.0), storyboard.Do(storyboard.Activity.PLAY_SOUND, sound=fs_names.SFX_STOP_REC), - - storyboard.Do(storyboard.Activity.ADVANCE_UP) # Bild 18 ), storyboard.Chapter( storyboard.Do(storyboard.Activity.LIGHT_BACK, - intensity=1., fade=1.), + intensity=1.0, fade=1.0), storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('40en')), - storyboard.Do(storyboard.Activity.ADVANCE_UP), # Bild 19 + sound=fs_names.StoryFile('IC-SIBI-35')), storyboard.Do(storyboard.Activity.PLAY_SOUND, - sound=fs_names.StoryFile('41en')), + sound=fs_names.REC_NAME), + storyboard.Do(storyboard.Activity.PLAY_SOUND, + sound=fs_names.StoryFile('IC-SIBI-36')), storyboard.Do(storyboard.Activity.LIGHT_BACK, - intensity=0., fade=2.) + intensity=0.0, fade=2.0) ) ]