<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Query - nRF5340 Audio DK - Configuration to Stream Multiple Stereo Audio</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92980/query---nrf5340-audio-dk---configuration-to-stream-multiple-stereo-audio</link><description>Hello, 
 I have 3 nRF5340 Audio DK. With the steps mentioned in below links, I configured Json file to stream left/right audios and I&amp;#39;m able to achieve it. 
 https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.2/nrf/applications/nrf5340_audio/README</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Jul 2024 07:54:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92980/query---nrf5340-audio-dk---configuration-to-stream-multiple-stereo-audio" /><item><title>RE: Query - nRF5340 Audio DK - Configuration to Stream Multiple Stereo Audio</title><link>https://devzone.nordicsemi.com/thread/494490?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2024 07:54:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:185b71c4-1e74-4b5d-a99d-cdb341dc31a9</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hi Rajendra,&lt;/p&gt;
&lt;p&gt;Good that you created a separate ticket for your question:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/113128/how-to-communicate-the-nrf5340-dk-and-the-nrf5340-audio-dk-over-ble"&gt;How to communicate the nRF5340 DK and the nRF5340 Audio DK over BLE.&lt;/a&gt;. You will be supported there.&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query - nRF5340 Audio DK - Configuration to Stream Multiple Stereo Audio</title><link>https://devzone.nordicsemi.com/thread/494274?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2024 07:11:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:761b4214-7956-40f4-abf1-e3a9f497e07f</guid><dc:creator>RajendraN</dc:creator><description>&lt;p&gt;Hi Maria,&lt;/p&gt;
&lt;p&gt;I am currently working on communicating between the nRF5340 DK and the nRF5340 Audio DK over BLE. Could you please share the information flow?&lt;/p&gt;
&lt;p&gt;Warm regards,&lt;br /&gt;Rajendra.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query - nRF5340 Audio DK - Configuration to Stream Multiple Stereo Audio</title><link>https://devzone.nordicsemi.com/thread/413058?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2023 14:22:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c905fd90-da3c-4a23-a434-3b6bd797b660</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Support for Auracast (TM) is not implemented yet. You can keep up to date with the supported features of the nRF5340 Audio application by looking at the feature support matrix in&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.3.0/nrf/applications/nrf5340_audio/README.html#nrf5340-audio"&gt;the intro section&lt;/a&gt; for the application.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;br /&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query - nRF5340 Audio DK - Configuration to Stream Multiple Stereo Audio</title><link>https://devzone.nordicsemi.com/thread/412055?ContentTypeID=1</link><pubDate>Fri, 24 Feb 2023 17:51:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d89f8bd-7089-4dd6-9981-5fbce5ecf29a</guid><dc:creator>pfishburn</dc:creator><description>&lt;blockquote class="quote"&gt;
&lt;div class="quote-user"&gt;&amp;quot;Bala4nRF said:&lt;/div&gt;
&lt;div class="quote-content"&gt;Is auracast possible with nRF5340?&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div class="quote-footer"&gt;&lt;/div&gt;
&lt;p&gt;Currently, this is not supported, but it is planned.&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I see in the changelog for ncs 2.2.99 that &amp;quot;Possibility to create a Public Broadcast Announcement (PBA) needed for Auracast.&amp;quot;. Is Auracast protocol implementation and a Auracast sample still being developed?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query - nRF5340 Audio DK - Configuration to Stream Multiple Stereo Audio</title><link>https://devzone.nordicsemi.com/thread/394160?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2022 13:19:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4a64eb2-a05c-4738-9747-e5ff15b81324</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="Bala4nRF"]Thanks for the detailed information.[/quote]
&lt;p&gt;Happy to help!&lt;/p&gt;
[quote user="Bala4nRF"]Is auracast possible with nRF5340?[/quote]
&lt;p&gt;Currently, this is not supported, but it is planned.&lt;/p&gt;
[quote user="Bala4nRF"]As BIS is connectionless, how many streams possible in BIS mode?&lt;br /&gt;Usecase : Stream 2 stereo audios / 4 Mono audios in BS mode from source. Headsets can tune into whatever they want.[/quote]
&lt;p&gt;Currently, the maximum amount of streams supported in the audio application is two. Note that any amount of headsets can subscribe to the stream. The maximum is the broadcast streams from the gateway.&lt;/p&gt;
&lt;p&gt;I do not have conclusive information on how stereo streaming in BIS mode works in terms of channels in a BIS within a BIG. I can ask the developers for this information, and report back to you after the weekend.&lt;/p&gt;
[quote user="Bala4nRF"]If I do this, both left and right channels will be able to receive same stereo audio? How can stereo be streamed through single channel of CIS?[/quote]
&lt;p&gt;The receiving device will receive a merged stream which can be decoded and separated into the left and right channel. So when streaming the encoded audio stream, the left and right channels is merged into one isochronous stream.&lt;/p&gt;
[quote user="Bala4nRF"]Are we merging two audios(left &amp;amp; right) to from mono, stream it via CIS and at the receiver(headset) do some logic to get stereo audio from mono?[/quote]
&lt;p&gt;Yes we are merging the left and right channel mono audio into one stream. At the receiving device, some work is required to get the timing right.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/91311/nrf5340-audio-with-sensor-data-collection/384025"&gt;This reply&lt;/a&gt; to a case and &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/92123/nrf5340-stereo-audio"&gt;this case&lt;/a&gt; contains some useful information on how to get started with merging and separating streams.&lt;/p&gt;
[quote user="Bala4nRF"]I understand we can try to stream to more than 2 channels(CIS) even if its works, its expected to have some loss with low sampling rate. Here, is it possible to do changes in code such that source DK be able to take 2 stereo audio inputs at low sample rate, process and stream to 2 CIS at low sample rate. (Audio quality not important)[/quote]
&lt;p&gt;Yes, this is what I am suggesting as an experiment for you.&lt;/p&gt;
[quote user="Bala4nRF"]Instead of giving audio inputs from type c/3.5mm jack, Is it possible to change source code to take input from SD card having mp3 files? Could you point me code where I could start checking[/quote]
&lt;p&gt;Yes, this is possible. The Audio DK has an SD card holder. and you can find some reference code in the sd_card &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/applications/nrf5340_audio/src/modules/sd_card.h"&gt;header&lt;/a&gt; and&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/applications/nrf5340_audio/src/modules/sd_card.c"&gt;source&lt;/a&gt; files in &lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/main/applications/nrf5340_audio/src/modules"&gt;nrf5340_audio/src/modules&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You can also encode the audio before loading it onto the SD card by using a standalone LC3 encoder. This will free up the CPU when running the application as well as storage space on the SD card.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;br /&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query - nRF5340 Audio DK - Configuration to Stream Multiple Stereo Audio</title><link>https://devzone.nordicsemi.com/thread/393838?ContentTypeID=1</link><pubDate>Thu, 03 Nov 2022 11:07:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08f238a1-e58f-4347-a7bb-ab23858e6739</guid><dc:creator>Bala4nRF</dc:creator><description>&lt;p&gt;Thanks for the detailed information.&lt;/p&gt;
&lt;p&gt;Could you please clarify some additional points here,&lt;/p&gt;
[quote userid="116814" url="~/f/nordic-q-a/92980/query---nrf5340-audio-dk---configuration-to-stream-multiple-stereo-audio/393031"]The BIS mode is the only mode supporting streaming to more than two devices at this point.[/quote]
&lt;p&gt;Is auracast possible with nRF5340? As BIS is connectionless, how many streams possible in BIS mode?&lt;br /&gt;Usecase : Stream 2 stereo audios / 4 Mono audios in BS mode from source. Headsets can tune into whatever they want.&lt;/p&gt;
[quote userid="116814" url="~/f/nordic-q-a/92980/query---nrf5340-audio-dk---configuration-to-stream-multiple-stereo-audio/393031"]You can modify the application to be able to stream stereo by combining the left and right channel after encoding and before sending the audio. In the application code, the combination needs to be done before streamctrl_encoded_data_send() is called in the encoder_thread() in &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.1.0/applications/nrf5340_audio/src/audio/audio_system.c#L161"&gt;src/audio/audio_system&lt;/a&gt;.[/quote]
&lt;p&gt;If I do this, both left and right channels will be able to receive same stereo audio? How can stereo be streamed through single channel of CIS? Are we merging two audios(left &amp;amp; right) to from mono, stream it via CIS and at the receiver(headset) do some logic to get stereo audio from mono?&lt;/p&gt;
[quote userid="116814" url="~/f/nordic-q-a/92980/query---nrf5340-audio-dk---configuration-to-stream-multiple-stereo-audio/393031"]You are free to test if a lower sample rate for the audio will make the processing power decrease enough to make it work.[/quote]
&lt;p&gt;I understand we can try to stream to more than 2 channels(CIS) even if its works, its expected to have some loss with low sampling rate. Here, is it possible to do changes in code such that source DK be able to take 2 stereo audio inputs at low sample rate, process and stream to 2 CIS at low sample rate. (Audio quality not important)&lt;/p&gt;
&lt;p&gt;Instead of giving audio inputs from type c/3.5mm jack, Is it possible to change source code to take input from SD card having mp3 files? Could you point me code where I could start checking&lt;/p&gt;
&lt;p&gt;Thanks once again!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query - nRF5340 Audio DK - Configuration to Stream Multiple Stereo Audio</title><link>https://devzone.nordicsemi.com/thread/393031?ContentTypeID=1</link><pubDate>Fri, 28 Oct 2022 12:56:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a906b50c-b4ee-4cae-8a95-0bc4973fdef2</guid><dc:creator>Maria Gilje</dc:creator><description>[quote user="Bala4nRF"]I see Bluetooth SIG community&amp;nbsp;mentioned max limit of CIS to be 31. Here does left and right channels contribute 2 CIS or they combine to form 1 CIS?[/quote]
&lt;p&gt;The limit of 31 CIS in one CIG is from the Bluetooth specification. For the LE Audio Controller Subsystem for nRF53, the maximum CIS per CIG is two. Also, there is a maximum of two ACL links with the nRF53 LE Audio controller. Each ACL link can control one CIG or both CIS in the same CIG separately.&lt;/p&gt;
&lt;p&gt;The left and right channels can be combined to form 1 CIS. &lt;/p&gt;
[quote user="Bala4nRF"]How can I connect 3rd(2nd) CIS to 3rd headset(nrf5340 DK) from gateway(nrf5340) with new audio channel(not the left and right channels which is active in 1st CIS)&amp;nbsp;[/quote]
&lt;p&gt;This is not possible with the current controller. Each connected device needs an ACL and the maximum number of ACL links is 2. The BIS mode is the only mode supporting streaming to more than two devices at this point.&lt;/p&gt;
[quote user="Bala4nRF"]With nRF5340 user guide, I could only see that the configurations can be set to transmit same audio(left/right) to &amp;#39;n&amp;#39; no of headsets(DK) using CIS.&amp;nbsp;[/quote]
&lt;p&gt;Yes, this is the way the application implements stereo -- two kits needed for left and right output. You can modify the application to be able to stream stereo by combining the left and right channel after encoding and before sending the audio. In the application code, the combination needs to be done before streamctrl_encoded_data_send() is called in the encoder_thread() in &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.1.0/applications/nrf5340_audio/src/audio/audio_system.c#L161"&gt;src/audio/audio_system&lt;/a&gt;.&lt;/p&gt;
[quote user="Bala4nRF"]My motive is to stream multiple audio tracks(2 diff song) through different channel to different DK,[/quote]
&lt;p&gt;Two different songs with stereo audio will need four channels to be encoded, which will surpass the processing power available. You are free to test if a lower sample rate for the audio will make the processing power decrease enough to make it work. This is just speculation from my side, though. &lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;br /&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query - nRF5340 Audio DK - Configuration to Stream Multiple Stereo Audio</title><link>https://devzone.nordicsemi.com/thread/392866?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2022 14:01:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e22d938-49b6-4b28-8610-cae1a167ce25</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am doing a little more research on this and will get back to you tomorrow.&lt;/p&gt;
&lt;p&gt;Thank you for your patience.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;br /&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query - nRF5340 Audio DK - Configuration to Stream Multiple Stereo Audio</title><link>https://devzone.nordicsemi.com/thread/391769?ContentTypeID=1</link><pubDate>Fri, 21 Oct 2022 03:32:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57ac776d-38b4-4720-8a98-66641706c768</guid><dc:creator>Bala4nRF</dc:creator><description>[quote userid="116814" url="~/f/nordic-q-a/92980/query---nrf5340-audio-dk---configuration-to-stream-multiple-stereo-audio/391708"]The left and right channels of the stereo audio can be sent over one CIS[/quote]
&lt;p&gt;I see Bluetooth SIG community&amp;nbsp;mentioned max limit of CIS to be 31. Here does left and right channels contribute 2 CIS or they combine to form 1 CIS?&lt;br /&gt;How can I connect 3rd(2nd) CIS to 3rd headset(nrf5340 DK) from gateway(nrf5340) with new audio channel(not the left and right channels which is active in 1st CIS)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;With nRF5340 user guide, I could only see that the configurations can be set to transmit same audio(left/right) to &amp;#39;n&amp;#39; no of headsets(DK) using CIS.&amp;nbsp;&lt;br /&gt;My motive is to stream multiple audio tracks(2 diff song) through different channel to different DK,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your support&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query - nRF5340 Audio DK - Configuration to Stream Multiple Stereo Audio</title><link>https://devzone.nordicsemi.com/thread/391708?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2022 13:54:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9dbafbfa-8b28-4722-a37d-7f91a00bf9cd</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]How to stream stereo audio to 2 sink DK from a source DK?[/quote]
&lt;p&gt;You can configure your gateway to connect to two headsets. The left and right channels of the stereo audio can be sent over one CIS. For the headsets to be able to decode stereo sound you need to configure the decoder setting.&lt;/p&gt;
[quote user=""]How to do multi-streaming to 3 or more DK? (Usecase: I want to stream 4 separate audios at a same time to 4 separate sinks from a source)[/quote]
&lt;p&gt;There may be a limit of two ACL links in connected stream mode (CIS). I have asked internally for more information on this. I will get back to you when I know more.&lt;/p&gt;
&lt;p&gt;With four separate audios you would likely run out of processing power. The encoding needs a significant amount of the CPU, and as the encoder is a mono encoder, encoding stereo doubles the amount of processing power needed. For the current stage of our LE Audio implementation, the maximum number of channels which can be encoded at the same time is three or four. For four separate stereo audios you will unfortunately not have enough CPU power available on the nRF5340 Audio DK.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;br /&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query - nRF5340 Audio DK - Configuration to Stream Multiple Stereo Audio</title><link>https://devzone.nordicsemi.com/thread/391459?ContentTypeID=1</link><pubDate>Wed, 19 Oct 2022 13:58:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41d822c9-fc8e-4eec-8436-e8e86bd49209</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I will look into this and get back to you as soon as I can.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;br /&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>