{ "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"} ] }