Headless Audio Defaults

I’d like to understand how to set the default audio input and output on the Tachyon.

I’ve installed the audio card provided with the Tachyon and when the board boots, it plays a sound via the 3.5mm jack which I assume means it is correctly connected.

I follow the script samples here Audio Adapter | Particle Developer but when I execute the commands to play the files I get no sound.

root@tachyon-6ddda131:~# bash play.sh /etc/misc/soundlib/sound.mp3
playing '/etc/misc/soundlib/sound.mp3': 2 ch, 48000 hz, 16 bit

Have others got this working out of the box?

Hey bedsingar !

It should be working - sorry to hear about the pain :blush:

Can I check a few things to debug?

  • did you insert a 3.5mm headphone adapter into the audio board?
  • is the MIC set to ‘external’ or ‘internal’?
  • Can you dump the audio volumes and paste them here?
    • tinymix -a
  • Can you try the record test using the internal mic?

The reason I ask is, this is working on a board here (as we just quickly tested), so I wanted to check for some ‘acts of oddness’ before going further!

Thanks

Nick.

Hello,

Yes I’m using a powered speaker with 3.5mm headphone adaptor into the audio board.

Mic is set to internal.

root@tachyon-6ddda131:~# tinymix -a
tinymix: invalid option -- 'a'
no command specified (see --help)

These are the options I see:

Controls lists more data than the terminal online can handle co I can’t copy paste it all.

So it does seem to try and do something, but no sound when playing it back.

Best regards

Josh

@mrlambchop I don’t seem to be able to load .txt files here so I’ve loaded them to Github:

Hello.

I have the same issue. Using headphones I can hear the startup chime and if I reboot I hear a pop. However, tinyplay appears to play, but there is no sound.

Hey,
I know it’s not helping anyone but shows the same behavior with my setup.
Just reinstalled the headless OS (rest of world) and I hear the chime at boot but am not able to play any sound with tinymix nor aplay.

Helps me to know it's not just my lack of Linux knowledge!

:confused:

I went down a huge rabbit hole with various AI trying to get this to work. The upside is I now know a lot more about Linux and Qualcomm audio functionality!

Yes, having exactly the same. Looked for clues in /var/log/dmesg. There are some messages regarding audio, but tinymix itself is not mentioned.

Following the Tachyon audio adapter setup instructions, I made a recording using the audio adapter’s own microphone. There is no audio output when playing back on the Tachyon, but that does not tell where the issue is: recording audio, playing back or both.

Downloaded the captured wav-file to my laptop. Playback in Audacity shows that a signal was recorded, like low volume noise.

@mrlambchop has there been any progress in understanding / resolving this issue please?

Same situation here. I hear the boot finished sound, and record works fine [internal mic then tested on another pc], but play doesn't. Headless installed last week.

Do you still need more info?

@mrlambchop is there any update on this please?