Welcome to the Piano World Piano Forums
Over 2.5 million posts about pianos, digital pianos, and all types of keyboard instruments
Join the World's Largest Community of Piano Lovers (it's free)
It's Fun to Play the Piano ... Please Pass It On!


SEARCH
Piano Forums & Piano World
(ad)
Virtual Sheet Music
Download Sheet Music Instantly
Virtual Sheet Music - Classical Sheet Music Downloads
Sheet Music...
(125ad)
Piano Life Saver - Dampp Chaser
Dampp Chaser Piano Life Saver
(ad)
Modern Piano Moving
Modern Piano Moving
(ad)
Piano Buyer Guide
Piano Buyer Spring 2017
(ad)
Lindeblad Piano
Lindeblad Piano Restorations and sales
Who's Online Now
56 registered members (alphonsus, barbaram, amad23, agent8698, Anthony_C_Lynn, 19 invisible), 1,234 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
(ad)
Estonia Pianos
Estonia Pianos
Quick Links to Useful Piano & Music Resources
Our Classified Ads
Find Piano Professionals-

*Piano Dealers - Piano Stores
*Piano Tuners
*Piano Teachers
*Piano Movers
*Piano Restorations
*Piano Manufacturers

Quick Links:
*Advertise On Piano World
*Free Piano Newsletter
*Online Piano Recitals
*Piano Recitals Index
*Piano & Music Accessories
*Live Piano Venues
*Music School Listings
* Buying a Piano
*Buying A Acoustic Piano
*Buying a Digital Piano
*Pianos for Sale
*Sell Your Piano
*How Old is My Piano?
*Directory/Site Map
*Virtual Piano
*Music Word Search
*Piano Videos
*Virtual Piano Chords & Scales
Previous Thread
Next Thread
Print Thread
#2069371 - 04/23/13 02:16 PM Mathematics behind Music  
Joined: Aug 2012
Posts: 101
mpmusic Offline
Full Member
mpmusic  Offline
Full Member

Joined: Aug 2012
Posts: 101
Portugal
Hello, I've written a small article in my website explaining as example, why C and C# sound dissonant while C and G sound good.

I hope you find it interesting and usefull. It was funny for me to build the graphs smile If you are interested in seeing the graph of a specific combination of notes just tell me, I've made a script who allow to combine any notes just by entering it's number. I don't know if there are any practical application to this but at least it's interesting I think smile

http://www.miguelmotapinto.com/math.php

If you could give some feedback it would be great! smile

(And if you notice some problem in the webpage, feedback is appreciated as well, because the site was launched yesterday...)

Miguel


http://www.miguelmotapinto.com/
http://youtube.com/user/miguelmotapinto

"Music is the key to understand the universe..."
(ad)
Piano & Music Accessories
piano accessories music gifts tuning and moving equipment
#2069383 - 04/23/13 02:35 PM Re: Mathematics behind Music [Re: mpmusic]  
Joined: Aug 2011
Posts: 4,071
JohnSprung Offline
4000 Post Club Member
JohnSprung  Offline
4000 Post Club Member

Joined: Aug 2011
Posts: 4,071
Reseda, California

You should have a subscript n on the f to the left of the =.

You might want to explain more thoroughly how two waves are added, and the generation of beats at the difference of the frequencies.

As for what sounds good or bad, perhaps the thing to do is go through a wide range of beat frequencies. Start with a unison, then go slightly out of tune to a beat of, say, 0.2 Hz, and so forth to a minor second, a fifth, an octave.... Audio corresponding to the wave forms would help, too.


-- J.S.

[Linked Image] [Linked Image]

Knabe Grand # 10927
Yamaha CP33
Kawai FS690
#2069410 - 04/23/13 03:39 PM Re: Mathematics behind Music [Re: JohnSprung]  
Joined: Aug 2012
Posts: 101
mpmusic Offline
Full Member
mpmusic  Offline
Full Member

Joined: Aug 2012
Posts: 101
Portugal
Originally Posted by JohnSprung

You should have a subscript n on the f to the left of the =.

You might want to explain more thoroughly how two waves are added, and the generation of beats at the difference of the frequencies.

As for what sounds good or bad, perhaps the thing to do is go through a wide range of beat frequencies. Start with a unison, then go slightly out of tune to a beat of, say, 0.2 Hz, and so forth to a minor second, a fifth, an octave.... Audio corresponding to the wave forms would help, too.


Thank you! smile I will try to do an animation with the first note fixed and increasing the frequency of the second note. And I will try to make a video out of that and put the sound of the combination smile

Last edited by mpmusic; 04/23/13 03:42 PM.

http://www.miguelmotapinto.com/
http://youtube.com/user/miguelmotapinto

"Music is the key to understand the universe..."
#2069481 - 04/23/13 05:21 PM Re: Mathematics behind Music [Re: mpmusic]  
Joined: Aug 2011
Posts: 4,071
JohnSprung Offline
4000 Post Club Member
JohnSprung  Offline
4000 Post Club Member

Joined: Aug 2011
Posts: 4,071
Reseda, California

It turns out that there's something along those lines already on Wikipedia:

http://en.wikipedia.org/wiki/Beat_frequency

They only have two brief examples, so there's room for you to do better.


-- J.S.

[Linked Image] [Linked Image]

Knabe Grand # 10927
Yamaha CP33
Kawai FS690
(ad ) MusicNotes.com
sheet music search
#2069540 - 04/23/13 07:04 PM Re: Mathematics behind Music [Re: mpmusic]  
Joined: Dec 2009
Posts: 525
PaperClip Offline
500 Post Club Member
PaperClip  Offline
500 Post Club Member

Joined: Dec 2009
Posts: 525
Amsterdam, Holland
Nice graphs of the vibrations. You should do more graphs, like octave, fifth and of course the fourth and sixth, seventh. I think comparing the different oscillations would explain more to non math people. Maybe also graphs of both tones, so graph tone C + graph tone D is graph tone (played together(C&D)), displayed in two pictures. But it's just an idea.


Chris

Playing since May 02 2009
#2069755 - 04/24/13 04:18 AM Re: Mathematics behind Music [Re: PaperClip]  
Joined: Aug 2012
Posts: 101
mpmusic Offline
Full Member
mpmusic  Offline
Full Member

Joined: Aug 2012
Posts: 101
Portugal
Originally Posted by PaperClip
Nice graphs of the vibrations. You should do more graphs, like octave, fifth and of course the fourth and sixth, seventh. I think comparing the different oscillations would explain more to non math people. Maybe also graphs of both tones, so graph tone C + graph tone D is graph tone (played together(C&D)), displayed in two pictures. But it's just an idea.


Thank you smile That's a good idea, display the two separate graphs in one figure and the combination in the other. I will do that in the video I'm preparing with lots of figures and animations.


http://www.miguelmotapinto.com/
http://youtube.com/user/miguelmotapinto

"Music is the key to understand the universe..."
#2069806 - 04/24/13 08:14 AM Re: Mathematics behind Music [Re: mpmusic]  
Joined: Dec 2009
Posts: 2,037
CarlosCC Offline
2000 Post Club Member
CarlosCC  Offline
2000 Post Club Member

Joined: Dec 2009
Posts: 2,037
Lisbon, Portugal
Nice page Miguel,
Interesting article about notes and frequencies. Maybe you should put the same examples with the "Romance" notation (Dó, Ré, Mi, Fá, Sol, Lá, Si).





[Linked Image]
SoundCloud | Youtube
Self-taught since Dec2009
"Don't play what's there, play what's not there."
#2069900 - 04/24/13 10:56 AM Re: Mathematics behind Music [Re: mpmusic]  
Joined: Feb 2012
Posts: 3,476
zrtf90 Offline
3000 Post Club Member
zrtf90  Offline
3000 Post Club Member

Joined: Feb 2012
Posts: 3,476
Ireland (ex England)
I don't see from the two graphs why the C and C# are dissonant but the C & G are not. The former looks like a round and pleasant beat and the second looks like sharp, jarring knife edge.

Consonance and dissonance might be better explained by the relationship of one note to another forming patterns. When there is a close integral relation between intervals as shown in the harmonic series (2:1 for an octave, 3:2 for a fifth, etc.), the pattern created by the two notes recurs very quickly and is very easily recognised by the brain. When the ratio is expressed in high numbers as, perhaps, the tritone, around 31:22, it's a long time before the pattern repeats so the ear has difficulty picking out or recognising the pattern and regards that as unpleasant dissonance.



Richard
#2070051 - 04/24/13 04:01 PM Re: Mathematics behind Music [Re: zrtf90]  
Joined: Aug 2012
Posts: 101
mpmusic Offline
Full Member
mpmusic  Offline
Full Member

Joined: Aug 2012
Posts: 101
Portugal
Originally Posted by zrtf90
I don't see from the two graphs why the C and C# are dissonant but the C & G are not. The former looks like a round and pleasant beat and the second looks like sharp, jarring knife edge.

Consonance and dissonance might be better explained by the relationship of one note to another forming patterns. When there is a close integral relation between intervals as shown in the harmonic series (2:1 for an octave, 3:2 for a fifth, etc.), the pattern created by the two notes recurs very quickly and is very easily recognised by the brain. When the ratio is expressed in high numbers as, perhaps, the tritone, around 31:22, it's a long time before the pattern repeats so the ear has difficulty picking out or recognising the pattern and regards that as unpleasant dissonance.



Yes I've read about that somewhere but I think it's very abstract, I'm trying to give some concrete, visual examples that anyone can understand even without knowing math.

There are some pdf about this theme like this one: http://www.math.wustl.edu/~wright/Math109/00Book.pdf


http://www.miguelmotapinto.com/
http://youtube.com/user/miguelmotapinto

"Music is the key to understand the universe..."
#2073319 - 04/29/13 07:13 AM Re: Mathematics behind Music [Re: mpmusic]  
Joined: Dec 2009
Posts: 525
PaperClip Offline
500 Post Club Member
PaperClip  Offline
500 Post Club Member

Joined: Dec 2009
Posts: 525
Amsterdam, Holland
Hi,

Maybe you could also add a graph of a secunde and a graph of a trill to see the differences. A trill doesn't sound so dissonant as a secunde. I wonder why. Maybe a graph could explain that to non math people. That would be so cool. laugh



Chris

Playing since May 02 2009
#2073350 - 04/29/13 08:44 AM Re: Mathematics behind Music [Re: mpmusic]  
Joined: Apr 2013
Posts: 8
B&W Offline
Junior Member
B&W  Offline
Junior Member

Joined: Apr 2013
Posts: 8
Australia NSW
An audio book I really enjoyed is How Music Works. This kind of stuff is covered very well along with heaps of other interesting things.
http://www.hachettebookgroup.com/titles/john-powell/how-music-works/9780316098304/
or
http://www.audible.com/pd/ref=sr_1_2?asin=B004GMJ81U&qid=1367239391&sr=1-2


Sometimes you know not what you want until you know what you've got is not what you want - anonymous
#2073372 - 04/29/13 09:26 AM Re: Mathematics behind Music [Re: PaperClip]  
Joined: Aug 2012
Posts: 101
mpmusic Offline
Full Member
mpmusic  Offline
Full Member

Joined: Aug 2012
Posts: 101
Portugal
Originally Posted by PaperClip
Hi,

Maybe you could also add a graph of a secunde and a graph of a trill to see the differences. A trill doesn't sound so dissonant as a secunde. I wonder why. Maybe a graph could explain that to non math people. That would be so cool. laugh



That's an interesting point! I will try to do an animated graph representing a trill smile


http://www.miguelmotapinto.com/
http://youtube.com/user/miguelmotapinto

"Music is the key to understand the universe..."
#2073374 - 04/29/13 09:30 AM Re: Mathematics behind Music [Re: mpmusic]  
Joined: Jan 2010
Posts: 260
KeysAngler Offline
Full Member
KeysAngler  Offline
Full Member

Joined: Jan 2010
Posts: 260
The Fabulous Florida Keys
When the peaks of one note fits exactly between the peaks of a different note then they are consonant

The degree to which they do not symmetrically fit is the amount of dissonance

when the waves move together in such a way one pattern is perfectly contained inside the other there is consonance

On the other hand, when you play a more dissonant interval, you get clashing waves that sound like they are trying to cancel each other. There are degrees of dissonance. There are intervals that are incredibly tense sounding (diminished fifth, flat ninth) to others that are not so much, even considered kind of consonant (thirds, sixths). These degrees of consonance and dissonance and the way we approach them are what makes music interesting

[Linked Image]

#2073397 - 04/29/13 10:17 AM Re: Mathematics behind Music [Re: mpmusic]  
Joined: Jun 2011
Posts: 4,012
PianoStudent88 Offline
4000 Post Club Member
PianoStudent88  Offline
4000 Post Club Member

Joined: Jun 2011
Posts: 4,012
Maine
Originally Posted by mpmusic
There are some pdf about this theme like this one: http://www.math.wustl.edu/~wright/Math109/00Book.pdf

That PDF has been published: Mathematics and Music by David Wright. For a textbook, it's incredibly reasonably priced.

The author is teaching a course on it this spring. It's listed only in his "current courses" though, so if you're interested grab the links to the materials now because the page collecting the links will be changed next fall (or maybe in the summer, if Washington University St. Louis has a summer term).

If anyone's interested in delving into the book or the course materials, start another thread and I'd love to do so. (My background: Ph.D. in math, four years as a math professor, adore music and math.)


Piano Career Academy - Ilinca Vartic teaches the Russian school of piano playing
Musical-U - guidance for increasing musicality
Theta Music Trainer - fun ear training games
#2073418 - 04/29/13 11:10 AM Re: Mathematics behind Music [Re: KeysAngler]  
Joined: Jun 2011
Posts: 4,012
PianoStudent88 Offline
4000 Post Club Member
PianoStudent88  Offline
4000 Post Club Member

Joined: Jun 2011
Posts: 4,012
Maine
Originally Posted by KeysAngler
When the peaks of one note fits exactly between the peaks of a different note then they are consonant

The degree to which they do not symmetrically fit is the amount of dissonance

when the waves move together in such a way one pattern is perfectly contained inside the other there is consonance

That's what we're all taught, but apparently the true answer is not so simple.

From the introduction to [I]Music: A Mathematical Offering[/I] by David Benson:
Quote
What is it about intervals such as an octave and a perfect fifth that makes them more consonant than other intervals? Is this cultural, or inherent in the nature of things? Does it have to be this way, or is it imaginable that we could find a perfect octave dissonant and an octave plus a little bit consonant?

The answers to these questions are not obvious, and the literature on the subject is littered with misconceptions. One appealing and popular, but incorrect, explanation is due to Galileo Galilei, and has to do with periodicity. The argument goes that if we draw two sine waves an exact octave apart, one has exactly twice the frequency of the other, so their sum will still have a regularly repeating pattern whereas a frequency ratio slightly different from this will have a constantly changing pattern, so that the ear is 'kept in perpetual torment'.

Unfortunately, it is easy to demonstrate that this explanation cannot be correct. For pure sine waves, the ear detects nothing special about a pair of signals exactly an octave apart, and a mistuned octave does not sound unpleasant. Interval recognition among trained musicians is a factor being deliberately ignored here. On the other hand, a pair of pure sine waves whose frequencies differ only slightly give rise to an unpleasant sound. Moreover, it is possible to synthesize musical sounding tones for which the exact octave sounds unpleasant, while an interval of slightly more than an octave sounds pleasant. This is done by stretching the spectrum from what would be produced by a natural instrument. These experiments are described in Chapter 4.

The origin of the consonance of the octave turns out to be the instruments we play. Stringed and wind instruments naturally produce a sound that consists of exact integer multiples of a fundamental frequency. If our instruments were different, our musical scale would no longer be appropriate. For example, in the Indonesian gamelan, the instruments are all percussive. Percussive instruments do not produce an exact integer multiple of a fundamental, for reasons explained in Chapter 3. So the western scale is inappropriate, and indeed is not used, for gamelan music.

Even on the piano, when tuners talk about stretched octaves, I believe they are referring to the same phenomenon where what sounds consonant is related to the specific overtones produced by two notes on a given physical instrument, and not just to the pure frequencies of the fundamental of each note.


Piano Career Academy - Ilinca Vartic teaches the Russian school of piano playing
Musical-U - guidance for increasing musicality
Theta Music Trainer - fun ear training games
#2073471 - 04/29/13 01:05 PM Re: Mathematics behind Music [Re: PianoStudent88]  
Joined: Aug 2012
Posts: 101
mpmusic Offline
Full Member
mpmusic  Offline
Full Member

Joined: Aug 2012
Posts: 101
Portugal
Originally Posted by PianoStudent88

From the introduction to [I]Music: A Mathematical Offering[/I] by David Benson


Looks very interesting the book!
There are some pages available on google books: http://books.google.pt/books?id=Ko1..._r&cad=0#v=onepage&q&f=false


http://www.miguelmotapinto.com/
http://youtube.com/user/miguelmotapinto

"Music is the key to understand the universe..."
#2073995 - 04/30/13 08:20 AM Re: Mathematics behind Music [Re: PianoStudent88]  
Joined: Jan 2010
Posts: 260
KeysAngler Offline
Full Member
KeysAngler  Offline
Full Member

Joined: Jan 2010
Posts: 260
The Fabulous Florida Keys
[quote=PianoStudent88That's what we're all taught, but apparently the true answer is not so simple.
[/quote]

It'll have to suffice for my purposes. It's been a looooooooooooooong time since math class.



Moderated by  BB Player, casinitaly 

Piano Acc. & Gift Items in
Piano World's Online Store
In PianoSupplies.com ,(a division of Piano World) our online store for piano and music gifts and accessories, party goods, tuning equipment, piano moving equipment, benches, lamps Caster Cups and more.


Free Shipping on Jansen Artist Piano Benches
ad
Pierce Piano Atlas


(ad)
Pianoteq
Grotrian Concert
Royal
for Pianoteq out now
What's Hot!!
Why Do You Play The Piano?
-------------------
Posting Pictures on the Forums
-------------------
Forums RULES & HELP
-------------------
ADVERTISE on Piano World
-------------------
Piano Classified Ads
New Topics - Multiple Forums
What do you think?
by Gemgem. 05/25/17 11:13 PM
Has anyone played a 3-Sensor Fatar TP100 action?
by anotherscott. 05/25/17 06:26 PM
Sound Bar speakers
by peterws. 05/25/17 06:14 PM
What a difference regulation makes!
by JodyT. 05/25/17 05:58 PM
(ad)
Sheet Music Plus
Sheet Music Plus Featured Sale
(ad)
Accu-Tuner
Sanderson Accu-Tuner
Report Problems With New Forums
Report Problems with New Forums Here!
Forum Statistics
Forums44
Topics179,882
Posts2,629,809
Members87,887
Most Online15,252
Mar 21st, 2010
Visit our online store for gifts for music lovers

 
Help keep the forums up and running with a donation, any amount is appreciated!
Or by becoming a Subscribing member! Thank-you.
Donate   Subscribe
 
Our Piano Related Classified Ads
| Dealers | Tuners | Lessons | Movers | Restorations | Pianos For Sale | Sell Your Piano |

Advertise on Piano World
| Subscribe | Piano World | PianoSupplies.com | Advertise on Piano World |
| |Contact | Privacy | Legal | About Us | Site Map | Free Newsletter |


copyright 1997 - 2017 Piano World ® all rights reserved
No part of this site may be reproduced without prior written permission
Powered by UBB.threads™ PHP Forum Software 7.6.0