{ "source": "JSON", "data": "BLOCK", "version": "0.0.1", "type": "javascript.delay", "language": "javascript", "extension": "webaudio", "help": "Delay", "label": "Delay", "color": "#D3C124", "group": "Sound", "codes": [ { "name": "declaration", "code": "\n// block_$id$ = Delay\nvar block_$id$ = context.createDelay();\nblock_$id$.delayTime.value = $prop[time]$;\nvar $port[input]$ = block_$id$;\nvar $port[output]$ = block_$id$;\n" } ], "properties": [ { "name": "time", "label": "Time", "type": "Float", "lower": 0, "upper": 10000, "step": 1, "value": 1 } ], "ports": [ { "conn_type": "input", "name": "input", "label": "Input", "type": "javascript.sound" }, { "conn_type": "output", "name": "output", "label": "Output", "type": "javascript.sound" } ] }