Search found 16 matches

by nmichael
Fri May 03, 2024 12:53 pm
Forum: User Applications
Topic: wav file input with headset output
Replies: 3
Views: 16680

Re: wav file input with headset output

Dan, This is a simple program that plays .wav files. You of course need to put some .wav files on the PHL in the correct place. Chose which file gets played by setting mha.wav.select. Setting mha.wav.select = mic will pass the mic signal through. Nick ------------------------------------------------...
by nmichael
Thu Apr 18, 2024 4:10 pm
Forum: The Portable Hearing Laboratory (PHL)
Topic: Directional Beamforming
Replies: 1
Views: 12034

Re: Directional Beamforming

Bertan, The 'adm' plugin is a standard directional algorithm used in the industry. No HRTFs involved. It's used with the 'decomb' plugin to equalize the low frequency rolloff that naturally happens with directional microphones. I'm adding this algorithm to the example program you've been using. I'll...
by nmichael
Wed Dec 20, 2023 7:13 pm
Forum: Software
Topic: distortion of interaural phase/time difference in openMHA output
Replies: 4
Views: 22205

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: 6
Views: 36871

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: 20255

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: 15061

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: 20814

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: 20158

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: 15702

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: 20433

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...