🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #15802

Re: Request for simple Beep() music

#15802
From: Ted Lyngmo
Date: Fri, 13 Jun 2003 02:49
27 lines
2227 bytes
Bob Reeves wrote:
 > Sorry I wasn't clear enough in my original post. The computer does not have
 > a sound card and I was thinking using the computer speaker with simple
 > Beep() tones would be a good way to relay information to the user.

Ok. Does it have to be music? A simple 100ms@440Hz/100ms@880Hz/100ms@1760Hz or 
something similar could maybe suffice?

 > I once converted 'Puff the Magic Dragon' to Beep() commands for an Atari
 > computer from sheet music but it took me 3 days and I no longer have the
 > file. I was hoping someone has something simple I could extract parts out
 > of.

:-)

Rather than converting sheet music I would write a program that reads .mid 
files, converting one (or possibly combining a few) of the instruments to 
frequency and duration data. That way I could convert tons of available songs 
to Beep() commands in very short time. It would keep me prepared for similar 
exercises in the future too. :-)

Kind regards,
Ted Lyngmo

-- 
Replace MY_FIRST_NAME in my email address with my first name to send a private
email to me.
Technical Details
Message-ID: <3EE93BC7.8070106@lyncon.se>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3ee669f4$1@newsgroups.borland.com> <3EE6EED3.30105@lyncon.se> <3ee726a5@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,44d16b1a904c1cda
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-12 20:04:27 PST
Message-ID: <3EE93BC7.8070106@lyncon.se>
Date: Fri, 13 Jun 2003 04:49:43 +0200
From: Ted Lyngmo <MY_FIRST_NAME@lyncon.se>
Organization: Lyncon - Computer & Music consulting
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1
X-Accept-Language: sv,en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Request for simple Beep() music
References: <3ee669f4$1@newsgroups.borland.com> <3EE6EED3.30105@lyncon.se> <3ee726a5@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 217.215.147.98
X-Trace: newsgroups.borland.com 1055472635 217.215.147.98 (12 Jun 2003 19:50:35 -0700)
Lines: 28
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail