Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Kauj Ruam 1: Raspberry Pi (Pib Teeb)
- Kauj Ruam 2: Kauj Ruam 2: Pab I2c
- Kauj Ruam 3: Kauj Ruam 3: Nruab Cov Ntaub Ntawv Ntshiab
- Kauj Ruam 4: Kauj Ruam 4: Txuas Guitar
- Kauj Ruam 5: Kauj Ruam 5: Muab Nws Tag Nrho
- Kauj Ruam 6: Ncig Saib ntawm Patch Cov Ntaub Ntawv Ntshiab
- Kauj Ruam 7: Yam Ntxiv Los Sim
Video: Keytar Hero (Siv tus Wii Guitar Controller Raws li tus Synthesizer): 7 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Guitar Hero kev ua si yog txhua qhov npau taws kaum ob xyoos dhau los, yog li muaj kev khi kom muaj ntau tus kws ntaus suab paj nruag qub dag ib puag ncig khaws cov hmoov av. Lawv muaj ntau lub nyees khawm, pob qhov rooj, thiab qib, yog li vim li cas ho tsis muab lawv siv rov zoo dua? Tus tswj ntaus guitar tsis ib txwm ua suab nrov ntawm nws tus kheej, tab sis hauv qhov kev qhia no kuv yuav qhia koj yuav hloov pauv li cas Wii Guitar Hero Controller yog li nws tuaj yeem ua si ua tus tsim khoom.
Khoom siv
- Guitar Hero Wii Tus Tswj
- Nunchucky breakout board (muaj nyob ntawm Adafruit ntawm no)
- 4ea jumper xov hlau (poj niam rau poj niam)
- 2ea crimp txuas (yeem)
- Raspberry Pi (3 B+ lossis 4 nyiam dua)
- 16GB MicroSD daim npav
Kauj Ruam 1: Kauj Ruam 1: Raspberry Pi (Pib Teeb)
Raspberry Pi yog lub hlwb thiab kev sib cav ntawm txoj haujlwm no, yog li thawj qhov peb yuav tsum tau ua yog teeb tsa ib qho rau peb txoj haujlwm. Kuv tau sim txoj haujlwm no ntawm ob qho Raspberry Pi 3 B+ thiab 4, thiab lawv ob leeg zoo li ua haujlwm tau zoo.
Raspberry Pi's yog cov khoos phis tawj microcomputers uas khaws txhua yam ntawm daim npav microSD tsis txhob siv lub hard drive… suav nrog OS. Txoj hauv kev zoo los siv lawv yog rub tawm OS tshiab kawg thiab hlawv cov duab ntawm nws mus rau daim npav microSD raws li hauv qab no:
- Ntawm lub PC lossis lub laptop cais, mus rau
- Rub tawm qhov tseeb Raspbian OS. (Buster thaum lub sijhawm sau ntawv no). Muaj ntau qhov hloov pauv muaj nyob ntawm nplooj ntawv uas muab ntau lossis tsawg dua suav nrog software nyob ntawm koj nyiam. Lawv txhua tus yuav tsum ua haujlwm tau zoo, tab sis kuv nyiam siv qhov kev xaiv "Raspbian Buster nrog lub desktop thiab pom zoo software" vim tias nws suav nrog qee qhov program IDEs thiab lwm yam siv tau yooj yim. Txoj kev yooj yim tshaj plaws yog rub tawm zip version.
- Hlawv Raspbian duab rau microSD daim npav. Muaj ntau daim ntawv thov koj tuaj yeem siv los hlawv cov duab Raspbian rau koj daim npav microSD tab sis kuv siv qhov kev pab cuam balenaEtcher uas koj tuaj yeem tau txais ntawm no. Ntxig daim npav microSD rau hauv koj lub computer thiab khiav balenaEtcher. Rau daim duab duab, xaiv cov ntawv zip uas koj rub tawm, tom qab ntawd xaiv koj daim npav SD, thiab nyem nyem. Cov cuab yeej yuav unzip cov duab duab disk thiab hlawv lawv mus rau SD daim npav. TSEEM CEEB: Nco ntsoov tias tus tsav koj tab tom xaiv yog daim npav microSD … lub cuab yeej yuav sau dua ib qho tsav twg uas koj qhia kom paub tseeb tias koj tau xaiv qhov raug.
- Tua koj tus Raspberry Pi. Ntxig daim npav microSD rau hauv koj li Raspberry Pi. Txuas koj lub zog, nas, keyboard, thiab hais lus. Yog tias koj ua raws cov lus qhia, nws zoo nkauj piav qhia tus kheej … teeb tsa koj qhov chaw nyob/sijhawm, teeb tus password, thiab txuas rau WiFi.
Nov yog txhua qhov txheej txheem teeb tsa rau Raspberry Pi yog li yog tias koj xav tau cov ntsiab lus ntxiv, koj tuaj yeem pom lawv ntawm no. Peb yuav ua tag nrho peb cov kauj ruam ntawm Raspberry Pi.
Kauj Ruam 2: Kauj Ruam 2: Pab I2c
Guitar Hero Controller siv i2c los sib txuas lus (i2c yog ib qho kev ncaj ncees uas siv los ntawm cov cuab yeej siv hluav taws xob los tham nrog ib leeg), yog li peb yuav tsum ua kom muaj qhov tshwj xeeb no ntawm Raspberry Pi:
-
Nruab cov tsev qiv ntawv rau i2c. Cov tsev qiv ntawv i2c tam sim no zoo li yog ib feem ntawm Buster tus qauv tsim, tab sis tsuas yog nyob rau hauv rooj plaub, peb yuav ua tus installer rau lawv. Qhib lub plhaub (muaj lub cim rau nws ntawm lub luag haujlwm saum toj kawg nkaus) thiab ntaus cov hauv qab no:
- sudo apt-tau nruab -y nab hab sej-smbus
- sudo apt-tau nruab -y i2c-cuab yeej
- Pab kom i2c ntawm Raspberry Pi. Hauv koj lub plhaub hom: sudo raspi-config. Qhov no yuav coj koj lub qhov rai teeb tsa. Xaub nqes mus rau InterfacingOptions-> I2C kom pab tau i2c rau lub cuab yeej. Txhawm rau tawm ntawm lub qhov rais, txoj cai xub mus rau Rov Qab thiab tom qab ntawd Ua Ntej kom txuag qhov chaw.
- Rov pib dua. Hauv koj lub plhaub, ntaus ntawv: sudo reboot
-
Teem kev cai i2c tsis. Lub neej ntawd i2c baudrate (100k) zoo li tsis meej pem guitar qee zaum, yog li peb yuav maj mam txo nws mus rau 50k raws li hauv qab no:
- Hauv lub plhaub hom: sudo nano /boot/config.txt
-
Qhov no yuav qhib koj cov ntawv teeb tsa hauv kab ntawv nyeem. Xaub nqes thiab nrhiav kab uas hais tias dtparam = i2c_arm = on. Yog tias nws tau tawm tswv yim, tsis pom zoo rau nws. Yog tias koj tsis muaj kab ntawd, ntxiv nws. Hauv qab kab ntawv no ntxiv cov hauv qab no:
- dtparam = i2c1 = rau
- dtparam = i2c1_baudrate = 50000
- Ntaus Ctrl + O kom txuag tau cov ntaub ntawv teeb tsa thiab tom qab ntawd ntaus Ctrl + X kom tawm mus.
- Rov pib dua. Hauv koj lub plhaub, ntaus ntawv: sudo reboot
Kauj Ruam 3: Kauj Ruam 3: Nruab Cov Ntaub Ntawv Ntshiab
Txog cov suab sib txuas peb yuav siv qhov program hu ua Pure Data. Nov yog lub suab tsim thiab sib tham sib qhia cov cuab yeej uas tau nyob ib puag ncig ib ntus. Nws muaj ob peb tus yam ntxwv uas ua rau nws zoo rau txoj haujlwm no … nws muaj qhov node-based UI uas yooj yim siv, thiab nws tuaj yeem tau txais cov cim los ntawm cov peev txheej sab nraud xws li cov ntawv sau nab nab.
- Nruab Ntshiab Cov Ntaub Ntawv. Hauv lub plhaub hom: sudo apt-tau nruab puredata
-
Qhov no yuav tsum teeb tsa software ntawm koj li Raspberry Pi, tab sis yog nws yws hauv lub plhaub txog qhov tsis tuaj yeem nrhiav txhua cov ntaub ntawv nws xav tau, sim qhov no:
- sudo apt-tau hloov tshiab
- Tom qab ntawv khiav qhov hais kom ua dua: sudo apt-tau nruab puredata
- Thaum lub sijhawm teeb tsa nws yuav qhia koj yog tias koj xav tsim cov npe rau txuas ntxiv, koj tuaj yeem hais Yog.
-
- Tua tawm Cov Ntaub Ntawv Ntshiab. Yog tias nws tau teeb tsa kom raug koj yuav tsum pom cov program teev tseg hauv Desktop Start Menu hauv qab Suab & Video. Khiav nws kom paub tseeb tias nws pib.
-
Teeb tsa Cov Ntaub Ntawv Ntshiab. Lub suab hauv Cov Ntaub Ntawv Ntshiab tsis yog feem ntau nyob ntawm lub hauv paus yog li koj yuav xav tau los pab nws.
- Teeb lub suab tso tawm rau ALSA. Thaum Ntshiab Cov Ntaub Ntawv tso tawm koj yuav tsum pom nws lub qhov rai console. Mus rau Media cov ntawv qhia zaub mov thiab xaiv ALSA raws li koj qhov tso tawm. Koj yuav pom cov lus ceeb toom hauv lub plhaub console uas hais tias nws tsis tuaj yeem pom qee cov ntaub ntawv, tab sis koj tuaj yeem tsis quav ntsej qhov no.
- Qhib DSP suab. Hauv lub qhov rai console, khij lub npov uas hais tias DSP.
- Kuaj cov suab tso tawm. Hauv qhov Ntshiab Cov Ntsiab Lus qhov rai, mus rau Media-> Test Audio & MIDI. Qhov no yuav qhib cov ntawv xeem uas peb tuaj yeem siv kom ntseeg tau tias Cov Ntaub Ntawv Ntshiab ua haujlwm thiab peb tuaj yeem hnov lub suab. Qhib koj tus neeg hais lus tab sis khaws lawv ntawm lub ntim qis thaum xub thawj (qee zaum lub suab tuaj yeem nrov heev los ntawm lub neej ntawd). Hauv cov ntawv xeem, ntawm sab laug koj yuav tsum pom ntu hu ua Test Tones. Nyem rau ntawm lub npov uas hais 60 ua ntej thiab pom yog tias koj hnov lub suab los ntawm koj tus hais lus. Yog tias tsis yog, sim nyem lub npov 80 thiab tom qab ntawd qhib koj lub tham kom txog thaum koj hnov lub suab. Yog tias koj hnov lub suab, sim rub hauv lub thawv uas hais Pitch mus rau sab xis ntawm Test Tones qhov twg koj tuaj yeem hloov qhov zaus ntawm lub suab nrov thiab pom tias muaj dab tsi tshwm sim.
Yog tias koj muaj peev xwm tshaj tawm Cov Ntaub Ntawv Ntshiab thiab hnov lub suab los ntawm daim ntawv xeem, tom qab ntawd koj npaj txhij mus rau theem tom ntej. Tab sis Cov Ntaub Ntawv Ntshiab tuaj yeem tau txais txiaj ntsig me ntsis txog lub suab tso tawm thawj zaug, yog li yog tias koj tseem tsis tau txais lub suab sim cov hauv qab no:
-
Nws muaj peev xwm hais tias lub suab xa mus los ntawm HDMI cable, yog li yuam kom nws siv lub mloog pob ntseg nkaus:
- Hauv lub plhaub hom: sudo raspi-config
- Mus rau Advanced Options-> Audio-> Force 3.5mm ('headphone') nkaus
- Sim rov pib dua. Qee zaum qhov no ua qhov dag.
- Txheeb xyuas koj tus neeg hais lus thiab txuas rau Raspberry Pi.
Kauj Ruam 4: Kauj Ruam 4: Txuas Guitar
Txoj hauv kev yooj yim tshaj plaws los txuas lub tshuab ntaus suab paj nruag rau Raspberry Pi yog nrog cov khoom lag luam pheej yig tawg xws li Nunchucky*. Pawg thawj coj no tso cai rau koj nkag mus rau lub teeb liab los ntawm tus ntaus guitar yam tsis txiav lub ntsaws lossis tawg qhib lub guitar. Ntawm ib sab ntawm lub rooj tsavxwm yog cov tiaj tiaj tsim los kom haum zoo rau hauv lub ntsaws los ntawm lub guitar. Kuj tseem muaj ob lub qhov me me uas tso cai rau ntsaws rau hauv qhov chaw yog li tiv thaiv nws los ntawm xoob. Cov kab ntawv coj mus rau plaub lub header pins ntawm sab nraud ntawm pawg thawj coj saib.
Nco tseg: Nunchucky los nrog lub taub hau taub hau tab sis lawv tsis muag rau yog li koj yuav tsum ua qhov no koj tus kheej. Rau kuv tus kheej, Kuv siv 90 degree header pins hloov uas tso cai rau nws tso ncaj hauv qhov haujlwm kawg.
Koj yuav xav tau plaub lub xov hlau los txuas Nunchucky rau Raspberry Pi. Txuas cov xov hlau los ntawm Nunchucky header pins rau Raspberry Pi's GPIO pins raws li hauv qab no:
- 3.3v -> Pin 1
- Cov Ntaub Ntawv -> Tus Pin 3
- Clk -> Pin 5
- Gnd -> Pin 9
Hauv kuv qhov haujlwm kuv siv cov txuas txuas txuas rau cov xov hlau kom lawv tsis rub tawm yooj yim. Tab sis yog tias koj tsis muaj cov txuas txuas txuas, plaub tus poj niam-rau-poj niam jumper xov hlau yuav ua haujlwm zoo. Yog tias koj siv cov txuas txuas txuas, xyuas kom tseeb tias koj mloog zoo rau qhov kev txiav txim ntawm cov xov hlau ntawm tus pin header thiab GPIO pins. Kuj tseem ceeb, uas ntawm GPIO tus pin, peb hla tus pin 7. Txhawm rau qhov no, Kuv tau siv tsib-xaim crimp txuas ntawm ib kawg thiab hla ib qho.
Txhawm rau txheeb xyuas tias koj li Raspberry Pi tuaj yeem tshawb pom lub tshuab ntaus guitar, qhib lub plhaub thiab hom: sudo i2cdetect -y 1
Nws yuav tsum luam tawm daim phiaj hauv lub plhaub nrog rau feem ntau ob npaug hauv kab hauv lawv. Yog tias lub khoos phis tawj tuaj yeem tshawb pom lub guitar, koj yuav tsum pom lub guitar tus lej# 52 hauv ib qho ntawm qhov… ntawm kuv lub tshuab nws tau tshwm nyob rau hauv kab 2, kab 5… tab sis nws tsis muaj teeb meem dab tsi, tsuav yog koj pom tus xov tooj 52 qhov chaw nyob ntawd.
Yog tias lub khoos phis tawj nrhiav tsis tau nws ntawm no yog qee yam uas yuav sim:
- Nco ntsoov tias koj cov xov hlau txuas nrog nruj.
- Xyuas kom koj tau txais txhua yam txuas nrog tus pin zoo.
- Tig lub Guitar ntsaws ncig. Nunchucky tsis tiv thaiv koj los ntawm kev txuas lub ntsaws rau sab, yog li nws yuav tab sis hloov pauv.
- Nco ntsoov tias i2c tau qhib rau ntawm Raspberry Pi (raws li qhia hauv qib 2)
*Yog tias lub ntsaws ntawm tus tswj hwm guitar zoo li paub, nws yog vim nws zoo ib yam li tus qauv Wii Nunchuck tus tswj … li no lub npe Nunchucky! Qhov no kuj txhais tau tias koj tuaj yeem siv tib lub rooj sib tham sib cais los txuas rau nunchuck cov tswj ib yam nkaus.
Kauj Ruam 5: Kauj Ruam 5: Muab Nws Tag Nrho
Tam sim no txhua yam tau teeb tsa ntawm Raspberry Pi peb tsuas yog xav tau me ntsis ntawm cov cai kom nws ua haujlwm. Koj tuaj yeem rub tawm cov cai thiab lwm cov ntaub ntawv tsim nyog raws li hauv qab no:
- Txhawm rau rub cov cai thiab lwm cov ntaub ntawv mus rau Raspberry Pi, qhib lub plhaub tshiab thiab ntaus cov lus txib hauv qab no (koj yuav xav tau 'sudo' ua ntej nws): git clone
- Qhov no yuav tsim cov npe hauv koj cov npe hauv tsev hu ua keytarHero (piv txwv li/tsev/pi/keytarHero) thiab rub cov ntawv rau hauv.
Muaj peb cov ntaub ntawv tseem ceeb hauv pob no:
- WiiGHController.py: Nov yog tsab ntawv nab hab sej qhib qhov txuas i2c rau lub guitar thiab xa rov qab qhov txiaj ntsig ntawm kev tswj hwm ntau yam. Los ntawm lub neej ntawd nws tseem luam qhov tseem ceeb nws tau nyeem rau lub plhaub kom koj tuaj yeem pom nws ua dab tsi.
- keytarHero.pd: Nov yog Cov Ntaub Ntawv Ntshiab Cov ntaub ntawv kuv tau tsim los tsim cov nkauj koj yuav hnov. Nws tau teeb tsa los nyeem qhov muaj txiaj ntsig los ntawm cov kis las thiab coj lawv mus rau ntau lub hauv paus los tsim cov suab. Kuv yuav tham txog cov ntsiab lus ntawm thaj nyob rau theem tom ntej, tab sis thaum kawg koj tuaj yeem hloov kho qhov no kom ua txhua yam koj xav tau los ntawm no.
- keytarHero.py: Nov yog tsab ntawv uas pib tawm tag nrho cov txheej txheem thiab ua txhua yam ua ke. Nws tso cov ntaub ntawv Ntshiab thiab qhib qhov keytarHero.pd thaj. Nws qhib kev sib txuas rau thaj thiab dhau qhov txiaj ntsig los ntawm guitar mus rau thaj.
Lub sijhawm tseeb! Nco ntsoov tias lub guitar txuas nrog Raspberry Pi thiab tom qab ntawd koj npaj txhij mus. Txhawm rau ncaws nws, koj tsuas yog yuav tsum tau sau cov ntawv keytarHero.py. Ua li no:
- Qhib lub plhaub tshiab thiab ntaus: cd keytarHero
- Tom qab ntawv khiav cov lus txib: nab nab keytarHero.py
Qhov ntawd yog nws! Yog tias txhua yam ua haujlwm tau raug Cov ntaub ntawv Ntshiab yuav tsum pib thiab pib ua si thaj. Koj yuav tsum hnov cov ntawv sau ua ntu zus, thiab thaum koj nyem khawm ntawm lub guitar, nws yuav tsum teb rau nws.
Teeb meem
Yog tias nws tsis ua haujlwm, ntawm no yog qee yam los tshuaj xyuas:
- Cov Ntaub Ntawv Ntshiab thaj tsis tso tawm lossis tau txais qhov yuam kev txog tsis pom cov ntaub ntawv? KeytarHero.py tsab ntawv muaj txoj hauv kev mus rau Cov Ntaub Ntawv Ntshiab thaj ua haujlwm hardcoded rau '/home/pi/keytarHero/keytarHero.pd'. Yog tias koj tau hloov koj daim ntawv keytarHero lossis cov ntaub ntawv thaj chaw ntawd mus rau lwm qhov, koj yuav tsum hloov kho tsab ntawv los siv koj txoj hauv kev. Txhawm rau ua qhov no, qhib cov ntaub ntawv keytarHero.py thiab nrhiav qhov sib txawv hu ua PD_PATCH_PATH thiab hloov nws mus rau taw qhia rau cov npe uas koj cov ntaub ntawv keytarHero.pd nyob. Txuag tsab ntawv thiab rov ua nws thiab koj yuav tsum zoo mus.
- Puas yog lub guitar tso lub teeb liab? Tsab ntawv yuav tsum luam tawm lub teeb liab nws tau txais los ntawm guitar mus rau lub plhaub tsis tu ncua raws li txoj hlua ntawm tus lej, txhua tus sawv cev rau tus nqi ntawm kev tswj hwm ntawm guitar. Thaum koj siv kev tswj ntawm tus ntaus guitar nws yuav tsum ua rau cov lej no hloov pauv. Yog tias tsis yog, txheeb xyuas tias koj tau ua tiav kev teeb tsa i2c thiab sib txuas guitar kom raug hauv cov theem saum toj no.
- Puas yog Cov Ntaub Ntawv Ntshiab tau qhib? Cov ntaub ntawv Ntshiab thaj muab hauv pob no yuav tsum tau qhib lub suab tab sis txheeb xyuas tias DSP lub npov nyob hauv Ntshiab Cov Ntsiab Lus tau txheeb xyuas. Kuj xyuas koj lub suab teeb tsa raws li qhia hauv Kauj Ruam 3.
- Puas yog Cov Ntaub Ntawv Ntshiab tau txais lub teeb liab los ntawm ntaus guitar? Nyob rau sab saud sab xis ntawm thaj yog ib pawg ntawm lub luag haujlwm saib xyuas lub teeb liab los ntawm tus ntaus guitar thiab xa nws mus rau lwm thaj. Raws li koj nias lub pob ntawm tus ntaus guitar, cov lej hauv ntu no yuav tsum hloov kho ib yam qhia rau koj tias nws tau txais lub teeb liab kom raug.
- Initializing hloov pauv hauv thaj. Cov Ntaub Ntawv Ntshiab tuaj yeem yog qhov ua tiav me ntsis txog qhov muaj txiaj ntsig hauv thaj tsis tau pib ua ntej. Kuv tau ntxiv cov txheej txheem los ua kom muaj kev hloov pauv thaum nws qhib tab sis nws yuav tsim nyog tsuas yog nyem rau qee lub thawv ntawv (cov uas zoo li lawv tau txais qhov tom tawm ntawm lawv). Qhov no ua rau lawv pib thiab tuaj yeem tsa lawv sawv.
Kauj Ruam 6: Ncig Saib ntawm Patch Cov Ntaub Ntawv Ntshiab
Kev teeb tsa piav qhia kom deb li deb hauv qhov kev qhia no yuav tau txais yam ua haujlwm rau koj tab sis ib qho ntawm qhov zoo ntawm kev siv Cov Ntaub Ntawv Ntshiab rau txoj haujlwm no, yog tias nws tuaj yeem tsim kho kom ua txhua yam koj xav tau. Thaum lub thaj qhib yog tias koj tsoo Ctrl + E nws tso lub thaj rau hauv Kho kom raug thiab koj tuaj yeem hloov thaj. Cov ntsiab lus ntawm kev siv Cov Ntaub Ntawv Ntshiab yog dhau ntawm qhov kev qhia no (muaj ntau ntau cov kev qhia hauv online rau qhov ntawd) tab sis nws tuaj yeem lom zem rau tinker nrog nws, yog li ntawm no yog kev ncig xyuas dav dav ntawm dab tsi tshwm sim hauv keytarHero.pd thaj nyob rau hauv rooj plaub koj xav customize nws:
- Kev sib txuas lus guitar: Nyob rau sab xis saum toj ntawm thaj yog tsob ntoo ntawm lub luag haujlwm saib xyuas lub teeb liab los ntawm ntaus guitar. Cov txiaj ntsig los ntawm guitar yog txoj hlua ntev, yog li cov kab no tawg ua txoj hlua rau hauv tus kheej qhov tseem ceeb rau txhua qhov kev tswj hwm, hloov lawv mus rau tus lej, thiab tom qab ntawd dhau lawv mus rau 'xa' nodes (qhov uas pib nrog s). Xa cov nodes tau muab lub npe thiab tso lub teeb liab mus rau 'tau txais' nodes ntawm tib lub npe. Piv txwv li qhov 's whammy' node, tso tawm qhov muaj txiaj ntsig los ntawm guitar lub whammy bar thiab 'r whammy' ntawm qhov nruab nrab ntawm thaj ua rau thaj tau txais lub teeb liab ntawd thiab siv lub teeb liab los nres tus lej. Xa/tau txais cov ntshav pab txo qis kev sib tsoo ntawm cov kab sib txuas hauv thaj. Kuv tsis pom zoo kom cuam tshuam nrog ntu no raws li nws yog qhov fussy kom tau txais txoj cai, tab sis koj tuaj yeem twv yuav raug hu ntxiv cov nodes thoob plaws thaj raws li xav tau kom tau txais cov cim los ntawm nws raws li xav tau.
- Sequencer ntu: Ntu ntu nruab nrab ntawm thaj ua rau thaj ua rau thaj. Ntawm sab laug yog ib qho bar nrog lub xwmfab dub txav uas qhia koj uas cim ntawm 16-cim ntu uas nws tab tom ua si. Tus yuam sij strum tswj hwm seb qhov ua ntu zus ua si mus tom ntej lossis rov qab. Qhov ntxiv/rho tawm cov nyees khawm nce/txo qhov nrawm. Ntawm sab xis yog tsib pawg lej uas tswj hwm cov ntawv uas ua si thaum txhua kauj ruam. Txhua ntu tau muab tso ua si thaum ib ntawm tsib lub khawm ntawm qhov kev nyuab siab raug nias. Cov lej no yog MIDI qhov tseem ceeb thiab koj tuaj yeem hloov lawv mus ua si yam ntawv koj xav tau … tsuas yog muab lawv qhov tseem ceeb ntawm 0 thiab 127.
- Oscillator/FX seem: Hauv qab sab laug yog oscillator thiab FX nodes uas ua rau lub suab zoo. Thawj oscillator yog nyob rau sab laug. Qhov nruab nrab qhov tseem ceeb los ntawm ntu ntu tau hloov pauv mus rau zaus thiab pub rau cov oscillator. Nws tau sib xyaw nrog tus oscillator thib ob los ntawm sab xis. Nws zaus kuj tseem raug tswj los ntawm qhov nruab nrab qhov tseem ceeb tab sis nrog rau qhov ntau zaus offset uas tau tsav los ntawm X-axis ntawm joystick. Qhov no ua rau muaj qhov cuam tshuam lossis cuam tshuam thaum koj txav lub joystick mus rau sab laug lossis sab xis. Hauv qab sab xis kuj tseem muaj qhov qis lim lim uas nws qhov txiav tawm ntau yog khi rau joystick's Y-axis. Lub lim qis dhau los txiav txim siab ntau npaum li cas lub suab tawm ntawm lub suab. Thaum tus joystick tau txav mus rau txoj haujlwm qis nws txiav tawm ntau qhov ntau zaus uas ua rau muaj suab nrov. Thaum txav mus rau txoj haujlwm nce siab nws hla txhua qhov nrawm los ntawm qhov ua rau lub suab zoo dua.
- Kev pib ua: Nyob rau sab saud sab saud ntawm thaj muaj ntau cov nodes uas pib ua haujlwm thaum nws pib xws li tig rau lub suab thiab 'kov' ntau cov nodes kom lawv sawv. Ib zaug ntxiv koj yuav tsis tas yuav cuam tshuam nrog ntu no, tab sis yog tias muaj qee yam koj xav kom muaj tshwm sim thaum lub thaj xa tawm, txuas lawv mus rau ntawm qhov hu ua 'loadbang'.
- Kuv tau sim sau cov ntawv nrog cov lus pom hauv thaj nws tus kheej, yog li cia siab tias yuav muab cov ntaub ntawv txaus rau koj los tshawb txog cov kev xaiv sib txawv ntawm no.
Txaus siab rau!
Kauj Ruam 7: Yam Ntxiv Los Sim
Khiav lub guitar 'headless'
Nws yuav tsum muaj peev xwm los ua txoj haujlwm no yam tsis tau txuas nrog lub monitor/keyboard/mouse yog tias koj tau khiav koj li Raspberry Pi tawm ntawm lub zog tsim nyog nqa tau. Raspberry Pi tsis haum rau qhov qhib rau sab nraub qaum ntawm guitar tab sis yog tias koj muaj lub siab tawv, koj tuaj yeem hloov kho lub guitar los kho qhov ntawd … tawm me ntsis. Muaj ntau ntau cov kev qhia hauv online txog yuav ua li cas sau cov ntawv ntawm Raspberry Pi tsis muaj lub taub hau, tab sis qhov tseeb koj yuav xav khiav qhov hais kom ua 'nab hab sej /home/pi/keytarHero/keytarHero.py&' thaum nws khau raj. Raws li txoj kev xav, koj yuav muaj lub guitar nrog tsuas yog ib txoj kab tawm los ntawm nws mus rau tus hais lus … ib yam li hluav taws xob tiag tiag guitar!
Kev Hloov Kho Cov Ntaub Ntawv Ntshiab Ntxiv
Kuv tau muaj lwm lub tswv yim rau yuav ua li cas lub guitar tuaj yeem tswj hwm Cov Ntaub Ntawv Ntshiab tab sis tsis tau nyob ib puag ncig los sim. Cov no yuav yog kev hloov pauv hauv thaj uas yuav lom zem rau sim nrog:
- Whammy bar: Hauv thaj chaw tam sim no whammy bar yooj yim nres qhov ua ntu zus, tab sis kuv xav tias nws yuav zoo dua yog tias whammy bar kuj tau teeb tsa ntau zaus nyob rau tib lub sijhawm ib yam li whammy bar tiag tiag. Kuv sim ua kom nws ua haujlwm ib pliag, tab sis nws yog qhov nyuaj tshaj qhov kuv xav. Kuv xav tias nws tsuas yog teeb meem ntawm kev ntxiv cov lus qhia hauv ntu oscillator uas ntxiv qhov nce me ntsis rau oscillator raws li tus nqi los ntawm whammy bar.
- Strum bar: Tam sim no strum bar ua ntu zus rau pem hauv ntej thaum nias qis thiab thim rov qab thaum nias siab, tab sis yuav zoo dua kom nws muaj kev voj voog los ntawm kev xaiv sib txawv xws li cov kauj ruam tsis raug, thiab lwm yam.
- Ntxiv/rho tawm cov nyees khawm: Qhov ntxiv/rho tawm cov nyees khawm hloov pauv-rau-feeb tab sis nws yog qhov tsis txaus ntseeg tshwj tsis yog tias koj ntaus lawv ob peb zaug. Tej zaum yuav zoo kom nws nce los ntawm ntau dua txhua lub sijhawm. Lossis tej zaum nws yuav hloov qhov ua ntu zus ntawm 16-ntaus, 8-yeej, 4-yeej, kev ua si thib peb.
Pom zoo:
Siv Smartphone Raws Li Tsis Siv Tus Kheej Ntsuas Kub / Tus Ntsuas Ntsuas Kub: 8 Kauj Ruam (nrog Duab)
Siv Smartphone Raws Li Tsis Siv Tus Kws Ntsuas Kub / Tus Ntsuas Kub Portable: Ntsuas lub cev kub nrog qhov tsis sib cuag / tsis sib cuag zoo li rab phom thermo. Kuv tsim txoj haujlwm no vim tias Thermo Gun tam sim no kim heev, yog li kuv yuav tsum tau txais lwm txoj hauv kev los ua DIY. Thiab lub hom phiaj yog ua nrog cov peev txheej qis .SuppliesMLX90614Ardu
Arduino Raws Li Tsis Tiv Taus Tus Kheej Infrared - IR Raws Tus Ntsuas Kub Siv Arduino: 4 Kauj Ruam
Arduino Raws Li Tsis Tiv Taus Tus Kheej Infrared | IR Raws Tus Ntsuas Kub Siv Arduino: Nyob zoo cov neeg hauv phau ntawv qhia no peb yuav ua tus tsis siv tus pas ntsuas kub siv arduino.Since qee zaum qhov ntsuas kub ntawm cov kua/khoom yog siab dhau lossis txoj hauv kev qis thiab tom qab ntawd nws nyuaj rau kev sib cuag nrog nws thiab nyeem nws qhov kub thiab txias hauv qhov xwm txheej ntawd
ARUPI - Tus Nqi Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi Uas Tau Txais Tus Nqi/Tus Kheej Tus Kheej (ARU) rau Soundscape Ecologists: 8 Kauj Ruam (nrog Duab)
ARUPI - Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi/Tus Kheej Tus Kheej (ARU) rau Soundscape Ecologists: Cov lus qhia no tau sau los ntawm Anthony Turner. Txoj haujlwm tau tsim los nrog ntau qhov kev pab los ntawm Shed hauv Tsev Kawm Ntawv ntawm Kev Suav, University of Kent (Mr Daniel Knox tau pab zoo!)
SEER- InternetOfThings Raws Tus Pabcuam Tus Kheej Tus Kheej: 12 Kauj Ruam (nrog Duab)
SEER- InternetOfThings Raws Tus Pabcuam Tus Kheej Tus Kheej: Seer yog lub cuab yeej uas yuav ua lub luag haujlwm txhawb nqa hauv kev ua haujlwm ntawm cov tsev ntse thiab tshuab siv tshuab. ntawm Raspberry Pi 3 qauv B nrog lub koob yees duab sib xyaw
DIY Ntse Ua Raws Kuv Drone Nrog Lub Koob Yees Duab (Arduino Raws): 22 Cov Kauj Ruam (nrog Duab)
DIY Ntse Ua Raws Kuv Drone Nrog Lub Koob Yees Duab (Arduino Raws): Drones yog cov khoom ua si nrov heev thiab cov cuab yeej niaj hnub no. Koj tuaj yeem pom cov kws tshaj lij thiab txawm tias pib ua haujlwm drones thiab cov khoom siv ya hauv khw. Kuv muaj plaub lub drones (quadcopters thiab hexcopters), vim tias kuv nyiam txhua yam uas ya, tab sis lub davhlau 200th tsis yog