Cov txheej txheem:

Co Tshawb Nrhiav Tham Nrog Lub Hau Circuit Court Express: 12 Kauj Ruam (nrog Duab)
Co Tshawb Nrhiav Tham Nrog Lub Hau Circuit Court Express: 12 Kauj Ruam (nrog Duab)

Video: Co Tshawb Nrhiav Tham Nrog Lub Hau Circuit Court Express: 12 Kauj Ruam (nrog Duab)

Video: Co Tshawb Nrhiav Tham Nrog Lub Hau Circuit Court Express: 12 Kauj Ruam (nrog Duab)
Video: 5-дневное путешествие на поезде через 3 000 км на север и юг Японии по очень низкой цене. (Кюсю) 2024, Hlis ntuj nqeg
Anonim
Tsoo Tshawb Nrhiav Tham Nrog Lub Hau Circuit Court Express
Tsoo Tshawb Nrhiav Tham Nrog Lub Hau Circuit Court Express
Tsoo Tshawb Nrhiav Tham Nrog Lub Hau Circuit Court Express
Tsoo Tshawb Nrhiav Tham Nrog Lub Hau Circuit Court Express
Tsoo Tshawb Nrhiav Tham Nrog Lub Hau Circuit Court Express
Tsoo Tshawb Nrhiav Tham Nrog Lub Hau Circuit Court Express
Tsoo Tshawb Nrhiav Tham Nrog Lub Hau Circuit Court Express
Tsoo Tshawb Nrhiav Tham Nrog Lub Hau Circuit Court Express

Qhov kev qhia yooj yim thiab nrawm qhia koj yuav ua li cas thiaj ua lub kaus mom hais lus! Nws yuav teb nrog cov lus teb ua tib zoo ua thaum koj 'nug' cov lus nug, thiab tej zaum nws tuaj yeem pab koj txiav txim siab yog tias koj muaj kev txhawj xeeb lossis teeb meem.

Hauv kuv chav kawm Wearable Tech, Kuv tau muab txoj haujlwm los koom nrog CPX (kev qhia chaw ua si hauv Circuit), kuv qhov txuj ci, thiab qee yam uas koj tuaj yeem hnav rau hauv ib qhov haujlwm. Thiab kuv xav tias, vim li cas ho tsis ua lub kaus mom hais lus zoo ib yam li lub kaus mom sib dhos hauv Harry Potter? Lub kaus mom yuav tsim cov lus teb kuv kaw thaum twg CPX pom qhov co.

Khoom siv

- Tus neeg nuv ntses lub kaus mom (lossis txhua lub kaus mom ua haujlwm)

- CPX (nthuav qhia chaw ua si hauv Circuit)

- AA roj teeb (Kuv siv lub roj teeb rov tau)

- Clip

- Koob

- hlaws dai

-Xov

- Daim ntawv thov Audacity

- Lub Suab Recorder (Kuv siv Quicktime player)

- mu-editor (Python kho qhov program)

Cov ntaub ntawv koj yuav lossis xav tau:

- Sab nraud microphone

- Sequins

- hlaws dai

Kauj Ruam 1: Yuav lub kaus mom

Kuv xav tau ib tus neeg nuv ntses lub kaus mom, yog li kuv tau txais los ntawm H&M, tab sis koj tuaj yeem siv txhua hom kev nyiam lub kaus mom lossis hom khoom koj xav siv.

Kauj Ruam 2: Lub hlwb thiab sau cov lus teb koj xav kom lub kaus mom hais

Ua ntej, koj yuav tsum sau cov lus teb uas koj lub kaus mom yuav tsim. Piv txwv li, kuv lub kaus mom tuaj yeem tsim tsib lo lus teb, suav nrog "Yog," "Tsis yog," "Tej zaum lwm zaus," "Kuv yuav nug lwm lo lus," thiab "Yog lawm."

Koj tuaj yeem sau cov no siv cov cuab yeej kaw suab uas koj xav tau, suav nrog koj lub kaw suab hauv xov tooj, QuickTime player, GarageBand, thiab lwm yam.

