Spaces:
Running
Running
File size: 5,768 Bytes
6a8e57e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | {
"schema_version": "2",
"name": "tiny-voca — speak & compare",
"references": [
{
"id": "ref_text",
"label": "Text",
"role": "reference",
"asset_type": "text",
"inputs": [{"id": "in", "label": "Text", "type": "text"}],
"outputs": [{"id": "out", "label": "Text", "type": "text"}],
"x": 40,
"y": 40,
"width": 340,
"height": 140,
"data": {"out": "Hello! This is tiny voca, a small text to speech model that runs on a phone or in a browser."}
},
{
"id": "ref_voice",
"label": "Voice (F2 or M2)",
"role": "reference",
"asset_type": "text",
"inputs": [{"id": "in", "label": "Text", "type": "text"}],
"outputs": [{"id": "out", "label": "Text", "type": "text"}],
"x": 40,
"y": 210,
"width": 150,
"height": 90,
"data": {"out": "F2"}
},
{
"id": "ref_speed",
"label": "Speed",
"role": "reference",
"asset_type": "text",
"inputs": [{"id": "in", "label": "Text", "type": "text"}],
"outputs": [{"id": "out", "label": "Text", "type": "text"}],
"x": 210,
"y": 210,
"width": 130,
"height": 90,
"data": {"out": "1.0"}
},
{
"id": "ref_pitch_shift",
"label": "Pitch shift (log F0)",
"role": "reference",
"asset_type": "text",
"inputs": [{"id": "in", "label": "Text", "type": "text"}],
"outputs": [{"id": "out", "label": "Text", "type": "text"}],
"x": 40,
"y": 320,
"width": 150,
"height": 90,
"data": {"out": "0.0"}
},
{
"id": "ref_pitch_range",
"label": "Pitch range",
"role": "reference",
"asset_type": "text",
"inputs": [{"id": "in", "label": "Text", "type": "text"}],
"outputs": [{"id": "out", "label": "Text", "type": "text"}],
"x": 210,
"y": 320,
"width": 130,
"height": 90,
"data": {"out": "1.0"}
}
],
"operators": [
{
"id": "op_speak",
"label": "Voca Speak",
"role": "operator",
"kind": "fn",
"fn": "voca_speak",
"inputs": [
{"id": "text", "label": "Text", "type": "text", "required": true},
{"id": "voice", "label": "Voice", "type": "text"},
{"id": "speed", "label": "Speed", "type": "text"},
{"id": "pitch_shift", "label": "Pitch shift", "type": "text"},
{"id": "pitch_range", "label": "Pitch range", "type": "text"}
],
"outputs": [{"id": "out_0", "label": "Speech", "type": "audio", "output_index": 0}],
"x": 460,
"y": 90,
"width": 230,
"height": 170,
"data": {}
},
{
"id": "op_compare",
"label": "Voca Compare (both voices)",
"role": "operator",
"kind": "fn",
"fn": "voca_compare",
"inputs": [
{"id": "text", "label": "Text", "type": "text", "required": true},
{"id": "speed", "label": "Speed", "type": "text"}
],
"outputs": [
{"id": "out_0", "label": "F2 (female)", "type": "audio", "output_index": 0},
{"id": "out_1", "label": "M2 (male)", "type": "audio", "output_index": 1}
],
"x": 460,
"y": 380,
"width": 240,
"height": 150,
"data": {}
}
],
"subjects": [
{
"id": "sub_speech",
"label": "Speech",
"role": "subject",
"asset_type": "audio",
"inputs": [{"id": "in", "label": "Audio", "type": "audio"}],
"outputs": [{"id": "out", "label": "Audio", "type": "audio"}],
"x": 780,
"y": 90,
"width": 230,
"height": 110,
"data": {}
},
{
"id": "sub_f2",
"label": "F2 Speech",
"role": "subject",
"asset_type": "audio",
"inputs": [{"id": "in", "label": "Audio", "type": "audio"}],
"outputs": [{"id": "out", "label": "Audio", "type": "audio"}],
"x": 780,
"y": 350,
"width": 230,
"height": 110,
"data": {}
},
{
"id": "sub_m2",
"label": "M2 Speech",
"role": "subject",
"asset_type": "audio",
"inputs": [{"id": "in", "label": "Audio", "type": "audio"}],
"outputs": [{"id": "out", "label": "Audio", "type": "audio"}],
"x": 780,
"y": 490,
"width": 230,
"height": 110,
"data": {}
}
],
"edges": [
{"id": "e_text", "from_node_id": "ref_text", "from_port_id": "out", "to_node_id": "op_speak", "to_port_id": "text", "type": "text"},
{"id": "e_voice", "from_node_id": "ref_voice", "from_port_id": "out", "to_node_id": "op_speak", "to_port_id": "voice", "type": "text"},
{"id": "e_speed", "from_node_id": "ref_speed", "from_port_id": "out", "to_node_id": "op_speak", "to_port_id": "speed", "type": "text"},
{"id": "e_pitch_shift", "from_node_id": "ref_pitch_shift", "from_port_id": "out", "to_node_id": "op_speak", "to_port_id": "pitch_shift", "type": "text"},
{"id": "e_pitch_range", "from_node_id": "ref_pitch_range", "from_port_id": "out", "to_node_id": "op_speak", "to_port_id": "pitch_range", "type": "text"},
{"id": "e_out", "from_node_id": "op_speak", "from_port_id": "out_0", "to_node_id": "sub_speech", "to_port_id": "in", "type": "audio"},
{"id": "e_text_2", "from_node_id": "ref_text", "from_port_id": "out", "to_node_id": "op_compare", "to_port_id": "text", "type": "text"},
{"id": "e_speed_2", "from_node_id": "ref_speed", "from_port_id": "out", "to_node_id": "op_compare", "to_port_id": "speed", "type": "text"},
{"id": "e_f2", "from_node_id": "op_compare", "from_port_id": "out_0", "to_node_id": "sub_f2", "to_port_id": "in", "type": "audio"},
{"id": "e_m2", "from_node_id": "op_compare", "from_port_id": "out_1", "to_node_id": "sub_m2", "to_port_id": "in", "type": "audio"}
]
}
|