mosaicode-javascript-webaudio/examples/analyser-example.mscd

119 lines
1.9 KiB
Plaintext

{
"source": "XML_CONVERTED",
"data": "DIAGRAM",
"version": "0.0.1",
"zoom": 1.0,
"language": "javascript",
"code_template": {},
"blocks": [
{
"type": "sinewave",
"id": 1,
"collapsed": false,
"x": 540.0,
"y": 130.0,
"properties": [
{
"key": "width",
"value": "640"
},
{
"key": "height",
"value": "240"
}
]
},
{
"type": "oscillator",
"id": 2,
"collapsed": false,
"x": 260.0,
"y": 30.0,
"properties": [
{
"key": "freq",
"value": "440"
},
{
"key": "type",
"value": "sine"
}
]
},
{
"type": "speaker",
"id": 3,
"collapsed": false,
"x": 550.0,
"y": 30.0,
"properties": []
},
{
"type": "range",
"id": 4,
"collapsed": false,
"x": 20.0,
"y": 30.0,
"properties": [
{
"key": "value",
"value": "200.0"
},
{
"key": "label",
"value": "Freq"
},
{
"key": "min",
"value": "200.0"
},
{
"key": "max",
"value": "2000.0"
}
]
},
{
"type": "print",
"id": 5,
"collapsed": false,
"x": 250.0,
"y": 200.0,
"properties": [
{
"key": "label",
"value": "Freq"
}
]
}
],
"connections": [
{
"from_block": 2,
"from_out": 3,
"to_block": 1,
"to_in": 0
},
{
"from_block": 2,
"from_out": 3,
"to_block": 3,
"to_in": 0
},
{
"from_block": 4,
"from_out": 0,
"to_block": 2,
"to_in": 1
},
{
"from_block": 4,
"from_out": 0,
"to_block": 5,
"to_in": 0
}
],
"comments": [],
"authors": []
}