Darrell Walisser
2016-08-29 17:41:14 UTC
New and improved patch for spectrum view, addresses data race in the
reassignment case.
https://github.com/audacity/audacity/pull/158
There was a question about Windows support. Turns out that support for
OpenMP is poor in Visual Studio (limited to version 2.0 of the spec). Since
I am already using OpenMP 4.0 features, we will need to compile with gcc
(or maybe clang). The other option would be to use the Intel compiler in
Visual Studio.
So I am going to try testing this on Windows by cross-compiling audacity
with mxe toolkit (never tried this before). It looks promising since
wxWidgets is one of the pre-built packages available. If anyone has tried
this before I would appreciate any tips.
As far as additional improvements to the spectrogram, it seems like there
is some more low-hanging fruit to be had. For example, log10 is about 30%
of the cpu cycles in the non-reassignment case, this could be replaced with
a much faster alternative that is less accurate but good enough for display
purposes.
reassignment case.
https://github.com/audacity/audacity/pull/158
There was a question about Windows support. Turns out that support for
OpenMP is poor in Visual Studio (limited to version 2.0 of the spec). Since
I am already using OpenMP 4.0 features, we will need to compile with gcc
(or maybe clang). The other option would be to use the Intel compiler in
Visual Studio.
So I am going to try testing this on Windows by cross-compiling audacity
with mxe toolkit (never tried this before). It looks promising since
wxWidgets is one of the pre-built packages available. If anyone has tried
this before I would appreciate any tips.
As far as additional improvements to the spectrogram, it seems like there
is some more low-hanging fruit to be had. For example, log10 is about 30%
of the cpu cycles in the non-reassignment case, this could be replaced with
a much faster alternative that is less accurate but good enough for display
purposes.