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
Last edited by martin; 08-06-2018 at 10:43.
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
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
Bookmarks