Cov txheej txheem:

Nkauj MIDI Nkawm Khau: 5 Kauj Ruam (nrog Duab)
Nkauj MIDI Nkawm Khau: 5 Kauj Ruam (nrog Duab)

Video: Nkauj MIDI Nkawm Khau: 5 Kauj Ruam (nrog Duab)

Video: Nkauj MIDI Nkawm Khau: 5 Kauj Ruam (nrog Duab)
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Hlis ntuj nqeg
Anonim
Nkauj MIDI Nkawm khau
Nkauj MIDI Nkawm khau
Nkauj MIDI Nkawm khau
Nkauj MIDI Nkawm khau
Nkauj MIDI Nkawm khau
Nkauj MIDI Nkawm khau
Nkauj MIDI Nkawm khau
Nkauj MIDI Nkawm khau

Zoo li ntau tus neeg, Kuv feem ntau pom kuv tus kheej tsis nco qab kov kuv txhais taw, txawm tias nws nyob nrog nkauj lossis tawm ntawm qee qhov kev poob siab. Raws li kev lom zem zoo li yog, txawm li cas los xij, Kuv ib txwm hnov zoo li yog qee yam tau ploj lawm. Yog tias tsuas yog kuv tuaj yeem ua rau lub suab hais, pob rabid ntawm cov tsiaj qus uas npau taws heev es tsis txhob siv cov ntiv taw qub qub. Lossis, koj paub, lub suab nruas lossis qee yam. Kuv twv nws yog qhov txias heev. Tam sim no kuv txoj kev npau suav tau ua tiav! Hauv cov lus qhia no kuv yuav qhia koj yuav ua li cas thiaj ua tau ib nkawm khau suab paj nruag zoo heev. Kuv tau nkag mus rau hauv Art of Sound contest, yog li, koj paub, xav tias yuav pov npav rau kuv!

Kauj Ruam 1: Cov Ntaub Ntawv: Yam Koj Yuav Tsum Tau

Cov ntaub ntawv: Yam Koj Yuav Tsum Tau
Cov ntaub ntawv: Yam Koj Yuav Tsum Tau
Cov ntaub ntawv: Yam Koj Yuav Tsum Tau
Cov ntaub ntawv: Yam Koj Yuav Tsum Tau

