diff --git a/src/assets/instruments/guitar/electric-guitar/electric-guitar.json b/src/assets/instruments/guitar/electric-guitar/electric-guitar.json new file mode 100644 index 0000000..5748421 --- /dev/null +++ b/src/assets/instruments/guitar/electric-guitar/electric-guitar.json @@ -0,0 +1,204 @@ +{ + "metadata": { + "name": "Electric Guitar", + "description": "Synthesized electric guitar with exponential pluck envelope through a tube amp sim", + "author": "Lightningbeam", + "version": 2, + "tags": ["guitar", "electric", "amp", "pluck"] + }, + "midi_targets": [0], + "output_node": 4, + "nodes": [ + { + "id": 0, + "node_type": "MidiInput", + "name": "MIDI In", + "parameters": {}, + "position": [100.0, 150.0] + }, + { + "id": 1, + "node_type": "VoiceAllocator", + "name": "Voice Allocator", + "parameters": { + "0": 6.0 + }, + "position": [400.0, 150.0], + "template_graph": { + "metadata": { + "name": "Voice Template", + "description": "Per-voice electric guitar synth patch with stacked oscillators and sub octave", + "author": "Lightningbeam", + "version": 3, + "tags": [] + }, + "midi_targets": [0], + "output_node": 11, + "nodes": [ + { + "id": 0, + "node_type": "TemplateInput", + "name": "Template Input", + "parameters": {}, + "position": [-200.0, 0.0] + }, + { + "id": 1, + "node_type": "MidiToCV", + "name": "MIDI→CV", + "parameters": {}, + "position": [100.0, 0.0] + }, + { + "id": 2, + "node_type": "Constant", + "name": "Octave (-1)", + "parameters": { + "0": 1.0 + }, + "position": [100.0, 350.0] + }, + { + "id": 3, + "node_type": "Math", + "name": "Sub Oct V/Oct", + "parameters": { + "0": 1.0 + }, + "position": [300.0, 300.0] + }, + { + "id": 4, + "node_type": "Oscillator", + "name": "Fundamental (Triangle)", + "parameters": { + "0": 220.0, + "1": 0.4, + "2": 3.0 + }, + "position": [500.0, -200.0] + }, + { + "id": 5, + "node_type": "Oscillator", + "name": "Harmonics (Saw)", + "parameters": { + "0": 220.0, + "1": 0.18, + "2": 1.0 + }, + "position": [500.0, 0.0] + }, + { + "id": 6, + "node_type": "Oscillator", + "name": "Sub (-1 oct, Sine)", + "parameters": { + "0": 110.0, + "1": 0.35, + "2": 0.0 + }, + "position": [500.0, 200.0] + }, + { + "id": 7, + "node_type": "Mixer", + "name": "Osc Mix", + "parameters": { + "0": 1.0, + "1": 1.0, + "2": 1.0 + }, + "position": [800.0, 0.0] + }, + { + "id": 8, + "node_type": "ADSR", + "name": "Pluck Env", + "parameters": { + "0": 0.002, + "1": 4.7, + "2": 0.0, + "3": 0.3, + "4": 1.0 + }, + "position": [500.0, 450.0] + }, + { + "id": 9, + "node_type": "Gain", + "name": "VCA", + "parameters": { + "0": 1.0 + }, + "position": [1100.0, 0.0] + }, + { + "id": 10, + "node_type": "Gain", + "name": "Drive", + "parameters": { + "0": 1.4 + }, + "position": [1100.0, 200.0] + }, + { + "id": 11, + "node_type": "TemplateOutput", + "name": "Template Output", + "parameters": {}, + "position": [1400.0, 0.0] + } + ], + "connections": [ + { "from_node": 0, "from_port": 0, "to_node": 1, "to_port": 0 }, + { "from_node": 1, "from_port": 0, "to_node": 4, "to_port": 0 }, + { "from_node": 1, "from_port": 0, "to_node": 5, "to_port": 0 }, + { "from_node": 1, "from_port": 0, "to_node": 3, "to_port": 0 }, + { "from_node": 2, "from_port": 0, "to_node": 3, "to_port": 1 }, + { "from_node": 3, "from_port": 0, "to_node": 6, "to_port": 0 }, + { "from_node": 1, "from_port": 1, "to_node": 8, "to_port": 0 }, + { "from_node": 4, "from_port": 0, "to_node": 7, "to_port": 0 }, + { "from_node": 5, "from_port": 0, "to_node": 7, "to_port": 1 }, + { "from_node": 6, "from_port": 0, "to_node": 7, "to_port": 2 }, + { "from_node": 7, "from_port": 0, "to_node": 9, "to_port": 0 }, + { "from_node": 8, "from_port": 0, "to_node": 9, "to_port": 1 }, + { "from_node": 9, "from_port": 0, "to_node": 10, "to_port": 0 }, + { "from_node": 10, "from_port": 0, "to_node": 11, "to_port": 0 } + ] + } + }, + { + "id": 2, + "node_type": "AmpSim", + "name": "Tube Amp", + "parameters": {}, + "position": [700.0, 150.0], + "nam_model_path": "bundled:BossSD1" + }, + { + "id": 3, + "node_type": "Reverb", + "name": "Room", + "parameters": { + "0": 0.8, + "1": 0.4, + "2": 0.5 + }, + "position": [1000.0, 150.0] + }, + { + "id": 4, + "node_type": "AudioOutput", + "name": "Out", + "parameters": {}, + "position": [1300.0, 150.0] + } + ], + "connections": [ + { "from_node": 0, "from_port": 0, "to_node": 1, "to_port": 0 }, + { "from_node": 1, "from_port": 0, "to_node": 2, "to_port": 0 }, + { "from_node": 2, "from_port": 0, "to_node": 3, "to_port": 0 }, + { "from_node": 3, "from_port": 0, "to_node": 4, "to_port": 0 } + ] +}