Skip to content

Lots of drops connection trouble #26

@fadersolo

Description

@fadersolo

Just found this tool, it’s AWESOME!

When I run commands it can’t seem to find my devices most of the time. For example, if I run netaudio device list, odds are it’ll return nothing, but if I run it 4-5 times in a row some devices start to show up. This is on macOS. If I run the same command from my raspberry pi, I consistently get my full list.

Here’s my problem: I wanna run netaudio config --set-sample-rate 44100, to help me change the sample rates across the network (for everything that can). I’m not having luck.

On macOS I have to keep running over and over before it finally finds both devices and updates them:

Device not found
 % netaudio config --set-sample-rate 44100
Device not found
 % netaudio config --set-sample-rate 44100
Device not found
 % netaudio config --set-sample-rate 44100
Device not found
 % netaudio config --set-sample-rate 44100
Setting sample rate of Red8Pre 192.168.1.91 to 44100
 % netaudio config --set-sample-rate 44100
Device not found
 % netaudio config --set-sample-rate 44100
Failed to get a service by type. 
Failed to get Dante device name
Failed to get a service by type. 
Failed to get Dante channel counts
Setting sample rate of  192.168.1.91 to 44100
 % netaudio config --set-sample-rate 44100
Device not found
 % netaudio config --set-sample-rate 44100
Device not found
 % netaudio config --set-sample-rate 44100
Device not found
 % netaudio config --set-sample-rate 44100
Device not found
 % netaudio config --set-sample-rate 44100
Setting sample rate of MCDUDE-002 192.168.1.66 to 44100

On my raspberry, it always times out:

 % netaudio config --set-sample-rate 48000
Setting sample rate of Red8Pre 192.168.1.91 to 48000

  timeout

  timed out

  at .local/lib/python3.9/site-packages/netaudio/dante/device.py:96 in dante_command
        92│         binary_str = codecs.decode(command, "hex")
        93│ 
        94│         try:
        95│             sock.send(binary_str)
    →   96│             response = sock.recvfrom(2048)[0]
        97│         except TimeoutError:
        98│             pass
        99│ 
       100│         return response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions