Commit Graph

62 Commits

Author SHA1 Message Date
d9a3cfd627 Made default preset for compiled in DAQ backends in CMakeLists
Some checks failed
continuous-integration/drone/push Build is failing
2023-06-15 09:57:06 +02:00
77b1848bb4 Made functions without correct return type compile time error 2023-06-14 21:24:29 +02:00
88624764e7 Rudymentary portaudio support. A stream callback is running. 2023-06-14 21:23:53 +02:00
e274e12f82 Added ARMA_NO_DEBUG flag for release mode 2022-10-18 22:31:25 +02:00
ec689621b5 Added Armadillo backend for Fft's. This one seems to work properly. Added some tests code for daq and StreamMgr in C++. Fixed a stray of a debug dmat somewhere in lasp_daqdata. 2022-10-12 15:02:42 +02:00
fae906884e Textual improvements. Formatting (Neoformat) improvements. Let DataTypeDescriptor be a reference (to a global const std map in Daq class. Improved naming of certain functions. Better DaqData implementation, now we make sure memory alignment is good at all times. Switched functions arguments in DaqData constructor to comply with all other cases of first frame, then channel. Better naming of stream in RtAudio. Better handling of faulty function calling in RtAudio start(). Bugfix in RtAudio, did call right Daq::dtypeDescr() function --> result was that only first channel was copied to all channels. Added extra check in StreamMgr. Removed unnecessary TypedDaqData class. Use a safe queue in threaded in data handler. We can now remove the Boost code for that. 2022-10-10 19:17:38 +02:00
e7f80ce741 Could not find Python on Requiem. Added include_directories. Fixed bug of old Armadillo place 2022-10-07 09:34:32 +02:00
12d6826140 Removed some compile warnings when compiling sub-projects. Removed warnings related to unknown pragmas in case of compiling without OpenMP support. Fixed some test problems 2022-10-05 13:39:45 +02:00
31ead60469 Added RtAudio and UlDAQ as subprojects that are compiled in. Fixed proper connection of UlDAQ. Set default sensitity to 1.0 for a new DaqChannel. Segfault bug fixed in DaqData::copyToRaw. Scan in background for devices when StreamMgr() is initialized. Fixed bug in storing of DaqConfigs to lasp_shelve. Set RtAudio to 5.2.0. 2022-10-05 11:27:46 +02:00
288e7c8dc5 Input stream and output stream both running. Added lockfree boost dependency to git modules, removed carma build as it is not required and every time again downloads Armadillo. Added functions to enable / disable all channels at once. Fixed a bug with RtAudio input streams. Fixed a bug in StreamMgr leading to segfaults (how to: use std::move ;)). 2022-09-27 17:20:45 +02:00
5ce5fba50b Sweep bug fixed. There is still something weird with RtAudio: only one channel is outputting signal. 2022-09-22 21:02:41 +02:00
70891ceaf4 Switched to OpenMP for parallellizing for loops. Bugfixes in PowerSpectra() class. Added tests to check Parsevall hold. Improved lots of comments. Added module groups. Use CMake to specify code version number. Device info should be obtained from StreamMgr in Python code. 2022-09-03 20:59:14 +02:00
7ca52695da First work on avpowerspectra implementation. Added stubs for all other code that needs to be implemented in C++ as well. 2022-08-07 21:13:45 +02:00
12cf9586eb DaqConfiguration(s) back in place. Time to couple some stuff to ACME 2022-08-01 17:26:22 +02:00
da99618fc3 Some comment improvement and cleanup 2022-07-25 22:29:42 +02:00
6a006e27f9 Output of a sine wave now works. Pfff 2022-07-20 14:58:48 +02:00
7095f9d5e7 Intermediate commit. Ready for some serious testing. 2022-06-29 12:25:32 +02:00
7eaaf43653 Inbetween pybind11 commit. Nothing working. 2022-06-13 19:35:41 +02:00
f635cac209 First work on going to Pybind11. Rewritten the code for the UlDaq significantly. Much cleaner, but still contains bugs. 2022-05-23 17:26:29 +02:00
16390352dc Removed stupid handleMessages from streammanager. 2022-05-17 13:53:07 +02:00
cf0b4cf283 Added export of compile commands. Stop make on first error 2022-01-28 14:11:58 +01:00
b570b4ba18 One definition in CMakeLists.txt not required 2021-12-27 12:08:53 +01:00
accde58b5b Set CMake minumum version to 3.12, for PythonLibs finding 2021-11-01 11:47:12 +01:00
9694173a65 Bugfix in fft, set Blas vendor to openblas 2021-10-19 11:30:39 +02:00
6f782f237e Bugfix: wrong #define statements, resulting in no Audio APIs at all 2021-10-04 20:54:36 +02:00
e958b8361a Forgot to add 32-64 bits definitions to include in wrappers.pyx. Now fixed. Removed constrained on h5py version. This might result in new instabilities, but we expect it to be more fixed. 2021-10-04 15:53:22 +02:00
b159f4d144 Major cleanup of build code (CMake related). First steps towards C++ and C-compiler safety. Also first steps made to get single precision back to working 2021-09-14 20:05:42 +02:00
f76c89a688 Merge branch 'develop' of ssh://code.ascee.nl:12001/ASCEE/lasp into develop 2021-05-24 16:08:17 +02:00
7ae0de3a06 Some improvements in build, some comments added 2021-05-23 22:53:48 +02:00
0c1eef5388 Fixed error in build flags on Linux 2021-05-23 19:23:53 +02:00
9005bda017 Fixed some bugs. Lrftubes is temporarily disabled on this branch 2021-05-23 10:15:48 -07:00
1678a0767a Fixed some bugs to let it work in MinGW compilation 2021-05-23 07:38:41 -07:00
7153096552 Fixed several bugs. Most serious one is a segfault for a stream without input. 2021-05-19 16:33:27 +02:00
fa6fbbe12d Merge branch 'develop' of ssh://code.ascee.nl:12001/ASCEE/lasp into develop 2021-05-07 11:22:39 +02:00
bc1e0eb51c Fixed python version to 3.8 2021-05-07 11:22:28 +02:00
2caccb6b71 Fix lasp to Python3.8. 2021-04-22 11:44:20 +02:00
5c3cae730f Bugfix for something that does not seem to work anymore with Numpy. np.int16.itemsize is not a number anymore. 2021-01-28 22:16:09 +01:00
dd0b011fa3 Disabled annotation. Improved compilation flag for Cython 2020-11-19 11:11:38 +01:00
f54ac216c1 Major cleanup of compilation warnings. 2020-10-16 20:37:02 +02:00
bc9639f10c Inbetween state. Nothing is working 2020-10-14 09:42:19 +02:00
a3963c4595 Working in CPP code, with multiple-api-api 2020-10-06 21:29:02 +02:00
a73ef3d7a8 First work on moving RtAudio Api back to C++. 2020-10-04 22:29:54 +02:00
2775e29fab Updated some definitions 2020-10-02 10:01:18 +02:00
287b0cfe83 Big change to new stream configuration. Possibility to include output channels back to input 2020-08-03 20:17:52 +02:00
2d909b07dd Small fixes for building on Windows. Note, that there are some things hardcoded which should not be hardcoded. 2020-04-26 05:41:11 -07:00
c1d8fe97d4 Bugfixes to hopefully let it run on Windows. Needs further testing 2020-04-06 21:38:04 +02:00
8e0b173fdf Audio thread does not interfere with Python GIL anymore. Instead, GIL-acquiring stuff runs on different thread which communicates using queues. Small API change in callback to Python, no streamtime is given anymore, and buffers for input and output CAN be none. 2020-04-03 11:12:49 +02:00
195319ab29 Added the possibility to shift to different fft backend. Now set to fftw. Seems to work properly 2019-12-29 22:07:27 +01:00
86e7cbbbe9 Put all state of white noise generator in object. Added possibility of changing output level. 2019-12-28 21:33:14 +01:00
3ea745245f First work in the direction of getting a recording running again 2019-12-17 14:09:45 +01:00