Cov txheej txheem:

Arduino Multi-track MIDI Loop Station: 6 Cov Kauj Ruam
Arduino Multi-track MIDI Loop Station: 6 Cov Kauj Ruam

Video: Arduino Multi-track MIDI Loop Station: 6 Cov Kauj Ruam

Video: Arduino Multi-track MIDI Loop Station: 6 Cov Kauj Ruam
Video: DIY 4-Track Loop Station Update 2024 | homemade multi-track looper pedal 2024, Hlis ntuj nqeg
Anonim
Arduino Multi-track MIDI Loop Station
Arduino Multi-track MIDI Loop Station
Arduino Multi-track MIDI Loop Station
Arduino Multi-track MIDI Loop Station
Arduino Multi-track MIDI Loop Station
Arduino Multi-track MIDI Loop Station

Lub chaw nres tsheb hauv lub voj, lossis lub looper, yog qhov tseem ceeb cov cuab yeej los rov ua dua lub sijhawm tiag tiag koj cov cuab yeej riffs (loops). Nws tsis yog lub hom phiaj yog kaw xov xwm, tab sis yog lub cuab yeej los ua kom muaj kev tshoov siab yam tsis muaj kev cuam tshuam dab tsi (thiab thaum kawg ua lub neej nyob …).

Muaj ntau ntau lub kaw suab kaw lub mloog xov tooj cua nyob ntawd, ob qho tib si nyob rau hauv daim ntawv ntawm kev kho vajtse tshwj xeeb (yuav luag txhua lub tshuab ntaus suab paj nruag pedal muaj nws tus kheej cov khoom) lossis khoos phis tawj software (zoo tshaj Linux Sooper Looper lossis windows Mobius, los hais qhov paub tshaj plaws). Kuv tsuas tuaj yeem pom ob peb txoj haujlwm hais txog DIY tsis muaj suab tab sis MIDI loopers, lub ntsiab lus cov cuab yeej sau MIDI cov xwm txheej thiab ua si tam sim ntawd rov qab hauv lub voj; feem ntau ntawm cov haujlwm no (txhua tus ntawm lawv, kuv yuav tsum hais) raug tso tseg lossis ploj mus … zoo, ntawm no peb tau ua tiav txoj haujlwm rau txhua tus!

Qhov chaw nres tsheb Arduino MIDI no yooj yim taug qab cov xwm txheej MIDI tuaj thiab ua si rov qab. Koj tsuas yog yuav tsum nias lub pedal cov ntaub ntawv, tsim koj qhov zoo tshaj plaws riff puas tau thiab nres kaw los ntawm nias lub pedal dua. Yooj yim heev:)

Txoj haujlwm no yog ua raws qhov yooj yim mus nrhiav kho vajtse qhib (Arduino DUE), software (kuv tus kheej firmware thiab Arduino IDE) thiab tuaj yeem kho kom haum raws li koj nyiam.

Cia peb ua nws!

PS: yog, nws pheej yig heev!

Kauj Ruam 1: Txwv

Ua ntej koj pib tau txais cov khoom kho vajtse rau txoj haujlwm, cia kuv qhia koj uas yog nws qhov txwv kom koj tuaj yeem txiav txim siab mus tom ntej lossis nres ntawm no.

- vim yog kev txwv cov cuab yeej (Aduino DUE nco qhov tseem ceeb), qhov ntev tshaj plaws ntawm kab lus uas koj tuaj yeem sau tau yog txwv rau 46 vib nas this.

- loops tsis tuaj yeem khaws thiab ua si rov qab tom qab kaw. Koj tuaj yeem xa lawv mus rau PC thiab cawm lawv, txawm li cas los xij.

- tsis muaj ntawv sau quantization.

- MIDI moos tau txais kev txhawb nqa, tab sis nyob rau theem ua ntej ntawm lub sijhawm no.

- MIDI cov lus kaw tau sau tseg rau, ceeb toom tawm, tswj kev hloov pauv thiab suab khoov; lwm cov lus MIDI xws li tom qab kov, hloov pauv txoj haujlwm, SysEx, thiab lwm yam tsis suav nrog.

- max polyphony tau teeb tsa 10 los ntawm lub neej ntawd (dua, Aduino DUE nco qhov txwv)

Ntawm sab ntxiv, MIDI ntws los ntawm ntau yam cuab yeej sib txawv, txhua qhov kis ntawm nws tus kheej channel, tau txais kev txhawb nqa; qhov no txhais tau tias koj tuaj yeem sau ntau yam cuab yeej MIDI ib zaug, txheej lossis nrog lawv tus kheej taug qab (ntau qhov zoo ntawm cov kauj ruam tom ntej;)).