Bill of Materials4 Force Sensitive Resistors Muaj ntau ntawm DIY lub nruas los tau ua nrog piezoelectric transducers, tab sis hauv kuv qhov kev paub qhov no tsis ntseeg tau qhov zoo tshaj plaws. Txog rau cov nruas ncaj lawv tuaj yeem ua haujlwm tau zoo, tab sis hauv khau cov ntsuas ntsuas ib txwm nyob hauv qee qhov siab, lawv tsis yog tsuas yog ntsib kev cuam tshuam luv luv. Piezos yog qhov tsis txaus ntseeg me me thiab tsis tuaj yeem kwv yees tau. Lawv tawg thiab khoov tau yooj yim, thiab cov xov hlau uas lawv tau txuas nrog feem ntau zoo nkauj heev. Yog li ntawd, koj yuav tsum siv FSRs, lossis Force Sensitive Resistors. Cov khoom siv no yooj yim siv, ruaj khov, thiab ntseeg tau ntau dua li piezos, tsawg kawg hauv daim ntawv thov no. Yeej, qhov siab dua koj thov rau FSR, qhov tsis muaj zog nws dhau los. Thaum pib, nws muaj kev tiv thaiv tsis muaj qhov kawg, txhais tau tias nws ua haujlwm zoo li kev tawg hauv Circuit Court. Kuv yuav kuv li ntawm adafruit. Muaj tseeb lwm tus neeg muag khoom, tab sis kuv tsis muaj lub tswv yim yuav ua li cas thiab/lossis yog tias lawv txawv. 1 Nkawm khau Yog, qhov no zoo li hais lus rau nws tus kheej, tab sis qhov tseeb muaj ob peb yam uas yuav tau txiav txim siab. Rau kuv nkawm khau kuv tau siv ib khub ntawm cov khw muag khoom nplua khau, yam uas muaj ntau yam ntaub qhwv hauv pob taws. Qhov no yog qhov tseem ceeb, vim tias koj xav tau qee yam los zais lub jacks uas koj yuav nruab rau hauv pob taws. Txwv tsis pub, koj nkawm khau yuav tsis xis nyob. Vim li no, kuv yuav tsis pom zoo kom siv cov khau nyias-phab ntsa zoo li khau khau, tshwj tsis yog koj xav ntxiv cov ntaub qhwv ntxiv. Tsis tas li ntawd, sim xaiv lub khau uas muaj cov khoom siv nruj rau sab nraud ntawm pob taws, vim qhov no yuav ua rau lub tsho yooj yim dua. 4-6 10Kohm ResistorsCov no yog cov rub tawm cov neeg tawm tsam uas txhua tus yuav txuas nrog hauv av thiab ib kawg ntawm Txhua FSR.1 ArduinoThe Arduino yog qhov qhib qhov microcontroller - nws ua kom muaj kev sib txuas lus ntawm FSRs thiab koj lub khoos phis tawj. Lawv muaj los ntawm ntau tus neeg muag khoom. Yog tias koj tsis tau ua ib qho program twg ua ntej koj yuav xav tshawb xyuas qee qhov ntawm kev qhia. 1 Project BoxThis yuav nyob Arduino thiab ua haujlwm sib cuam tshuam ntawm khau thiab khoos phis tawj. Koj tuaj yeem xaj ib lub thawv rau hauv online, yuav ib qho ntawm Radioshack, lossis siv qee yam uas koj twb tau dag ib ncig ntawd ntau dua lossis tsawg dua lub thawv zoo li. 8-10 1/8 "Mono/Stereo Jacks Koj tsuas muaj ob lub luj taws thiab ob ntiv taw, tab sis Arduino muaj rau tus lej sib piv, yog li koj kuj tseem tuaj yeem muab koj tus kheej xaiv ntawm kev siv cov ntawd nyob rau qee lub sijhawm yav tom ntej. Plaub ntawm cov jacks no yuav mus rau hauv koj nkawm khau, thiab lwm yam 4-6 hauv lub npov qhov project. Koj tuaj yeem tau txais lawv los ntawm Radioshack, Digi-Key, thiab ntau lwm qhov chaw. 4-6 1/8 "Mono/Stereo Cables … rau kev txuas khau rau lub interface. Koj yuav pom lawv ntawm cov khw muag khoom siv hluav taws xob feem ntau, zoo li Radioshack, Yuav Zoo Tshaj, lossis Yav Tom Ntej Khw. Kuv paub tseeb tias koj tuaj yeem xaj lawv online, ib yam nkaus 1 USB Cable … rau txuas Arduino rau koj lub khoos phis tawj. 1 Yob Hluav Taws Xob Daim Kab Xev … kom ruaj ntseg cov ntsuas hauv khau.

Kauj Ruam 2: Kev Sib Tham

Lub Interface
Lub Interface
Lub Interface
Lub Interface
Lub Interface
Lub Interface

Koj tuaj yeem ua txoj haujlwm no nrog tsuas yog lub khob cij thiab Arduino, tab sis rau lub hom phiaj ntawm kev ua kom huv thiab nqa tau yooj yim, koj yuav tsum tsim me ntsis kev sib tham. Txhua yam koj yuav tsum tau ua yog teeb tsa Arduino hauv lub thawv ntawv, laum 4-6 (nyob ntawm seb muaj pes tsawg lub cim koj xav siv) qhov rau 1/8 lub suab ntsaws, ib lub qhov rau LED, thiab lub qhov rau Arduino's USB jack. Tom qab ntawd muab tshuaj txhuam txhua yam thiab koj yuav zoo mus! Txhua lub suab nkaus hauv lub interface yuav tsum muaj 10K tus tiv thaiv thiab ua rau cov lus sib piv sib txuas nrog ib lub davhlau ya nyob twg, thiab cov hlau lead rau 5V cov khoom txuas nrog rau lwm yam. Cov terminals twg koj siv yuav nyob ntawm seb koj puas muaj lub mono lossis stereo jack., nws tso cai me ntsis dhau, thiab Arduino tuaj yeem nrhiav qhov no thiab xa lub teeb liab mus rau lub khoos phis tawj. Tam sim no, tuav koj cov hlau txuas, qee qhov txuas hlau, ua raws cov qauv thiab daim duab, thiab koj yuav zoo. twv yuav raug hu ntxiv ntau LEDs ntxiv thiab tsis muaj dab tsi rau lub npov no, piv txwv li ib qho rau txhua lub sensor lossis ib yam dab tsi. Ntxiv mus, nws wo uld ua tau zoo nkauj yooj yim los ua ib daim ntaub thaiv yooj yim heev rau Arduino siv tus tiv thaiv tiv thaiv thiab rau lossis zoo li tus txiv neej header pins. Koj tseem tuaj yeem tau txais ib qho muaj zog dua ua tau zoo los ntawm qee lub tuam txhab PCB ntawm kev sib cuam tshuam. Cov qauv uas tau qhia hauv cov lus qhia no yog kev teeb tsa yooj yim, yog li muaj ntau chav nyob sab laug rau kev nthuav dav (qhov tseeb, muaj ntau qhov chaw pub dawb hauv lub thawv ntawd).

Kauj Ruam 3: Kev phais khau

Khau phais
Khau phais
Khau phais
Khau phais
Khau phais
Khau phais

Yog li, nrog cov khau skate padded, koj yuav tsum tau ua ntu me me txhawm rau txhawm rau txhawm rau txhawm rau lub pob taws. Hauv cov khau uas kuv tau siv, cov ntaub qhwv pob taws tau ntim los ntawm cov khoom siv zoo li cov hlua khi rau ib leeg ntawm cov khau. Yog li ua ntej, saib yog tias koj tuaj yeem pry txheej saum toj kawg nkaus ntawm ib leeg tawm ib ntus, yog li koj tuaj yeem tau txais ntawm qhov xaws uas txuas cov khoom ntxig no rau khau. Thaum koj tau nkag mus rau nws, tsuas yog pib txiav. Tsis txhob tshem tawm cov khoom yog tias koj npaj yuav hloov cov ntaub qhwv thaum kawg. Tsuas yog txiav qhov twg lub mesh tau xaws rau ib leeg. Ib rab riam uas siv tau yuav tsum ua haujlwm zoo xwb. Thaum koj tau tso lub ncoo ncoo, ua tib zoo saib cov khoom siv pob taws sab nraud. Koj yuav tsum tau laum ob lub hauv caug, tab sis txhua yam koj ua, tsis txhob siv lub laum xovxwm. Txij li cov khoom yog tej zaum tseem yoog raws, yog tias ib yam dab tsi raug ntes, yuav muaj tag nrho cov kev sib tw ntawm kev sib tw, flailing khau ntaub. Tsuas yog siv tes xyaum thiab me ntsis lub luj tshib roj. Qhov koj siv yuav tsum yog me ntsis loj dua li txoj kab uas hla ntawm lub nkaus. Nrog koj lub qhov drilled, teeb tsa lub jacks thiab ntswj cov txiv ntseej thiab ntxhua khaub ncaws kom nruj. Koj yuav luag yuav tsum tau siv qee cov kua nplaum kom ruaj ntseg rau lawv. Epoxy lossis super kua nplaum yuav tsum ua qhov ua kom zoo xwb. Thov qee cov kua nplaum nyob ib puag ncig sab nrauv ntawm lub tsho lub thoob thiab sab hauv ntawm lub qhov thiab lo 'em ua ke. Ntau, kaw cov FSRs rau sab hauv ntawm khau. Ceev faj nrog FSRs, cov coj ntawm lawv yuav tuav tau zoo tsuas yog tias koj tsis ntswj lawv ntau dhau - lawv tsis ua haujlwm zoo. Yog tias koj npaj rau gluing lawv mus tas li, tuav tam sim no. Kev tso lub sensor yog ib qho tseem ceeb heev thiab nws nyob ntawm qhov loj thiab qhov zoo ntawm koj txhais taw, nrog rau koj qhov tshwj xeeb taw-tapping style. Nrog cov khoom siv hluav taws xob tau teeb tsa, muab cov ntaub qhwv rov qab tom qab lub mesh, thiab nrhiav qee txoj hauv kev rov txuas cov mesh mus rau sab hauv ntawm khau. Kuv tau kaw qee lub velcro rau ntawm lub mesh thiab rau khau, yog li kuv tuaj yeem qhib nws thiab ua kev saib xyuas yog tias xav tau tshwm sim tam sim no, tsuas yog ntsaws koj lub khau rau hauv lub interface. Koj tab tom npaj ua qee qhov program Arduino!

