lfnoise / sapf

Sound As Pure Form - a Forth-like language for audio synthesis using lazy lists and APL-like auto-mapping.
GNU General Public License v3.0
240 stars 16 forks source link

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

Open s-ol opened 1 month ago

s-ol commented 1 month ago

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

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 commented 1 month ago

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 commented 1 month ago

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

chairbender commented 4 days ago

FYI this specific functionality is being actively worked on as part of https://github.com/ahihi/sapf/issues/8