You need a program for Delphi to convert the current variable of type real into a sound format, then you need to play through a sound card or submit it to the port.

Thank.

  • What does it mean to convert a variable to audio format? The sound in the computer has at least two parameters: frequency and volume. And these are two meanings. - gecube
  • A variable is a function of time, and therefore contains both amplitude and frequency. Real is a numerical sequence. It is necessary to convert this type into a sound one, for example VAW, and transfer it to a playback or to a PC port. It is desirable to reproduce the sound at the rate of receiving the variable real. - Yuri Petrovich

1 answer 1

Try bass.dll , here is the link to the archive, where there is a header (.pas) for Delphi. Without knowledge of this library, I lost mp3 from a disk in 15 minutes, a very simple (and powerful) thing.

I hope you have more than one variable of type REAL) The library has functions that allow you to apply an array of REAL to the audio output.