merging changes

This commit is contained in:
Peli de Halleux 2016-10-03 22:23:01 -07:00
commit a30ca46fef
5 changed files with 141 additions and 139 deletions

View File

@ -19,7 +19,7 @@ https://youtu.be/GYmdTFvxz80
## Materials ## Materials
* Cardboard large pieces (recycle!) * Cardboard large pieces (recycle!)
* Tape (masking, duct Tape, and/or packing tape) * Tape (masking, duct tape, and/or packing tape)
* Markers and/or paint * Markers and/or paint
* Aluminum Foil * Aluminum Foil
* Scissors that can cut cardboard * Scissors that can cut cardboard
@ -36,5 +36,7 @@ https://youtu.be/GYmdTFvxz80
* [Pin Press Switch](/projects/guitar/pinpress) * [Pin Press Switch](/projects/guitar/pinpress)
### ~button /projects/guitar/making ### ~button /projects/guitar/making
Let's get started! Let's get started!
### ~ ### ~

View File

@ -165,7 +165,7 @@ From **Music**, drag **play tone *C* for *1* beat** block under the **show leds*
**Try the A & B buttons** with headphones and power connected **Try the A & B buttons** with headphones and power connected
## Congratulations on completing the basic guitar! ## Congratulations on completing the basic guitar!
**Challenge:** Create Samples of longer music to play for each button instead of the single tone **Challenge:** Create samples of longer music to play for each button instead of the single tone
* *Tip*: Search for "ABC music notation" or "Easy Music Notes" + the name of a song * *Tip*: Search for "ABC music notation" or "Easy Music Notes" + the name of a song
## Extra ## Extra

View File

@ -4,7 +4,7 @@
### ~avatar avatar ### ~avatar avatar
Use the Light Sensor to the control tone for this [Theremin](https://en.wikipedia.org/wiki/Theremin) inspired guitar Use the Light Sensor to the control tone for this [Theremin](https://en.wikipedia.org/wiki/Theremin) inspired guitar
* **Concepts:** * **Concepts:**
* Inputs * Inputs
@ -24,7 +24,7 @@ https://youtu.be/2cKg9pokVC4
- the micro:bit can detect external light level intensity reaching the LEDs - the micro:bit can detect external light level intensity reaching the LEDs
- the light level block reports a reading of values 0 (*dark*) to 255 (*bright*) - the light level block reports a reading of values 0 (*dark*) to 255 (*bright*)
- a **Forever Loop** is required to continually use measure the current light level to control the tone - a **Forever Loop** is required to continually measure the current light level and control the tone
## Forever Loop ## Forever Loop
@ -63,7 +63,7 @@ Experiment to see the effect on graph height when the **plot bar graph** value *
### ~hint ### ~hint
### Frequency ### Frequency
**Frequency** measured in Hz which are cycles per second or vibrations per second **Frequency** measured in Hz which are cycles per second or vibrations per second
* A healthy human ear can detect frequencies in the range of 20Hz to 20,000Hz. * A healthy human ear can detect frequencies in the range of 20Hz to 20,000Hz.
* The micro:bit + headphones reliably produce detectable output ~50Hz - 6,000Hz. * The micro:bit + headphones reliably produce detectable output ~50Hz - 6,000Hz.
@ -71,8 +71,8 @@ Experiment to see the effect on graph height when the **plot bar graph** value *
```blocks ```blocks
music.playTone(261, music.beat(BeatFraction.Half)) music.playTone(261, music.beat(BeatFraction.Half))
``` ```
**play tone** blocks can specify a specific numeric **Frequency** **play tone** blocks can specify a numeric **Frequency**
by replacing the letter note 261Hz represents a **C** note with a **number** block by replacing the letter **C** note with a **number** block that has the value it represents
```blocks ```blocks
music.playTone(261, music.beat(BeatFraction.Half)) music.playTone(261, music.beat(BeatFraction.Half))
``` ```
@ -84,7 +84,7 @@ input.onButtonPressed(Button.A, () => {
music.playTone(261 * 2, music.beat(BeatFraction.Half)) music.playTone(261 * 2, music.beat(BeatFraction.Half))
}) })
``` ```
create a **play tone** block using a **Math** section, **multiplication** block to set *tone* Create a **play tone** block using a **Math** section, **multiplication** block to set *tone*
### Next ### Next
**Add** a **B** button block that multiplies the **261** tone by a number other than 2 to set tone **Add** a **B** button block that multiplies the **261** tone by a number other than 2 to set tone

View File

@ -11,7 +11,7 @@ Make the Guitar Body for your micro:bit Guitar
## Materials ## Materials
* Cardboard large pieces (recycle!) * Cardboard large pieces (recycle!)
* Tape (masking, duct Tape, and/or packing tape) * Tape (masking, duct tape, and/or packing tape)
* Scissors that can cut cardboard * Scissors that can cut cardboard
* Markers and/or paint * Markers and/or paint
@ -28,7 +28,7 @@ the shape of your guitar
### ~hint ### ~hint
* Avoid small details that are difficult to cut into cardboard * Avoid small details that are difficult to cut into cardboard
* Unfolding a box gives longer pieces of cardboard, and creases can be reinforced * Unfolding a box gives longer pieces of cardboard and creases can be reinforced
### ~ ### ~
@ -39,7 +39,7 @@ https://youtu.be/aUQkrFoEank
## Step 3: Personalize the Guitar ## Step 3: Personalize the Guitar
Create unique styling using tape, markers, paint and other available materials (*calling all artist!*) Create unique styles using tape, markers, paint and other available materials (*calling all artists!*)
*decorating the guitar* *decorating the guitar*
https://youtu.be/zNAZTJeSxY8 https://youtu.be/zNAZTJeSxY8

View File

@ -125,7 +125,7 @@ input.onPinPressed(TouchPin.P1, () => {
}) })
``` ```
## Now Play! ## Now Play!
**Turn the guitar ON and OFF with a pin press on the connected foil** **Turn the guitar ON and OFF with a pin press on the connected foil by**
**touching both pieces of foil at the same time to connect the switches** **touching both pieces of foil at the same time to connect the switches**
https://youtu.be/GYmdTFvxz80 https://youtu.be/GYmdTFvxz80