Yog tias ua neej nyob nrog cov kev txwv no zoo li tsim nyog (thiab nws yog rau kuv), koj yuav muaj sijhawm zoo nrog qhov no;)

Kauj Ruam 2: Nws Ua Haujlwm Li Cas

Qhov chaw nres tsheb MIDI ntawm no yooj yim heev rau kev khiav lag luam. Nws ua haujlwm ib txoj hauv kev zoo ib yam li cov khoos phis tawj lub suab kaw txhua lub chaw tsim hluav taws xob guitar muaj nyob hauv nws phau ntawv teev npe.

1) Xaiv txoj kab uas koj xav sau koj li MIDI ntu rau. Los ntawm txoj hauv kev khiav "ib qho" raug xaiv, tab sis koj tuaj yeem hloov nws los ntawm kev nias ib qho ntawm cov khawm khawm (ib qho rau txhua txoj kab).

2) Thaum koj nias "REC" hloov/ko taw ko taw thawj zaug, lub looper tau koom nrog. Ntsuab LED teeb tuaj. Nws yuav tos txog thaum koj thawj daim ntawv tau txais ua ntej pib sau qhov ua ntu zus/riff.

3) Thaum koj tau ua tiav koj cov ntu, nyem qhov "REC" hloov/ko taw taw dua kom pom qhov tseeb ntawm lub riff. Ntsuab LED teeb tawm. Lub looper yuav pib tsim dua koj li kab ntawv MIDI tam sim ntawd. Yog tias koj mus txog lub sijhawm siab tshaj, cov ntaubntawv povthawj siv yuav tso tseg thiab cov ntu yuav pib tsim dua hauv lub voj.

4) Tam sim no, koj tuaj yeem txiav txim siab hla dhau koj cov ntu ntawm txoj kab tam sim no lossis xaiv txoj hauv kev tshiab thiab sau rau nws, los ntawm kev nyuaj siab "REC" hloov/ko taw ko taw. Hauv ob qho tib si qhov daj LED yuav ci, txawm tias txoj kab tshiab tsis muaj dab tsi, vim tias nws yog "qhev" taug kev (qhev mus rau thawj txoj kab kaw tseg). Nias dua kom tsis txhob overdubbing (daj LED tawm).

Rau cov ntawm koj kom yooj yim nrog cov suab looping noj, qhov kev hloov pauv MIDI hu ua "REC/PLAY/OVERDUB" thiab tsuas yog txhawb nqa.

Yog tias txhua lub sijhawm koj xav tias koj qhov overdub kawg tsis zoo, koj tuaj yeem tshem nws los ntawm nias "rov ua dua" hloov/ko taw ko taw. Koj tuaj yeem tshem tawm tag nrho cov kab ke tam sim no los ntawm kev ua "REC" pedal nias rau ntau dua 3 vib nas this; koj tuaj yeem rov pib dua lub khoos phis tawj (rov pib dua software) los ntawm nias thawj peb txoj kab khawm nyob rau tib lub sijhawm lossis los ntawm kev tshem tawm txhua txoj kev siv.

Koj tuaj yeem ntsiag to/unmute ib txoj kab los ntawm nias lub pob khawm ntawm txoj kab tam sim no.

Koj tuaj yeem xa PANIC! lus los ntawm nias lub ceeb ceeb. Koj tuaj yeem xa PANIC! lus los ntawm nias thawj ob txoj kab khawm nyob rau tib lub sijhawm.

Lub looper tau tsim ua qhov yooj yim metronome: sau ntawv ntawm MIDI cov lus rau cim tus lej "64" raug xa ntawm 100 BPM ntawm channel 10 (cov channel koj xav tias muaj koj lub tshuab nruas mloog). Koj tuaj yeem nce lossis txo lub sijhawm los ntawm turing kho qhov muag encoder; los ntawm kev nyuaj siab hloov kho qhov muag encoder koj tuaj yeem pab/lov tes taw metronome. Daim ntawv ceeb toom tias koj lub tshuab nruas yuav tsum tau teeb tsa ua suab (ntxaum, ntses bass thaj tsam lossis lub suab zoo li cas koj nyiam) thaum tau txais MIDI ceeb toom "64" lossis lub ntsuas cua yuav ntsiag to.

Ib lub cev pob txha ntawm qhov MIDI loopstation no tuaj yeem tsim nrog ib tus ko taw hloov kom pib thiab nres kaw. Khaws qhov hloov pauv nias rau ntau dua 3 vib nas this yuav rov pib dua qhov chaw nres tsheb.

Yog tias koj xav nqis peev qee lub sijhawm ntxiv los txhim kho kho vajtse, ntxiv cov hloov pauv thiab cov nyees khawm yuav ua rau lub chaw nres tsheb voj hloov pauv tau. Hauv daim duab yog li cas kuv tau teeb tsa kuv plaub txoj kab (txog tsib tau txais kev txhawb nqa) tag nrho tshwj xeeb lub voj chaw nres tsheb.

CEEB TOOM CEEB TOOM: kho vajtse hauv kuv cov duab yog tus qauv. Kuv siv ntau lub qhov (socket) ntau tshaj qhov xav tau tab sis tsuas yog plaub lub khawm rau txoj kab. Qhov no yog vim thaum kuv pib qhov project kuv tsis tau paub meej tias qhov kawg xav tau yuav yog dab tsi.

Cov nyees khawm thiab ko taw taw yog cov khoom siv hluav taws xob sib npaug thiab koj tuaj yeem siv ib qho los ntawm lwm qhov; rau kuv cov kev xav tau, yog tias ib txwm muaj qhov chaw hauv pem teb tsawg dhau (damn ntxim nyiam ntxim nyiam cov pedals;)), Kuv tau txwv txoj kev ko taw rau ib qho REC ua haujlwm.

Kauj ruam 3: Kho vajtse

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

Cov nqi ntaub ntawv:

Tag nrho tshwj xeeb 5-lem MIDI lub chaw nres tsheb

1 x Arduino DUE

7 x lub sijhawm thawb khawm

1 x rooj yas (Kuv siv 150 x 110 x 70 hli rooj plaub)

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

1x 6.3 hli vaj huam sib luag mount jack qhov (socket)

1x ob tog ob tog 50x70 hli perf board

5x 3 hli LED (ntsuab)

1x 3 hli LED (daj)

1x kho qhov muag encoder

1 x H11L1 optocoupler

1x 1 N4148 diode

3 x 1000 ohm resistors

3 x 220 ohm resistors

10 x 470 ohm resistors

Qee cov xaim xaim hluav taws xob, qee cov xaim hluav taws xob, chaw nres tsheb txuas … thiab lub sijhawm seem:)

Lub sijhawm yuav tsum ua kom tiav txoj haujlwm: 6-9 teev

Vim li cas ho tsis yog UNO?

Thawj qhov kev sim (thiab pib ua haujlwm txoj cai) tau sau rau ntawm "tsis tu ncua" arduino UNO board. Pawg thawj coj no muaj RAM txwv uas yuam kuv kom txo cov lus sib cav mus rau "4", qhov ntev tshaj li tsawg dua 4 vib nas this thiab kev daws teeb meem ntawm 40 ms ntawm qhov siab tshaj plaws. Qhov no tsis muaj kev siv ntau lub channel. Los ntawm kev tshem tawm qhov nrawm nrawm dhau, kuv muaj peev xwm nce lub sijhawm kaw mus txog 7 vib nas this.

Nrog UNO koj tuaj yeem paub "ua haujlwm" MIDI lub chaw nres tsheb voj, tom qab ntawd, tab sis muaj kev txwv ntau.

Kauj ruam 4: Software

Lub software tso siab rau FortySevenEffects MIDI lub tsev qiv ntawv. Lub tsev qiv ntawv no zoo heev thiab ua rau cov phiaj xwm no ua tau txawm tias tsis yog tus coders geeks zoo li kuv.

Arduino IDE thiab nws lub zej zog yog lwm qhov tseem ceeb ntawm qhov "ua tiav" no.

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 IDE, thov nyeem qhov no ua ntej.

Kuv tau sau ob tsab ntawv sib txawv, raws li ob txoj hauv kev sib txawv kiag li.

Lub hauv paus ntsiab lus ua haujlwm ntawm version 1 yog thaum lub sijhawm kaw lossis overdubbing Arduino DUE cov tshev thiab khw muag khoom hauv nws (tsis hloov pauv) nco qhov kev txhawb nqa MIDI cov xwm txheej (ceeb toom rau, ceeb toom tawm, tswj kev hloov pauv thiab suab khoov); lub sijhawm lub sijhawm tau suav nyob hauv 20 ms cov kauj ruam thiab tau txais cov lus tau khaws cia hauv cov kab ntawv raws li. Thaum ua si, khaws cov lus MIDI raug xa rov qab mus rau cov synth hwm lub sijhawm ntau.

Txoj haujlwm ua haujlwm ntawm version 2, hloov pauv, yog "yooj yim" kaw cov xwm txheej midi thiab lub sijhawm uas qhov xwm txheej yuav tsum tau tshwm sim. Version 2 muaj qhov txwv sib txawv dua li version 1 (teev rau ntawm cov kauj ruam dhau los). sim ob qho tib si thiab siv qhov uas ua haujlwm zoo dua rau koj.

Muaj lub moos preliminar tuav ib yam nkaus, tab sis nws yuav xav tau qee qhov tweaks los ua haujlwm raws li nws yuav tsum tau ua. Txoj cai xav tias koj kaw 4/4 - 4 kab voj (16 neeg ntaus).

Koj tuaj yeem deactivate lub moos sab nraud los ntawm kev nias lub pob "ceeb" thaum qhib lub looper.

Cov lej raug tso tawm NTAWM NO. Cov lus pom tau muab tso rau lawv, yog li koj tuaj yeem khoov cov firmware ntawm koj lub siab nyiam;)

Kauj ruam 5: Wirings

Wirings
Wirings
Wirings
Wirings
Wirings
Wirings

MIDI IN thiab MIDI OUT circuits tau tshaj tawm hauv cov duab txuas. Daim ntawv ceeb toom tias TX1 thiab RX1 tau siv, tsis yog TX0 thiab RX0.

Arduino DUE cov tswv yim pin tsis tuaj yeem ua haujlwm 5V, tab sis 3.3V; qhov no yog vim li cas H11L1 optocoupler tau siv ntau qhov ntau dua 6N138. Kuv muaj pov thawj tias siv 6N138 txuas nrog qhov faib hluav taws xob txhawm rau txo cov teeb liab mus rau TX1, zoo li hauv kuv thawj daim ntawv pov thawj, tuaj yeem ua haujlwm tsis raug hauv qee qhov teeb tsa.

LEDs txuas nrog Arduino DUE cov zis tawm ntawm 470 Ohm resistors. Koj tuaj yeem siv cov tshuaj tiv thaiv mus txog 1K ohm los txo qhov tam sim no mus rau LEDs thiab txo lawv cov teeb ci.

Cov nyees khawm/hloov pauv/jacks tau txuas ncaj qha rau Arduino cov lej nkag ua tsaug rau cov tswv yim rub tawm cov khoom tiv thaiv, qhib rau hauv daim duab. Tsis muaj qhov xav tau sab nraud (pulldown) resistors.

Qhov kho qhov muag nkag tau txuas nrog GND thiab +5V. Nws mus rau Arduino cov tswv yim pins hla dhau 2 480 ohm resistors, ib qho rau txhua cov ntaub ntawv kho qhov muag tso tawm.

Arduino DUE tau siv ncaj qha los ntawm 5V tus pin thiab hauv av ntawm +5V DC hub.

Txhua qhov chaw raug txuas mus ib txhis.

Txuas nrog yog lub rooj nrog kev sib txuas los ntawm arduino pins rau IN/OUT cov khoom siv sab nraud. Arduino tus lej tus lej cuam tshuam txog cov ntawd hauv kuv cov khoom siv khoos phis tawj thiab tuaj yeem saib (lawv qee qhov yog …) random. Koj tuaj yeem hloov kho tus pin qhov chaw yooj yim hauv daim duab ntawm koj lub siab nyiam;)

Kauj Ruam 6: Yuav Ua Li Cas Yog Kuv Muaj Ntau Tshaj Ib Qhov Chaw MIDI?

Yuav Ua Li Cas Yog Kuv Muaj Ntau Tshaj Ib Qhov Chaw MIDI?
Yuav Ua Li Cas Yog Kuv Muaj Ntau Tshaj Ib Qhov Chaw MIDI?

Tom qab tshawb nrhiav luv luv rau kev sib koom ua ke MIDI, Kuv pom tias qhov kev daws teeb meem feem ntau (thiab pheej yig) yog MIDI hloov pauv.

MIDI tus hloov pauv yog lub cuab yeej passive uas ua rau MIDI qhov chaw thiab xiam tag nrho lwm qhov chaw. Yooj yim li ntawd.

Lub plawv ntawm MIDI hloov pauv yog ntau txoj haujlwm (kuv yog 6 txoj haujlwm), 2 tus ncej hloov. Nws yog ib qho tseem ceeb heev uas tus naj npawb ntawm tus ncej yog "2" vim tias txhua qhov MIDI lub qhov (socket) yuav tsum raug txiav tag nrho yog tias tsis tau xaiv thiab tsis sib tham nrog lwm tus. Txuas nrog yog daim duab ntawm qhov kuv tau pom rau kuv tus kheej siv.

Ntawm qhov LINK qhov txheej txheem.

Pom zoo: