Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialization #2

Open
echo66 opened this issue Apr 27, 2015 · 4 comments
Open

Initialization #2

echo66 opened this issue Apr 27, 2015 · 4 comments
Labels

Comments

@echo66
Copy link

echo66 commented Apr 27, 2015

Greetings, @drom !

One question: can I process different data heaps, using the same custom FFT object? Or is each object a "one shot" processor?

@drom
Copy link
Owner

drom commented Apr 27, 2015

@echo66 yes, you can operate with other typed arrays. .transform() expects data starting from the beginning, and twiddle factors right after the data. I can change the function interface to pass dataStart and twiddleStart pointers. It will make heap more useful for storing other data. How about this?

@echo66
Copy link
Author

echo66 commented Apr 28, 2015

Greetings, @drom ! Thanks for the quick response. 👍

There are several ways, IHMO, to make a "nice" interface for this:

a) The transform function should accept one or two arguments (one for forward and two for inverse transform). Optionally, the transform function should check the size of the provided arrays.

b) Create a function like "setData" which accepts one or two arguments (one for forward and two for inverse transform).

c) And, of course, your proposal. :)

I'm suggesting (a) and (b) due to my experience regarding the usage of other FFT libraries.

Oh, by the way, awesome work with this library! I'm using it with a Phase Vocoder with Identity Phase Locking.

@drom
Copy link
Owner

drom commented Sep 19, 2015

Hi @echo66 do you use the library? Are you still interested in changes that you requested?

@drom drom added the question label Sep 19, 2015
@echo66
Copy link
Author

echo66 commented Sep 23, 2015

I'm still using it with the phase vocoder. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants