Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions for simple setup #146

Closed
vicsavo opened this issue Nov 17, 2023 · 12 comments
Closed

Instructions for simple setup #146

vicsavo opened this issue Nov 17, 2023 · 12 comments

Comments

@vicsavo
Copy link

vicsavo commented Nov 17, 2023

Hello,
I installed the aes67-linux-deamon to stream audio to a Mezzo AD amplifier link . I'm using Ubuntu 20.04.
The software seems to run fine ( I can run run_test.sh and run_latency_test.sh ). I activated AES67 on the amplifier but I don't manage to find the device with the web GUI (I tried in "Sources", "Sinks" and "Browser") . I verified with ping that the connection is working.
I'm not an audio expert and I'd like to know if you have instructions to make such simple setup work.
Thank you!
Carlo

@bondagit
Copy link
Owner

bondagit commented Nov 17, 2023

On the Linux host where the daemon is running you have an ALSA device card named RAVENNA that can be used to playback the Sources and record the Sinks. The binding between the RAVENNA device and your Sources and Sinks channels is defined by your channel map (defined at creation time).
If you want to playback the Sources and record the Sinks individually you have to use the ALSA plugins.
See: #107

@keygee
Copy link
Collaborator

keygee commented Nov 17, 2023 via email

@keygee
Copy link
Collaborator

keygee commented Nov 17, 2023 via email

@vicsavo
Copy link
Author

vicsavo commented Nov 21, 2023

Thank you for your help!
I manage to do some steps ahead and as you can seen from the screenshot below I can see and connect the Mezzo AD amplifier and the source I created on the AES67 Daemon WebUI in the Dante Controller.

The ALSA source is configured correctly (L24 @ 48kHz).
AES67 is activated in the amplifier.

image

I tried to do a test with
speaker-test -D plughw:RAVENNA -r 48000 -c 2 -t sine -F S24_3LE
but it didn't work.

I have some questions:

  • Am I missing something?
  • How can I configure ALSA/AES67 such that I have all the sources I need at start time? In my final configuration I will have 4 amplifiers (12 outputs) which I should be able to control independently.
  • I tried to edit the file /etc/asound.conf adding
    pcm.source_1 {
    type dmix
    ipc_key 0x11111
    slave {
    pcm "hw:CARD=RAVENNA"
    channels 4
    rate 48000
    format S24_3LE
    }
    bindings { 0 0 1 1 }
    }
    but I didn't manage to make it work (I rebooted the system to be sure the modifications took place)

Thank you!
Carlo

@bondagit
Copy link
Owner

I tried to do a test with
speaker-test -D plughw:RAVENNA -r 48000 -c 2 -t sine -F S24_3LE
but it didn't work.

what does it mean ? do you get an error ?

  • I tried to edit the file /etc/asound.conf adding
    pcm.source_1 {
    type dmix
    ipc_key 0x11111
    slave {
    pcm "hw:CARD=RAVENNA"
    channels 4
    rate 48000
    format S24_3LE
    }
    bindings { 0 0 1 1 }
    }
    but I didn't manage to make it work (I rebooted the system to be sure the modifications took place)

what does it mean ? do you get an error ? what ALSA device do you use when you invoke the player ?

@vicsavo
Copy link
Author

vicsavo commented Nov 22, 2023

Hello,

I tried to do a test with
speaker-test -D plughw:RAVENNA -r 48000 -c 2 -t sine -F S24_3LE
but it didn't work.

what does it mean ? do you get an error ?

I don't get errors but the amplifier does not receive the stream (I checked this on the Armonia+ software from the producer).

  • I tried to edit the file /etc/asound.conf adding
    pcm.source_1 {
    type dmix
    ipc_key 0x11111
    slave {
    pcm "hw:CARD=RAVENNA"
    channels 4
    rate 48000
    format S24_3LE
    }
    bindings { 0 0 1 1 }
    }
    but I didn't manage to make it work (I rebooted the system to be sure the modifications took place)

what does it mean ? do you get an error ? what ALSA device do you use when you invoke the player ?

Also in this case the behavior is the same as in the above test. The device I used is plug:source_1.
Thanks
Carlo

@bondagit
Copy link
Owner

use a network sniffer and verify if you see the outgoing audo traffic from the Linux host where the daemon is running.

@keygee
Copy link
Collaborator

keygee commented Nov 22, 2023 via email

@bondagit
Copy link
Owner

did it work ?

@vicsavo
Copy link
Author

vicsavo commented Nov 24, 2023

Hello, sorry if I didn't answer but I managed to test the suggestions only now.
After changing the RTP base address to 239.69.1.10 as suggested by Guido it works!
Thank you for the help!
Just one last question. To configure the connection in the Dante Controller I created a source in the daemon WebUI.
After a PC restart the source disappears.
Is there a way I can add the source permanently?
Carlo

@bondagit
Copy link
Owner

I guess your daemon is starting up automatically after a reboot.
The daemon persists the Sources and the Sinks configuration to a file.
Check the "status_file" config parameter in the daemon configuration and make sure that such file is writable.

@vicsavo
Copy link
Author

vicsavo commented Nov 24, 2023

The file was not writable... Now it works
Thank you
Calro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants