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

Reason for coupling file reading and algorithm? #12

Open
nils-werner opened this issue Mar 26, 2019 · 1 comment
Open

Reason for coupling file reading and algorithm? #12

nils-werner opened this issue Mar 26, 2019 · 1 comment

Comments

@nils-werner
Copy link

Currently, the algorithm is coupled to reading audio files, while I actually see no reason for that.

In my mind, swipe() should accept an array of floats and process them, and reading files should be placed into main().

That way, the Python wrapper would be more useful when used with NumPy, where you very often already have read the audio file into memory.

@kylebgorman
Copy link
Owner

kylebgorman commented Mar 26, 2019 via email

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

No branches or pull requests

2 participants