Google Answers Logo
View Question
 
Q: Turning numbers into music ( No Answer,   4 Comments )
Question  
Subject: Turning numbers into music
Category: Computers > Software
Asked by: macaonghus-ga
List Price: $2.00
Posted: 28 Oct 2002 07:56 PST
Expires: 27 Nov 2002 07:56 PST
Question ID: 90990
I want a program that will turn non-sequential numbers into digital
music. I have a long list of numbers spanning 2000 units, in txt/xls
format and I want to import them into a program that will convert each
one into a musical note that my computer can play. It needs to be that
easy. I realise the output will be random notes.

Sample list:

11082
11345
11920
11183
12293
12299
11929
11524
etc

Request for Question Clarification by alienintelligence-ga on 28 Oct 2002 10:59 PST
Hi macaonghus,

Can you please state the range of
numbers? That will probably be an
important aspect in the processing
of the string in the end.

thanks,
-AI

Clarification of Question by macaonghus-ga on 28 Oct 2002 11:28 PST
The range is about 2000 units so it could be from 6000 to 8000 or
100.00 to 120.00.

That order of magnitude.

Of course there are only eight notes. And only so many scales (I dont
know much about music). So I will have to fit my numbers within that.

Request for Question Clarification by alienintelligence-ga on 28 Oct 2002 12:49 PST
Ok that last reply confused me.

What I meant by my question 
is, what will be your lowest
number and what is the highest.
Are the numbers actually like
your sample list? If so, they
are ideal for my method of
transposition. You did lose
me with the 6000-8000 and 100-
120 part though. 

While I have your attention
also... you said the numbers
are random but how random?
Will a following number always
be different than the prior?
Will there be any non-random
sequences? Sequential orders?

thanks,
-AI

Clarification of Question by macaonghus-ga on 28 Oct 2002 13:18 PST
It will be different series of numbers. 

So ranging between 100.00 to 120.00 and 5000 to 7000, for example. Not
sequential. So the list I gave could be part of the first range. The
numbers are not random. They are not random, they are non sequential
but each number is only slightly removed from the last. They could
sometimes be sequential by chance. Consecutive numbers may be the
same, again through chance.

This is a real sample:
110.90
110.91
110.94
110.93
110.92
110.90
110.90
110.89
110.85
110.82
110.83
110.83

This is another real sample:
5345
5349
5357
5359
5356
5361
5363
5364
5365
5368
Answer  
There is no answer at this time.

Comments  
Subject: Re: Turning numbers into music
From: sgroi135-ga on 28 Oct 2002 08:04 PST
 
Does the software have to stop after each unit? Or just play them as
one long string?
Subject: Re: Turning numbers into music
From: seizer-ga on 28 Oct 2002 08:09 PST
 
If you still have QBASIC.EXE on your computer (Windows 95, (some)
Windows 98, and Windows NT), then you could use the following program
on a text file, where each number was on a seperate line:

OPEN "input.txt" FOR INPUT AS #1

DO WHILE NOT EOF(1) AND INKEY$=""
	LINE INPUT #1, a$
	SOUND VAL(a$), .7
LOOP

It's not at all pretty, but it might give you a good starting point (I
haven't tested it, but it should work).
Subject: Re: Turning numbers into music
From: macaonghus-ga on 28 Oct 2002 08:23 PST
 
Play them as one long string.... and I dont have qbasic though that was a good idea.
Subject: Re: Turning numbers into music
From: raphlevien-ga on 30 Oct 2002 00:58 PST
 
I know this wasn't what was asked, but I'm reminded of Metamath's
ability to turn mathematical proofs into music:

http://metamath.flatline.de/mpegif/mmmusic.html

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy