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

Find cross-platform alternative for Accelerate/vDSP framework #3

Open
s-ol opened this issue Feb 2, 2025 · 2 comments
Open

Find cross-platform alternative for Accelerate/vDSP framework #3

s-ol opened this issue Feb 2, 2025 · 2 comments

Comments

@s-ol
Copy link

s-ol commented Feb 2, 2025

It seems that, aside from audio output (#1), the only reason this is currently OS X only are:

  • vDSP (Accelerate.framework),
  • spectrogram (Cocoa.framework),
  • MIDI (CoreMIDI.framework),
  • mouse I/O (IOKit.framework)

Most of these could be (initially) disabled on other platforms, but vDSP is used throughout the codebase. Here is the list of functions used:

$ grep -rE 'vDSP_\w+' -o src --no-filename | sort | uniq
vDSP_blkman_windowD
vDSP_create_fftsetupD
vDSP_ctozD
vDSP_fft_zipD
vDSP_fft_zopD
vDSP_fft_zripD
vDSP_fft_zropD
vDSP_hamm_windowD
vDSP_hann_windowD
vDSP_rectD
vDSP_svdivD
vDSP_vaddD
vDSP_vdbconD
vDSP_vdistD
vDSP_vdivD
vDSP_vmaxD
vDSP_vminD
vDSP_vmulD
vDSP_vnegD
vDSP_vsaddD
vDSP_vsmulD
vDSP_vsqD
vDSP_vssqD
vDSP_vsubD
vDSP_ztocD
@ahihi
Copy link

ahihi commented Feb 3, 2025

i have a fork of this with the macOS bits #ifdef'd out, it currently builds on Linux and does basic math. i intend to publish it soon so others may join in on the hacking

@ahihi
Copy link

ahihi commented Feb 8, 2025

now up at https://github.com/ahihi/sapf

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