Kauj ruam 3: Exporting Audio File

Thaum koj tau kaw cov ntaub ntawv audio, koj yuav tsum hloov pauv cov ntaub ntawv audio nrog.wav cov ntaub ntawv siv lub siab tawv. Yog tias koj tsis muaj lub program audacity ntawm koj lub khoos phis tawj, tom qab ntawd koj tuaj yeem yooj yim rub nws los ntawm googling lub siab tawv lossis ua raws qhov txuas no:

Tom qab ntawd, koj yuav tsum txav cov ntawv mus rau hauv qhov program audacity txhawm rau kho cov ntaub ntawv. Koj yuav tsum xub faib cov ntaub ntawv audio los ntawm lub tso suab mus rau mono yog li nws txo cov ntawv me me.

Nov yog cov kauj ruam yuav hloov kho cov ntaub ntawv rau hauv.wav cov ntaub ntawv.

Kauj Ruam 4: Xa Cov Ntaub Ntawv Los Ntawm QuickTime Player mus rau Garage Band

Export Cov Ntaub Ntawv Los Ntawm QuickTime Player rau Garage Band
Export Cov Ntaub Ntawv Los Ntawm QuickTime Player rau Garage Band
Export Cov Ntaub Ntawv Los Ntawm QuickTime Player rau Garage Band
Export Cov Ntaub Ntawv Los Ntawm QuickTime Player rau Garage Band
Export Cov Ntaub Ntawv Los Ntawm QuickTime Player rau Garage Band
Export Cov Ntaub Ntawv Los Ntawm QuickTime Player rau Garage Band
Export Cov Ntaub Ntawv Los Ntawm QuickTime Player rau Garage Band
Export Cov Ntaub Ntawv Los Ntawm QuickTime Player rau Garage Band

Thaum koj muaj cov ntaub ntawv khaws tseg hauv lub desktop zoo li lub vijtsam saum toj no, koj yuav yooj yim rub cov ntawv mus rau hauv GarageBand kom xa tawm qhov no rau hauv Uncompressed 16-ntsis AIFF cov ntaub ntawv. Qhov no tuaj yeem ua tiav los ntawm kev nyem khawm Qhia Tawm Nkauj Nkauj rau Disk raws li qhia hauv daim duab thib peb. Tom qab ntawd, nyem 'AIFF' thiab '16-ntsis CD 'thiab khaws nws rau hauv lub desktop dua.

Kauj Ruam 5: Hloov AIFF Cov Ntaub Ntawv rau hauv.wav Cov Ntaub Ntawv

Hloov AIFF Cov Ntaub Ntawv rau hauv.wav Cov Ntaub Ntawv
Hloov AIFF Cov Ntaub Ntawv rau hauv.wav Cov Ntaub Ntawv
Hloov AIFF Cov Ntaub Ntawv rau hauv.wav Cov Ntaub Ntawv
Hloov AIFF Cov Ntaub Ntawv rau hauv.wav Cov Ntaub Ntawv
Hloov AIFF Cov Ntaub Ntawv rau hauv.wav Cov Ntaub Ntawv
Hloov AIFF Cov Ntaub Ntawv rau hauv.wav Cov Ntaub Ntawv

Txij li thaum koj muaj AIFF cov ntaub ntawv kaw rau hauv koj lub desktop, koj tuaj yeem qhib Audacity thiab ntshuam cov ntaub ntawv. Koj tuaj yeem ua qhov no los ntawm kev yooj yim rub cov ntawv AIFF rau hauv. Yog tias daim ntawv ceeb toom tshwm sim, tsuas yog nyem OK thiab mus ntxiv.

Tom qab ntawd, cov ntaub ntawv audio uas zoo li lub screenshot thib ob saum toj no yuav tshwm sim. Txij li koj yuav tsum faib lub tso suab tso rau hauv mono, nyem lub pob xub nqis ib sab ntawm lub npe ntawm koj cov ntaub ntawv audio (qhov no nws yog 'tsis ua li cas') thiab koj yuav pom lub cim uas hais tias 'Split Stereo to Mono.' Nyem qhov no. Koj cov ntaub ntawv audio yuav raug faib cais ua ob qho.

