back to list

Re: Hexany in VRML

🔗Robert Walker <robert_walker@rcwalker.freeserve.co.uk>

10/21/2000 4:27:06 PM

I've just done an experimental 1,3,5,7 hexany in VRML

Click on the ratio, and you will hear a short .wav clip of harp playing the
note (using 22Khz, 8bit to reduce download)

You prob. need to wait for the harp sound to fade away completely before you
can click on another ratio, and at present prob. can't play the same ratio
twice in succession.

The sound is louder or softer depending on how far you are away from it.

http://www.rcwalker.freeserve.co.uk/interactive_models_with_titles/hexany_with_wav.wrl

The VRML standard is supposed to allow MIDI clips in a sound mode, and this
is my attempt at that:
http://www.rcwalker.freeserve.co.uk/interactive_models_with_titles/hexany.wrl
but I can't get it to work here yet.

It is easy to make any other hexanies from the .wrl file - open it in a text
editor, replace the "3/2" etc descriptions by your own, replace the 3_2.wav
etc urls by your own, and you will prob. want to rename Audio_3_2 etc and
Touch_3_2 etc to appropriate names for the ratios your are using.

You can also add touch sensors and audio clips to any VRML models using the
same method.

I'm thinking of doing a "Musical geometry" page in my homepage site with
examples of hexany, and some of the others (once I've figured out how they
all work).

Plus my VRML Trees program, beta at present, can prob. be adapted to make
VRML lattices and trees with touch sensors at the vertices.

Have I got the ratios right for the hexany?

Robert

🔗Robert Walker <robert_walker@rcwalker.freeserve.co.uk>

10/21/2000 5:06:57 PM

Just discovered, got the 35/32 and 15/8 transposed, - fixed now.

Each line direction changes one of the prime factors, so I think it is okay now?

What I wasn't so sure about is if the prime factors always go on the top or if sometimes they go on the bottom instead.

However I see from the SCALA archive that they can go either way, and that
1 35/32 5/4 21/16 3/2 7/4 15/8 hexany1.scl | Two out of 1 3 5 7 hexany

corresponds to what I did, so that's okay.

The MIDI clip one should be okay - just wasn't sounding here because I had another program running that was using the
MIDI Out device the VRML was set up for.

However I made a rather generous allowance for the harp sound to fade, so you need to wait a while between clicks. I'll
do the MIDI clips again now, prob. with some other instruments.

Robert

🔗David C Keenan <D.KEENAN@UQ.NET.AU>

10/21/2000 6:25:03 PM

That's great Robert!

Is it possible to make it play dyads (edges) and triads (faces)? Also, with
3D structures that have them, we'd want to play tetrads (tetrahedral
cells). Sounds difficult.

Can the text be made to always face the viewer?

-- Dave Keenan
http://dkeenan.com

🔗Robert Walker <robert_walker@rcwalker.freeserve.co.uk>

10/21/2000 6:34:12 PM

>That's great Robert!

>Is it possible to make it play dyads (edges) and triads (faces)? Also,
with
>3D structures that have them, we'd want to play tetrads (tetrahedral
>cells). Sounds difficult.

>Can the text be made to always face the viewer?

Answer to all those is Yes.

I'll do them now for the hexany. Shouldn't take that long.

Robert

🔗Paul H. Erlich <PERLICH@ACADIAN-ASSET.COM>

10/21/2000 8:12:00 PM

>What I wasn't so sure about is if the prime factors always go on the top or
if sometimes they >go on the bottom instead.

>However I see from the SCALA archive that they can go either way, and that
>1 35/32 5/4 21/16 3/2 7/4 15/8 hexany1.scl | Two out of 1 3 5 7 hexany

>corresponds to what I did, so that's okay.

Are you talking about nothing more than transpositions or modes of the same
scale?

Anyway, I'll try to get the VRML thing going, but I think this thing would
really "happen" if you could play more than one note at once.

🔗Robert Walker <robert_walker@rcwalker.freeserve.co.uk>

10/21/2000 9:39:54 PM

Hi Dave,

Sorry, mangled urls:

http://www.rcwalker.freeserve.co.uk/interactive_models_with_titles\hexan
y.wrl
(midi)
Now has the diads and triads.

http://www.rcwalker.freeserve.co.uk/interactive_models_with_titles\hexan
y_with_wav.wrl
(wave)
is as before

The .wav diads and triads are in
http://www.rcwalker.freeserve.co.uk/interactive_models_with_titles\hexan
y_with_diads_triads_with_wav.wrl
(takes a long time to load - 2 MB!)

Also prev. message subject should be same as this one, of course.

Happy Birthday Keenan Pepper!

Robert

🔗Paul H. Erlich <PERLICH@ACADIAN-ASSET.COM>

10/21/2000 9:38:50 PM

Robert,

Applause on the graphics. But the sound doesn't work for me :( Anything you
can suggest troubleshooting?

-Paul

🔗Robert Walker <robert_walker@rcwalker.freeserve.co.uk>

10/21/2000 9:52:31 PM

Hi Dave,

Sorry, still mangled:

http://www.rcwalker.freeserve.co.uk/interactive_models_with_titles\hexany.wrl
(midi)
Now has the diads and triads.

http://www.rcwalker.freeserve.co.uk/interactive_models_with_titles\hexany_with_wav.wrl
(wave)
is as before

The .wav diads and triads are in
http://www.rcwalker.freeserve.co.uk/interactive_models_with_titles\hexany_with_diads_triads_with_wav.wrl
(takes a long time to load - 2 MB, about 5 mins 28 secs at 50 K bits / sec)

Robert

🔗Robert Walker <robert_walker@rcwalker.freeserve.co.uk>

10/21/2000 10:10:22 PM

Hi Paul,

>Applause on the graphics. But the sound doesn't work for me :( Anything you
>can suggest troubleshooting?

Is that for Mid, or Wav, or both?

For MIDI, check you don't have any other program running that's using the MIDI Out.

I can't think of anything else right now...

To check you can play sound at all with your VRML viewer as it is set up, here's a simple .wrl file with just a sound node.

http://www.rcwalker.freeserve.co.uk/interactive_models_with_titles/test_sound.wrl

It will repeat single note played on harp endlessly, quite long gaps between notes.

It's using a .wav clip.

Let me know what happens!

Robert

🔗Paul H. Erlich <PERLICH@ACADIAN-ASSET.COM>

10/21/2000 10:03:03 PM

Robert, I get silence. But my sound is on and working! I must be unlucky :(

🔗David Finnamore <daeron@bellsouth.net>

10/21/2000 10:37:36 PM

Robert:

The URLs are still mangled. The problem is the slashes between
"titles" and "hexany" go the wrong way.

David J. Finnamore

🔗Robert Walker <robert_walker@rcwalker.freeserve.co.uk>

10/21/2000 10:42:56 PM

David

>The URLs are still mangled. The problem is the slashes between
>"titles" and "hexany" go the wrong way.
So they do :(

here they are corrected:

http://www.rcwalker.freeserve.co.uk/interactive_models_with_titles/hexany.wrl
(midi)
Now has the diads and triads.

http://www.rcwalker.freeserve.co.uk/interactive_models_with_titles/hexany_with_wav.wrl
(wave)
is as before

The .wav diads and triads are in
http://www.rcwalker.freeserve.co.uk/interactive_models_with_titles/hexany_with_diads_triads_with_wav.wrl
(takes a long time to load - 2 MB, about 5 mins 28 secs at 50 K bits / sec)

(I tested them in IE, but didn't try them in Netscape - IE treats / as the same as \ in a url)

Robert

🔗Joseph Pehrson <josephpehrson@compuserve.com>

10/22/2000 6:38:54 AM

--- In tuning@egroups.com, "Robert Walker" <robert_walker@r...> wrote:
>
http://www.egroups.com/message/tuning/14861

> I've just done an experimental 1,3,5,7 hexany in VRML
>

Hi Robert!

I would like to see this. However, I downloaded "Cosmo Player" as
per Carl Lumma's suggestion, and I can't find any "executable" file...

Netscape is asking for one. I wonder where I go from here??

Joseph

🔗Joseph Pehrson <josephpehrson@compuserve.com>

10/22/2000 7:18:18 AM

--- In tuning@egroups.com, "Robert Walker" <robert_walker@r...> wrote:

http://www.egroups.com/message/tuning/14890

Robert Walker's VRML files are working great now, as long as I use
Internet Explorer rather than Netscape. Apparently, the Cosmo player
only works with IE. Another "victory" for Bill Gates and his team!

_________ ____ __ _
Joseph Pehrson

🔗Robert Walker <robert_walker@rcwalker.freeserve.co.uk>

10/25/2000 12:41:10 PM

Hi everyone,

I've just fixed the tuning bug for the arpeggio as chord / broken chord button
- turned out to be v. simple thing really, but took a while to find.

I've redone the midi and wav clips

Also made some changes in the .wrl files:

I've added viewpoints for all the ratios, diads and triads.

Also made the invisible spheres you click on for the vertices smaller

Now you need to click on one of the vertices rather than in the approximate vicinity
of a ratio.

(invisible sphere at the vertex is a little larger than the ones you can see for the diads and triads, but not much larger)

That is so that when you look at the hexany from above one of the triads, which
gives a nice layout of it, all the spheres can be clicked on, and none are hidden behind
the invisible spheres at the vertices.

This is layout is a six pointed star, one for each triad, which I think must surely
be the star that some of you have been talking about.

As before, it's
http://www.rcwalker.freeserve.co.uk/interactive_models_with_titles/hexany.wrl
(midi)
However I've also followed Paul Erlich's suggestion to show the factors, in
http://www.rcwalker.freeserve.co.uk/interactive_models_with_titles/hexany_shows_factors.wrl

Wave versions are:
Single notes only:
http://www.rcwalker.freeserve.co.uk/interactive_models_with_titles/hexany_with_wav.wrl

Diads and triads as well:
http://www.rcwalker.freeserve.co.uk/interactive_models_with_titles/hexany_with_diads_triads_with_wav.wrl
(takes a long time to load - 1.67 MB, about 4 mins 34 secs at 50 K bits / sec)

This time all the clips are made for double base played v. high.

To make your own VRML hexanies, you can use
http://www.rcwalker.freeserve.co.uk/interactive_models_with_titles/hexany_template.wrl

For explanation of how it is done, see
http://www.rcwalker.freeserve.co.uk/interactive_models_with_titles/hexany_template_expo.txt

zip files:
http://www.robertwalker.f9.co.uk/hexany.zip [69 KB]
(n.b. also includes the hex dumps for the midi files
- in case you spot a remaining bug - I listened to it carefully this time though...)

http://www.robertwalker.f9.co.uk/hexany_with_wav.zip [1218 KB]

Here is another one with a recorder voice with deliberate choice of my soundcard's
less life-like synth for the output device, the one that produces very regular
repeating waves, so that you can hear the difference tones really clearly, especially
for intervals like 4/3 or 7/5 (try 5/4 7/4 - it is really clear and strong).

(not sure if that is a desirable feature or not!)
http://www.robertwalker.f9.co.uk/hexany_easy_diff_tones.zip [3788 KB]
I've done them as broken chords so that you can hear the difference tone
come in as the later note is played.

N.B. the 35/32 5/4 diff tone is only 40.879 Hz, and the 21/16 3/2 is 49.055 Hz.

For confirmation, tried opening diff_tones_35_32_5_4.wav in goldwave. You can see
the difference tones clearly! I make 10 beats about 0.2445 secs, which works out at
40.899796 Hz.

The difference from predicted frequency is prob. due to the resolution of my soundcard,
which works out at about 0.03 Hz at this frequency.

Robert

🔗Paul H. Erlich <PERLICH@ACADIAN-ASSET.COM>

10/25/2000 1:15:46 PM

Robert wrote,

>This is layout is a six pointed star, one for each triad,

You mean one for each tone/vertex, right?

🔗Paul H. Erlich <PERLICH@ACADIAN-ASSET.COM>

10/25/2000 6:57:08 PM

Hi Robert -- there seem to be problems with your new MIDI version:

the 5/4 35/32 15/8 triad sounds identical to the 3/2 21/16 15/8 triad.

the 3/2 21/16 7/4 triad sounds way more dissonant than it should.

some of the diads and monads on the middle horizontal plane still have the
old timbre and problems.

🔗Robert Walker <robert_walker@rcwalker.freeserve.co.uk>

10/27/2000 2:02:46 PM

Update on hexany VRML:

I've noticed the 35/32 5/4 15/8 chord is still the same as the
21/16 3/2 15/8 chord, (Midi version only), so I've
re-recorded that.

Latest upload leaves out the description field of the AudioClip node again,
(the field that gives a descr., e.g. for disabled users, not actually implemented
in most VRML browsers, and not required by the VRML specification)

If you have CosmoPlayer, it may complain about this, as before, and
refuse to load the clips.

So I've updated new versions for all the links and zip files.

Here are all the urls again:

http://www.rcwalker.freeserve.co.uk/interactive_models_with_titles/hexany.wrl
(midi)
Showing the factors:
http://www.rcwalker.freeserve.co.uk/interactive_models_with_titles/hexany_shows_factors.wrl

Wave versions are:
Single notes only:
http://www.rcwalker.freeserve.co.uk/interactive_models_with_titles/hexany_with_wav.wrl

Diads and triads as well:
http://www.rcwalker.freeserve.co.uk/interactive_models_with_titles/hexany_with_diads_triads_with_wav.wrl
(takes a long time to load - 1.67 MB, about 4 mins 34 secs at 50 K bits / sec)

To make your own VRML hexanies, you can use
http://www.rcwalker.freeserve.co.uk/interactive_models_with_titles/hexany_template.wrl

For explanation of how it is done, see
http://www.rcwalker.freeserve.co.uk/interactive_models_with_titles/hexany_template_expo.txt

zip files:
http://www.robertwalker.f9.co.uk/hexany.zip [69 KB]

http://www.robertwalker.f9.co.uk/hexany_with_wav.zip [1218 KB]

Recorder voice + use of my soundcard's less life-like synth to produce regular repeating waves and clear difference tones (e.g. for
5/4 7/4 - really clear and strong):
http://www.robertwalker.f9.co.uk/hexany_easy_diff_tones.zip [3788 KB]

Robert

🔗Joseph Pehrson <josephpehrson@compuserve.com>

10/28/2000 6:50:21 AM

--- In tuning@egroups.com, "Robert Walker" <robert_walker@r...> wrote:

http://www.egroups.com/message/tuning/15112

Thanks, Robert, for fixing everything. All the .wav files now work
great in Internet Explorer from your .zip file!

_________ ____ __ _
Joseph Pehrson