NQC: Music The RCX can play various prepackaged sounds using the function PlaySound(XXX); where XXX constants defined in NQC. Ref Braun Ch 3 p. 40 and.

Slides:



Advertisements
Similar presentations
Are You In Need of a Tune Up?
Advertisements

Chp 13 Sound and Music.
Musical. Review String – = 2L –Frequency of overtones 1 st : 2 × fundamental frequency 2 nd : 3 × fundamental frequency 3 rd : 4 × fundamental frequency.
Rest Duration Ms. Delgados Music Class. Rest Duration A Whole Rest receives four full beats.
Music. Scale A series of notes differing in pitch according to a specific scheme An octave (eight notes)
Notating Music There are two sides to music TimePitch.
Beats and Resonance Sections 9.3 and 9.4.
For those who have never played an instrument
MUSIC NOTES Noise Versus Music  What is the difference between noise and music?  Answer: The appearance of the waveform.  What is the difference between.
Music and Mathematics are they related?. What is Sound? Sound consists of vibrations of the air. In the air there are a large number of molecules moving.
Musical Instruments Contents: What is the difference between high and low notes? Why do different instruments sound different? What does it mean to play.
Arpeggio Fingerpicking
Find the fundamental frequency and third harmonic of an organ pipe of length 50cm. Assume the organ pipe is closed at one end and the speed of sound in.
Global Variables When we introduced variables we defined them inside task main() task main() { int x; statement; …. } The variable x is only defined inside.
SUBJECTIVE ATTRIBUTES OF SOUND Acoustics of Concert Halls and Rooms Science of Sound, Chapters 5,6,7 Loudness, Timbre.
Music and Logo Some Music Theory Just enough.. KISS We will say in the key of C no flats or sharps unless indicated. For our purpose we will stick to.
Steven Bell Team 1519 Mechanical Mayhem Atlanta FIRST Conference 2005 Teaching To Students.
Effective Ear Training Brian Ordona. Music Theory A Crash Course.
A quarter note is a note that, in a 4/4 time signature, receives 1 beat. In the 4/4 time signature, there are 4 beats per measure, so one quarter note.
infinity-project.org Engineering education for today’s classroom 53 Design Problem - Digital Band Build a digital system that can create music of any.
Vocabulary for Sound. The sound of the phone caused Kara to answer it. The noise something makes.
Physics 1251 The Science and Technology of Musical Sound Unit 2 Session 21 MWF Musical Scales and Strings Unit 2 Session 21 MWF Musical Scales and Strings.
1 Chapter 8: Frequency and Sound Presentation based on: "What's a Microcontroller ?" By Andy Lindsay Parallax, Inc Presentation developed by: Martin A.
2.4 Addition of waves Simulation bcs/Books?action=mininav&bcsId=4768&itemId= &assetId =160342&resourceId=15301&newwindow=true.
The Principle of Linear Superposition and Interference Phenomena CHAPTER 17 Interference Constructive and Destructive Interference: BEATS Standing Waves:
Explain what beats are and why they occur… 1)When two sounds are slightly different in frequency, a “warbling” beat is heard 2)This is because the two.
Scribbler Music Web Design Notes Your robot can play music by “beeping” the correct notes. Every note in music has a “frequency” – Physics of Frequencies:
Name _____________________________________ Date ______________________ Period __________ W AVES AND I NTERFERENCE Directions: Use your LabQuest to generate.
Diffraction What happens when a wave encounters an obstacle or opening? It ``bends’’ around it. Consider a wave front (a wave in 2D) viewed from above.
Unit 04 - Sound. Beat Frequency  When two sounds of slightly different frequencies are played together, the result is a sound with an alternating loud-soft.
Chapter Twenty-Four: Sound  24.1 Properties of Sound  24.2 Sound Waves  24.3 Sound Perception and Music.
Conceptual Physics Notes on Chapter 25 Sound. Sound   All sounds are produced by the vibrations of material objects.   Pitch describes our impressions.
L 10 The Tempered Scale, Cents. The Tempered Scale.
Band Performance Basics. Matching What to Listen for and Adjust to Musicians listen to each other and match the following: Tone Quality – Imitate the.
CH. 21 Musical Sounds. Musical Tones have three main characteristics 1)Pitch 2) Loudness 3)Quality.
Some Simple Music Fundamentals. Melody On top What you whistle Often has lyrics More interesting rhythm Prominence Loudest.
Unit 04 - Sound. Vibrating Strings  Each string on a guitar or violin has a distinct frequency when set in motion.  The frequency or pitch of a string.
Music Software projects New york university Adjunct Instructor Scott Burton.
Essentially, music is sound. Sound is produced when an object vibrates and it is what can be perceived by a living organism through its sense of hearing.
What’s that scale?? 1 Note Grades should be available on some computer somewhere. The numbers are based on the total number of correct answers, so 100%
Your robot can play a note by “beeping” Every note in music has a “frequency” – Physics of Frequencies: (
Unit 1: Elements Music Notation. Notating Pitch  Notation – a system of writing music  Pitches are notated by notes on a staff  Staff – set of five.
Chapter 21 Musical Sounds.
Set 7 What’s that scale?? 1 Note Grades should be available on some computer somewhere. The numbers are based on the total number of correct answers,
Chapter 2 Impulsive Sounds, Alone and in Sequence.
MUSIC ELEMENTS.
HOW TO MAKE A PIANO SING By: Donna Furrha 10 th grade Mrs. Ransom.
P ITCH Olivia McConney. W HAT IS P ITCH ? Pitch is the sound a note makes. It is how high or low a note goes. It is measured in hertz. To find out the.
Pitch and Frequency. The FREQUENCY of a Tuning Fork Tuning forks make a sound when they vibrate. Tuning forks are marked with a number. The number tells.
If two sounds are only slightly off in terms of frequency The ‘Beats’  Produce a periodic rise and fall of amplitude (volume)  Throbbing Sound = Beats.
A Brief Introduction to Musical Acoustics
16.5 Musical notes Musical notes versus noise Why is the sound produced by a tuning fork or a mouth organ enjoyable? Why is the sound produced by machinery.
Beat Frequency beat frequency is a fluctuating volume of sound it occurs when two sound waves of slightly different frequency are heard together constructive.
Physics of the Piano By Xinyue Xiong 4/13/2015.
NXC: Making Music BricxCC has a built-in utility to convert .wav files into .rso files accessible via menu Tools, Sound conversion. Then you can store.
12-3 Harmonics.
SOUND S4P2: Students will demonstrate how sound is produced by vibrating objects and how sound can be varied by changing the rate of vibration.
15.1 Properties and Detection of Sound Interference of sound waves.
The Science of Music In the words of science, music has an identifiable pitch, a pleasing quality, and a repeated rhythm.
Types of Waves Waves on a String.
Vocabulary for Sound
MUSIC THEORY ONLINE Music theory online is an attempt to help people learning music to understanding how it is written down, what the various signs and.
How is Music Related to Math?
Beats.
Ms. Delgado’s Music Class
Cornell Notes Sound Waves
Waves Speed.
What is a sound? Sound is a pressure wave in air or any other material medium. The human ear and brain working together are very good at detecting and.
Programming Robots using Java
+ Audacity tutorials on how to show them off
Presentation transcript:

NQC: Music The RCX can play various prepackaged sounds using the function PlaySound(XXX); where XXX constants defined in NQC. Ref Braun Ch 3 p. 40 and Braun Appendix D p373. NameDescription 0 or SOUND_CLICKShort beep 1 or SOUND_DOUBLE_BEEPTwo medium beeps 2 or SOUND_DOWNDescending arpeggio 3 or SOUND_UPAscending arpeggio 4 or SOUND_LOW_BEEPLong low note 5 or SOUND_FAST_UPQuick ascending arpeggio

More Music PlayTone(const frequency, const duration) This command plays a note with the given frequency for the specified duration. The frequency is in Hz, so 440 is the pitch of the A above middle C on a piano. The duration is in hundreths of a second. You can only specify integer values for the frequency, so don't expect the pitches to be exactly in tune. No one expects your little robot to sound like Pavorotti.

Welcome to Vibrationdata.com Piano Page Goldennumber.net Middle C

What should it sound like? Go to Track 6

The following example demonstrates this technique; it plays part of Quando men vo, from Giacomo Puccini's La Bohème #define SIXTH 12 #define HALF 3*SIXTH #define BEAT 2*HALF #define GRACE 2 task main() { PlayTone(330, 2*BEAT); Wait(2*BEAT + 2*SIXTH); PlayTone(115, SIXTH); PlayTone(208, SIXTH); PlayTone(247, SIXTH); PlayTone(330, SIXTH); PlayTone(311, 2*BEAT); Wait(4*SIXTH + 2*BEAT + 2*SIXTH); PlayTone(115, SIXTH); PlayTone(208, SIXTH); PlayTone(247, SIXTH); PlayTone(311, SIXTH); PlayTone(277, 3*BEAT); Wait(4*SIXTH + 3*BEAT + HALF); PlayTone(277, HALF); PlayTone(311, HALF); PlayTone(370, GRACE); PlayTone(330, HALF); PlayTone(311, HALF); Wait (2*HALF); PlayTone(277, HALF); PlayTone(330, HALF); PlayTone(220, HALF); PlayTone(220, 2*BEAT); Wait(GRACE + 5*HALF + 2*BEAT + HALF); PlayTone(247, HALF); PlayTone(277, HALF); PlayTone(330, GRACE); PlayTone(311, HALF); PlayTone(277, HALF); Wait (2*HALF); PlayTone(247, HALF); PlayTone(311, HALF); PlayTone(208, HALF); PlayTone(208, 2*BEAT); Wait(GRACE + 5*HALF + 2*BEAT + HALF); }