Search found 68 matches

by dpoznan
Thu Sep 12, 2024 12:26 am
Forum: Software
Topic: using openmha with HiFiBerry DAC+DSP card
Replies: 10
Views: 18812

Re: using openmha with HiFiBerry DAC+DSP card

Added in
mha.algos = [transducers sine gain ]

mha.transducers.plugin_name = mhachain
mha.transducers.calib_in.peaklevel=[110]
mha.transducers.calib_out.peaklevel=[110]

It still works. Next need to get the Mic input working.
by dpoznan
Thu Sep 12, 2024 12:19 am
Forum: Software
Topic: using openmha with HiFiBerry DAC+DSP card
Replies: 10
Views: 18812

Re: using openmha with HiFiBerry DAC+DSP card

SUCCESS!!!! Iused device bluealsa:DEV=08:65:18:E8:C9:18,PROFILE=a2dp and had to change fragsize to 2048 and I get audio out to the right airpod!!! io.priority = 90mhalib = mhachain srate = 24000 #fragsize = 55 io.priority = 90 fragsize = 2048 iolib = MHAIOalsa nchannels_in=2 io.link=no io.in.device ...
by dpoznan
Wed Sep 11, 2024 11:27 pm
Forum: Software
Topic: using openmha with HiFiBerry DAC+DSP card
Replies: 10
Views: 18812

Re: using openmha with HiFiBerry DAC+DSP card

Further progress... mhalib = mhachain srate = 24000 fragsize = 55 iolib = MHAIOalsa nchannels_in=2 io.link=no io.in.device = null io.out.device = hw:0,0 io.priority = 90 mha.algos = [sine gain ] #mha.transducers.plugin_name = mhachain #mha.transducers.calib_in.peaklevel=[110] #mha.transducers.calib_...
by dpoznan
Wed Sep 11, 2024 10:50 pm
Forum: Software
Topic: using openmha with HiFiBerry DAC+DSP card
Replies: 10
Views: 18812

Re: using openmha with HiFiBerry DAC+DSP card

Adding the io.link=no allowed the cfg to prepare and start However then I started to add the required cfg to be able to generate a sine audio. mhalib = mhachain srate = 24000 fragsize = 55 iolib = MHAIOalsa nchannels_in=2 io.link=no io.in.device = null io.out.device = hw:0,0 io.priority = 90 mha.alg...
by dpoznan
Wed Sep 11, 2024 8:45 pm
Forum: Software
Topic: using openmha with HiFiBerry DAC+DSP card
Replies: 10
Views: 18812

Re: using openmha with HiFiBerry DAC+DSP card

mhalib = mhachain srate = 24000 fragsize = 55 iolib = MHAIOalsa nchannels_in=2 io.in.device = null io.out.device=hw:0,0 cmd=prepare Produces... mha [1] ?read:check_jacks.cfg xcb_connection_has_error() returned true (mha_parser) (mhafw_lib) IO error: (MHAIOalsa) Unable to link PCMs: Function not impl...
by dpoznan
Wed Sep 11, 2024 6:31 pm
Forum: Software
Topic: using openmha with HiFiBerry DAC+DSP card
Replies: 10
Views: 18812

Re: using openmha with HiFiBerry DAC+DSP card

Here is what alsa knows..... pi@hearingpi4:~/DSPcode $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: sndrpihifiberry [snd_rpi_hifiberrydacplusdsp_sou], device 0: Hifiberry DAC+DSP SoundCard HiFi dacplusdsp-hifi-0 [Hifiberry DAC+DSP SoundCard HiFi dacplusdsp-hifi-0] Subdevices: 1/1 Sub...
by dpoznan
Wed Sep 11, 2024 6:27 pm
Forum: Software
Topic: using openmha with HiFiBerry DAC+DSP card
Replies: 10
Views: 18812

Re: using openmha with HiFiBerry DAC+DSP card

I changed to to mhalib = mhachain srate = 24000 fragsize = 55 iolib = MHAIOalsa io.in.device = null io.out.device=hw:0,0 cmd=prepare and get (mha_parser) (mhafw_lib) IO error: (MHAIOalsa) Unable to set channel number for hw:0,0: Invalid argument (while parsing "check_jacks.cfg" line 7) (MH...
by dpoznan
Tue Sep 10, 2024 10:52 pm
Forum: Software
Topic: using openmha with HiFiBerry DAC+DSP card
Replies: 10
Views: 18812

using openmha with HiFiBerry DAC+DSP card

I have openmha installed on a raspi with audio card HiFiBerry DAC+DSP. I am using Alsa and have ear pod connect to the audio card jacks, and apple airpods connected via bluetooth. Running the aplay commands: aplay -D hw:0,0 Front_Center_stereo.wav produces output to the ear pods connect to jacks apl...
by dpoznan
Wed Jun 26, 2024 10:53 pm
Forum: User Applications
Topic: Pure Data Audio Processor
Replies: 4
Views: 23311

Re: Pure Data Audio Processor

It works. mic-->MHA-->PD---->MHA2--->spkr in MHA mha_Device.set_val('io.name','MHA') mha_Device.set_val('io.con_in ',' [system:capture_1 system:capture_1]') mha_Device.set_val('io.con_out ',' [pure_data:input_1 pure_data:input_2]') in MHA2 mha_Device.set_val('io.name','MHA2') mha_Device.set_val('io....
by dpoznan
Wed Jun 26, 2024 10:07 pm
Forum: User Applications
Topic: Pure Data Audio Processor
Replies: 4
Views: 23311

Re: Pure Data Audio Processor

I think this is the way to connect.... I am working on a test python code jack_connect MHA:in_1 system:capture_1 jack_connect MHA:in_2 system:capture_2 jack_connect MHA:out_1 pure_data:input_1 jack_connect MHA:out_2 pure_data:input_2 jack_connect pure_data:output_1 MHA2:in_1 jack_connect pure_data:o...