Search found 22 matches

by nmichael
Thu May 15, 2025 11:57 am
Forum: Software
Topic: Two-way communication with batandcat and PC
Replies: 5
Views: 2341

Re: Two-way communication with batandcat and PC

At some point you're going to run out of CPU horsepower on the PHL so it might be a realtime issue but there are a few things to try before you give up. I don't know if you saw my reply on the other PHL thread, but I got the beamformer example running on the PHL. You say you had the same problem wit...
by nmichael
Wed May 07, 2025 7:38 pm
Forum: The Portable Hearing Laboratory (PHL)
Topic: Directional Beamforming
Replies: 4
Views: 29177

Re: Directional Beamforming

I think I reversed the signal outputs in the line outs, should probably be:
mha.bfChain.out.out = [right_in:0 :0 right_in:0 :0 :0 :0 :0]
by nmichael
Wed May 07, 2025 7:34 pm
Forum: The Portable Hearing Laboratory (PHL)
Topic: Directional Beamforming
Replies: 4
Views: 29177

Re: Directional Beamforming

I was able to get this to run on the PHL, I'm not sure if the algorithm is working correctly but it makes noise and does phasey things when you move the sound source around. The input/output is kind of funky and I'm not sure I understand the mha details. It uses about 23% of the CPU so it's not a re...
by nmichael
Wed May 07, 2025 2:28 pm
Forum: Software
Topic: Two-way communication with batandcat and PC
Replies: 5
Views: 2341

Re: Two-way communication with batandcat and PC

I'm not very familiar with osc unfortunately. Glad to hear it's working for you though. The altplugs plugin is very useful. It's a way to choose between different plugins. One common use is to turn off an algorithm by substituting the 'identity' plugin. For example if you have a bunch of algorithms ...
by nmichael
Thu Apr 24, 2025 3:22 pm
Forum: Software
Topic: Two-way communication with batandcat and PC
Replies: 5
Views: 2341

Re: Two-way communication with batandcat and PC

What data do you want to transfer between the PHL and PC?
If it's realtime audio data that would be difficult. If it's parameters from the algorithm that's very possible.

Nick
by nmichael
Tue Jan 07, 2025 11:29 am
Forum: Hardware
Topic: More information on the earpiece
Replies: 1
Views: 22472

Re: More information on the earpiece

Hi Julien. I'm with Bat&Cat. I just double checked with our people and the earpiece isn't open source. The audio interface hardware, the cape4all board, is though.

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

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: 4
Views: 29177

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

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

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