Search found 15 matches
- Mon Aug 10, 2020 7:19 pm
- Forum: Software
- Topic: Advantages/disadvantages of using interface classes
- Replies: 9
- Views: 54337
Re: Advantages/disadvantages of using interface classes
Maybe this boolean switch is only the first mutable parameter that you introduce and more will follow in future? That is correct. This is the first, and simplest mutable parameter I would like to change. I've only shown this one to get a general idea for how the rest should work. The advice for [de...
- Sat Aug 01, 2020 12:20 am
- Forum: Software
- Topic: Advantages/disadvantages of using interface classes
- Replies: 9
- Views: 54337
Re: Advantages/disadvantages of using interface classes
Thanks for your reply. The memory allocation aspect seems the most difficult to topple. I will share a bit of my code and I invite any recommendation as how to best approach this. // Runtime configuration class class filter_t { public: filter_t(MHAParser::bool_t filter_signal); mha_spec_t* process(m...
- Thu Jul 23, 2020 7:37 pm
- Forum: Software
- Topic: Advantages/disadvantages of using interface classes
- Replies: 9
- Views: 54337
Re: Advantages/disadvantages of using interface classes
Thanks for the reply. Part of my confusion stemmed from not realizing that the interface class and signal processing class are the same thing; the runtime configuration class (which the interface/SP class inherits from) is where updates to the configuration occur by creating a new config each time a...
- Tue Jul 21, 2020 7:07 pm
- Forum: Software
- Topic: Advantages/disadvantages of using interface classes
- Replies: 9
- Views: 54337
Re: Advantages/disadvantages of using interface classes
Furthermore, what is the role of the release() method in the 2-class topology? It doesn't look like there are release methods to free memory that is created in the prepare() method. Should allocating memory now occur in the constructor, and freeing memory occur in the destructor of the signal proces...
- Mon Jul 20, 2020 11:20 pm
- Forum: Software
- Topic: Advantages/disadvantages of using interface classes
- Replies: 9
- Views: 54337
Advantages/disadvantages of using interface classes
Hi, I'm having trouble deciphering whether I should use two separate classes (runtime config class and signal processing class) or just a single, signal processing class for my plugins. It seems that you are able to poll your current config file (*.cfg) and modify any MHAParser variables if you use ...
- Mon Jun 08, 2020 11:37 pm
- Forum: Software
- Topic: openMHA + openCL
- Replies: 1
- Views: 16676
openMHA + openCL
I'm trying to accomplish something with openMHA that is probably out of the ordinary for someone using this framework, so bear with me. I am using openMHA on a BeagleBone AI , which has 2 CPU processors, 2 DSPs, and other co-processors. I have a strict latency limit with this hardware platform, so o...
- Mon Mar 23, 2020 8:04 pm
- Forum: Software
- Topic: Floating point accuracy of MHA parser variables
- Replies: 2
- Views: 22165
Re: Floating point accuracy of MHA parser variables
Thanks -- I figured something like this was the case, but wanted to make sure, as I hadn't seen the same behavior when applying analysemhaplugin to most other plugins.
+1 for thoroughness.
+1 for thoroughness.
- Thu Mar 19, 2020 1:37 am
- Forum: Software
- Topic: Floating point accuracy of MHA parser variables
- Replies: 2
- Views: 22165
Floating point accuracy of MHA parser variables
I am trying to allow some of my algorithm's tuning parameters to be updated at runtime with the help of the MHA-parser. However, when I inspect my self-developed plugin with 'analysemhaplugin my_plugin' it seems that the floating point numbers are not quite the same as what I set them as. What is th...
- Sat Feb 29, 2020 1:15 am
- Forum: Software
- Topic: Converting between MHA signal types and self-developed object types
- Replies: 1
- Views: 17528
Converting between MHA signal types and self-developed object types
I understand this is going off the beaten path, but I am attempting to create a plugin that can convert the incoming signal to an object format that many of my own, self-developed C++ algorithms commonly use. Specifically, I am trying to create a plugin from the plugin template that has the followin...
- Mon Feb 24, 2020 6:37 pm
- Forum: Software
- Topic: Signal arrangement plugin types
- Replies: 6
- Views: 40371
Re: Signal arrangement plugin types
Thanks for your reply. I was mistakenly looking at the resampling plugin - not overlapadd - when mentioning that it was not real-time safe. On that note, however, it looks like example 9 (localizer steering beamformer) uses resampling in real-time, using Jack. Is this enough to assume that it can be...