About the length of I2S output of PI3...

Raspberry Pi related support

About the length of I2S output of PI3...

Postby andre_chang » 27 Aug 2018, 04:31

Hi
I found that the 44.1K 48K DATA data length is 16 bits. Can it be restored to the standard 32 bit length (plus 16 empty bits)?

Thank you
Andre
andre_chang
 
Posts: 84
Joined: 01 Feb 2016, 13:27

Re: About the length of I2S output of PI3...

Postby janui » 27 Aug 2018, 17:26

Hi andre_chang,

Yes. But not quite sure what you are trying to do.

Tell us: the type of Pi and image you are using, your DAC/audio card model and what you want to do.

Posting your debug also helps us to answer your questions.

janui
User avatar
janui
 
Posts: 714
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: About the length of I2S output of PI3...

Postby hondagx35 » 27 Aug 2018, 21:40

User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: About the length of I2S output of PI3...

Postby andre_chang » 28 Aug 2018, 10:16

hi janui & frank:

Question 1:
I want to make a Pi2 or PI3 I2S adapter to output SPDIF signals. But...

After installing the rune system on pi2, I found out that when Rune played a 16 bit file, the length of the data frame was only 16 bits, and when it played 24 bits, it was 32 bits.
But on a volumio or moode system, the data length is 32bit...

Because SPDIF synthesis chip (such as WM8805) only supports 32bit data length.

When Rune plays 16bit music, can the length of data BCK data of I2S output 32bit?

How can I set the length of Rune if 32bit can be output?

Question two:
Can the run output SRC lock 44.1 Khz, or can the SPDIF always output 44.1 kHz regardless of the playback rate of 44.1 kHz to 384 khz?
If so, what should I do?

Rune beautiful voice surpasses other systems! I like it!

Andre
Attachments
pi2.jpg
pi2.jpg (112.92 KiB) Viewed 1886 times
24bit.jpg
24bit.jpg (64.09 KiB) Viewed 1886 times
16bit.jpg
16bit.jpg (61.88 KiB) Viewed 1886 times
andre_chang
 
Posts: 84
Joined: 01 Feb 2016, 13:27

Re: About the length of I2S output of PI3...

Postby R101 » 28 Aug 2018, 10:50

andre_chang,

I think the slot length will be decided by the driver. You might find it easier to use a USB to s/pdif interface, or a s/pdif HAT with its own driver.
(Pi 3B, rAudio-1, JLS I2S over USB)
R101
 
Posts: 343
Joined: 29 Apr 2016, 16:16

Re: About the length of I2S output of PI3...

Postby janui » 28 Aug 2018, 12:05

User avatar
janui
 
Posts: 714
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: About the length of I2S output of PI3...

Postby andre_chang » 28 Aug 2018, 13:10

Hi janui:

We can set up HiFiBerry DAC in CONFIG.TXT.
The conversion chip will use WM8805 to output SPDIF signal ~

Do you have steps to install SOXr plug-ins and enable them?

Thank you!

andre
andre_chang
 
Posts: 84
Joined: 01 Feb 2016, 13:27

Re: About the length of I2S output of PI3...

Postby janui » 28 Aug 2018, 14:27

User avatar
janui
 
Posts: 714
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: About the length of I2S output of PI3...

Postby andre_chang » 29 Aug 2018, 05:13

hi janui:
Attachments
ALSA.jpg
ALSA.jpg (154.58 KiB) Viewed 1837 times
andre_chang
 
Posts: 84
Joined: 01 Feb 2016, 13:27

Re: About the length of I2S output of PI3...

Postby janui » 29 Aug 2018, 10:10

User avatar
janui
 
Posts: 714
Joined: 20 Dec 2014, 12:55
Location: Ollanda

support RuneAudio Donate with PayPal

Next

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 23 guests
cron