Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11393 > unrolled thread
| Started by | amcgraw <mcgraw.andrew@gmail.com> |
|---|---|
| First post | 2012-08-17 07:45 +0000 |
| Last post | 2012-08-17 07:45 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Representing musical timings on a helix amcgraw <mcgraw.andrew@gmail.com> - 2012-08-17 07:45 +0000
| From | amcgraw <mcgraw.andrew@gmail.com> |
|---|---|
| Date | 2012-08-17 07:45 +0000 |
| Subject | Representing musical timings on a helix |
| Message-ID | <k0ksra$67r$1@smc.vnet.net> |
Dear List,
I'm a musicologist new to mathematica, hoping the readership will indulge my considerable ignorance for a moment. I'm trying to represent musical timings as points going around a helix. Each full revolution should include 8 beats (points) and the helix should "swell" with slower tempos (longer inter-onset intervals) and "compress" with faster tempos (shorter inter-onset intervals).
Plotting this 2D is easy enough, but uninteresting.
A colleague has suggested the following to graph this helix.
C(t) counts # of beats elapsed at time t, then slope C'(t) = beats per minute at time t. Constants: K = vertical distance between cycles; N = number of beats in one cycle (here 8). Then the onsets are represented on the spiral using:
x = (1/C'(t)) cos((2pi/N)t)
y = (1/C'(t)) sin((2pi/N)t)
z = KC(t)
I'm wondering how the readership would go about realizing this within mathematica. Having just installed the program, I'm just now getting up to speed with basic importing and visualization of data, as well as playing with various ways to build and manipulate 3D graphics. Its bridging these two, in this example, that I'd greatly appreciate pointers on.
Thank You!
AM
Sample timing data outlining 4 cycles of 8 beats, slowing down:
{{{0.0348299}, {0.476009}, {0.940408}, {1.3932}, {1.84599},
{2.29878}, {2.75156}, {3.18113}, {3.65714}, {4.12154}, {4.59755},
{5.03873}, {5.49152}, {5.92109}, {6.42032}, {6.90794}, {7.39556},
{7.87156}, {8.34757}, {8.82358}, {9.3112}, {9.79882}, {10.3445},
{10.983}, {11.5751}, {12.2369}, {12.9683}, {13.6882}, {14.4312},
{15.1859}, {15.9637}, {16.7416}, {17.5543}}}
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web