Draw a waveform with Purebasic and BASS library

Just starting out? Need help? Post your questions and find answers here.
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3943
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: Draw a waveform with Purebasic and BASS library

Post by wilbert »

Wolfram wrote:Last question, whats is the secret of the Cont.q=$800080007fff7fff.
It's a continuation value. You only need it if the sample data is so big, that you want to process it in parts.
The MinMaxScaled procedure returns the last audio sample as a quad value which can be passed on when you process the next part.
If for example you have an audio file with a duration of three hours, you probably don't want to load that entire audio file in memory.
Windows (x64)
Raspberry Pi OS (Arm64)
Post Reply