Search found 12 matches

by steffendasenbrock
Thu Sep 30, 2021 12:05 pm
Forum: Software
Topic: Compile mha from source on M1 Macbook - error clang: error: the clang compiler does not support '-mcpu=cortex-a8'
Replies: 2
Views: 17199

Re: Compile mha from source on M1 Macbook - error clang: error: the clang compiler does not support '-mcpu=cortex-a8'

Hi, thanks for your answer! from uname -m I got: arm64 Manually deleting the line containing "-mcpu=cortex-a8" from the file config.mk seemed to have solved the issue! Thanks a lot! I only get some warnings Makefile:84: warning: overriding commands for target `arm64-Darwin-clang/unit-test-...
by steffendasenbrock
Fri Sep 17, 2021 11:15 am
Forum: Software
Topic: Error: Error: Variable does not contain a valid scalar value
Replies: 3
Views: 19852

Re: Error: Error: Variable does not contain a valid scalar value

Thanks for your answer. I though it would be possible to pass content of AC variables between plugins using the configuration language. Is there a way to pass an AC variable created by my own plugin to e.g. the gain plugin?
by steffendasenbrock
Wed Sep 15, 2021 9:34 am
Forum: Software
Topic: Compile mha from source on M1 Macbook - error clang: error: the clang compiler does not support '-mcpu=cortex-a8'
Replies: 2
Views: 17199

Compile mha from source on M1 Macbook - error clang: error: the clang compiler does not support '-mcpu=cortex-a8'

Hi, I tried to compile mha from source on macOS 11. I installed the required software and packages. When I try make I get the following error: felinemalin@MacBook-Air-von-Malin openMHA % make /Applications/Xcode.app/Contents/Developer/usr/bin/make -C external_libs cd libemx/. && /Application...
by steffendasenbrock
Fri Sep 10, 2021 1:28 pm
Forum: Software
Topic: Error: Error: Variable does not contain a valid scalar value
Replies: 3
Views: 19852

Error: Error: Variable does not contain a valid scalar value

Hi, my aim is to use an AC variable I created using my own plugin as an input of another plugin, e.g. the gain plugin. I have two question: 1. I want to set the value of the gain.gains variable to the value of my AC variable, gains needs to be of kind vector<float>, but I can not find an function wh...
by steffendasenbrock
Tue Sep 07, 2021 2:01 pm
Forum: Software
Topic: Proper way to receive an AC variable from a plugin in a chain (especially lsl2ac)?
Replies: 4
Views: 22193

Re: Proper way to receive an AC variable from a plugin in a chain (especially lsl2ac)?

Thank you for your answer! executing the code in process() as well as in prepare() solved the issue. Yet I'm not sure if I'm still violating some of the best practices. In my case I tried to calculate the mean value all elements of the time series AC variable exported by lsl2ac, e.g. SimpleStream an...
by steffendasenbrock
Thu Aug 19, 2021 12:39 pm
Forum: Software
Topic: Proper way to receive an AC variable from a plugin in a chain (especially lsl2ac)?
Replies: 4
Views: 22193

Re: Proper way to receive an AC variable from a plugin in a chain (especially lsl2ac)?

I found a second way to access the value of an AC variable from another plugin (in this case rmslevel), using: mha_wave_t* example6_t::process(mha_wave_t* wave) { poll_config(); store_ac_single = MHA_AC::get_var_float(ac,"rmslevel_level"); return wave; } store_ac_single is a float variable...
by steffendasenbrock
Thu Aug 12, 2021 9:35 am
Forum: Software
Topic: Proper way to receive an AC variable from a plugin in a chain (especially lsl2ac)?
Replies: 4
Views: 22193

Proper way to receive an AC variable from a plugin in a chain (especially lsl2ac)?

Hi :) I've been playing around a bit with example6.cpp from the Developer manual to get to know how to work with AC variables. I've managed to create an AC variable by declaring it as member of the class example6_t: comm_var_t test_ac; And setting up data_type, num_entries, stride and data as well a...
by steffendasenbrock
Tue Sep 17, 2019 9:04 am
Forum: Connect openMHA to Matlab
Topic: Control Dynamic Compression using Octave/Matlab GUI
Replies: 0
Views: 29475

Control Dynamic Compression using Octave/Matlab GUI

This post offers an introduction into the dynamic compression using a Octave/Matlab GUI. This is covered in section 5 of the Getting Started Document (displayed below) which you can also download under the following link: http://www.openmha.org/docs/openMHA_starting_guide.pdf If you have questions a...
by steffendasenbrock
Tue Sep 17, 2019 8:59 am
Forum: Connect openMHA to Matlab
Topic: Control Frequency Shifter using Octave/Matlab GUI
Replies: 3
Views: 25409

Control Frequency Shifter using Octave/Matlab GUI

This post offers an introduction into the frequency shifter using a Octave/Matlab GUI. This is covered in section 4 of the Getting Started Document (displayed below) which you can also download under the following link: http://www.openmha.org/docs/openMHA_starting_guide.pdf If you have questions abo...
by steffendasenbrock
Thu Jun 20, 2019 8:30 am
Forum: Getting Started
Topic: Requirements
Replies: 0
Views: 36117

Requirements

This post offers an overview of the program requirements for using openMHA. This is covered in section 1 of the Getting Started Document (displayed below) which you can also download under the following link: http://www.openmha.org/docs/openMHA_starting_guide.pdf If you have questions about the requ...