PDA

View Full Version : How to draw a waveform with TBASS



martin
08-06-2018, 10:41
Hi all,

I want to draw a waveform of an audio file with TBASS_ChannelGetData but I have no idea how to do this. I just don't understand how to read the PCM sampledata of a decoded channel and how to convert this data to a waveform. Would anyone help me with this?

Kind regards,

Martin

Petr Schreiber
12-06-2018, 20:05
Hi Martin,

please take my advice with a grain of salt, as I did not do waveforms with TBASS.

However... I would probably try TBASS_ChannelSetPosition, TBASS_ChannelGetData functions.

Look them up in the help file, they seem to offer fine detail of information.


Petr