That is great Petr
Thanks to Eros new TBASS exposes TBASS_ChannelGetData.
It allows to retrieve FFT (fast fourier transformation) of the channel played.
It can be used in many ways - from music visualisation, sound analysis to some more abstract things.
This little script shows you how to visualise FFT data from played sound in realtime.
Latest beta required.
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
That is great Petr
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
yes very nice Petr! And only with a few lines of code
Eros, are you also still working on BassFX?
Of course yes. And that DLL is already embedded inside TBASS module but you cannot see at the moment because BASS and BASSFX libraries are exploded in memory when TBASS module is loaded.Originally Posted by martin
My delay (and I'm sorry about that) is related to the fact I had to recover thinAir situation and continuous GPF. Now it seems I'm on the right road, the most important part is done, I just need to tune some important points on thinAir code and than I will go back to BASSFX and on ODBC for which I promised to produce some examples on how to manage tables with primaries keys and auto increment fields.
Ciao
Eros
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
I am happy to hear that Eros. It's completely understandable that you focus first on the things with high priority. Looking forward to the ODBX examples as well!
Martin
Petr, it is giving an error. I did download the latest thinBasic from the link you provided.
Here is a screenshot of what it says. I am running Windows 7.
I do hear the music and after I close the error box, I see the window frame empty for just a second till Windows exits out from the program.
Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server
Kent,
are other TBASS script examples working?
Can you check you do not have other "thinBasic_TBASS.dll" around in your computer?
The error you are having seems TBASS module is not correct and is an old version vecause TBASS_ChannelGetData is a new function present only in latest thinBasic beta 1.7.10
Thanks
Eros
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Hi Kent,
could you try to uninstall thinBASIC, clear your browser cache, install thinBASIC beta from provided link please? As Eros said, the functionality is new in the latest preview. The error you get is defintely caused by old DLL - there are some other TBASS commands before TBASS_ChannelGetData, and they ran fine on your PC.
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
Hi Petr, now that is very cool! I like it.
Ok, this is strange. I uninstalled thinBasic and in the uninstall list it showed it as version 1.7.10.0
I went ahead and uninstalled it.
I then went to drive C and deleted the thinBasic folder.
I installed the new version again.
I tried the TBASS examples in the samplescripts folder. They all worked except for the two that played
from memory.
Also Petr's newest must play from memory too and so it too didn't work.
Hope this helps trace what could be the problem.
Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server
Bookmarks