Cov txheej txheem:

1-Khawm MIDI Controller Tutorial: 6 Kauj Ruam
1-Khawm MIDI Controller Tutorial: 6 Kauj Ruam

Video: 1-Khawm MIDI Controller Tutorial: 6 Kauj Ruam

Video: 1-Khawm MIDI Controller Tutorial: 6 Kauj Ruam
Video: Play with any MIDI controller 馃帥 I Remixlive 6.5 2024, Kaum ib hlis
Anonim
Image
Image

Muaj ntau ntau cov lus qhia rau Arduino-MIDI cov tswj hwm nyob ntawd, qhov no yog cov pob txha liab qab taug kev ntawm yuav ua li cas kom tau dov nrog lub khawm yooj yim thiab lub zog. Kuv yuav tau nyiam kom hla ib yam dab tsi zoo li no thaum kuv nyuam qhuav pib tawm ntawd kuv tau ua qhov kev qhia no nrog lub hom phiaj ntawm kev pab tawm "yav tom ntej kuv"! Qhov no yuav tsum tso cai rau tus tsim kom muaj kev ywj pheej ntau dua hauv lawv tus kheej tsim thiab ua ke ntawm cov twj paj nruas tshiab! Tau coj txawv txawv nrog nws!

Kauj ruam 1: Cov ntaub ntawv

Koj yuav xav tau cov hauv qab no: -Arduino Pro Micro

-Momentary Khawm

-10k Potentiometer

-Hookup Cov Kab

-Breadboard

-Arduino IDE

-MIDI_Controller.h

-DAW (Garage Band, Ableton, Soundtrap, thiab lwm yam)

Kauj ruam 2: Sau Txoj Cai

Kuv taug kev los ntawm kev sau cov cai hauv kab ntawv txuas video nyob rau sab saum toj ntawm nplooj ntawv yog tias koj xav mus hla qhov ntawd hauv ib qib zuj zus. Yog tias koj tsuas yog xav rub tawm daim duab thiab hloov kho uas kuv yuav suav nrog qhov txuas hauv ntu no.

Lub tsev qiv ntawv kuv siv (thiab tus kiv cua loj ntawm) yog MIDI_controller.h lub tsev qiv ntawv. Nov yog qhov txuas rau github chaw cia khoom rau nws, ntau ua tsaug rau tttapa rau kev tsim lub tsev qiv ntawv thiab sib qhia nws.

Kuv tau suav nrog qee cov kab lus tawm tswv yim rau nthuav dav tus tswj. Lub hom phiaj yog txhawm rau tsim lub hauv paus uas koj tuaj yeem ua ib qho cuab yeej uas qhia koj tiag tiag!

Kauj ruam 3: Tsim Circuit Court

Tsim Circuit Court!
Tsim Circuit Court!
Tsim Circuit Court!
Tsim Circuit Court!
Tsim Circuit Court!
Tsim Circuit Court!

Yog tias koj nyiam cov duab thiab paub koj txoj hauv kev ib ncig ntawm lub khob cij txheej txheem no yuav cuam tshuam nrog koj. Kuv coj koj los ntawm cov kauj ruam hauv ib nrab ntawm cov vis dis aus, tab sis kuv yuav suav qee qhov screenshots ntawm cov kauj ruam ntawm no rau kev siv ib yam nkaus.

(Daim duab thib 1) Kauj Ruam 1: Txuas Liab sib txuas hlau los ntawm "VCC" tus pin ntawm Arduino mus rau "+" txoj kev tsheb nqaj hlau. Kauj Ruam 3: Txuas Blue txuas txuas hlau los ntawm "GND" tus pin ntawm Arduino mus rau "-" txoj kev tsheb nqaj hlau. Kauj Ruam 4: Txuas Blue txuas txuas hlau los ntawm sab laug tes tus pin ntawm lub hwj chim mus rau "-" kev tsheb nqaj hlau ntawm lub khob cij. Kauj Ruam 5: Txuas Xiav xaim txuas los ntawm ib qho ntawm tus pin ntawm lub pob mus rau "-" txoj kev tsheb nqaj hlau.

(Daim duab thib ob) Kauj Ruam 1: Txuas Cov Hluav Taws Xob Hluav Taws Xob Dawb los ntawm "lwm" tus pin ntawm lub pob kom tus pin "2" ntawm Arduino. (Daim duab thib 3) Kauj Ruam 1: Txuas Dawb Jumper hlau los ntawm tus pin nruab nrab ntawm lub hwj chim rau tus pin " A0 "ntawm Arduino. (Daim duab 4) Qhov no qhia qhov sib nrug thiab tus lej sib luag ntawm lub hwj chim.

Kauj ruam 4: Upload Code

Upload Code!
Upload Code!

Xaiv lub "Arduino Leonardo" lub rooj tsavxwm los ntawm cov ntawv qhia zaub mov thiab rub cov duab kos rau Arduino los ntawm IDE thiab qhov ntawd yog nws!

Kauj Ruam 5: Txuas rau DAW

Txuas rau DAW
Txuas rau DAW
Txuas rau DAW
Txuas rau DAW

Txij li cov cuab yeej no tau teeb tsa los ua MIDI cov cuab yeej zoo li lwm yam uas koj yuav tsis tau ua ib yam zoo nkauj kom nws ua si, tab sis koj yuav tsum tau nkag mus rau hauv "Chaw" ntawv qhia zaub mov kom qhia qhov haujlwm mloog rau tus tswj. Kuv ib txwm siv Ableton tab sis lub sijhawm no kuv txiav txim siab sim nrog lub vev xaib DAW "Soundtrap". Kuv yog ob peb nyem deb ntawm kev teeb tsa nws thiab thaum kuv xaiv "Arduino Leonardo" los ntawm cov ntawv qhia zaub mov nws pib teb zoo kawg nkaus.

Kauj ruam 6: Ua tiav

Cov kauj ruam tom ntej yog koj li coj! Koj yuav coj nws mus rau qib tom ntej li cas? Hom khawm twg koj yuav siv? 3-D daim ntawv luam tawm? Tshaj tawm cov lus nug hauv cov lus thiab hmoov zoo!

Pom zoo: