|
@@ -21,6 +21,7 @@ |
21 |
21 |
|
], |
22 |
22 |
|
"defaultValue": { |
23 |
23 |
|
"layer": 0, |
|
24 |
+ |
"loop": 1, |
24 |
25 |
|
"music": { |
25 |
26 |
|
"volume": 100, |
26 |
27 |
|
"playbackRate": 100 |
|
@@ -34,7 +35,8 @@ |
34 |
35 |
|
"start": 10, |
35 |
36 |
|
"end": 20 |
36 |
37 |
|
}, |
37 |
|
- |
"playType": 0 |
|
38 |
+ |
"playType": 0, |
|
39 |
+ |
"waitForCompletion": 0 |
38 |
40 |
|
}, |
39 |
41 |
|
"quickItems": [ |
40 |
42 |
|
{ |
|
@@ -85,6 +87,16 @@ |
85 |
87 |
|
"minimum": 0, |
86 |
88 |
|
"maximum": 999999999, |
87 |
89 |
|
"type": "GSQStepper" |
|
90 |
+ |
}, |
|
91 |
+ |
{ |
|
92 |
+ |
"type": "GSQPopupField", |
|
93 |
+ |
"attribute": "waitForCompletion", |
|
94 |
+ |
"identifier": "waitForCompletion", |
|
95 |
+ |
"dataSource": [ |
|
96 |
+ |
"$$2EA7A7BF12D3404F62094CA6644784A9FC40", |
|
97 |
+ |
"$$97A5E676K2351A43FCSB0DFEBB5CF7A73243" |
|
98 |
+ |
], |
|
99 |
+ |
"valueFormula": "return (p.waitForCompletion ? lcs('97A5E676K2351A43FCSB0DFEBB5CF7A73243') : lcs('2EA7A7BF12D3404F62094CA6644784A9FC40'))" |
88 |
100 |
|
} |
89 |
101 |
|
], |
90 |
102 |
|
"expandedView": { |
|
@@ -97,6 +109,16 @@ |
97 |
109 |
|
{ |
98 |
110 |
|
"items": [ |
99 |
111 |
|
{ |
|
112 |
+ |
"label": "$$ED7B5BF9KDE84A4CE8S9308E872A21F2D766", |
|
113 |
+ |
"valueFormula": "return GS.CONST.YES_NO[p.loop]", |
|
114 |
+ |
"attribute": "loop", |
|
115 |
+ |
"type": "GSQCheckBox" |
|
116 |
+ |
} |
|
117 |
+ |
] |
|
118 |
+ |
}, |
|
119 |
+ |
{ |
|
120 |
+ |
"items": [ |
|
121 |
+ |
{ |
100 |
122 |
|
"label": "$$272673AEKE288A48D0SB8D7EEFF528276A59", |
101 |
123 |
|
"variableButton": { |
102 |
124 |
|
"dataSource": "numbers" |
|
@@ -166,7 +188,7 @@ |
166 |
188 |
|
] |
167 |
189 |
|
}, |
168 |
190 |
|
"sections": [], |
169 |
|
- |
"rawContent": "{\n \"windowTitle\": \"$$EEA25494K169FA4A27S878CE9CDED783DF23\",\n \"type\": \"event_command\",\n \"id\": \"gs.PlayMusic\",\n \"displayName\": \"$$EEA25494K169FA4A27S878CE9CDED783DF23\",\n \"group\": \"$$42B163D5K15C1A4737SA896EB7D0DDAA19AC\",\n \"subGroup\": \"$$P136\",\n \"color\": \"purple\",\n \"windowSize\": {\n \"w\": 400\n },\n \"nodes\": [\n {\n \"name\": \"return fmt(lcs('48DF9A16K231AA4C6DSBD10E22EC33B79F55')+' [%s]%s', isVar(p.music) ? fmtStrVar(p.music) : p.music.name || lcs('P9'), !p.fadeInDuration ? '' : ', '+fmtNumVar(p.fadeInDuration)+'f')\",\n \"id\": \"gs.PlayMusic\"\n }\n ],\n \"defaultValue\": { \"layer\": 0, \"music\": { \"volume\": 100, \"playbackRate\": 100 }, \"fadeInDuration\": 0, \"playTime\": { \"min\": 10, \"max\": 30 }, \"playRange\": { \"start\": 10, \"end\": 20 }, \"playType\": 0 },\n \"quickItems\": [\n {\n \"label\": \"$$P61\",\n \"valueFormula\": \"return fmtResource(p.music);\",\n \"variableButton\": { \"dataSource\": \"strings\" },\n \"attribute\": \"music\",\n \"type\": \"GSQPopupField\",\n \"dialog\": { \"uid\": \"dialog.selectAudioResource\", \"parameters\": { \"folder\": \"Audio/Music\" } },\n \"icon\": { \"name\": \"listen-01\" }\n },\n {\n \"label\": \"$$P141\",\n \"lockable\": true,\n \"valueFormula\": \"return p.music.volume + '%';\",\n \"attribute\": \"music.volume\",\n \"minimum\": 0,\n \"maximum\": 100,\n \"type\": \"GSQSlider\"\n },\n {\n \"label\": \"$$P142\",\n \"lockable\": true,\n \"valueFormula\": \"return p.music.playbackRate + '%';\",\n \"attribute\": \"music.playbackRate\",\n \"minimum\": 50,\n \"maximum\": 150,\n \"type\": \"GSQSlider\"\n },\n GSQ.CONTROLS.AUDIO_FADE_IN\n ],\n \"expandedView\": {\n \"columns\": [\n {\n \"sections\": [\n {\n \"label\": \"$$9FEB895376A9F34CF86B5494DBD692B58693\",\n \"rows\": [\n {\n \"items\": [\n GSQ.CONTROLS.AUDIO_LAYER,\n {\n \"type\": \"GSQPopupField\",\n \"label\": \"$$2D13E13B48733748922BE0661BEA7C56969D\",\n \"dataSource\": GS.CONST.AUDIO_PLAY_TYPES,\n \"attribute\": \"playType\",\n \"valueFormula\": \"return GS.CONST.AUDIO_PLAY_TYPES[p.playType]\", \n \"showItems\": [[], [\"playTime.min\",\"playTime.max\", \"playRange.start\", \"playRange.end\"]]\n },\n {\n \"type\": \"GSQStepper\",\n \"label\": \"$$B413DADC4A5BF849644A4C12EF5E85E4FEE8\",\n \"attribute\": \"playTime.min\",\n \"valueFormula\": \"return p.playTime.min + 's'\",\n \"minimum\": 0,\n \"maximum\": GS.CONST.MAX_NUMBER_VALUE\n },\n {\n \"type\": \"GSQStepper\",\n \"label\": \"$$A656990A40DCB745BA199F53B74826F4B323\",\n \"attribute\": \"playTime.max\",\n \"valueFormula\": \"return p.playTime.max + 's'\",\n \"minimum\": 0,\n \"maximum\": GS.CONST.MAX_NUMBER_VALUE\n },\n {\n \"type\": \"GSQStepper\",\n \"label\": \"$$533692415AAF7749C76B0788EDCF407D5A18\",\n \"attribute\": \"playRange.start\",\n \"valueFormula\": \"return p.playRange.start + 's'\",\n \"minimum\": 0,\n \"maximum\": GS.CONST.MAX_NUMBER_VALUE\n },\n {\n \"type\": \"GSQStepper\",\n \"label\": \"$$0BB08C7B26984045683905F29CEE9D90D4A7\",\n \"attribute\": \"playRange.end\",\n \"valueFormula\": \"return p.playRange.end + 's'\",\n \"minimum\": 0,\n \"maximum\": GS.CONST.MAX_NUMBER_VALUE\n }\n ]\n }\n ]\n } \n ]\n }\n ]\n \n },\n \"sections\": [\n ]\n}", |
|
191 |
+ |
"rawContent": "{\n \"windowTitle\": \"$$EEA25494K169FA4A27S878CE9CDED783DF23\",\n \"type\": \"event_command\",\n \"id\": \"gs.PlayMusic\",\n \"displayName\": \"$$EEA25494K169FA4A27S878CE9CDED783DF23\",\n \"group\": \"$$42B163D5K15C1A4737SA896EB7D0DDAA19AC\",\n \"subGroup\": \"$$P136\",\n \"color\": \"purple\",\n \"windowSize\": {\n \"w\": 400\n },\n \"nodes\": [\n {\n \"name\": \"return fmt(lcs('48DF9A16K231AA4C6DSBD10E22EC33B79F55')+' [%s]%s', isVar(p.music) ? fmtStrVar(p.music) : p.music.name || lcs('P9'), !p.fadeInDuration ? '' : ', '+fmtNumVar(p.fadeInDuration)+'f')\",\n \"id\": \"gs.PlayMusic\"\n }\n ],\n \"defaultValue\": { \"layer\": 0, \"loop\": 1, \"music\": { \"volume\": 100, \"playbackRate\": 100 }, \"fadeInDuration\": 0, \"playTime\": { \"min\": 10, \"max\": 30 }, \"playRange\": { \"start\": 10, \"end\": 20 }, \"playType\": 0, \"waitForCompletion\": 0 },\n \"quickItems\": [\n {\n \"label\": \"$$P61\",\n \"valueFormula\": \"return fmtResource(p.music);\",\n \"variableButton\": { \"dataSource\": \"strings\" },\n \"attribute\": \"music\",\n \"type\": \"GSQPopupField\",\n \"dialog\": { \"uid\": \"dialog.selectAudioResource\", \"parameters\": { \"folder\": \"Audio/Music\" } },\n \"icon\": { \"name\": \"listen-01\" }\n },\n {\n \"label\": \"$$P141\",\n \"lockable\": true,\n \"valueFormula\": \"return p.music.volume + '%';\",\n \"attribute\": \"music.volume\",\n \"minimum\": 0,\n \"maximum\": 100,\n \"type\": \"GSQSlider\"\n },\n {\n \"label\": \"$$P142\",\n \"lockable\": true,\n \"valueFormula\": \"return p.music.playbackRate + '%';\",\n \"attribute\": \"music.playbackRate\",\n \"minimum\": 50,\n \"maximum\": 150,\n \"type\": \"GSQSlider\"\n },\n GSQ.CONTROLS.AUDIO_FADE_IN,\n GSQ.CONTROLS.WAIT_FOR_COMPLETION\n ],\n \"expandedView\": {\n \"columns\": [\n {\n \"sections\": [\n {\n \"label\": \"$$9FEB895376A9F34CF86B5494DBD692B58693\",\n \"rows\": [\n {\n \"items\": [\n {\n \"label\": \"$$ED7B5BF9KDE84A4CE8S9308E872A21F2D766\",\n \"valueFormula\": \"return GS.CONST.YES_NO[p.loop]\",\n \"attribute\": \"loop\",\n \"type\": \"GSQCheckBox\"\n }\n ]\n },\n {\n \"items\": [\n GSQ.CONTROLS.AUDIO_LAYER,\n {\n \"type\": \"GSQPopupField\",\n \"label\": \"$$2D13E13B48733748922BE0661BEA7C56969D\",\n \"dataSource\": GS.CONST.AUDIO_PLAY_TYPES,\n \"attribute\": \"playType\",\n \"valueFormula\": \"return GS.CONST.AUDIO_PLAY_TYPES[p.playType]\", \n \"showItems\": [[], [\"playTime.min\",\"playTime.max\", \"playRange.start\", \"playRange.end\"]]\n },\n {\n \"type\": \"GSQStepper\",\n \"label\": \"$$B413DADC4A5BF849644A4C12EF5E85E4FEE8\",\n \"attribute\": \"playTime.min\",\n \"valueFormula\": \"return p.playTime.min + 's'\",\n \"minimum\": 0,\n \"maximum\": GS.CONST.MAX_NUMBER_VALUE\n },\n {\n \"type\": \"GSQStepper\",\n \"label\": \"$$A656990A40DCB745BA199F53B74826F4B323\",\n \"attribute\": \"playTime.max\",\n \"valueFormula\": \"return p.playTime.max + 's'\",\n \"minimum\": 0,\n \"maximum\": GS.CONST.MAX_NUMBER_VALUE\n },\n {\n \"type\": \"GSQStepper\",\n \"label\": \"$$533692415AAF7749C76B0788EDCF407D5A18\",\n \"attribute\": \"playRange.start\",\n \"valueFormula\": \"return p.playRange.start + 's'\",\n \"minimum\": 0,\n \"maximum\": GS.CONST.MAX_NUMBER_VALUE\n },\n {\n \"type\": \"GSQStepper\",\n \"label\": \"$$0BB08C7B26984045683905F29CEE9D90D4A7\",\n \"attribute\": \"playRange.end\",\n \"valueFormula\": \"return p.playRange.end + 's'\",\n \"minimum\": 0,\n \"maximum\": GS.CONST.MAX_NUMBER_VALUE\n }\n ]\n }\n ]\n } \n ]\n }\n ]\n \n },\n \"sections\": [\n ]\n}", |
170 |
192 |
|
"name": "Play Music", |
171 |
193 |
|
"parentId": "4F83188DK2895A4449SBAF7E09712D75291C", |
172 |
194 |
|
"order": 0 |