Search found 14 matches

by nmichael
Wed Dec 20, 2023 7:13 pm
Forum: Software
Topic: distortion of interaural phase/time difference in openMHA output
Replies: 4
Views: 1648

Re: distortion of interaural phase/time difference in openMHA output

Satish, I ran checked this example and didn't see any phase difference between the channels. I checked this in an informal but thoroughly convincing way (to me at least). I made an input wav file that had the same signal in both channels then looked at the output wav file and saw that the channels s...
by nmichael
Thu Nov 02, 2023 4:09 pm
Forum: The Portable Hearing Laboratory (PHL)
Topic: Compiling new self-developed plug-ins for PHL
Replies: 5
Views: 6514

Re: Compiling new self-developed plug-ins for PHL

JacopoC, I've used an RPi 4 model B to compile a test plugin and other code for the PHL, but if you don't have one laying around you might want to wait a few weeks for a new Mahalia release before you buy one. There's been a lot of work on this lately for compiling directly on the PHL with progress ...
by nmichael
Mon Jul 24, 2023 4:03 pm
Forum: The Portable Hearing Laboratory (PHL)
Topic: BLE interface
Replies: 0
Views: 4243

BLE interface

There's a problem running the BLE interface with the latest images (it has to do with node versions - no fun). It's possible to get this running though by updating some files on the PHL. There's a blog post about it with instructions at: https://bc-support.github.io/posts/BLE/ Let me know if you try...
by nmichael
Fri Jun 30, 2023 2:39 pm
Forum: Software
Topic: Request for assistance on "fshift" and "fshift_hilbert" plugins
Replies: 2
Views: 1528

Re: Request for assistance on "fshift" and "fshift_hilbert" plugins

Have you looked at the C++ code? It would be in your openMHA directory, openMHA/mha/plugins/fshift_hilbert/fshift_hilbert.cpp I'm not familiar with the algorithm myself. The documentation cites this reference for the fshift_hilbert: Scott Wardle. 'A hilbert-transformer frequency shifter' Proc. DAFX9...
by nmichael
Mon Jun 05, 2023 12:33 pm
Forum: User Applications
Topic: Feedback suppression configuration
Replies: 2
Views: 5099

Re: Feedback suppression configuration

I'm afraid I don't have much experience with this example. Have you looked at example 31, Adaptive Feedback Canceller? It might have a few more clues and it also explains more about the current state of the feedback canceller.

There are probably other people on here that could add more info.
by nmichael
Wed Apr 19, 2023 12:33 pm
Forum: The Portable Hearing Laboratory (PHL)
Topic: Example EMA blog post
Replies: 0
Views: 4048

Example EMA blog post

There's a new blog post outlining a bare bones Ecological Momentary Assessment (EMA) system on the BatAndCat support site: https://bc-support.github.io/posts/EMA/ The example project demonstrates the basic techniques of saving data to files, setting the time on the PHL and playing sample .wav files....
by nmichael
Mon Apr 03, 2023 6:17 pm
Forum: The Portable Hearing Laboratory (PHL)
Topic: Auto Start Node server on Boot
Replies: 2
Views: 1728

Re: Auto Start Node server on Boot

Is this on the PHL?
I don't know much about node servers, but the Node Red service is set up on the PHL in
/etc/systemd/system/multi-user.target.wants/mahalia-nodered.service

Maybe there are some clues from that configuration?
by nmichael
Thu Mar 16, 2023 12:42 am
Forum: The Portable Hearing Laboratory (PHL)
Topic: Time and Calender Settings
Replies: 4
Views: 2512

Re: Time and Calender Settings

Here's what I came up with for Python running on Linux. Assumes your host machine is connected to the PHL via WiFi of course. import sys import os sys.path.append('../../mha/tools/python') #set this so it matches your setup from openMHA import MHAConnection mha = MHAConnection("10.0.0.1",3...
by nmichael
Wed Mar 15, 2023 1:46 am
Forum: The Portable Hearing Laboratory (PHL)
Topic: Time and Calender Settings
Replies: 4
Views: 2512

Re: Time and Calender Settings

The Node Red setup is hard to describe here, I'll make blog post about it to show more detail. I'm not real familiar with Node Red so this code is of the copy/paste variety. It seems to work though. It makes a button using the 'template' node from under Dashboard. The 'Template' section contains the...
by nmichael
Wed Mar 15, 2023 12:30 am
Forum: The Portable Hearing Laboratory (PHL)
Topic: Time and Calender Settings
Replies: 4
Views: 2512

Re: Time and Calender Settings

What a coincidence, I was just working on this. (I have a feeling Hendrik may have played a part here.) The simple answer is you need to set the correct date and time on the PHL using Linux. If you ssh into the PHL ('ssh mha@10.0.0.1'), then at the command line set the date (with sudo for permission...