Kauj ruam 4: Programmin '

Qhov program
Qhov program
Qhov program
Qhov program

Muaj qhov xav tsis thoob cov ntaub ntawv online ntawm yuav ua li cas rau txheej txheem Arduino rau siv nrog DIY nruas ua rau. Google yuav qhia koj li ntawd. Kuv tau kawm ntau yam los ntawm kev saib cov cai ntawm todbot, adafruit, mschaff, thiab Spikenzie Labs. Kuv kuj tau txais kev nkag siab ntau los ntawm qhov ib txwm muaj txiaj ntsig W. Xavier Snelgrove. Yog li, koj tuaj yeem siv MAX/MSP/Jitter lossis Cov Ntaub Ntawv Ntshiab los ua cov cim los ntawm Arduino, thiab qhov ntawd yuav ua rau koj hloov pauv tau yooj yim dua (Kuv yuav sim tshaj tawm qee cov ntaub ntawv ntawm qhov no sai), tab sis hloov pauv muaj qhov zoo me me thov tawm muaj hu ua Serial-MIDI Converter. Nws tsuas yog qhov koj yuav xav - hloov pauv cov cim xa mus rau qhov txuas txuas mus rau MIDI. Nws ua haujlwm nrog ib qho kev pabcuam MIDI-xws li Garageband lossis Ableton Live. Nyem rau ntawm qhov txuas thiab rub nws, txhua cov ntaub ntawv hais txog yuav siv nws li cas nyob ntawm nplooj ntawv rub tawm. Ib yam li kuv tau hais, yog tias koj tsis tau siv lossis programmed Arduino ua ntej, koj tiag tiag yuav tsum txheeb xyuas qhov Pib Pib ntawm ntu haujlwm ntawm Arduino, nrog rau lawv cov kev qhia. Cov cai tau hais tawm, yog li kuv yuav tsis piav qhia nws hauv nthuav dav, Kuv yuav cia li tshaj tawm cov duab kos ntawm no hauv qab ntawm nplooj ntawv. Yeej, koj tsuas yog teeb tsa qis thiab sab saud rau txhua qhov ntsuas. Yog tias qhov siab tshaj qhov siab tshaj, MIDI cov lus tau tshwm sim, thiab thaum lub zog poob qis hauv qab qhov pib qis, lwm qhov tuaj yeem tshwm sim. Nws hu ua hysteresis, thiab nws ua kom ntseeg tau tias koj tsis teeb tsa ntau cov lus ib zaug. Koj yuav tsum tau fiddle ncig nrog qhov pib, nyob ntawm koj tus kheej ko taw-tapping style thiab qhov hnyav faib.

Kauj Ruam 5: Kuaj thiab Ua Si

Yay! Woo, tam sim no koj muaj khau khau raj! Tsis sib xws nrog kev tso cov ntsuas, qhov cuam tshuam cuam tshuam, txawm li cas los xij, tsuas yog ua qee lub suab nrov thiab txaus siab rau koj tus kheej. Nws yuav zoo li BOOSH BOOSH WHAM BOOOSH BOOSH WHAM SPLASH - thiab tom qab ntawd zoo li BIP BOP. BLEEP BLOP. BING BONG. Cov kev sib txuas! TodbotadafruitArdrumoSpikenzie LabsW. Xavier Snelgrove Txoj haujlwm zoo ib yam los ntawm Andrew Schneider ntawm NYUMe!

Pom zoo: