1. PC SPEAKER
- Posted by The Reaper <reaper at LOKI.ATCON.COM>
Feb 15, 1997
-
Last edited Feb 16, 1997
Hey, I was wondering if anybody knows any cool sound effects for the PC speaker.
Or is there any place on the internet to find this out?
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The Reaper (J. Lays)
reaper at auracom.com ........................
. .. -||..........__...... "There are no miracles,
. / ||......../-- \\.:::: Just dreams that come true,
. ..| ||...... / o o| |.::: By the actions of someone
.| _-||.......|| ^ / /.:::: Who didn't waste time dreaming."
..| |..||...... -\_- \ |\-.:::
.| |.[< \ .../ \.::
.||.|||\|\ | -REAPER- . \.::::
...|.\|| | \ | | |.:::.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2. Re: PC SPEAKER
At 10:48 PM 2/15/97 -0400, you wrote:
>---------------------- Information from the mail header -----------------------
>Sender: Euphoria Programming for MS-DOS <EUPHORIA at
>MIAMIU.ACS.MUOHIO.EDU>
>Poster: The Reaper <reaper at LOKI.ATCON.COM>
>Subject: PC SPEAKER
>-------------------------------------------------------------------------------
>
>Hey, I was wondering if anybody knows any cool sound effects for the PC
speaker.
>Or is there any place on the internet to find this out?
Try this...
--------------start
for music = 2000 to 10 by -10 do
sound(music)
for DELAY=1 to 30000 by 1 do
end for
sound(0)
end for
for music2 = 4000 to 10 by -10 do
sound(music2)
for DELAY=1 to 20000 by 1 do
end for
sound(0)
end for
for music2 = 5000 to 10 by -10 do
sound(music2)
for DELAY=1 to 15000 by 1 do
end for
sound(0)
end for
sound(0)
--------------end
/ViC./
______________________________________________________________________
| http://www.geocities.com/SiliconValley/Heights/8858/home.htm |
| Veni vidi, vici. Fiat lux. |
|______________________________________________________________________|
3. Re: PC SPEAKER
At 01:28 AM 2/16/97 -0500, you wrote:
>Try this...
<sound code>
Hey, thanks for the code. It's not what I wanted, but I find a use for it.
By the way, here's an example of using save_image(). It's rather rough, so it'll
probably look kinda ugly. Them's the breaks!
--------------------------------------------------------------------------------
without warning
without type_check
include image.e
include graphics.e
object spare
seqence where, old, sprite, background
sprite=read_bitmap("bitmap1.bmp")
background=read_bitmap("bitmap2.bmp")
spare=graphics_mode(19)
old = save_image({1,100},{1+length(sprite[2][1]),100+length(sprite[2]))
display_image({1,100},sprite[2])
for i = 6 to (320-length(sprite[2][1]) by 5 do
display_image({i-5,100},old)
old = save_image({i,100},{1+length(sprite[2][1]),100+length(sprite[2]))
display_image({i,100},sprite[2])
end for
while get_key() = -1 do
end while
spare=graphics_mode(-1)
--------------------------------------------------------------------------------
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The Reaper (J. Lays)
reaper at auracom.com ........................
. .. -||..........__...... "There are no miracles,
. / ||......../-- \\.:::: Just dreams that come true,
. ..| ||...... / o o| |.::: By the actions of someone
.| _-||.......|| ^ / /.:::: Who didn't waste time dreaming."
..| |..||...... -\_- \ |\-.:::
.| |.[< \ .../ \.::
.||.|||\|\ | -REAPER- . \.::::
...|.\|| | \ | | |.:::.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
4. Re: PC SPEAKER
>Hey, thanks for the code. It's not what I wanted, but I find a use for it.
>By the way, here's an example of using save_image(). It's rather rough, so
it'll
>probably look kinda ugly. Them's the breaks!
>
>
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>The Reaper (J. Lays)
The code is good...a lot of flickering tho...it's a shame that mode 19 only
has one
page.
/ViC./
______________________________________________________________________
| http://www.geocities.com/SiliconValley/Heights/8858/home.htm |
| Veni vidi, vici. Fiat lux. |
|______________________________________________________________________|