Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <patch-1.0>
- <obj type="gpio/spi/config" sha="62af644b09e7f654b36d66533da8ea5971ddb351" uuid="d3e75d8a02e2ccabbbc2af3bc2fcdb8ea65a6133" name="config_1" x="56" y="0">
- <params/>
- <attribs>
- <combo attributeName="clock_polarity" selection="CPOL=0"/>
- <combo attributeName="clock_phase" selection="CPHA=0"/>
- <combo attributeName="baudrate" selection="FPCLK/64"/>
- <combo attributeName="format" selection="LSB first"/>
- </attribs>
- </obj>
- <obj type="script/script2" sha="362a4413ceaefbe716480bf8f9c62eb3587fe6c0" uuid="d39e743cf47c9221f4e99c133430148cf74c68c5" name="script2_1" x="196" y="0">
- <params/>
- <attribs>
- <text attributeName="script">
- <sText><![CDATA[uint8_t *txbuf;
- uint8_t *rxbuf;
- int pin = 0;
- void setup(void){
- static uint8_t _txbuf[8] __attribute__ ((section (".sram2")));
- static uint8_t _rxbuf[8] __attribute__ ((section (".sram2")));
- txbuf = _txbuf;
- rxbuf = _rxbuf;
- palSetPadMode(GPIOA,2,PAL_MODE_OUTPUT_PUSHPULL);
- palWritePad(GPIOA,2,1);
- palSetPadMode(GPIOA,3,PAL_MODE_OUTPUT_PUSHPULL);
- palWritePad(GPIOA,3,1);
- }
- void loop(void){
- txbuf[2] = 0b00000000;
- for(int pin=0; pin<8; pin++){
- txbuf[0] = pin < 4 ? 0b01100000 : 0b11100000;
- if (pin % 4 == 0) { // pin == 0 || pin == 4
- txbuf[1] = 0b00000000;
- } else if (pin % 4 == 1) { // pin == 1 || pin == 5
- txbuf[1] = 0b00000010;
- } else if (pin % 4 == 2) { // pin == 2 || pin == 6
- txbuf[1] = 0b00000001;
- } else {
- txbuf[1] = 0b00000011;
- }
- palWritePad(GPIOA,3,0);
- spiSelect(&SPID1); // START SPI
- spiSend(&SPID1,3,txbuf);
- spiReceive(&SPID1,3,rxbuf);
- spiUnselect(&SPID1);
- palWritePad(GPIOA,3,1);
- int z = (rxbuf[1] << 8| rxbuf[0]) << 16;
- if (pin == 0){
- PExParameterChange(&parent->PExch[PARAM_INDEX_cv0_value],z,0xFFFD);
- }
- else if (pin == 1){
- PExParameterChange(&parent->PExch[PARAM_INDEX_cv1_value],z,0xFFFD);
- }
- else if (pin == 2){
- PExParameterChange(&parent->PExch[PARAM_INDEX_cv2_value],z,0xFFFD);
- }
- else if (pin == 3){
- PExParameterChange(&parent->PExch[PARAM_INDEX_cv3_value],z,0xFFFD);
- }
- else if (pin == 4){
- PExParameterChange(&parent->PExch[PARAM_INDEX_cv4_value],z,0xFFFD);
- }
- else if (pin == 5){
- PExParameterChange(&parent->PExch[PARAM_INDEX_cv5_value],z,0xFFFD);
- }
- else if (pin == 6){
- PExParameterChange(&parent->PExch[PARAM_INDEX_cv6_value],z,0xFFFD);
- }
- else if (pin == 7){
- PExParameterChange(&parent->PExch[PARAM_INDEX_cv7_value],z,0xFFFD);
- }
- chThdSleepMilliseconds(1);
- }
- txbuf[2] = 0b00000000;
- for(int pin=0; pin<8; pin++){
- txbuf[0] = pin < 4 ? 0b01100000 : 0b11100000;
- if (pin % 4 == 0) { // pin == 0 || pin == 4
- txbuf[1] = 0b00000000;
- } else if (pin % 4 == 1) { // pin == 1 || pin == 5
- txbuf[1] = 0b00000010;
- } else if (pin % 4 == 2) { // pin == 2 || pin == 6
- txbuf[1] = 0b00000001;
- } else {
- txbuf[1] = 0b00000011;
- }
- palWritePad(GPIOA,2,0);
- spiSelect(&SPID1); // START SPI
- spiSend(&SPID1,3,txbuf);
- spiReceive(&SPID1,3,rxbuf);
- spiUnselect(&SPID1);
- palWritePad(GPIOA,2,1);
- int z = 0x07FFFFFF - ((rxbuf[1] << 8| rxbuf[0]) << 16);
- if (pin == 0){
- PExParameterChange(&parent->PExch[PARAM_INDEX_p0_value],z,0xFFFD);
- }
- else if (pin == 1){
- PExParameterChange(&parent->PExch[PARAM_INDEX_p1_value],z,0xFFFD);
- }
- else if (pin == 2){
- PExParameterChange(&parent->PExch[PARAM_INDEX_p2_value],z,0xFFFD);
- }
- else if (pin == 3){
- PExParameterChange(&parent->PExch[PARAM_INDEX_p3_value],z,0xFFFD);
- }
- else if (pin == 4){
- PExParameterChange(&parent->PExch[PARAM_INDEX_p4_value],z,0xFFFD);
- }
- else if (pin == 5){
- PExParameterChange(&parent->PExch[PARAM_INDEX_p5_value],z,0xFFFD);
- }
- else if (pin == 6){
- PExParameterChange(&parent->PExch[PARAM_INDEX_p6_value],z,0xFFFD);
- }
- else if (pin == 7){
- PExParameterChange(&parent->PExch[PARAM_INDEX_p7_value],(z),0xFFFD);
- }
- chThdSleepMilliseconds(1);
- }
- }]]></sText>
- </text>
- </attribs>
- </obj>
- <comment type="patch/comment" x="56" y="112" text="PA5 = SCK"/>
- <comment type="patch/comment" x="294" y="112" text="PA5 = SCK"/>
- <comment type="patch/comment" x="56" y="126" text="PA6 = MISO"/>
- <comment type="patch/comment" x="294" y="126" text="PA6 = MISO"/>
- <comment type="patch/comment" x="56" y="140" text="PA7 = MOSI"/>
- <comment type="patch/comment" x="294" y="140" text="PA7 = MOSI"/>
- <comment type="patch/comment" x="56" y="154" text="PA4 = NSS"/>
- <comment type="patch/comment" x="294" y="154" text="PA4 = NSS"/>
- <obj type="ctrl/dial p" sha="1f21216639bb798a4ea7902940999a5bcfd0de90" name="p0" x="294" y="168">
- <params>
- <frac32.u.map name="value" value="32.15624952316284"/>
- </params>
- <attribs/>
- </obj>
- <obj type="ctrl/dial p" sha="1f21216639bb798a4ea7902940999a5bcfd0de90" name="p4" x="406" y="168">
- <params>
- <frac32.u.map name="value" value="32.03124952316284"/>
- </params>
- <attribs/>
- </obj>
- <obj type="ctrl/dial p" sha="1f21216639bb798a4ea7902940999a5bcfd0de90" name="cv4" x="56" y="182">
- <params>
- <frac32.u.map name="value" value="46.09375"/>
- </params>
- <attribs/>
- </obj>
- <obj type="ctrl/dial p" sha="1f21216639bb798a4ea7902940999a5bcfd0de90" name="p1" x="294" y="252">
- <params>
- <frac32.u.map name="value" value="32.09374952316284"/>
- </params>
- <attribs/>
- </obj>
- <obj type="ctrl/dial p" sha="1f21216639bb798a4ea7902940999a5bcfd0de90" name="p5" x="406" y="252">
- <params>
- <frac32.u.map name="value" value="32.12499952316284"/>
- </params>
- <attribs/>
- </obj>
- <obj type="ctrl/dial p" sha="1f21216639bb798a4ea7902940999a5bcfd0de90" name="cv6" x="56" y="266">
- <params>
- <frac32.u.map name="value" value="37.40625"/>
- </params>
- <attribs/>
- </obj>
- <obj type="ctrl/dial p" sha="1f21216639bb798a4ea7902940999a5bcfd0de90" name="cv7" x="56" y="350">
- <params>
- <frac32.u.map name="value" value="63.9375"/>
- </params>
- <attribs/>
- </obj>
- <obj type="euxo/gate" sha="7ba08a06ed1ecb39567238f4290a90c1b0e51f6b" uuid="41c2b366ce6a8906e2a535492e105bbbabbb943b" name="gate_1" x="756" y="476">
- <params/>
- <attribs/>
- </obj>
- <obj type="euxo/button-led" sha="f009e129636c60676b92d441e0199c6d4a61a0a3" uuid="88d2151461aa28402c82fe2802243d8a9d924860" name="button-led_1" x="854" y="476">
- <params/>
- <attribs/>
- </obj>
- <obj type="ctrl/dial p" sha="1f21216639bb798a4ea7902940999a5bcfd0de90" name="p2" x="1050" y="602">
- <params>
- <frac32.u.map name="value" value="21.718749523162842"/>
- </params>
- <attribs/>
- </obj>
- <obj type="conv/unipolar2bipolar" sha="5f55b7ee58828996387d37c5431384eb14c9dd16" uuid="efc8ee28c508740c5edf7995eaaa07a6d6818e5e" name="unipolar2bipolar_8" x="1134" y="602">
- <params/>
- <attribs/>
- </obj>
- <obj type="patch/modsource" sha="e0ee10b85ac38b70a682a69ace823af08f4b707d" uuid="c98f018a8d204ef6df1bf7008af6fd7d20f12fe4" name="mod1" x="1288" y="602">
- <params/>
- <attribs/>
- </obj>
- <obj type="ctrl/dial p" sha="1f21216639bb798a4ea7902940999a5bcfd0de90" name="cv1" x="630" y="616">
- <params>
- <frac32.u.map name="value" value="23.4375"/>
- </params>
- <attribs/>
- </obj>
- <obj type="conv/unipolar2bipolar" sha="5f55b7ee58828996387d37c5431384eb14c9dd16" uuid="efc8ee28c508740c5edf7995eaaa07a6d6818e5e" name="unipolar2bipolar_2" x="700" y="616">
- <params/>
- <attribs/>
- </obj>
- <obj type="ctrl/dial p" sha="1f21216639bb798a4ea7902940999a5bcfd0de90" name="p6" x="154" y="686">
- <params>
- <frac32.u.map name="value" value="32.15624952316284"/>
- </params>
- <attribs/>
- </obj>
- <obj type="logic/change" sha="31f9f39b8a82231a3534fbcf7b4dd65416f283e" uuid="42071f8cb4cfe1f35956c0bd5a313a57e049bec4" name="change_1" x="420" y="686">
- <params/>
- <attribs/>
- </obj>
- <obj type="ctrl/dial p" sha="1f21216639bb798a4ea7902940999a5bcfd0de90" name="cv0" x="630" y="700">
- <params>
- <frac32.u.map name="value" value="32.5"/>
- </params>
- <attribs/>
- </obj>
- <obj type="conv/unipolar2bipolar" sha="5f55b7ee58828996387d37c5431384eb14c9dd16" uuid="efc8ee28c508740c5edf7995eaaa07a6d6818e5e" name="unipolar2bipolar_3" x="700" y="700">
- <params/>
- <attribs/>
- </obj>
- <obj type="midi/out/cc" sha="1b744279459ce1e561d7d64d8c8c1b5eec0258bf" uuid="7ca9b2c1b4339022c491a8afd70353c17d765584" name="cc_1" x="420" y="728">
- <params/>
- <attribs>
- <combo attributeName="device" selection="usb device port 1"/>
- <spinner attributeName="channel" value="1"/>
- <spinner attributeName="cc" value="14"/>
- </attribs>
- </obj>
- <obj type="ctrl/dial p" sha="1f21216639bb798a4ea7902940999a5bcfd0de90" name="note" x="1204" y="742">
- <params>
- <frac32.u.map name="value" value="64.0"/>
- </params>
- <attribs/>
- </obj>
- <obj type="ctrl/dial p" sha="1f21216639bb798a4ea7902940999a5bcfd0de90" name="cv2" x="630" y="784">
- <params>
- <frac32.u.map name="value" value="41.8125"/>
- </params>
- <attribs/>
- </obj>
- <obj type="conv/unipolar2bipolar" sha="5f55b7ee58828996387d37c5431384eb14c9dd16" uuid="efc8ee28c508740c5edf7995eaaa07a6d6818e5e" name="unipolar2bipolar_4" x="700" y="784">
- <params/>
- <attribs/>
- </obj>
- <obj type="ctrl/dial p" sha="1f21216639bb798a4ea7902940999a5bcfd0de90" name="velo" x="1204" y="826">
- <params>
- <frac32.u.map name="value" value="64.0"/>
- </params>
- <attribs/>
- </obj>
- <obj type="conv/unipolar2bipolar" sha="5f55b7ee58828996387d37c5431384eb14c9dd16" uuid="efc8ee28c508740c5edf7995eaaa07a6d6818e5e" name="unipolar2bipolar_11" x="1316" y="826">
- <params/>
- <attribs/>
- </obj>
- <obj type="ctrl/dial p" sha="1f21216639bb798a4ea7902940999a5bcfd0de90" name="cv3" x="630" y="868">
- <params>
- <frac32.u.map name="value" value="16.125"/>
- </params>
- <attribs/>
- </obj>
- <obj type="conv/unipolar2bipolar" sha="5f55b7ee58828996387d37c5431384eb14c9dd16" uuid="efc8ee28c508740c5edf7995eaaa07a6d6818e5e" name="unipolar2bipolar_5" x="700" y="868">
- <params/>
- <attribs/>
- </obj>
- <obj type="env/adsr m" sha="1f562efbdacf6ce50c72a52bef93223b46fed8e3" uuid="98bd39fb828c392b28126d259cb5175e6f6ea34b" name="adsr_2" x="882" y="868">
- <params>
- <frac32.s.map name="a" value="0.0"/>
- <frac32.s.map name="d" value="0.0"/>
- <frac32.u.map name="s" value="0.0"/>
- <frac32.s.map name="r" value="0.0"/>
- </params>
- <attribs/>
- </obj>
- <obj type="conv/unipolar2bipolar" sha="5f55b7ee58828996387d37c5431384eb14c9dd16" uuid="efc8ee28c508740c5edf7995eaaa07a6d6818e5e" name="unipolar2bipolar_12" x="1316" y="868">
- <params/>
- <attribs/>
- </obj>
- <obj type="midi/out/note" sha="30f60759a7391e48e5c23608906d46ce3c44df8c" uuid="a76ae870da278cbbce5501a57ce7bd0e0ea4215c" name="note_1" x="1484" y="868">
- <params/>
- <attribs>
- <combo attributeName="device" selection="usb device port 1"/>
- <spinner attributeName="channel" value="1"/>
- </attribs>
- </obj>
- <obj type="ctrl/dial p" sha="1f21216639bb798a4ea7902940999a5bcfd0de90" name="p3" x="1260" y="1190">
- <params>
- <frac32.u.map name="value" value="5.062499523162842"/>
- </params>
- <attribs/>
- </obj>
- <obj type="ctrl/dial b" sha="b26f881dfa1451f0269e068eb6b3d824b43b41d3" uuid="862e7d7f29093cb1ce4aed72244d118ad4d46692" name="dial_3" x="1526" y="1232">
- <params>
- <frac32.s.map name="value" value="-5.0"/>
- </params>
- <attribs/>
- </obj>
- <obj type="conv/unipolar2bipolar" sha="5f55b7ee58828996387d37c5431384eb14c9dd16" uuid="efc8ee28c508740c5edf7995eaaa07a6d6818e5e" name="unipolar2bipolar_7" x="1596" y="1232">
- <params/>
- <attribs/>
- </obj>
- <obj type="ctrl/dial p" sha="1f21216639bb798a4ea7902940999a5bcfd0de90" name="p7" x="602" y="1288">
- <params>
- <frac32.u.map name="value" value="28.624999523162842"/>
- </params>
- <attribs/>
- </obj>
- <obj type="script/script2" sha="362a4413ceaefbe716480bf8f9c62eb3587fe6c0" uuid="d39e743cf47c9221f4e99c133430148cf74c68c5" name="script2_3" x="714" y="1288">
- <params/>
- <attribs>
- <text attributeName="script">
- <sText><![CDATA[uint8_t step = 0;
- int last_in = 0, diff = 0;
- int oct;
- uint32_t note;
- uint32_t stepSize;
- uint32_t rootNote;
- void setup(void){
- stepSize = 0x00200000;
- rootNote = 0xFFB00000;
- out2 = 0xFFB00000;
- }
- void loop(void){
- // diff = in1 > last_in ? in1 - last_in : last_in - in1;
- // if (diff > 200) {
- if (in1 <= 26869759) {
- step = in1/2239146;
- oct = 0;
- }
- else if (in1 > 26869759 && in1 < 53739519) {
- step = (in1-26869759)/2239147;
- oct = 1;
- }
- else if (in1 > 53739519 && in1 < 80543743) {
- step = (in1-53739519)/2233685;
- oct = 2;
- }
- else if (in1 > 80543743 && in1 < 107413503) {
- step = (in1-80543743)/2233685;
- oct = 3;
- }
- last_in = in1;
- out1 = rootNote + ((stepSize * step) + (oct * 0x1800000));
- out2 = rootNote + (stepSize * step) + (oct * 0x1800000);
- // }
- // chThdSleepMilliseconds(1);
- }]]></sText>
- </text>
- </attribs>
- </obj>
- <obj type="ctrl/dial p" sha="1f21216639bb798a4ea7902940999a5bcfd0de90" name="cv5" x="1246" y="1302">
- <params>
- <frac32.u.map name="value" value="33.625"/>
- </params>
- <attribs/>
- </obj>
- <patcher type="patch/patcher" sha="da39a3ee5e6b4b0d3255bfef95601890afd80709" uuid="a245c220448000c901caef03c8b07740d533914a" name="sdbenchmark_1" x="406" y="1316">
- <params/>
- <attribs/>
- <subpatch>
- <nets/>
- <settings>
- <subpatchmode>no</subpatchmode>
- </settings>
- <notes><![CDATA[]]></notes>
- </subpatch>
- </patcher>
- <obj type="math/*" sha="ec71f518aa0e133062e5a9d4828d3739865c99f" uuid="922423f2db9f222aa3e5ba095778288c446da47a" name="*_1" x="1330" y="1316">
- <params/>
- <attribs/>
- </obj>
- <obj type="math/+" sha="49587c7bc7e1813d8a9a7a9be012580af00ea274" uuid="44553fdc8628c67ab535845ed1be304ad6c9553b" name="+_1" x="1526" y="1316">
- <params/>
- <attribs/>
- </obj>
- <obj type="conv/unipolar2bipolar" sha="5f55b7ee58828996387d37c5431384eb14c9dd16" uuid="efc8ee28c508740c5edf7995eaaa07a6d6818e5e" name="unipolar2bipolar_6" x="1400" y="1330">
- <params/>
- <attribs/>
- </obj>
- <obj type="osc/square sync" sha="589b6f1d673b7fd79f9156a008d3939499d098dd" uuid="8c4efe949c87c913d572a4303b8c63e097dac37e" name="square_2" x="868" y="1358">
- <params>
- <frac32.s.map name="pitch" value="-24.199999809265137"/>
- </params>
- <attribs/>
- </obj>
- <obj type="script/script2" sha="362a4413ceaefbe716480bf8f9c62eb3587fe6c0" uuid="d39e743cf47c9221f4e99c133430148cf74c68c5" name="script2_2" x="574" y="1372">
- <params/>
- <attribs>
- <text attributeName="script">
- <sText><![CDATA[int step = 0;
- int last_in = 0, diff = 0;
- int oct = 0;
- uint32_t note;
- void setup(void){
- }
- void loop(void){
- diff = in1 > last_in ? in1 - last_in : last_in - in1;
- if (diff > 1000) {
- if (in1 <= 26869759) {
- step = in1/2239146;
- switch(step){
- case 0: note = 0xFB000000; break; // -4 = C4
- case 1: note = 0xFB200000; break; // -3 = C4#
- case 2: note = 0xFB400000; break; // -2 = D4
- case 3: note = 0xFB600000; break; // -1 = D4#
- case 4: note = 0xFB800000; break; // 0 = E4
- case 5: note = 0xFBA00000; break; // 1 = F4
- case 6: note = 0xFBE00000; break; // 2 = F4#
- case 7: note = 0xFC000000; break; // 3 = G4
- case 8: note = 0xFC200000; break; // 4 = G4#
- case 9: note = 0xFC400000; break; // 5 = A4
- case 10: note = 0xFC600000; break; // 6 = B4
- }
- }
- else if (in1 > 26869759 && in1 < 53739519) {
- step = (in1-26869759)/2239147;
- switch (step) {
- case 0: note = 0xFC800000; break; // 7 = C5
- case 1: note = 0xFCA00000; break; // 8 = ...
- case 2: note = 0xFCC00000; break; // 9
- case 3: note = 0xFCE00000; break; // 10
- case 4: note = 0xFD000000; break; // 11
- case 5: note = 0xFD200000; break; // 12
- case 6: note = 0xFD400000; break; // 13
- case 7: note = 0xFD600000; break; // 14
- case 8: note = 0xFD800000; break; // 15
- case 9: note = 0xFDA00000; break; // 16
- case 10: note = 0xFDC00000; break; // 17
- case 11: note = 0xFDE00000; break; // 18
- }
- }
- else if (in1 > 53739519 && in1 < 80543743) {
- step = (in1-53739519)/2233685;
- switch (step) {
- case 0: note = 0xFE000000; break; // 19
- case 1: note = 0xFE200000; break; // 20
- case 2: note = 0xFE400000; break; // 21
- case 3: note = 0xFE600000; break; // 22
- case 4: note = 0xFE800000; break; // 23
- case 5: note = 0xFEA00000; break; // 24
- case 6: note = 0xFEC00000; break; // 25
- case 7: note = 0xFEE00000; break; // 26
- case 8: note = 0xFF000000; break; // 28
- case 9: note = 0xFF200000; break; // 29
- case 10: note = 0xFF400000; break; // 30
- case 11: note = 0xFF600000; break; // 31
- // case 12: note = 0x03E00000; break; // 32
- }
- }
- last_in = in1;
- out1 = note;
- }
- chThdSleepMilliseconds(1);
- }]]></sText>
- </text>
- </attribs>
- </obj>
- <obj type="disp/i" sha="e98a25a12afc62efc1991c3bb5290ccdf7214102" uuid="5e35fd0c62d81e70017289250cf28edd26e19e4a" name="i_2" x="770" y="1372">
- <params/>
- <attribs/>
- </obj>
- <obj type="disp/hex" sha="e21d1bcdfadc4f2009b547d002484bede0762978" uuid="87617898f70d90033f8add921438bf0d11721fdd" name="hex_8" x="742" y="1428">
- <params/>
- <attribs/>
- </obj>
- <obj type="osc/tri" sha="e7066d3dcd0e52be1613be8b5ccc96acee0ed064" uuid="905879afa8256b0ca207557d656949e476ca6f16" name="tri_1" x="868" y="1456">
- <params>
- <frac32.s.map name="pitch" value="-11.799999713897705"/>
- </params>
- <attribs/>
- </obj>
- <obj type="mix/mix 4" sha="6d667381bdeea6a139000a94f808f3e63efd414a" uuid="e6f9a0cc7aadc1b89516143cf1ccb79b3538d05a" name="mix_1" x="1022" y="1456">
- <params>
- <frac32.u.map name="gain1" value="28.5"/>
- <frac32.u.map name="gain2" value="32.0"/>
- <frac32.u.map name="gain3" value="0.0"/>
- <frac32.u.map name="gain4" value="0.0"/>
- </params>
- <attribs/>
- </obj>
- <obj type="gain/vca" sha="c904cdd24d65968df2f5796e107db3747dd691a6" uuid="a9f2dcd18043e2f47364e45cb8814f63c2a37c0d" name="vca_1" x="1148" y="1470">
- <params/>
- <attribs/>
- </obj>
- <obj type="filter/lp svf" sha="2eb13844b5cc2430c3152a486b56326ff9919b0b" uuid="2003da6360b4fdb967cd635e9f6544e832fd522e" name="lp_1" x="1246" y="1512">
- <params>
- <frac32.s.map name="pitch" value="31.0"/>
- <frac32.u.map name="reso" value="0.0"/>
- </params>
- <attribs/>
- </obj>
- <obj type="mix/mix 4" sha="6d667381bdeea6a139000a94f808f3e63efd414a" uuid="e6f9a0cc7aadc1b89516143cf1ccb79b3538d05a" name="mix_2" x="1414" y="1512">
- <params>
- <frac32.u.map name="gain1" value="0.0"/>
- <frac32.u.map name="gain2" value="0.0"/>
- <frac32.u.map name="gain3" value="0.0"/>
- <frac32.u.map name="gain4" value="0.0"/>
- </params>
- <attribs/>
- </obj>
- <obj type="mix/mix 4" sha="6d667381bdeea6a139000a94f808f3e63efd414a" uuid="e6f9a0cc7aadc1b89516143cf1ccb79b3538d05a" name="mix_3" x="1512" y="1512">
- <params>
- <frac32.u.map name="gain1" value="0.0"/>
- <frac32.u.map name="gain2" value="31.5"/>
- <frac32.u.map name="gain3" value="0.0"/>
- <frac32.u.map name="gain4" value="0.0"/>
- </params>
- <attribs/>
- </obj>
- <obj type="math/*c" sha="a73a2cafcf92eb4b6524655dcee98a569d5ddc28" uuid="7a66f52a9594e7e9eb31328ea725cb3641a80b55" name="*c_3" x="1512" y="1764">
- <params>
- <frac32.u.map name="amp" value="29.5"/>
- </params>
- <attribs/>
- </obj>
- <obj type="math/*c" sha="a73a2cafcf92eb4b6524655dcee98a569d5ddc28" uuid="7a66f52a9594e7e9eb31328ea725cb3641a80b55" name="*c_1" x="1638" y="1764">
- <params>
- <frac32.u.map name="amp" value="29.5"/>
- </params>
- <attribs/>
- </obj>
- <obj type="audio/out stereo" sha="c27566f972d15f25252f61b5cff014a3edce9706" uuid="a1ca7a567f535acc21055669829101d3ee7f0189" name="out_1" x="1792" y="1764">
- <params/>
- <attribs/>
- </obj>
- <nets>
- <net>
- <source obj="p7" outlet="out"/>
- <dest obj="script2_2" inlet="in1_"/>
- <dest obj="script2_3" inlet="in1_"/>
- </net>
- <net>
- <source obj="gate_1" outlet="GATE1"/>
- <dest obj="button-led_1" inlet="LED1"/>
- <dest obj="adsr_2" inlet="gate"/>
- <dest obj="mod1" inlet="trig"/>
- </net>
- <net>
- <source obj="mix_1" outlet="out"/>
- <dest obj="vca_1" inlet="a"/>
- </net>
- <net>
- <source obj="vca_1" outlet="o"/>
- <dest obj="lp_1" inlet="in"/>
- <dest obj="mix_2" inlet="in1"/>
- <dest obj="mix_3" inlet="in1"/>
- </net>
- <net>
- <source obj="*c_1" outlet="out"/>
- <dest obj="out_1" inlet="left"/>
- </net>
- <net>
- <source obj="cv1" outlet="out"/>
- <dest obj="unipolar2bipolar_2" inlet="i"/>
- </net>
- <net>
- <source obj="cv0" outlet="out"/>
- <dest obj="unipolar2bipolar_3" inlet="i"/>
- </net>
- <net>
- <source obj="cv2" outlet="out"/>
- <dest obj="unipolar2bipolar_4" inlet="i"/>
- </net>
- <net>
- <source obj="cv3" outlet="out"/>
- <dest obj="unipolar2bipolar_5" inlet="i"/>
- </net>
- <net>
- <source obj="unipolar2bipolar_2" outlet="o"/>
- <dest obj="adsr_2" inlet="a"/>
- </net>
- <net>
- <source obj="unipolar2bipolar_3" outlet="o"/>
- <dest obj="adsr_2" inlet="d"/>
- </net>
- <net>
- <source obj="unipolar2bipolar_4" outlet="o"/>
- <dest obj="adsr_2" inlet="s"/>
- </net>
- <net>
- <source obj="unipolar2bipolar_5" outlet="o"/>
- <dest obj="adsr_2" inlet="r"/>
- </net>
- <net>
- <source obj="*_1" outlet="result"/>
- <dest obj="unipolar2bipolar_6" inlet="i"/>
- </net>
- <net>
- <source obj="cv5" outlet="out"/>
- <dest obj="*_1" inlet="b"/>
- </net>
- <net>
- <source obj="dial_3" outlet="out"/>
- <dest obj="unipolar2bipolar_7" inlet="i"/>
- </net>
- <net>
- <source obj="unipolar2bipolar_7" outlet="o"/>
- <dest obj="+_1" inlet="in1"/>
- </net>
- <net>
- <source obj="unipolar2bipolar_8" outlet="o"/>
- <dest obj="mod1" inlet="v"/>
- </net>
- <net>
- <source obj="p2" outlet="out"/>
- <dest obj="unipolar2bipolar_8" inlet="i"/>
- </net>
- <net>
- <source obj="p6" outlet="out"/>
- <dest obj="change_1" inlet="in"/>
- <dest obj="cc_1" inlet="v"/>
- </net>
- <net>
- <source obj="change_1" outlet="trig"/>
- <dest obj="cc_1" inlet="trig"/>
- </net>
- <net>
- <source obj="note" outlet="out"/>
- <dest obj="unipolar2bipolar_11" inlet="i"/>
- </net>
- <net>
- <source obj="unipolar2bipolar_11" outlet="o"/>
- <dest obj="note_1" inlet="note"/>
- </net>
- <net>
- <source obj="velo" outlet="out"/>
- <dest obj="unipolar2bipolar_12" inlet="i"/>
- </net>
- <net>
- <source obj="unipolar2bipolar_12" outlet="o"/>
- <dest obj="note_1" inlet="velo"/>
- </net>
- <net>
- <source obj="gate_1" outlet="GATE2"/>
- <dest obj="button-led_1" inlet="LED2"/>
- <dest obj="note_1" inlet="trig"/>
- </net>
- <net>
- <source obj="mix_2" outlet="out"/>
- <dest obj="*c_3" inlet="in"/>
- </net>
- <net>
- <source obj="mix_3" outlet="out"/>
- <dest obj="*c_1" inlet="in"/>
- </net>
- <net>
- <source obj="script2_3" outlet="out1_"/>
- <dest obj="hex_8" inlet="in"/>
- <dest obj="i_2" inlet="in"/>
- <dest obj="square_2" inlet="pitch"/>
- <dest obj="tri_1" inlet="pitch"/>
- </net>
- <net>
- <source obj="adsr_2" outlet="env"/>
- <dest obj="vca_1" inlet="v"/>
- </net>
- <net>
- <source obj="p3" outlet="out"/>
- <dest obj="*_1" inlet="a"/>
- </net>
- <net>
- <source obj="unipolar2bipolar_6" outlet="o"/>
- <dest obj="+_1" inlet="in2"/>
- </net>
- <net>
- <source obj="*c_3" outlet="out"/>
- <dest obj="out_1" inlet="right"/>
- </net>
- <net>
- <source obj="square_2" outlet="wave"/>
- <dest obj="mix_1" inlet="in1"/>
- </net>
- <net>
- <source obj="tri_1" outlet="wave"/>
- <dest obj="mix_1" inlet="in2"/>
- </net>
- <net>
- <source obj="lp_1" outlet="out"/>
- <dest obj="mix_2" inlet="in2"/>
- <dest obj="mix_3" inlet="in2"/>
- </net>
- </nets>
- <settings>
- <subpatchmode>no</subpatchmode>
- </settings>
- <notes><![CDATA[]]></notes>
- <windowPos>
- <x>308</x>
- <y>70</y>
- <width>1455</width>
- <height>877</height>
- </windowPos>
- </patch-1.0>
Advertisement
Add Comment
Please, Sign In to add comment