Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sound with Delphi 1

Status
Not open for further replies.

Roderich

Programmer
Sep 11, 2001
58
DE
hi there,

does anybody know how to play simple tone given by frequency via Sound card ?
I found some Delphi assembler code to play a sound via PC speaker, but PC speaker quality is quite poor :-/

Do I have to use DirectX or what ?

Any hints or tips ?

best Regards
Rod
 
this free tool should do what you want
heres what it can do
* A choice of five waveforms.
* Amplitude Modulation to allow the creation of complex waveforms.
* Full AHDSR envelope shaping to alter the dynamics of selected waveform.
* Frequency range of 20Hz to 20kHz.
* Simple method of assigning musical note values.
* Tone duration from 10mS to 30 seconds.
* Choice of sampling rate and resolution.
* Independent left and right volume control.
* Simple control of audio looping.
 
thanks a lot, this is great and exactly what I wanted !

wbR
Roderich
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top