B4J Question DirectX equivalent library

Didier99

Member
Licensed User
I have an old VB 6.0 project where I used DirectX to acquire sound sample data and generate sound, a bit similarly to a spectrum analyser (doing FFT and such on the received signal) and also generating fixed frequency sounds. The application was a low frequency vector network analyser.
I would like to see if I can create a B4J version of that software. Is there any recommendation for a suitable library?
TIA
 

zed

Well-Known Member
Licensed User
B4J does not have a built-in FFT library, but you can use Java libraries like JTransforms or FFT implementations available on the B4X forum.

Perhaps this will be useful to you.
 
Upvote 0

Didier99

Member
Licensed User
B4J does not have a built-in FFT library, but you can use Java libraries like JTransforms or FFT implementations available on the B4X forum.
I do not need an FFT library, most of those I have come across don't do exactly what I need (I need the phase information), and I already have written the FFT code I need in the original VB project.
What I do not have is a library to acquire the sound samples (16 bit stereo at a selectable bit rate).

But thanks for the links, they may be useful.
 
Upvote 0

zed

Well-Known Member
Licensed User
or this:
Otherwise, I don't see it.
 
Upvote 0

Didier99

Member
Licensed User
or this:
Otherwise, I don't see it.
Perfect!
Thanks a bunch!
 
  • Like
Reactions: zed
Upvote 0
Top