Cov txheej txheem:

Arduino MIDI Rhythm Section Sequencer: 8 Kauj Ruam (nrog Duab)
Arduino MIDI Rhythm Section Sequencer: 8 Kauj Ruam (nrog Duab)

Video: Arduino MIDI Rhythm Section Sequencer: 8 Kauj Ruam (nrog Duab)

Video: Arduino MIDI Rhythm Section Sequencer: 8 Kauj Ruam (nrog Duab)
Video: DIY Arduino MIDI Sequencer - Test #1 2024, Hlis ntuj nqeg
Anonim
Arduino MIDI Rhythm Section Sequencer
Arduino MIDI Rhythm Section Sequencer
Arduino MIDI Rhythm Section Sequencer
Arduino MIDI Rhythm Section Sequencer
Arduino MIDI Rhythm Section Sequencer
Arduino MIDI Rhythm Section Sequencer

Muaj lub tshuab ntaus nrig zoo yog qhov yooj yim thiab pheej yig niaj hnub no tab sis siv nas tua qhov lom zem rau kuv. Qhov no yog vim li cas kuv thiaj paub tias thaum xub thawj tau npaj los ua kom huv 64 qib kho vajtse MIDI nruas sequencer muaj peev xwm ua rau nce mus txog 12 qhov sib txawv ntawm lub nruas (ntu), tab sis tom qab ntawd hloov pauv hauv ntu ntu ntu ntu …

… Peb mus!

Kauj Ruam 1: Nws Ua Haujlwm Li Cas

Cov cuab yeej no tsis tuaj yeem tsim lub suab ntawm nws tus kheej, tab sis tsuas yog ntu ntu kho vajtse sab nraud ntawm MIDI. Qhov no txhais tau tias koj yuav xav tau lub tshuab hluav taws xob ntawm koj lub suab nruas (tus piv txwv lossis lub nruas sib xyaw lossis lub PC nrog koj lub nruas nyiam lossis lwm yam uas koj xav tau) muaj peev xwm ua tau los ntawm MIDI cov lus ceeb toom.

Nws feem ntau yog tsim los ntawm 4 x 4 khawm matrix (nrog LEDs), ib qho rau txhua qib ntawm ib qho bar. Tag nrho 64 cov kauj ruam ua ntu zus yog ua los ntawm 16 cov kauj ruam sib npaug 4 kab. Txhua kauj ruam yog 1/16 ntawm kev ceeb toom.

Muaj ob hom kev ua haujlwm: hom nyob thiab hloov hom.

Hauv kev hloov kho hom koj tuaj yeem ua tau ib theem zuj zus kho koj cov ntu los ntawm kev txhais tias lub nruas twg yuav ua hauv txhua kauj ruam.

Koj lub cuab yeej khoos phis tawj sab nraud ("nruas") tau tshwm sim los ntawm kev xa MIDI "ceeb toom ntawm" cov lus rau "MIDI cov lej cim sib txawv" ntawm tus lej xov tooj "10". Los ntawm lub neej ntawd cov ntawv ceeb toom yog

nruas #1 (piv txwv li ncaws) -> MIDI nco tus lej "60"

nruas #2 (piv txwv li snare) -> MIDI nco tus lej "62"

nruas #3 (piv txwv li npuaj teg) -> MIDI nco tus lej "64"

nruas #4 (piv txwv li Hihat) -> MIDI nco tus lej "65"

nruas #5 -> MIDI nco tus lej "67"

nruas #6 -> MIDI nco tus lej "69"

nruas #7 -> MIDI nco tus lej "71"

nruas #8 -> MIDI cim tus lej "72"

nruas #9 -> MIDI nco tus lej "74"

nruas #10 -> MIDI nco tus lej "76"

nruas #11 -> MIDI nco tus lej "77"

nruas #12 -> MIDI cim tus lej "79"

Koj tuaj yeem hloov cov txiaj ntsig no (thiab MIDI channel) hauv daim duab yog tias koj xav tau.

Hauv kev ua neej nyob los ntawm nias cov nyees khawm koj tuaj yeem nyob ua si nruas cuam tshuam nrog txhua kauj ruam los ntawm kev xa MIDI cov lus los ntawm kab ntawv. Koj tuaj yeem nyob sau koj lub pob nyem thiab/lossis cov lus MIDI.

Ob qho tib si nyob hauv hom thiab kho kom raug hom koj tuaj yeem ntsiag to (lossis qhib lub suab) lub nruas, "yob ua si" lub nruas nquag tam sim no thiab "viav vias" koj cov ntu.

Tshooj seem?

Feem ntau ntawm cov nruas sequencers tsuas yog MIDI cov nruas qhov ua rau lub suab nrov, nrog rau tus lej MIDI cim tseg rau txhua lub suab nruas. Hauv qhov no, peb muaj "ntu ntu ntu" ntau dua li qhov huv "nruas sequencer" vim tias koj tuaj yeem ua ntu ntu sib xyaw ua ke.

Nyeem QUICK START GUIDE txhawm rau paub ntau ntxiv thiab cov npe tag nrho ntawm cov yam ntxwv.

Kauj ruam 2: Kho vajtse

Kho vajtse
Kho vajtse
Kho vajtse
Kho vajtse
Kho vajtse
Kho vajtse

Txoj haujlwm no tau pom nyob ib puag ncig ntawm Arduino DUE board. Kuv tau sim khaws cov cuab yeej kho kom yooj yim li sai tau, piv txwv li yog zam kev siv LED tsav tsheb. Arduino DUE zoo li tsis yog pawg thawj coj saib xyuas zoo tshaj plaws los tswj cov pawg LEDs yam tsis muaj tus tsav tsheb LED vim tias nws tso tawm tam sim no txwv (los ntawm 5 mA txog 15 mA, nyob ntawm tus pin), tab sis nws yog Arduino nrawm tshaj plaws thiab sijhawm yog txhua yam thaum ua haujlwm nrog sequencers Yog li, nco ntsoov tias qhov kev teeb tsa kho vajtse no zoo li yuav thawb koj Arduino DUE rau nws qhov txwv thiab tuaj yeem ua rau nws puas tsuaj mus ntev.

Qhov no tau hais tias, kho vajtse feem ntau yog 16 lub nyees khawm, 16 LEDs (ib qho rau txhua kauj ruam) tus lej nrog 5 lub nyees khawm ntxiv rau kev ua haujlwm thiab 3 lub zog muaj zog. Kuv kuj tau ntxiv lub teeb liab liab tom qab ntxiv kev ua haujlwm kaw suab.

Nov yog daim nqi ntawm cov ntaub ntawv:

- 1x Arduino DUE

- 16x ib ntus, tsis thawb khawm nrog LEDs sib xyaw (koj tuaj yeem siv LEDs sab nraud yog tias koj xav tau, tab sis nco ntsoov siv lub zog qis LEDs !!)

- 1x liab LED (lub zog qis!)

- 5x tsis ntev, tsis thawb lub laub khawm

- 3x 10K ib zaug tig, tawm, potentiometers

- 3x 6.5 hli vaj huam sib luag mount mono jack poj niam

- 1x rooj plaub yas (Kuv siv 190x140x70 mm rooj plaub)

- 2x 5-pin DIN poj niam vaj huam sib luag mount qhov (socket) txuas (MIDI)

- 1x ob tog ob tog 70x90 hli perf board

- 2x 40 tus pin txiv neej ib kab pin header strip (2.54 mm), zoo dua yog kub plated

1 x H11L1 optocoupler

1 x 1N4148 diode

- 23 x 1000 ohm resistors

3 x 220 ohm resistors

2x BC547 pnp transistors

… Cov xaim hluav taws xob, qee cov xaim hluav taws xob, lub chaw nres tsheb txuas, lub cuab yeej siv ua haujlwm… thiab lub sijhawm seem:)

Thov ceeb toom tias cov nyees khawm hauv cov duab tau hloov pauv nrog lwm hom (txawm tias pheej yig dua…) thawb cov nyees khawm vim qhov kev npau taws loj heev …

Lub sijhawm yuav tsum ua kom tiav txoj haujlwm: 8 - 10 teev

CEEB TOOM: YUAV TSUM hnav tsom iav tiv thaiv thiab hnab looj tes thaum lub qhov dej! Cov khoom kub tuaj yeem npaj rau koj lub qhov muag lossis cuam tshuam nrog koj cov tawv nqaij thiab ua rau kub hnyiab lossis ua rau muaj kev puas tsuaj loj ntxiv rau koj lossis tib neeg nyob ib puag ncig koj

Kauj ruam 3: Wirings

Wirings
Wirings
Wirings
Wirings
Wirings
Wirings

Cov kauj ruam khawm tau txuas ncaj qha rau Arduino pins los ntawm 22 (qib 1) txog 37 (step16). Cov khawm hauv av yog daisy saw thiab txuas nrog Arduino DUE hauv av. Tsis tas yuav xav tau rub tawm lossis rub tawm cov neeg tawm tsam yog tias Arduino sib koom ua ke rub tawm cov neeg tawm tsam yog software qhib (saib cov duab kos).

Tib yam muaj tseeb rau ntxiv 5 khawm (Arduino pins 2, 3, 4, 5 thiab 6), siv rau kev ua haujlwm uas tsis yog cov kauj ruam. Kuv kuj tau tso lub hli 6.5 tus poj niam txuas txuas ua ke nrog khawm "pib" txhawm rau txhawm rau tuaj yeem ua si thiab nres kuv cov kab lus nyob deb.

LEDs txuas nrog hauv av (saw daisy) thiab Arduino DUE pins los ntawm 38 (qib #1) txog 53 (kauj ruam #16) hauv koob nrog 1K ohm resistor txhua qhov txwv qhov ntws tam sim no thiab khaws cov microcontroller.

Potentiometers tau txuas nrog raws li qhia hauv daim duab txuas. Daim ntawv ceeb toom tias qhov ntsuas hluav taws xob yog 3.3V, tsis yog 5V. Cov tswv yim siv yog A0, A1 thiab A2.

Kuv kuj tseem siv ob qhov txiaj ntsig rau arpeggio cov cim, zoo li cov uas yuav tsum tau ua rau qub 80's synth zoo li Korg Polysix thiab Roland Juno 6/60. Lawv tau txuas nrog pins A3 thiab A4, tab sis koj tuaj yeem siv cov koob digital yog tias koj nyiam ua cov cim digital. Nyob rau hauv rooj plaub koj yuav mus rau ntu sib txuas ua ke nrog V-Trig (qhov ntsuas hluav taws xob) cov cim, 1k ohm series resistor los txo qhov ntws tam sim no yuav txaus; nyob rau hauv rooj plaub ntawm S-Trig (hloov txhais) synth, koj yuav xav tau pnp hloov pauv yooj yim (saib cov phiaj xwm txuas nrog).

MIDI IN thiab OUT circuits raug teeb tsa hauv cov duab txuas. Daim ntawv ceeb toom tias, tsis sib xws rau feem ntau arduinos, Rx1 thiab Tx1 raug siv los ntawm lub hauv paus ntawm DUE cov laug cam hloov pauv Rx0 thiab Tx0. Qhov no yog qhov zoo vim tias koj tuaj yeem xa koj daim duab tsis tas yuav tsum tau txuas Rx txhua lub sijhawm. Daim ntawv ceeb toom kuj tias kuv tau siv H11L1 optocoupler vim tias kuv tsis muaj peev xwm khiav tau vim nws yuav tsum muaj 6N138 ib txwm nyob hauv Arduino DUE 3.3V txwv.

Kauj ruam 4: Software

Cov duab tau sau tseg hauv Arduino IDE thiab yuav tsum muab xa mus rau koj li Arduino DUE board. Kuv yuav tsis nkag mus ntxaws ntxaws txog yuav ua li cas rub cov duab kos rau koj li arduino DUE. Yog tias qhov no yog koj thawj qhov kev paub nrog Arduino DUE nyeem qhov no. Yog tias qhov no yog koj thawj qhov kev paub nrog arduino IDE, thov nyeem qhov no ib yam.

Koj tuaj yeem rub tawm qhov hloov tshiab firmwareHERE (github txuas).

Cov duab kos tso siab rau FortySevenEffects MIDI lub tsev qiv ntawv zoo. Koj yuav tsum tau teeb tsa lub tsev qiv ntawv hauv koj li arduino IDE.

MIDI tawm cov ntawv sau tseg rau txhua lub nruas tau txhais los ntawm drumNote [STEPS_NUM] sib txawv hauv daim duab. Koj tuaj yeem hloov lawv ntawm koj lub siab nyiam.

MIDI tawm tus lej naj npawb rau nruas tau teeb tsa "10" los ntawm lub neej ntawd.

Kuv tsis yog tus coder hauv lub neej tiag tiag thiab paub tseeb tias muaj txoj hauv kev zoo dua los sau qhov peb xav tau ntawm no. Yog tias koj yog tus coder nrog cov lus qhia, koj zoo siab tos txais! Thov xa kuv qhov kev hloov pauv uas tuaj yeem ua rau kom muaj txiaj ntsig zoo/ua haujlwm tau zoo thiab kuv yuav suav nrog nws mus rau qhov kev kos duab tseem ceeb (suav nrog Tus Pab Koom Tes pom tseeb!).

Kauj Ruam 5: Qhia Pib Pib

DRUMS: STEP-BY-STEP SEQUENCING

Sai li koj txhawb koj lub sequencer (lossis rov pib dua nws), ib ntu tsis sib xws yuav raug thauj khoom. Cov sequencer khau raj hauv kho kom raug hom, nrog thawj bar tuav/xauv thiab thawj nruas (piv txwv li ncaws) xaiv. Qhov no txhais tau tias los ntawm nias ib qho khawm khawm, koj yuav muab "ncaws" rau cov kauj ruam tam sim ntawd. Qhov ntim lub nruas yuav ua rau raug teeb tsa los ntawm txoj haujlwm ntawm "ntim" potentiometer thaum muab lub nruas rau cov kauj ruam. Los ntawm kev nyem dua khawm uas tau muab ua yav tas los koj yuav tshem tawm lub nruas tam sim no ntawm cov kauj ruam ntawd.

Yog tias koj nias "pib" khawm, koj pom koj cov LEDs khiav ntawm sab laug mus rau sab xis, sab saum toj mus rau hauv qab, ua si "ncaws" txhua lub sijhawm ncaws kauj ruam.

Los ntawm kev tuav lub khawm "hloov" koj yuav pom thawj kauj ruam LED ntawm kab thib 1 qhib (lub ntsiab lus thawj lub nruas tau xaiv) thiab thawj kauj ruam LED ntawm kab thib plaub (txhais tau tias koj tau xauv rau thawj kab). Tam sim no koj tuaj yeem hloov lub nruas uas koj xav tau ua ntu zus los ntawm nias lwm lub khawm khawm thaum tuav "ua haujlwm" nias. Tom qab xaiv lub nruas tshiab, tso tawm "ua haujlwm". Txhua LEDs yuav tua (vim tias koj tsis tau muab lub nruas tshiab rau ib qib twg) thiab koj tuaj yeem pib muab lub nruas tshiab rau cov kauj ruam. Rov ua dua rau txhua lub nruas koj xav tau (txog 12).

Tam sim no koj tau tsim tus qauv zoo, khaws nias "hloov" thiab tua cov qib siab ntawm kab hauv qab (nws yuav tsum yog qib 1 ntawm kab thib 4 yog tias koj tau saws tib txheej kuv tau siv): koj tsuas yog " xauv "ntu uas tam sim no yuav khiav hla txhua 4 kab. Hauv qab cov nyoos LEDs yuav pib "txav mus", qhia tias lub bar twg tam sim no tab tom ua (bar kev nce qib). Koj yuav pom tias tsuas yog thaum nyob hauv thawj kab ntawv ib ntu yuav ua si, nrog rau tag nrho lwm 3 kab uas tsis muaj suab nrov. Qhov no yog vim tias koj tau tso nruas tsuas yog rau thawj kab, lwm tus tsis muaj dab tsi. Koj tuaj yeem sau lawv los ntawm txhais tes (xaiv lub bar tshiab los ntawm nias ib qho ntawm 4 cov kauj ruam kawg thaum tuav "hloov", xaiv ib lub nruas, sau cov kauj ruam thiab lwm yam.) Lossis luam thiab muab cov kab sib txuas uas koj tsim rau txhua tus tuav los ntawm kev nkag mus rau hom kev hloov pauv (rov xauv rau thawj kab ntawv) thiab nias "cov ntaub ntawv" (uas tam sim no xav tias "muab tshuaj txhuam" ua haujlwm) thaum khaws cia "hloov". Ua yooj yim dua li hais.

DRUMS: LIVE PLAY MODE

Thaum pib lub sequencer yog nyob rau hauv kho kom raug hom. Txhawm rau tawm ntawm kev hloov kho hom koj yuav tsum nias "hloov" thiab nias lub pob bar tam sim no tuav/xauv (khawm khawm ntawm kab thib 4 tau qhib). Qhov no yuav tua LED ntawm lub bar xauv yav dhau los thiab qhib qhov ua ntu zus. Tam sim no koj nyob hauv hom ua si.

Hauv kev ua si nyob, los ntawm kev nias ib lub khawm khawm lub nruas cuam tshuam nrog lub pob ntawd yuav ua rau.

Yog tias koj xav ua neej nyob sau koj cov lej, pib ua ntu zus los ntawm nias "ua si", tom qab ntawd nyem "kaw" khawm (tsuas yog nyob hauv hom ua si). LED liab yuav qhib. Koj ua si ntawm lub nruas sequencer tswj vaj huam sib luag matrix lossis ib qho nkag MIDI ceeb toom-rau cov lus (piv txwv li los ntawm cov keyboard MIDI sab nraud) yuav raug kaw.

Lwm yam dej num

Los ntawm nias "yob" khawm, lub nruas tam sim no yuav ua si ntawm txhua kauj ruam (hauv ib yob). Qhov no ua haujlwm hauv ob qho "ib qib zuj zus" thiab "nyob ua si" hom.

Los ntawm kev nias ib lub khawm khawm thaum tuav lub pob "mute" lub nruas cuam tshuam rau cov kauj ruam ntawd yuav raug kaw (lossis tsis hais tawm). Qhov no ua haujlwm hauv ob qho "ib qib zuj zus" thiab "nyob ua si" hom.

Koj tuaj yeem tshem tawm cov nruas tshwj xeeb ua ntu zus los ntawm nias tus txheeb ze khawm thaum tseem nias lub pob "REC".

Koj tuaj yeem tshem tag nrho cov ntu (rov pib dua) los ntawm kev tuav lub khawm "pib" ntau dua 3 vib nas this.

Koj tuaj yeem "viav vias" koj qhov ua ntu zus los ntawm kev xa "viav vias" potentiometer.

Koj tuaj yeem xiam/pab MIDI ncha los ntawm nias "mute" khawm thaum khaws cia nias "hloov". Thaum MIDI echo tau qhib (lub hauv paus), cov ntaub ntawv dab tsi tam sim no ntawm MIDI INPUT jack yuav raug xa mus rau MIDI OUTPUT jack (tsuas yog MIDI sau rau, ceeb toom tawm, khoov, tom qab kov thiab tswj kev hloov pauv tau ncha).

Ob qho MIDI lub moos nkag thiab tso tawm tau ua tiav thiab qhib los ntawm lub neej ntawd. Yog tias tsis tau txais cov tswv yim hauv lub sijhawm, lub sijhawm tau teeb tsa nrog lub zog tshwj xeeb. Nyob rau hauv rooj plaub tau txais MIDI moos cov tswv yim, lub sijhawm suav los ntawm qhov ntawd thiab lub zog potentiometer yuav tsis teb. MIDI moos ib txwm xa mus rau MIDI tawm.

Kauj Ruam 6: Tshooj Rhythm

Lub tswv yim qub yog "dawb huv" 64 cov kauj ruam MIDI nruas ua ntu zuj zus mus txog 12 ntu nruas ywj pheej. Tom qab qee qhov kev sim, Kuv pom tias nws yuav zoo rau tswj kab ntses bass thaj tsam ib yam nkaus, thiab kuv tau muab qhov tshwj xeeb ntawm qhov sib txawv suab-ib-kauj ruam rau lub nruas kawg nkaus xwb. Tom qab ntawd, Kuv hloov kho txoj cai ntxiv kom kuv tuaj yeem hloov lub suab hauv txhua lub nruas thiab tswj tau txog 12 qhov sib xyaw ua ke. Kev kho dua tom qab kuv ntxiv polyphony (polyphony per-synth txwv rau 3 los ntawm lub neej ntawd).

Kom xaus:

- thaum nyob hauv hom LIVE, yog LIVE kaw tau koom nrog thiab pib ua ntu zus, koj tuaj yeem sau MIDI cov ntawv ceeb toom-rau cov lus, hu xov tooj. Suab thiab ntim cov ntaub ntawv yuav raug khaws cia. Suab khoov thiab tom qab infos infos ploj. MIDI Control Hloov cov lus yuav raug khaws cia. Nco ntsoov tias koj tsuas muaj ib qho CC qhov rau ib channel, ib kauj ruam.

- Yog tias ntu ntu tau nres, koj tuaj yeem sau txog 3 lub suab qhov tseem ceeb (chord) mus rau cov kauj ruam tshwj xeeb ntawm ib qho tshwj xeeb bar los ntawm kev nias nias lub hom phiaj khawm thiab nias (tib lub sijhawm lossis ib qho los ntawm ib qho) cov yuam sij xav tau ntawm keyboard txuas nrog MIDI IN chaw nres nkoj.

Ceeb toom tias:

- daim ntawv ua rau ntawm ib qib yog "tua" ntawm cov kauj ruam tom ntej. Txhawm rau nce qhov kev ceeb toom ntev, ua raws qhov "tso tawm" VCA qhov ntsuas ntawm koj cov khoom sib xyaw.

- tsis sib xws rau cov nruas, sau ntawv tsis tuaj yeem ua si hauv yob los ntawm nias lub pob "yob".

- Thaum kaw LIVE, cov ntaub ntawv nkag MIDI cov ntaub ntawv tau khaws cia hauv cov txheeb ze "nruas" cov kauj ruam (MIDI channel #1 -> "nruas" #1 thiab ntxiv rau).

Koj tuaj yeem tshem tawm qhov tshwj xeeb ua ntu zus los ntawm kev nias tus txheeb ze "nruas" kauj ruam khawm thaum khaws cia khawm "REC". Nias nws dua yuav tshem tawm lub nruas ua ntu zus ib yam. Yog tias CC ntu tau sau tseg, qhov ntawd yuav yog thawj qhov raug tshem tawm, tom qab ntawv xaj CC -> Synth -> Nruas

Kauj Ruam 7: Arpeggio Triggers

Thaum ntxov '80's pre-MIDI synths feem ntau nruab nrog qee zaum hu ua "arpeggio trigger input". Los ntawm kev xa 2.5 mus rau 5.0 V trig teeb liab (V-trig lossis "voltage trigger") lossis los ntawm kev tsaws hauv av arpeggio txhais cov lus tawm tswv yim (S-Trig lossis "switch trigger") koj tuaj yeem qhia tus tsim hluav taws xob kom nce qib ib kauj ruam ntawm arpeggio ua ntu zus. Qhov no tuaj yeem nyuaj rau kev tswj hwm nrog tus lej uas tsis muaj qhov tshwj xeeb ua rau tawm (qee zaum "rimshot" suab los ntawm kev mob siab rau qhov twg/tau siv raws li qhov tsim nyog rau V-trig synths) tab sis nrog lub microcontroller board koj tuaj yeem yooj yim tswj cov teeb liab thiab tswj koj cov synth arpeggio raws li nws tau txhais los ntawm lub hoobkas.

Qhov kev sib dhos ntu ntu no suav nrog qhov muaj peev xwm ua rau tus neeg sib tw ntawm ob qhov sib xyaw ua ke sib txawv, ntawm nws tus kheej.

Kev siv yog ib qho yooj yim heev: xaiv lub nruas 11 lossis 12 (nias kauj ruam 11 lossis 12 thaum nias "hloov") thiab qhib cov kauj ruam uas koj xav kom tus kws tua tsiaj txav ntawm ib kauj ruam. Txoj hauv kev no koj tuaj yeem "program" nruj heev 1/16 ntawm cov ntawv ceeb toom ntev li niaj zaus arpeggios los ntawm kev ua txhua kauj ruam, lossis 1/8 los ntawm kev ua haujlwm txhua lwm kauj ruam. Ib qho ntxiv, koj tuaj yeem tsim cov phiaj xwm yooj yim arpeggios los ntawm kev ua cov kauj ruam raws li txoj hauv kev tsis tu ncua.

Nyob ntawm seb hom teeb liab hom txhawb los ntawm cov synth koj xav tswj, koj yuav xav tau kev kho vajtse yooj yim: thaum V-trig (piv txwv li Roland synths) tso 1 Kohm resistor hauv koob nrog arduino ua rau tso tawm. Nyob rau hauv rooj plaub ntawm S-trig (piv txwv li Korg synths) siv shematic txuas nrog rau "thaiv" cov kauj ruam rau kev hloov pauv kom nyab xeeb.

Kauj Ruam 8: Yog Yam Tsis Ua Haujlwm…

Txawm tias txoj haujlwm yooj yim zoo li qhov no feem ntau yuav tsis ua haujlwm 100% thawj zaug koj qhib nws. Ntawm no, Piv txwv, qhov tsis sib xws ntawm cov nyees khawm thiab LEDs yog qhov tseem ceeb heev, thiab cov xov txuas tsis sib xws yuav ua rau cov neeg ua haujlwm tsis sib xws.

Txhawm rau ntsuas txhua qhov sib txawv sib txawv uas ua rau cov theem ua ntu zuj zus, Kuv tau sau cov ntawv xeem yooj yim (saib cov ntawv txuas).

Koj tuaj yeem rub tawm qhov kev sim tshiab tshaj plaws ntawm no (GitHub txuas).

Kev xeem kos ua haujlwm raws li hauv qab no:

- nias lub pob ib kauj ruam: qhov sib thooj LED yuav tsum qhib thiab MIDI ceeb toom-rau ntawm channel 10 yuav xa mus rau MIDI cov zis.

- nias lub pob ua haujlwm: ib ntawm thawj 5 LEDs yuav qhib.

-tig lub hwj chim ntsuas hluav taws xob: LEDS yuav teeb pom kev zoo (thawj lub lauj kaub -> thawj kab LEDs, lub lauj kaub thib ob -> kab thib ob ntawm LEDs, lub lauj kaub thib peb -> kab thib peb ntawm LEDs).

- yog tias tau txais daim ntawv MIDI ntawm, thawj LED yuav ntsais muag.

Nco ntsoov tias MIDI ncha tau qhib los ntawm lub neej ntawd. Qhov no txhais tau tias yog tias koj muaj lub voj MIDI nruab nrab ntawm cov synth thiab MRSS, qhov no tuaj yeem ua teeb meem (Kuv tau ntsib qhov kwv yees kwv yees ob npaug ua rau feem ntau ntawm lub sijhawm, tab sis kuj tseem muaj cov ntawv sau qis heev ua rau thiab feem ntau tsis teb tsis tau cov keyboard nrog synths nrog MIDI tawm ua raws li MIDI Throu … nws nyob ntawm cov synth). Yog tias qhov no tshwm sim, xiam MIDI ncha los ntawm nias "mute" khawm thaum tuav "khawm" khawm.

Pom zoo: