Cov txheej txheem:

Midi Random Sequence Generator: 3 Kauj Ruam
Midi Random Sequence Generator: 3 Kauj Ruam

Video: Midi Random Sequence Generator: 3 Kauj Ruam

Video: Midi Random Sequence Generator: 3 Kauj Ruam
Video: Riffer 3.0 by AudioModern - The Creative MIDI Sequencer 2024, Kaum ib hlis
Anonim
Image
Image

Nyob zoo, hnub no kuv yuav qhia koj li cas los ua koj tus kheej Midi Random Sequence Generator.

Nws tsim cov ntawv tsis sib xws 4, 7, 8 lossis 16 cim ntev ua ntu zus hauv qhov tseem ceeb me.

Tau kawg koj tuaj yeem hloov txhua yam koj xav tau, koj tuaj yeem ntxiv ntau qhov sib lawv liag ntev lossis hloov tus yuam sij. Tab sis tus kheej kuv pom cov teeb tsa no muaj txiaj ntsig zoo.

Khoom siv

Cov qhob cij

Qee cov jumper cables

2 * 220 ohm resistors

1 * 10k ohm resistor

5 * 1k ohm resistor (lossis ntau dua yog tias koj xav tau ntau ntu ua ntu zus)

Lub hwj chim, nyiam dua ntawm qhov tawg me me yog li nws yog daim ntawv tais diav tus phooj ywg

Poj niam Midi Jack (aka poj niam 5 Pin Din Jack)

2 lub rooj sib tham ua phooj ywg zoo

9v roj teeb clip.

Thiab ntawm chav kawm Arduino. Kuv nyiam Nano, tshwj xeeb yog cov neeg suav los ntawm AliExpres vim nws tuaj yeem khiav ntawm 3.6 - 10v, ua kom yooj yim rau lub zog nrog roj teeb. Yog tias koj xaiv tib Nano no koj tseem tuaj yeem siv 4 AA roj teeb.

Yeem: Hloov Hloov (Kuv tsis siv nws, tab sis yog tias koj xav muab qhov haujlwm no rau hauv rooj plaub kuv pom zoo ib qho.)

Kauj ruam 1: Software

Kho vajtse
Kho vajtse

Txhawm rau program nws koj yuav xav tau Arduino ID:

Koj tseem yuav xav tau Midi Library:

Koj tsis xav tau ib lub tsev qiv ntawv rau lub hwj chim lossis cov hloov pauv.

Thiab yog tias koj tseem muaj tus lej Suav suav rho tawm Arduino Nano koj yuav xav tau CH340 Tsav Tsheb no: https://sparks.gogo.co.nz/ch340.html lossis https://www.dropbox.com/s/19ekrpcrrhlwbva/CH34x_Install_Windows_v3_4.zip? dl = 0

Kauj ruam 2: Kho vajtse

Qhov kho vajtse tsis nyuaj heev. Koj yuav tsum tau ua kom ntseeg tau tias koj cov hloov pauv ua haujlwm zoo ib yam li kuv ua thiab koj tuaj yeem tawm qhov hloov pauv loj yog tias koj xav tau. Nws yooj yim heev yog tias koj xav muab txhua yam rau hauv ib rooj plaub, tab sis tus kheej kuv tsuas yog siv cov hlua jumper dawb los teeb tsa ntu ntu. Nws me dua thiab kuv feem ntau tso nws hauv 8 cov kauj ruam ib qho ntxiv. Yog tias koj tsuas yog ua raws cov txheej txheem nws yuav tsum ua haujlwm zoo thiab koj ib txwm tuaj yeem tawm lus tawm tswv yim rau kev piav qhia ntxiv.

Kauj ruam 3: Upload Sketch and Test

Koj tuaj yeem pom cov duab kos ntawm no:

Kuv pom zoo kom koj hloov pauv thiab saib nws ua dab tsi. Koj tuaj yeem ntxiv ntau txoj hauv kev rau Sequence Length, koj tuaj yeem ntxiv lwm lub hwj chim ntsuas uas txiav txim siab lub hauv paus ntawv. Koj tuaj yeem hloov tus yuam sij/hom uas nws xaiv tsis los ntawm. Muaj ntau yam uas koj tuaj yeem ua los txhim kho ntawm qhov tsim no. Qhov no tau ua kom yooj yim me ntsis ua raws thiab tsuas yog ua cov hauv paus.

Nco ntsoov qhia rau kuv paub qhov koj tuaj nrog! Kuv nyiam pom tib neeg txhim kho/hloov pauv uas kuv tsis xav txog.

Pom zoo: