Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Golden section, Fibonacci series

48 views
Skip to first unread message

John Chalmers

unread,
Oct 12, 1999, 3:00:00 AM10/12/99
to
This web page and its links will tell you more than you probably wanted
to know about Continued Fractions, The Fibonacci series, and the Golden
Section.

http://www.ee.surrey.ac.uk/Personal/R.Knott/Fibonacci/cfINTRO.html

The CF expansion for sqr(2) is [1; 2, 2, 2, ........]. All 2's is 1 +
sqr(2). Sqr(3) is [1: 1,2,1,2.....] ( 1 and alternating 1's and 2's).


I'm not sure why the Silver Mean is so named, except by analogy with the
GM or GS. The constant occurs in quasi-crystal spacings and x-ray
crystallographic theory. I don't know of any convincing musical
applications, though Ervin Wilson might. Timbres whose steady-state
spectra have all their partials at powers of the SM might have
interesting difference tones.

Golden Ratio spectra have first order difference tones as lower
harmonics and scales in this kind of timbre can be perceived to repeat
at the GS rather than the octave.

As a musical interval, the GS is about 833 cents, a sharpish minor
sixth, close to 13/8. Heinz Bohlen has a web page devoted to this kind
of scale, though William Lyman Young, AFAIK, was the first to propose
using the GS to generate scales and Walter O'Connell one of the first to
use it. Schroer, Lorne Temes and the late composer Paul Beaver also used
the GS to generate scales.

--John

Dave Webber

unread,
Oct 13, 1999, 3:00:00 AM10/13/99
to

John Chalmers wrote in message <3803FB...@popmail.ucsd.edu>...

>This web page and its links will tell you more than you probably wanted
>to know about Continued Fractions, The Fibonacci series, and the Golden
>Section.
>
>http://www.ee.surrey.ac.uk/Personal/R.Knott/Fibonacci/cfINTRO.html
>

Apparently so. Be careful though, as it discusses two numbers which it
calls phi and Phi.

phi is the golden mean (as I learned it) = [sqrt(5)-1]/2

Phi is [sqrt(5)+1]/2

so that

Phi = 1 + phi

and

Phi = 1/phi.


>As a musical interval, the GS is about 833 cents, a sharpish minor
>sixth, close to 13/8. Heinz Bohlen has a web page devoted to this kind
>of scale, though William Lyman Young, AFAIK, was the first to propose
>using the GS to generate scales and Walter O'Connell one of the first to
>use it. Schroer, Lorne Temes and the late composer Paul Beaver also used
>the GS to generate scales.


But the whole point is that it is an irrational number and therefore will
not occur as a simple harmonic!

Dave
Dave Webber
Author of MOZART the Music Processor for Windows - http://www.mozart.co.uk
Member of the Association of Shareware Professionals
http://asp-shareware.org
Member of the North Cheshire Concert Band http://members.aol.com/northchesh

Lorne...@yahoo.com

unread,
Mar 21, 2013, 5:57:41 AM3/21/13
to

> But the whole point is that it is an irrational number and therefore will
> not occur as a simple harmonic!

What is a "harmonic" is contextual. For example, there are the "spherical harmonics" too.

Bohgosity BumaskiL

unread,
Aug 19, 2013, 2:35:09 PM8/19/13
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

' Subject-Was: Re: Golden section, Fibonacci series

' On 2013-03-21 3:57 AM, Lorne...@yahoo.com wrote:
' >
' >> But the whole point is that it is an irrational number
' >> and therefore will not occur as a simple harmonic!
' >
' > What is a "harmonic" is contextual. For example, there are the
' > "spherical harmonics" too.

' While the golden mean iz irrational, and therefore not harmonic
' (about which the first author iz right), elements of the series, '
1,2,3,5,8,13,21,34 _are_ harmonies. 2:1 is an octave. 3:2 is a
' perfect fifth. 5:3 is a major sixth. 8:5 is a minor sixth. 21:13
' duz not hav a name, though I recently used it, while 34:21 is
' called a supraminor sixth.

