audioFlux icon indicating copy to clipboard operation
audioFlux copied to clipboard

Support for Windows 10 IoT Enterprise

Open Viyyy opened this issue 2 years ago • 6 comments

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

Viyyy avatar Apr 17 '23 09:04 Viyyy

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 avatar Apr 17 '23 09:04 Viyyy

The python version is 3.6.13, the audioflux version is 0.1.4

Viyyy avatar Apr 17 '23 09:04 Viyyy

@Viyyy Please provide the system version

wtq2255 avatar Apr 17 '23 11:04 wtq2255

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

Viyyy avatar Apr 17 '23 12:04 Viyyy

@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

wtq2255 avatar Apr 18 '23 08:04 wtq2255

@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.

Viyyy avatar Apr 18 '23 09:04 Viyyy