Skip to content

Instantly share code, notes, and snippets.

@forresto
Last active December 23, 2024 18:18
Show Gist options
  • Save forresto/52832b3b34f76eb0dbbabfea3f692369 to your computer and use it in GitHub Desktop.
Save forresto/52832b3b34f76eb0dbbabfea3f692369 to your computer and use it in GitHub Desktop.
{
"info": {
"title": "microphone audio in demo",
"author": "forresto",
"description": "combining again",
"url": "mic-cam-twist-copy",
"parents": [
"https://gist.github.com/forresto/43346efc3436e849bf77f4e681a1bfcb",
"https://gist.github.com/forresto/52832b3b34f76eb0dbbabfea3f692369"
]
},
"nodes": [
{
"id": 0,
"src": "meemoo:audio/mic",
"x": 176,
"y": 248,
"w": 200,
"h": 210,
"state": {}
},
{
"id": 2,
"src": "meemoo:image/circle",
"x": 660,
"y": 91,
"w": 113,
"h": 135,
"state": {
"x": 250,
"y": 250,
"r": "=x*500",
"fill": "black",
"strokewidth": 1
}
},
{
"id": 3,
"src": "meemoo:image/circle",
"x": 924,
"y": 91,
"w": 102,
"h": 128,
"state": {
"x": 250,
"y": 250,
"r": "=x*500",
"fill": "black",
"strokewidth": 1
}
},
{
"id": 4,
"src": "meemoo:image/circle",
"x": 1174,
"y": 98,
"w": 92,
"h": 131,
"state": {
"x": 250,
"y": 250,
"r": "=x*500",
"fill": "black",
"strokewidth": 1
}
},
{
"id": 5,
"src": "meemoo:image/cam",
"x": 188,
"y": 526,
"w": 251,
"h": 326,
"state": {
"width": 500,
"height": 500,
"fps": 30
}
},
{
"id": 6,
"src": "meemoo:image/transform",
"x": 746,
"y": 434,
"w": 518,
"h": 531,
"state": {
"width": 500,
"height": 500,
"scale": "=1+x*0.1",
"translateX": 0,
"translateY": 0,
"rotate": "=x*0.05",
"composite": "darken",
"smoothing": "true"
}
},
{
"id": 7,
"src": "meemoo:ui/button",
"x": 153,
"y": 82,
"w": 221,
"h": 71,
"state": {
"label": "start cam and mic"
}
}
],
"edges": [
{
"source": [
0,
"low"
],
"target": [
2,
"r"
]
},
{
"source": [
0,
"mid"
],
"target": [
3,
"r"
]
},
{
"source": [
0,
"high"
],
"target": [
4,
"r"
]
},
{
"source": [
5,
"stream"
],
"target": [
6,
"background"
]
},
{
"source": [
0,
"mid"
],
"target": [
6,
"rotate"
]
},
{
"source": [
5,
"stream"
],
"target": [
6,
"image"
]
},
{
"source": [
7,
"bang"
],
"target": [
0,
"start"
]
},
{
"source": [
7,
"bang"
],
"target": [
5,
"start"
]
},
{
"source": [
0,
"high"
],
"target": [
6,
"scale"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment