- #1

- 2

- 0

## Main Question or Discussion Point

I have heard that it is possible to convert music notes into mathematical numbers. To create an algorithm, can you use musical notes, or patterns?

- Thread starter redrum42069
- Start date

- #1

- 2

- 0

I have heard that it is possible to convert music notes into mathematical numbers. To create an algorithm, can you use musical notes, or patterns?

- #2

- 492

- 0

I don't know how pleasant the tune would be, though. I guess it depends on the encoding scheme, the distribution of notes, and the algorithm being used.

- #3

CRGreathouse

Science Advisor

Homework Helper

- 2,820

- 0

Sloane's OEIS has the option to play a given sequence as music.

- #4

- 560

- 1

Combinations of notes, i.e. chords, that we think of as "musical" or aesthetically pleasing are generally attained by combining notes whose frequencies fit some kind of simple ratio, like 3:2 or 4:3. If you look at music theory texts they talk about constructing chords via intervals; all vocabulary about intervals is just hiding underlying statements about frequency ratios. For example a "perfect fifth", the combination of one note and the note seven semitones up, sounds good because "seven semitones up" is really another way of saying "multiplied by (the 12th root of 2)^7", which if you type that in a calculator you'll find it is very very almost exactly equal to a frequency difference of 1.5, 3/2. To your ear, notes which are a perfect fifth apart sound like they're at a 3:2 ratio, so it sounds "good".

Note combinations that don't follow these simple ratios tend not to sound good. If you want your algorithm to sound good you're probably best off having your algorithm work by applying concepts from music theory as primitives on tones of specific frequencies. Or you can just say cat dataset.dat > /dev/audio , people will hold their ears but it will be a lot more entertaining.

Getting away from math for a moment there actually was in the 50s-70s a minor movement in avant-garde classical music toward sort of "algorithmic" music which had nothing to do with computers. Good examples here would include Terry Riley's "In C", a piece written on sheet music but constructed in such a way that the sheet music doesn't describe so much a single piece of music but

- #5

atyy

Science Advisor

- 13,717

- 1,747

Listen to the segment "Musical DNA".

http://www.wnyc.org/shows/radiolab/episodes/2006/04/21 [Broken]

http://www.wnyc.org/shows/radiolab/episodes/2006/04/21 [Broken]

Last edited by a moderator:

- #6

- 18

- 0

I have heard that it is possible to convert music notes into mathematical numbers. To create an algorithm, can you use musical notes, or patterns?

Only when one considers that the math of music is comprised of two seperate sets of time coordinates; simply stated: beats and rhythms.

They are "woven" into a harmonious ratio, defined as "time signatures".

http://www.easyduets.co.uk/reading-music-time-signatures.html [Broken]

JS Bach was the "master" of the mathematics in music.

His publication , the

http://en.wikipedia.org/wiki/Well-Tempered_Clavier

http://upload.wikimedia.org/wikipedia/commons/1/19/Dwtk-titlepage.jpg [Broken]

The math you seek can be found in that book; but the ONLY way to "translate" the "math of music", into the "math of physics" is by adding another "clock" to the real world.

When considering a world of "two-times", Cumrun Vafa said:

http://en.wikipedia.org/wiki/F-theory

Michio Kaku considered these "two-times" here:

http://mkaku.org/home/?page_id=262

Twilight zone?? Twi--light.....

Lets awaken ole' JS Bach from the grave, and ask him what he thinks about a "two-time based string theory":

Last edited by a moderator:

- #7

- 560

- 1

It's generated by the rule: At time T, play midi note N if T modulo N == 0.

If at any moment you hear silence, that means you are at some time T where T is prime (or rather, relatively prime to 2...127).

It starts off sounding stiff and mechanical, sounds kind of pleasant and jazzy in the middle and then tapers off into nonsense at the end.

- #8

- 18

- 0

Not only can you "see" these two-times on paper, you can "hear" them as well.

Now

- #9

atyy

Science Advisor

- 13,717

- 1,747

HemiolaLets awaken ole' JS Bach from the grave, and ask him what he thinks about a "two-time based string theory":

Two-timed string theory?? Is there ANY other way of doing it??

- #10

- 18

- 0

As a "Mopar" fan,"Hemi" is "king" !!Hemiola

http://www.authenticdodge.com/images/hemi.jpg

Great link !! Check out the term " three breves" in the above link.

"Breve" is synomanous with "brevis", and after a closer reading, it appears that "breve" or "brevis" is synomanous with "bravis" or the same concept as "bravis lattice".

http://en.wikipedia.org/wiki/Breve_(music [Broken])

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

Mozart it seems, is a "two-timer" or even a "three-timer" as well.

Last edited by a moderator:

- #11

- 18

- 0

First, we must state the two fields of Mathematics we will be analogizing: Trigonometry, and Calculus.

In life, there is what is "real", then there is the "score".

For example: in football, two exact same events can have different outcomes. A field goal and an extra point are identical, looked at as simply as the being ball kicked through the goal posts. However, the field goal is three, the extra point is one; when they are "scored".

The point: there is what is physically real, or Trigonometry; and the represented score, or Calculus.

However, there is the concept of the 'interval' in Trigonometry of pure counting: there are no "time-based" measures. Calculus has both an “interval count“, and a “time count“.

There is one additional “time count” that “harmonizes” the Trigonometry with the Calculus.

Now this ain’t “String Theory”; this is “String Fact” or “Six String Fact”.

There are physically six strings on a guitar. However, music is hard for non-musicians to understand. So I want to use another physically real situation to show how music works.

- #12

- 18

- 0

But the strings need to “play”, so we split them in two teams: three strings each. Then we play football !!

Before we “score”, we must build:

There are 11 players or “tones”, that can be “active” on each team at a time; 22 on the field total.

There are three strings on each team, or 3 groups of 11. However, there is a total roster of 57 players on each team, or 114 total players: “114 possible places to make noise”. Some are never used or are “duplicates”, two can’t physically play at all; however, they physically have a “roster spot”.

The 114 “roster spots” is derived from the classic guitar specifications of 19 frets. Since there are 6 strings we get 114. (19 * 6 = 114).

Two teams - three strings.

114 players - 57 on each team - but only 56 actually can make noise, or “play”.

112 physically existing sounds - 2 can’t physically “play“, but have a “physical position” on the teams.

Continuing:

On each team of 11: there are 7 down line-men or “notes”; and 4 backs or “tones”. The seven in football are: the center, two guards, two tackles, two ends. The 4 tones are: quarterback, two halfbacks, one full back.

Consider that arrangement identical for offense or defense. Consider the offense as the “point” and the defense as the “counter-point” terms in music.

- #13

- 18

- 0

The single field in football is the same as “two measures - two clefs” in music.

Consider the top measure as offense, the bottom measure as defense. Now the big difference between music and football, is that both “offences“, and both “defenses” are playing simultaneously.

The total field length is 120 yards: two end zones of 10 yards each, 100 yards of “playing field”.

Length wise: there are 4 “bars” for boundaries: 2 goal lines and 2 end lines.

The field is 53 and 1/3 yards wide.

Each “team” of 3 strings or “chord”: can score 3 different conditions going forward and 1 condition going backwards.

Forward: touchdown, or 6 points; extra point, "1 or 2 points" ; field goal or 3 points.

Backwards: safety, or 2 points.

Forward scoring: 6 + (1 or 2) + 3 = 10 or 11. Backwards scoring: - 2; or musically speaking for later: “a four point save”

Consider the top measure as offense, the bottom measure as defense. Now the big difference between music and football, is that both “offences“, and both “defenses” are playing simultaneously.

The total field length is 120 yards: two end zones of 10 yards each, 100 yards of “playing field”.

Length wise: there are 4 “bars” for boundaries: 2 goal lines and 2 end lines.

The field is 53 and 1/3 yards wide.

Each “team” of 3 strings or “chord”: can score 3 different conditions going forward and 1 condition going backwards.

Forward: touchdown, or 6 points; extra point, "1 or 2 points" ; field goal or 3 points.

Backwards: safety, or 2 points.

Forward scoring: 6 + (1 or 2) + 3 = 10 or 11. Backwards scoring: - 2; or musically speaking for later: “a four point save”

Last edited:

- #14

- 18

- 0

Each team has three strings: eleven players each, on offence and defense.

There are six total elevens here, but each group of eleven has to go in two directions.

It could be said there are 12 elevens here: 6 primary, 6 secondary.

This set is pure Trigonometry based.

The next set is the 22, or 2 groups of 11, playing “in the game” at a time. These 2 groups of eleven are Calculus based on time and intervals, and always tied to the Trigonometry they were “built with”.

So far we have 14 “sets” of elevens; or 12 sets of 11, and 1 set of 22.

There are two more sets of 11: the combined total for each teams forward scores. However, each set only has 4 members: (6, 3, 2, 1).

16 total sets of elevens.

Less obvious but other sets elevens

Each team has 56 players who can physically play. Subtract the number of string players: 33 on each team leaves the 23 reserve players.

The 23rd hour is also 11 pm.

56 can be “summed” as 5 + 6 = 11

These make 4 additional sets or groups of 11

- #15

- 23

- 0

To hear this backbeat clap the rhythn of the words 'nice cup of tea' repeatedly, using your hands - Together, Right, Left, Right,, T,R,L,R, ... Now your left hand is playing twos against your left hand's threes. Where either of 6n+/-1 is a not prime there is a rest, where it is a prime a triangle chimes.

Didn't work as music but it was fun trying to programme the sequencer.

- Last Post

- Replies
- 3

- Views
- 2K

- Last Post

- Replies
- 1

- Views
- 1K

- Last Post

- Replies
- 13

- Views
- 4K

- Last Post

- Replies
- 1

- Views
- 3K

- Last Post

- Replies
- 2

- Views
- 1K

- Last Post

- Replies
- 52

- Views
- 9K

- Last Post

- Replies
- 1

- Views
- 3K

- Last Post

- Replies
- 3

- Views
- 4K