' The series stops being musical at that point, according to this
' table:
' http://www.huygens-fokker.org/docs/intervals.html
' 34:21 is very close to the golden mean. Higher pairs of
' consecutive terms in the series are closer _rational_
' approximations of the golden mean.

' I used 3...89 az parallel harmonics in the background sound here:
' http://litwyn.comyr.com/img/
' The whole series forms a chord. I omitted two and one.
' It duz not sound like bells without reverb.

' This is for your perusal, and if you corrupt it enough, use.
' -CC- Released in a creative commons.
' -BY- http://litwyn.comyr.com/ BrewJay's Babble Bin
' -NC- Some commercial uses require permission
' -ND- Use in video or on web pages requires permission

OPTION BASE 1
DIM numharmonics, k AS INTEGER
numharmonics = 8
DIM harmonics(numharmonics) AS DOUBLE

DATA 3,8,21,55,89,34,13,5
' Lower harmonics panned outwards.
FOR k = 1 TO numharmonics
READ harmonics(k)
NEXT k

' Tweaked version of table in:
' http://litwyn.comyr.com/Sound/Just_Intonation.htm
' 3750 3920 4200 4536 4725 5040 5292 5600 6075 6300 6720 7056 7560

DATA 0,4,6300,6
' Perfect Fourth
DATA 4725,12,0,2
' Major Second
DATA 4200,12,0,2
' Middle Second
DATA 3750,6
' Quasi-equal Major Third
DATA 4725,8,0,4
' Minor Third
DATA 5670,12,0,8
' Minor Second

DATA 6300,4,0,2
' Perfect Fourth
DATA 4725,12,0,2
' Major Second
DATA 4200,12,0,2
' Acute Fourth
DATA 5670,6
' Minor Third
DATA 4725,12,0,8
' Perfect Fourth

DATA 6300,4,0,2
' Perfect Fourth
DATA 4725,12,0,2
' Major Second
DATA 4200,12,0,2
' Middle Second
DATA 3750,6
' Perfect Fifth
DATA 5625,8,0,4
' Perfect Fifth
DATA 3750,8,0,4
' Octave
DATA 7500,6
' Perfect Fourth
DATA 5625,12,0,8

' Middle Second
DATA 6300,4,0,2
' Perfect Fourth
DATA 4725,12,0,2
' Major Second
DATA 4200,12,0,2
' Middle Second
DATA 3750,6
' Quasi-equal Major Third
DATA 4725,12,0,8
' Perfect Fourth

DATA 6300,6
' Major Third
DATA 5040,12,0,2
' Middle Second
DATA 7000,12,0,4
' Major Third
DATA 5600,6
' Acute Fourth
DATA 7560,6
' Acute Fourth
DATA 5600,12,0,6
' Acute Fourth
DATA 7560,12,0,48

' The rest of this message iz public domain.

DIM chanamp(2, numharmonics) AS DOUBLE
DIM Velocity(numharmonics) AS DOUBLE
DIM Acceleration(numharmonics) AS DOUBLE
DIM Angle(numharmonics) AS DOUBLE
DIM Phase(numharmonics) AS DOUBLE
DIM TerminalAngle(numharmonics) AS DOUBLE
DIM DropAngle(numharmonics) AS DOUBLE
DIM PhaseDir(numharmonics) AS INTEGER
DIM BeatsPerSecond AS DOUBLE
DIM ampleft AS DOUBLE
DIM ampright AS DOUBLE
DIM temp AS DOUBLE
DIM TwoPi AS DOUBLE
DIM basis, note, length, glide AS SINGLE
DIM samplerate AS LONG
DIM amp AS LONG
DIM g, t, lastnote, samples AS INTEGER
DIM flop AS INTEGER
DIM test AS STRING

test = "0"
pi = 3.141592653589793#
TwoPi = pi * 2
samplerate = 44100
BeatsPerSecond = 20
lastnote = 0

' For this to work, fbc and waveedit must be in your path.
OPEN "\sox\tampink.raw" FOR OUTPUT AS #2
OPEN "tampink.bat" FOR OUTPUT AS #1
PRINT #1, "fbc -lang qb tampink.bas"
PRINT #1, "tampink.exe"
PRINT #1, "cd \sox"
PRINT #1, "sox -c 2 -r"; samplerate; " -sw tampink.raw tampink.wav stat"
PRINT #1, "WaveEdit.exe c:\sox\tampink.wav"
PRINT #1, "cd \basic"
CLOSE #1

' This pans sine waves evenly.
ampright = 1 / (numharmonics - 1)
ampleft = 0
FOR k = 1 TO numharmonics
chanamp(1, k) = ampleft
chanamp(2, k) = 1 - ampleft
ampleft = ampleft + ampright
NEXT k

' This makes amplitude inversely proportional to frequency.
flop = 1
FOR k = 1 TO numharmonics
IF flop = 1 THEN
chanamp(1, k) = 110000 / harmonics(k) * chanamp(1, k)
chanamp(2, k) = -60000 / harmonics(k) * chanamp(2, k)
ELSE
chanamp(1, k) = -110000 / harmonics(k) * chanamp(1, k)
chanamp(2, k) = 60000 / harmonics(k) * chanamp(2, k)
END IF
harmonics(k) = harmonics(k) / 81
flop = -flop
NEXT k

OPEN "con" FOR APPEND AS #1
glide = 32

100
FOR g = 1 TO 54
PRINT #1, USING "DATA ####-,"; note / 5;
PRINT #1, USING "##"; length
READ note, length
IF g > 0 THEN
' SOUND note * harmonics(1), length
END IF
IF test = "0" THEN
IF note = 0 AND lastnote = 0 THEN
samples = samplerate * length / BeatsPerSecond
GOSUB 300
GOTO 75
END IF
IF note = 0 AND lastnote <> 0 THEN
GOSUB 250
lastnote = note
samples = samplerate * length / BeatsPerSecond
GOSUB 300
GOTO 75
END IF
IF note <> 0 AND lastnote = 0 THEN
lastnote = note
samples = samplerate * length / BeatsPerSecond
GOSUB 275
GOTO 75
END IF
IF note <> 0 AND lastnote <> 0 THEN
IF glide > 0 THEN
samples = samplerate * length / BeatsPerSecond / glide
GOSUB 300
END IF
samples = samplerate * length / BeatsPerSecond
lastnote = note
GOSUB 300
GOTO 75
END IF
END IF
75 NEXT g

IF test = "1" THEN END

CLOSE #2
END

250
FOR k = 1 TO numharmonics
temp = Angle(k) / TwoPi
Angle(k) = (temp - FIX(temp)) * TwoPi
IF Angle(k) > pi * 3 / 2 THEN
TerminalAngle(k) = pi * 3.5
PhaseDir(k) = 2
DropAngle(k) = pi * 2.5
ELSEIF Angle(k) > pi / 2 THEN
TerminalAngle(k) = pi * 2.5
PhaseDir(k) = 1
DropAngle(k) = pi * 3 / 2
ELSE
TerminalAngle(k) = pi * 3 / 2
PhaseDir(k) = -1
DropAngle(k) = pi / 2
END IF
NEXT k

260
FOR k = 1 TO numharmonics
Phase(k) = SIN(Angle(k))
SELECT CASE PhaseDir(k)
CASE 2
IF Angle(k) >= DropAngle(k) THEN
Phase(k) = Phase(k) / 2 + .5
END IF
CASE 1
IF Angle(k) >= DropAngle(k) THEN
Phase(k) = Phase(k) / 2 - .5
END IF
CASE -1
IF Angle(k) >= DropAngle(k) THEN
Phase(k) = Phase(k) / 2 + .5
END IF
END SELECT
IF Angle(k) < TerminalAngle(k) THEN
Angle(k) = Angle(k) + Velocity(k)
ELSE
Angle(k) = TerminalAngle(k)
END IF
NEXT k
GOSUB 400

FOR k = 1 TO numharmonics
IF Angle(k) < TerminalAngle(k) THEN GOTO 260
NEXT k
FOR k = 1 TO numharmonics
Angle(k) = Angle(k) - Angle(k)
NEXT k

RETURN

275
' This starts a wave from zero, using half the amplitude, a start
' from where sin(angle) = -1, and a bias of half. This cuts
' a leading click that I can hear on some equipment with some tunes.
FOR k = 1 TO numharmonics
Velocity(k) = TwoPi * lastnote * harmonics(k) / samplerate
Acceleration(k) = (TwoPi * note * harmonics(k) / samplerate -
Velocity(k)) / samples
PhaseDir(k) = 1
Angle(k) = 3 / 2 * pi
NEXT k

280
FOR k = 1 TO numharmonics
IF PhaseDir(k) = 1 THEN
Phase(k) = SIN(Angle(k)) / 2 + .5
ELSE
Phase(k) = SIN(Angle(k))
END IF
Angle(k) = Angle(k) + Velocity(k)
Velocity(k) = Velocity(k) + Acceleration(k)
NEXT k
samples = samples - 1
GOSUB 400

FOR k = 1 TO numharmonics
IF PhaseDir(k) = 1 THEN
Phase(k) = (Phase(k) - .5) * 2
END IF
IF Phase(k) > SIN(Angle(k)) THEN
PhaseDir(k) = -1
END IF
NEXT k

FOR k = 1 TO numharmonics
IF PhaseDir(k) = 1 GOTO 280
NEXT k

300
FOR k = 1 TO numharmonics
Velocity(k) = TwoPi * lastnote * harmonics(k) / samplerate
Acceleration(k) = (TwoPi * note * harmonics(k) / samplerate -
Velocity(k)) / samples
NEXT k

FOR t = 1 TO samples
FOR k = 1 TO numharmonics
Velocity(k) = Velocity(k) + Acceleration(k)
Angle(k) = Angle(k) + Velocity(k)
Phase(k) = SIN(Angle(k))
NEXT k
GOSUB 400
NEXT t
RETURN

400
ampleft = 0
FOR k = 1 TO numharmonics
ampleft = ampleft + Phase(k) * chanamp(1, k)
NEXT k
amp = CINT(ampleft)
PRINT #2, CHR$(amp AND 255);
PRINT #2, CHR$((amp AND 65280) / 256);

ampright = 0
FOR k = 1 TO numharmonics
ampright = ampright + Phase(k) * chanamp(2, k)
NEXT k
amp = CINT(ampright)
PRINT #2, CHR$(amp AND 255);
PRINT #2, CHR$((amp AND 65280) / 256);
RETURN
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSEmVYAAoJEPI4YIcJ+OeMn/UH/2sHYIISmal2abE2a2a77PlY
nquYrj5Ewfj1NhhSmr8Y40RaTQri+hmnvBT5186mVnjUuCHC11t8hzT9BFaDQULk
81VdsyvGaO/9TEJ/1UW/4VX7pErgtnMYeHgV+aTjgJQFpJZjycKKBVrflHqnNUbi
rXcoYwWjbnYSCVxw0AaMu9qR0QT7LMvEM6tjtPOy0/SJwHNPciisun1FKZbmC7gu
8US7D3/HC1VR1Fpik+5WoOGo9gq0B5f/dFhsUAZCkMWAupseJtGf5uDYsRWDRzlk
eChZ3cnzOheqVH36tEu7fQzaoYVlHI5pjako8fX9SsLx590pThxWD9+zxKfphuc=
=arm7
-----END PGP SIGNATURE-----

Spac...@hotmail.com

unread,
Oct 19, 2013, 8:29:18 PM10/19/13
to
big phi (capitalized greek letter
is ... the surfer's value of big phi is 1.9;
it is the the secondroot of the sum of Phi and two, or
the secondroot of the sum of the secondpower of Phi and one
[teh secondroot has nothing to do with the regular tetragon,
per se
0 new messages