Backyard Baseball Raspberry Pi

  

  1. Backyard Baseball Raspberry Pie
  2. Backyard Baseball Raspberry Pi 1
Baseball

Introduction: Piano Pi - Play a Duet With Your Pi!

In this tutorial you will learn a simple way to program your Pi using Sonic Pi to create a piano accompaniment.

Jan 18, 2020 If you run the virtualhere server on the raspberry pi, you can connect all your usb devices and access them on your laptop. If you combine that with N.I.N.A. You have a nice remote control station. If you want to connect more than one usb device, you need a license for virtualhere, though.

Remember the piano scene in the move Big? You will be programming the bass part of the song they play 'Heart and Soul'.

You will need:

Monitor, keyboard and mouse.

Speakers

Piano

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Open Sonic Pi on Jessie Raspbian

Pi comes pre-installed with the NOOBS card.

Navigate to Menu >> Programming >> Sonic Pi

Step 2: Getting Familiar With Sonic Pi

Backyard

If this is your first time using Sonic Pi, click the 'Help' button and walk through the first couple lessons to get familiar with the platform.

I went ahead and changed the editor to a dark screen by clicking on the 'Prefs' button. You may also adjust the volume there.

At the bottom of the editor you will see 'Buffer0' - 'Buffer9'. Here you can switch between code windows to create unique sounds and music for each Buffer. Find an empty Buffer to begin this project.

Step 3: Midi Numbers

Sonic Pi uses the Midi number system where each key on the piano has a number.

Middle C is 60. To begin the song, C is played twice. If you don't want notes to be played at the same time you must separate the notes with a rest or sleep. This is the duration of time in seconds before the next note is played. *Note a zero must precede the decimal if sleep is less than a second or you will get an error.

The next 3 notes will be played as a chord twice with a sleep in between each chord:

Go ahead and press the 'Run ►' with your speakers on to hear your song so far!

Step 4: Second Verse, Same As the First!

The accompaniment on this piece repeats itself again and again. With Sonic Pi you can easily wrap the code you want repeated in a loop with the key words do and end:


Be careful though, using the word loop creates an infinite loop and the song will repeat until you press the 'Stop ■' button. To limit the number of times the loop runs, simply type the number followed by .times:


Attachments

Be the First to Share

Recommendations

How to Build a Giant Hidden Shelf Edge Clock in Arduino
46 10K
Automated Garden System Built on Raspberry Pi for Outdoors or Indoors - MudPi in Raspberry Pi
  • Tiny Speed Challenge

  • Clocks Contest

  • PCB Design Challenge

Tournaments Offered in Everman, Crowley, Joshua, & Alvarado
Location updates will be provided as Rec schedules finalize.
Spring 2020 Tournament Dates Posted
More dates coming soon, please check back for updates. Now offering separate age groups and AAA/Majors divisions, depending on registrations. AAA teams may play up in AA age groups. Majors teams may play up in AAA age groups.
Registration Closes the Wednesday Prior @ 5pm
Gate fee is now included in total price per tournament. To register, email the following:
Please include team name, age group and classification.
Interested in umpiring, email the following:
March 28th - 29th - Spring Season Kickoff - Location - Everman
Games to be played at Crowley/Everman/Joshua/Alvarado. Once Rec schedules are final, location will be finalized.
No Gate Fee! The price you see is the price you pay. Online payments accepted up to the Friday before @ 5 pm, CASH ONLY after that.
$300$300$350$350$375$375$400$400
7U AA8U AA9U AA10U AA11U AA12U AA13U AA14U AA
NTX WolfpackMansfield Venom NTX Wolfpack GP Red Sox
Diablos Ft.Worth Aces Crowley Venom
Lightening Elite BC Baseball
7U OPEN8U OPEN9U OPEN10U OPEN11U OPEN12U OPEN13U OPEN14U OPEN
Lightening Elite
Ft.Worth Aces
April 4th - Pre Easter Hunt - Location - JOSHUA & ALVARADO
Games to be played at Crowley/Everman/Joshua/Alvarado. Once Rec schedules are final, location will be finalized.
No Gate Fee! The price you see is the price you pay. Online payments accepted up to the Friday before @ 5 pm, CASH ONLY after that.
$300$300$350$350$375$375$400$400
7U AA8U AA9U AA10U AA11U AA12U AA13U AA14U AA
7U OPEN8U OPEN9U OPEN10U OPEN11U OPEN12U OPEN13U OPEN14U OPEN
Games to be played at Crowley/Everman/Joshua/Alvarado. Once Rec schedules are final, location will be finalized.
Baseball
No Gate Fee! The price you see is the price you pay. Online payments accepted up to the Friday before @ 5 pm, CASH ONLY after that.
$300$300$350$350$375$375$400$400
7U AA8U AA9U AA10U AA11U AA12U AA13U AA14U AA
NTX Wolfpack
Renegade
7U OPEN8U OPEN9U OPEN10U OPEN11U OPEN12U OPEN13U OPEN14U OPEN
April 18th - 19th - Big Ringers Big Dingers - Location - TBD
Games to be played at Crowley/Everman/Joshua/Alvarado. Once Rec schedules are final, location will be finalized.
No Gate Fee! The price you see is the price you pay. Online payments accepted up to the Friday before @ 5 pm, CASH ONLY after that.
$300$300$350$350$375$375$400$400
7U AA8U AA9U AA10U AA11U AA12U AA13U AA14U AA
7U OPEN8U OPEN9U OPEN10U OPEN11U OPEN12U OPEN13U OPEN14U OPEN
Games to be played at Crowley/Everman/Joshua/Alvarado. Once Rec schedules are final, location will be finalized.
No Gate Fee! The price you see is the price you pay. Online payments accepted up to the Friday before @ 5 pm, CASH ONLY after that.
$300$300$350$350$375$375$400$400
7U AA8U AA9U AA10U AA11U AA12U AA13U AA14U AA
7U OPEN8U OPEN9U OPEN10U OPEN11U OPEN12U OPEN13U OPEN14U OPEN
May 2nd - 3rd - Cinco de Mayo Fiesta - Location - TBD
Games to be played at Crowley/Everman/Joshua/Alvarado. Once Rec schedules are final, location will be finalized.
No Gate Fee! The price you see is the price you pay. Online payments accepted up to the Friday before @ 5 pm, CASH ONLY after that.
$300$300$350$350$375$375$400$400
7U AA8U AA9U AA10U AA11U AA12U AA13U AA14U AA
7U OPEN8U OPEN9U OPEN10U OPEN11U OPEN12U OPEN13U OPEN14U OPEN
Games to be played at Crowley/Everman/Joshua/Alvarado. Once Rec schedules are final, location will be finalized.
No Gate Fee! The price you see is the price you pay. Online payments accepted up to the Friday before @ 5 pm, CASH ONLY after that.
$300$300$350$350$375$375$400$400
7U AA8U AA9U AA10U AA11U AA12U AA13U AA14U AA
7U OPEN8U OPEN9U OPEN10U OPEN11U OPEN12U OPEN13U OPEN14U OPEN
More Dates Added Often, Please Keep Checking For Updates
Founder

Backyard Baseball Raspberry Pie

Founder
Vice President - Umpires
Tournament Director

Backyard Baseball Raspberry Pi 1

Mark Macchi