Tom ntej no, koj yuav tsum rho tawm ib qho ntawm cov ntaub ntawv audio txij li nws tau raug faib. Qhov no tuaj yeem ua tiav los ntawm nias lub pob 'X' ntawm sab laug. Qhov no yuav tso koj nrog qee yam zoo li lub screenshot thib peb.

Koj tuaj yeem hloov kho cov ntaub ntawv txawm li cas los xij koj xav tau, thiab yog tias koj ua tiav, nyem Export Export raws li WAV saum toj.

Tom qab ntawv, tsuas yog khaws nws rau hauv koj lub desktop. Rov ua cov txheej txheem no rau txhua cov ntaub ntawv audio uas koj tau kaw.

*Lus ceeb toom: Nco ntsoov tias koj tsis tau sau ntau dhau vim tias CPX muaj qhov cia me me thiab tsis tuaj yeem haum txhua lub suab kaw suab.

Kauj Ruam 6: Rub Tawm CircuitPython (yog Xav Tau)

Rub tawm CircuitPython (yog Xav Tau)
Rub tawm CircuitPython (yog Xav Tau)

Thaum koj tau ua raws cov theem no, tam sim no koj tau npaj rau code.

Kuv yuav siv cov nab hab sej los sau cov program no, yog li yog tias koj tsis muaj mu-editor ntawm koj lub khoos phis tawj, koj yuav tsum rub tawm nws. Koj tuaj yeem rub tawm qhov no los ntawm kev tshawb nrhiav yooj yim 'mu-editor' hauv google thiab nyem rau thawj lub vev xaib uas pom. Koj tseem tuaj yeem ua raws lub vev xaib no thiab rub tawm nyob ntawm koj lub computer yam.

Yog tias koj tau rub tawm qhov program, qhib nws. Nws yuav zoo ib yam li daim duab saum toj no. Nov yog qhov uas koj tuaj yeem sau koj cov lej thiab khaws nws.

Kauj Ruam 7: Kev Sib Txuas Ntawm Python Program thiab CPX

Kev Sib Txuas Ntawm Python Program thiab CPX
Kev Sib Txuas Ntawm Python Program thiab CPX
Kev Sib Txuas Ntawm Python Program thiab CPX
Kev Sib Txuas Ntawm Python Program thiab CPX

Tam sim no, tau txais koj li CPX thiab USB cable tawm.

Txuas qhov me me ntawm USB kab rau hauv CPX, ntawm qhov nyiaj raws li qhia hauv daim duab, thiab txuas qhov loj dua ntawm USB cable rau hauv koj lub computer. Tam sim no koj tau npaj tiag tiag rau cov cai thiab txhua cov ntaub ntawv khaws tseg rau hauv koj li-tus kws kho mob yuav hloov mus rau CPX.

Kauj Ruam 8: Txhim Kho Circuit Python

Tom ntej no, koj yuav tsum teeb tsa qhov hloov tshiab kawg ntawm qhov chaw ua si hauv Circuit qhia siv qhov txuas no:

circuitpython.org/board/circuitplayground_…

Nov yog qhov teeb tsa zaum kawg koj yuav tsum ua, Kuv cog lus. Tom qab qhov no los txog qhov lom zem.

Cov ntawv no koj nyuam qhuav teeb tsa yuav luam rau koj li CPX. CPLAYBOOT beeps thiab dhau los ua CIRCUITPY. Thaum twg koj txuas lub USB cable, CPX, thiab lub khoos phis tawj ua ke, CIRCUITPY no yuav tshwm sim.

Nco ntsoov lub wav. cov ntaub ntawv suab (s) koj hloov dua siab tshiab ua ntej? Tso cov ntawv no/cov ntaub ntawv no mus rau CIRCUITPY nplaub tshev. Nco ntsoov tias cov ntaub ntawv suab yog 16-ntsis, mono WAV file.

Kauj ruam 9: Coding

Coding!
Coding!

Hauv qhov kev qhia no, CPX xav tau ua peb yam. Ib, nws yuav tsum tau txheeb xyuas lossis nkag siab lub zog. Ob, nws tseem xav tau los tsim cov lus teb, thiab peb, nws yuav tsum ua cov ntawv tso rau hauv CPX. Yog li cov cai uas ua rau lub kaus mom ua haujlwm no yuav tsum ua tag nrho peb qho.

Ntxiv cov cai hauv qab no rau koj tus kws sau ntawv sau, thiab khaws nws li: code.py

lub sij hawm ntshuam

ntshuam random los ntawm adafruit Circuit playground.express

ntshuam cpx suab = ["That's-ok.wav"]

thaum Muaj Tseeb:

#ua si lub suab tsis raug yog tshee

yog cpx.shake (shake_threshold = 20):

cpx.play_file (random.choice (suab))

#ntxiv ncua rau ob peb feeb

lub sij hawm.sleep (.5)

Yog tias peb saib cov cai, ua ntej, peb xa lub sijhawm. Tom qab ntawd peb ntshuam random rau lub tshuab hluav taws xob random. Hauv Python, "sijhawm" tso cai rau peb ua haujlwm ntau yam txog sijhawm, nws kev hloov pauv thiab sawv cev. Tom qab ntawd, nws tau qhia hauv cov cai uas los ntawm txoj haujlwm no cov ntaub ntawv yuav hloov mus. Ib sab ntawm 'suab =', hauv kab lus thiab cov lus hais yuav tsum yog.wav cov ntaub ntawv koj rub mus rau hauv koj daim ntawv CIRCUITPY. Daim ntawv ceeb toom tias koj yuav tsum sau '.wav' rau ntawm txoj cai. Python tsis tuaj yeem txhais cov cim tshwj xeeb xws li _,:, ', thiab ntau dua, yog li ua kom ntseeg tau tias koj tau muab cov lus sib dhos ntawm cov lus yog tias koj xav tau qhov chaw nruab nrab ntawm cov lus. Hauv txoj cai no, tsuas muaj ib lub suab kaw suab, yog li yog tias koj xav muab cov ntaub ntawv suab ntau dua, muab tso rau hauv tib hom thiab npe uas tau khaws tseg rau hauv koj lub computer. Nco ntsoov, txhawm rau ua cov ntawv ua suab, cov ntaub ntawv suab yuav tsum tau muab tso rau hauv CIRCUITPY nplaub tshev!

Cov cai hauv qab no 'thaum Muaj Tseeb:' qhia CPX kom ua suab nrov yog tias nws pom qhov co, thiab ncua rau ob peb feeb. Tus (.5) hauv txoj cai qhia pom tias CPX nkag siab zoo li cas, yog li yog tias koj xav kom nws nkag siab ntau dua lossis tsis nkag siab, koj tuaj yeem hloov tus lej. Koj tuaj yeem pom lub vijtsam saum toj no yog tias koj xav ua ob zaug txheeb xyuas cov hom ntawv.

Kauj Ruam 10: Kawg Kawg: Tshooj I

Coding zaum kawg: Tshooj I
Coding zaum kawg: Tshooj I

Cia ntxiv qee qhov kev nkag mus thiab lwm yam.wav cov ntaub ntawv. Luag lwm cov.wav cov ntaub ntawv rau hauv CIRCUITPY nplaub tshev ua ntej koj pib code. Qhov no, yog kuv tus lej kawg:

lub sij hawm ntshuam

ntshuam random los ntawm adafruit Circuit playground.express

ntshuam cpx suab = ["uas yog-ok.wav", "tej zaum-tom ntej-sijhawm.wav", "yes.wav", "no.wav", "Ill-take-another-question.wav"]

thaum Muaj Tseeb:

#ua si lub suab tsis raug yog tshee

yog cpx.shake (shake_threshold = 20):

cpx.play_file (random.choice (suab))

#ntxiv ncua rau ob peb feeb

lub sij hawm.sleep (.5)

Tam sim no kho cov ntaub ntawv suab raws li koj li thiab nyem khawm tseg! Nco ntsoov, yog tias koj muaj cov ntawv ntev.wav tiag tiag, koj yuav pom tias koj tsis tuaj yeem ua dab tsi ntxiv txog thaum cov ntawv ua tiav. Nco ntsoov tias yog koj yuav suav nrog.wav cov ntaub ntawv nrog lwm cov lej. Nws kuj tseem ntse los tshuaj xyuas yog tias koj muaj chaw cia khoom txaus hauv koj li CPX.

Saum toj no yog qhov nws zoo li ntawm mu-editor.

Kauj Ruam 11: Kawg Kawg: Ntu 2

Yog tias koj tau sau cov lej, nco ntsoov koj nyem lub pob tseg. Tom qab ntawd, tua koj tus CPX thiab qhib nws dua nrog USB cable tseem txuas rau koj lub khoos phis tawj thiab mu-editor tseem qhib. Qhov no tuaj yeem ua tiav los ntawm nias lub pob nruab nrab uas hais tias 'RESET' ntawm CPX. Co kom paub tseeb tias cov cai ua haujlwm tau zoo. Yog tias txoj cai ua haujlwm, CPX yuav tsum tsim ib qho ntawm cov lus teb los ntawm koj cov cai. Yog tias koj muaj teeb meem hauv kev ua qhov no, kos ob zaug:

1) yog tias hom ntawv yog lawm

2) yog tias koj tsis muaj cov cim tsis paub hauv Python (piv txwv li ', _)

3) yog tias koj tau txais kev cawmdim kom raug

4) yog tias koj muaj tag nrho cov ntaub ntawv audio (.wav) rub rau hauv CIRCUITPY nplaub tshev.

Nco ntsoov, coding xav tau ntau qhov kev sim siab thiab ua yuam kev kom nws ua haujlwm tau zoo.

Yog tias txhua yam ua haujlwm, ua tib zoo tshem tawm USB cable. Txij li thaum koj ua tiav nrog koj tus lej ib feem ntawm qhov kev sib tw no, koj tau 95% ua tiav hauv kev ua lub kaus mom no!

Kauj Ruam 12: Kho Kom Zoo Nkauj thiab Tsim

Kho kom zoo nkauj thiab Tsim
Kho kom zoo nkauj thiab Tsim
Kho kom zoo nkauj thiab Tsim
Kho kom zoo nkauj thiab Tsim
Kho kom zoo nkauj thiab Tsim
Kho kom zoo nkauj thiab Tsim

Tam sim no yog lub sijhawm rau kev kho kom zoo nkauj.

Ua ntej, muab CPX tso rau lub kaus mom los ntawm kev xaws. Saum toj no yog daim duab ntawm qhov kuv tau ua.

Yuav ua li cas thiab qhov twg koj tso koj lub roj teeb tseem ceeb, tab sis nws yog qhov koj xaiv. Kuv yooj yim clipped lub roj teeb pob rau sab kom nws zoo li ntuj thiab tsis clumpy. Tom qab ntawd, Kuv tsuas yog kaw kom paub tseeb tias nws tsis poob thiab kaw cov xov hlau kom nws tsis txhob cia nws dai. Saum toj no yog cov duab ntawm qhov tsim no.

Raws li kev kho kom zoo nkauj, nws yog qhov koj xaiv kiag li. Kuv yooj yim xaws xaum me me thiab cov hlaws dai kom nws ci ntsa iab.

Txhawm rau kho kom zoo rau sab saum toj, kuv tsuas yog siv lub rooj zaum sib dhos nrog cov xov, xov me me thiab koob. Qhov no tseem tuaj yeem pom luv luv hauv daim duab saum toj no.

Hloov lub roj teeb, thiab tam sim no koj thaum kawg ua tiav!

Pom zoo: