Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Tag Nrho Cov Qauv Tsim
- Kauj Ruam 2: Kauj Ruam 1: Tsim Lub Phaj Phaj
- Kauj Ruam 3: Kauj Ruam 2: Ua Tus Block-Typed Touch Sensor
- Kauj Ruam 4: Kauj Ruam 3: Txuas Kev Sib Koom thiab Arduino
Video: Music Assembler: Integrated Virtual Musical Instrument With Block-Typed Touch Sensor: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Muaj ntau tus neeg uas xav kawm ntaus suab paj nruag. Tu siab, qee qhov ntawm lawv tsis pib nws vim tias tus nqi siab ntawm cov twj paj nruag. Raws li nws, peb tau txiav txim siab los ua ke ua ke cov cuab yeej siv suab paj nruag virtual los txo cov peev nyiaj ntawm pib kev paub tshiab thiab muab sijhawm rau tib neeg kom nkag tau ntau yam twj paj nruag. Peb tau siv cov ntsuas ntsuas ntsuas txij li peb xav tias kev kho lub khoos phis tawj yog qhov tsim nyog rau muab rau tib neeg kev paub zoo ib yam uas lawv tab tom ua si tiag tiag.
Peb siv Stickii roll bock (rubber block), daim kab xev conductive, arduino rau kho vajtse. Txawm hais tias peb siv cov roj hmab thaiv, koj tuaj yeem siv cov khoom siv lossis siv cov kab xev xwb.
Khoom siv
Txhawm rau ua Block-Typed Touch Sensor, koj xav tau cov hauv qab no cov phooj ywg:
- Stickii Roll Block (tsis tsim nyog)
- Cov Kab Xev
- Arduino (piv txwv yuav siv mega)
- Cov kab
- 1M tus tiv thaiv
Koj tseem xav tau cov software hauv qab no:
- Arduino IDE Cov
- Kev sib haum xeeb
Kauj Ruam 1: Tag Nrho Cov Qauv Tsim
Tag nrho cov kab ke ua haujlwm zoo li no.
Kauj Ruam 2: Kauj Ruam 1: Tsim Lub Phaj Phaj
Ua ntej, yog tias koj sim siv stickii roll block lossis zoo ib yam, koj yuav tsum ua cov phaj thaiv.
Koj yuav tsum ua qhov uas yuav txuas ncaj qha rau arduino thiab kov lub sensor. Yog tias koj muaj tus pin txaus hauv arduino lossis tuaj yeem nthuav nws, koj tuaj yeem ua ntau qhov. Ntau qhov muaj nyob, tib neeg tuaj yeem siv khoos phis tawj ntau dua. Lub qhov taub tuaj yeem tau txais cov ntaub ntawv kov cov ntaub ntawv los ntawm kev siv arduino lub peev xwm ntsuas lub tsev qiv ntawv.
Tom qab ua lub qhov, muab xaim tso rau tag nrho zoo li daim duab thib ob thiab txuas cov xaim mus rau arduino nrog 1 tus tiv thaiv zoo li thawj daim duab kos.
Hauv qab no yog tus lej arduino ntawm qhov piv txwv.
#suav nrog #define SIZE 24
CapacitiveSensor cs [SIZE] = {
CapacitiveSensor (52, 53), CapacitiveSensor (50, 51), CapacitiveSensor (48, 49), CapacitiveSensor (46, 47), CapacitiveSensor (44, 45), CapacitiveSensor (42, 43), CapacitiveSensor (40, 41), CapacitiveSensor (38, 39), CapacitiveSensor (36, 37), CapacitiveSensor (34, 35), CapacitiveSensor (32, 33), CapacitiveSensor (30, 31), CapacitiveSensor (28, 29), CapacitiveSensor (26, 27), CapacitiveSensor (24, 25), CapacitiveSensor (22, 23), CapacitiveSensor (2, 3), CapacitiveSensor (4, 5), CapacitiveSensor (A0, A1), CapacitiveSensor (A2, A3), CapacitiveSensor (A4, A5), CapacitiveSensor (A6), A7), CapacitiveSensor (A8, A9), CapacitiveSensor (A10, A11)};
bool sens [SIZE] = {tsis tseeb};
void teeb tsa ()
{int ib; Serial.begin (9600); rau (i = 0; kuv <SIZE; i ++) {sens = cuav; }}
void lub voj ()
{ntev pib = millis (); rau (int i = 0; i 600) sens = tseeb; lwm qhov hnov = tsis tseeb; }
rau (int i = 0; i <SIZE; i ++) {Serial.print (sens )); } Serial.println (); Serial.flush (); ncua (50); // kev xav qeeb qeeb kom txwv cov ntaub ntawv mus rau chaw nres nkoj txuas}
Kauj Ruam 3: Kauj Ruam 2: Ua Tus Block-Typed Touch Sensor
Ua kov sensor yog ib qho yooj yim. Ib yam li thaiv phaj, ua lub qhov zoo li daim duab thawj thiab tseem muab xaim.
Tom qab ntawd muab daim kab xev tso rau sab saum toj ntawm lub thaiv (lossis lwm yam khoom koj xav siv).
Kauj Ruam 4: Kauj Ruam 3: Txuas Kev Sib Koom thiab Arduino
Qhov no yog cov kauj ruam kawg.
Tom qab xa cov cai rau arduino, khiav software sib koom ua ke. (Koj yuav tsum tsis txhob qhib qhov saib xyuas txuas nrog kev sib koom ua ke thiab arduino). Koj tuaj yeem rub tawm txoj haujlwm sib koom hauv qab github.
github.com/crysm28/musicassembler
Pom zoo:
DIY AUX INTEGRATED FEMAL JACK SPLITTER: 3 Kauj Ruam
DIY AUX INTEGRATED FEMAL JACK SPLITTER: Yog vim li cas tom qab qhov haujlwm no yog txhawm rau sib cais, ib tus poj niam koom nrog aux jack Kuv muaj hauv kuv lub laptop. qhov teeb meem nrog kev sib koom ua ke yog koj yuav tsum siv txhua qhov hauv ib qho kev xaiv rau tus hais lus thiab mike LOS YOG koj xav tau yuav lub adapter uas faib cov lus tshaj tawm
INTEGRATED GOOGLE MAPS: 4 Kauj Ruam
INTEGRATED GOOGLE MAPS: Hauv txoj haujlwm no peb yuav siv lub cuab yeej uas hloov qhov taw qhia los ntawm Google Maps mus rau hauv qhov kev nkag siab kom txo qis hwo peb tuaj yeem siv kev sib xyaw ua ke ntawm peb lub cev. peb Ardui
Digital Theremin: Touchless Musical Instrument: 4 Kauj Ruam
Digital Theremin: Touchless Musical Instrument: Hauv qhov kev sim no nrog Digital Electronics, Kuv yuav qhia koj yuav tsim cov nkauj li cas (ze rau nws: P) yam tsis tau kov lub suab paj nruas, siv Oscillators & Qhib-amp. Yeej, qhov ntsuas no hu ua Theremin, xub tsim lub tsev siv
Handheld 6 Note Music Box / Instrument (Yooj Yim Ua & Txhim Kho!): 5 Cov Kauj Ruam (nrog Duab)
Handheld 6 Note Music Box / Instrument (Yooj Yim Ua & Txhim Kho!): Nyob zoo! Kev tshoov siab los ntawm Martin Molin, tus tswv cuab ntawm pab pawg Swedish hu ua Wintergatan, tsis ntev los no kuv tau poob rau hauv kev hlub nrog lub thawv nkauj thiab txhua yam hais txog lawv. Cov tib neeg ua nkauj rau lub thawv nkauj tseem tab tom siv txoj hauv kev xuas nrig ntaus nkauj tsis yog
DDR-style Musical Instrument: 3 Kauj Ruam
DDR-style Musical Instrument: Qhov no yog cov cuab yeej siv suab paj nruag uas tau tsim sai uas kuv tau siv "pub dawb" txhawb nqa kev seev cev-seev cev-kiv puag ncig kev seev cev mats uas Kraft tau muab tawm