Solved

SFX

Posted on 1998-12-08
3
146 Views
Last Modified: 2010-04-16
Can someone help me to get soundFX in pascal using sound blaster pro, in the case of making my own sounds?
0
Comment
Question by:VIBESPRO
3 Comments
 
LVL 2

Author Comment

by:VIBESPRO
ID: 1216406
The sounds produced should be of a value type.  I mean that a number can be used to play a note.  For example the sound procedure implemeted in pascal.  SOUND(450); DELAY(40) NOSOUND;
0
 
LVL 5

Expert Comment

by:scrapdog
ID: 1216407
That is used for the PC speaker.  The sound procedure utilizes the timer to oscillate the speaker at a frequency.  The Sound Blaster uses Pulse Code Modulation, so it wouldn't be that easy.  You would have to make your own oscillator and send the stream to the sound blaster.  If you wanted to play a sound with the frequency of 440, you would most likely use a sine function whose period is 1/440 of a second.  Multiply the sine by the loudness, then send it out to the blaster.
0
 
LVL 4

Accepted Solution

by:
jack_p50 earned 0 total points
ID: 1216408
see question about "programming 8254" or smth like that
you can get sound unit (great)! :   http://www.geocities.com/SiliconValley/Bay/9553/
(see soundlib 1.15 in source section)
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

What is Backup? Backup software creates one or more copies of the data on your digital devices in case your original data is lost or damaged. Different backup solutions protect different kinds of data and different combinations of devices. For e…
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now