libAudioFlux / audioFlux

A library for audio and music analysis, feature extraction.
https://audioflux.top
MIT License
2.09k stars 102 forks source link

Support for Windows 10 IoT Enterprise #19

Open Viyyy opened 1 year ago

Viyyy commented 1 year ago

When I create multiple instances of BFT, an exception is raised for access violation writing

Viyyy commented 1 year ago

import audioflux as af from audioflux.type import SpectralFilterBankScaleType from audioflux.type import SpectralDataType

NUM= 128 sr = 32000 bft1 = af.BFT( num= NUM, radix2_exp= 10, samplate= sr, scale_type=SpectralFilterBankScaleType.LOG, ) print(0) bft2 = af.BFT( num= NUM, radix2_exp= 11, samplate= sr, scale_type=SpectralFilterBankScaleType.LOG, ) print(1)

bft_ls = [] for i in range(2): bft = af.BFT( num= NUM, radix2_exp= 10+i, samplate= sr, scale_type=SpectralFilterBankScaleType.LOG, ) bft_ls.append(bft) print(2)

Viyyy commented 1 year ago

The python version is 3.6.13, the audioflux version is 0.1.4

wtq2255 commented 1 year ago

@Viyyy Please provide the system version

Viyyy commented 1 year ago

@Viyyy Please provide the system version Thanks for your reply, here is my system version: Windows 10 IoT Enterprise.

wtq2255 commented 1 year ago

@Viyyy Please provide the system version Thanks for your reply, here is my system version: Windows 10 IoT Enterprise.

We tested on win11/win10, but we don't have a test platform for Windows 10 IoT Enterprise release. We currently need to use MinGW to cross-compile for the Windows system, so you can use MinGW to cross-compile for Windows 10 IoT Enterprise under macOS to see if there is still a problem. If you encounter problems, you can reply again

brew install mingw-w64
python setup.py build_py_win
python setup.py install
Viyyy commented 1 year ago

@Viyyy Please provide the system version Thanks for your reply, here is my system version: Windows 10 IoT Enterprise.

We tested on win11/win10, but we don't have a test platform for Windows 10 IoT Enterprise release. We currently need to use MinGW to cross-compile for the Windows system, so you can use MinGW to cross-compile for Windows 10 IoT Enterprise under macOS to see if there is still a problem. If you encounter problems, you can reply again

brew install mingw-w64
python setup.py build_py_win
python setup.py install

Thanks for your reply, I will try it latter.