Rasberry Pi and active crossover revolution - Page 3 - diyAudio
Go Back   Home > Forums > Source & Line > PC Based

PC Based Computer music servers, crossovers, and equalization

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 31st January 2012, 10:55 PM   #21
diyAudio Member
 
Join Date: Feb 2009
Location: Brisbane, Australia
On windows, where do you connect the inputs/outputs?

I would recommend against using an ADC that is built into any SoC. It is likely 8 or 10bit (there is no publicly available datasheet for the BCM2835 SoC used in the R-Pi). The designers of these chips are not considering an audio application for these ports.
  Reply With Quote
Old 31st January 2012, 10:55 PM   #22
diyAudio Member
 
Join Date: Jun 2011
Quote:
Originally Posted by oublie View Post
As this is planned for a home theatre environment, take the analogue feeds from the av processor feed them into an analogue input on the raspberry and the filter the signal to provide the relevant frequencies and adjustment before outputting as an analogue signals to the amps.
'feed them into an analogue input on the raspberry' 'before outputting as an analogue signals to the amps'.

Yes, there's an analogue jack. Probably 2 channel.

Yes, the pi supports audio over HDMI. 8 channels of PCM.

You might, at a stretch, feed stereo into the jack and feed 2 * 3 bandlimited channels of audio out the HDMI.

The A/D quality on the pi is an unknown quantity as of yet, but it is unlikely to be of hi-fi quality. Then you have to D/A the 6 signals from the HDMI. Good luck with that one.

You could plug in 3 or 4 stereo USB audio interfaces, but to get even reasonable quality you will need to buy Behringer UCA202s. That's not cheap anymore. You can get ones for a few dollars, http://www.amazon.com/Virtual-5-1-su...8053822&sr=8-2 but the quality is marginal. It says 5.1 but I can only see connections for 2 in, 2 out. Has the USB got enough bandwidth? If you wanted 5.1 for HT? This is probably still your best bet for a simple, cheap stereo system with off-the-shelf parts.

I'm waiting with bated breath to get my own pi, but I don't think it'll do what you want. Not at a quality standard that will impress a lot of people here.Prove me wrong, but I think you'd be better building a standalone device with A/Ds and D/As, a DSP and a low jitter clock. It'll require some expertise. You could give it a USB port and talk to it using a raspberry pi.
  Reply With Quote
Old 1st February 2012, 07:47 AM   #23
phofman is offline phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
Quote:
Originally Posted by hochopeper View Post
What is 'analogue digital to analogue conversion'?

Also, how would multiple separate software (or hardware for that matter) ASRCs solve the clock distribution issue either for that matter? If you want master clock sync between the RPi mounted at left/right speakers you'd need to force that issue more directly imo.
Here, a single steady stream must be distributed into separately running clocks for each channel / even speaker. The same scenario as jackd or pulseaudio feeding independent soundcards. In these cases asrc is being used, to convert between the central clock (incoming) and the independent
one (outgoing). AFAIK libsamplerate is used for the purpose in jackd and pulseaudio.



Quote:
Originally Posted by hochopeper View Post
Is the clock sync between the DAC for each speaker a big issue? As long as there is a matching amount of audio signal buffered at each localised RPi/DSP module AND you have a properly implemented network with very low packet loss/latency tehn you should negate any time delay between audio from L/R speakers. The phase noise and jitter on the digital signal leaving the RPi for digital to analogue conversion is then mainly dependent on the implementation of audio source/DAC after the RPi surely?
The clocks are independent and will deviate fast. In this scenario every millisecond of time difference counts. Furthermore, the buffers in the chain would under/overflow soon.

Another option would be feeding the output sound device with single common clock signal. This option for the OMAP ASoC was discussed here before. Definitely not a simple solution.
  Reply With Quote
Old 1st February 2012, 11:46 AM   #24
oublie is offline oublie  United Kingdom
diyAudio Member
 
Join Date: May 2009
Location: Northern Ireland
Quote:
Originally Posted by counter culture View Post
'feed them into an analogue input on the raspberry' 'before outputting as an analogue signals to the amps'.

Yes, there's an analogue jack. Probably 2 channel.

Yes, the pi supports audio over HDMI. 8 channels of PCM.

You might, at a stretch, feed stereo into the jack and feed 2 * 3 bandlimited channels of audio out the HDMI.

The A/D quality on the pi is an unknown quantity as of yet, but it is unlikely to be of hi-fi quality. Then you have to D/A the 6 signals from the HDMI. Good luck with that one.

You could plug in 3 or 4 stereo USB audio interfaces, but to get even reasonable quality you will need to buy Behringer UCA202s. That's not cheap anymore. You can get ones for a few dollars, http://www.amazon.com/Virtual-5-1-su...8053822&sr=8-2 but the quality is marginal. It says 5.1 but I can only see connections for 2 in, 2 out. Has the USB got enough bandwidth? If you wanted 5.1 for HT? This is probably still your best bet for a simple, cheap stereo system with off-the-shelf parts.

I'm waiting with bated breath to get my own pi, but I don't think it'll do what you want. Not at a quality standard that will impress a lot of people here.Prove me wrong, but I think you'd be better building a standalone device with A/Ds and D/As, a DSP and a low jitter clock. It'll require some expertise. You could give it a USB port and talk to it using a raspberry pi.
With my idea I will need one analogue input and two output (2 way speakers) per raspberry so there will not be any necessity for 8 channel though hdmi to a dac however, sound is an unknown but if I don't try I wont know. At the worst I end up with some new toys to play with - I'm thinking xbmc clients attached to the back of each tv in the house.
__________________
There are 10 types of people in the world: Those who understand binary, and those who don't...
  Reply With Quote
Old 2nd February 2012, 02:13 AM   #25
diyAudio Member
 
Join Date: Feb 2009
Location: Brisbane, Australia
I'll ask this another way, do you know what the voltage swing on the output of your source is?

Worst case for what my understanding of your proposal (feed analogue signal into the GPIO port) is actually that you end with a fried/partially working RPi. If you need 2ch in/out then use the headphone output (I personally would use an off board DAC, but for proof of the concept, it will work) and use a usb based input interface like the behringer suggested before. Its actually exactly what is suggested on the RPi FAQ for microphone connection.


@phofman, I'm still wrapping my brain around how ASRC/libsamplerate is being applied here, I've got no practical experience with jackd and first thing I do when installing linux is try to remove pulseaudio from the audio chain. This is just a habbit after some bad experiences in the past. Pulseaudio 1.0 does have some nice new features now that I'd like to try out someday soon. Do you have any links to diagrams showing how these are all linked together or articles/threads on the subject?
  Reply With Quote
Old 2nd February 2012, 09:13 PM   #26
phofman is offline phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
Quote:
Originally Posted by hochopeper View Post
@phofman, I'm still wrapping my brain around how ASRC/libsamplerate is being applied here, I've got no practical experience with jackd and first thing I do when installing linux is try to remove pulseaudio from the audio chain. This is just a habbit after some bad experiences in the past. Pulseaudio 1.0 does have some nice new features now that I'd like to try out someday soon. Do you have any links to diagrams showing how these are all linked together or articles/threads on the subject?
Multiple soundcards mean multiple clocks, unless the clocks are provided by a single external clock source which is rather complicated to do in RP.

But all these cards must play at sync since they are fed from a single data source. This source has some speed (usually one of the soundcards is chosen as master, but theoretically it can be any source of e.g. 48kHz playback timing such as high-precision timer).

So we have a single input clock and multiple output clocks. Since their ratio will never be exactly 1.00000 (each clock runs at a slightly different pace), you must use ASRC. And libsamplerate can do that.

See e.g.

[SOLVED] two soundcards with jack - Ubuntu Forums

Ubuntu Forums - View Single Post - [ubuntu] Jack with multiple sound cards?

Modules ? PulseAudio
  Reply With Quote
Old 4th February 2012, 11:14 AM   #27
phofman is offline phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
This is interesting too - the software adaptive resampling is moving forward

Discussion of the jack audio server and jack applications

Also Gmane -- Mail To News And Back Again - I am looking forward to reading the announced LAC paper.
  Reply With Quote
Old 7th February 2012, 04:57 PM   #28
diyAudio Member
 
relder's Avatar
 
Join Date: Jan 2002
Location: Tucson, AZ
Blog Entries: 14
Send a message via Yahoo to relder
In the Broadcom datasheet released today, it looks like the chip is capable of I2S (see page 119.) Unclear is if we have access to those pins and if you can do more than 2 channels.
  Reply With Quote
Old 8th March 2012, 09:15 PM   #29
diyAudio Member
 
Phil Townsend's Avatar
 
Join Date: Jun 2004
Location: Santa Fe, New Mexico
Default Production

Looks like the Raspberry pi is delayed... Rats...
__________________
Phil
Santa Fe
  Reply With Quote
Old 9th March 2012, 04:19 AM   #30
diyAudio Member
 
abraxalito's Avatar
 
Join Date: Sep 2007
Location: Hangzhou - Marco Polo's 'most beautiful city'. 700yrs is a long time though...
Blog Entries: 98
Send a message via MSN to abraxalito Send a message via Yahoo to abraxalito Send a message via Skype™ to abraxalito
No, its not delayed - just initial production was so wildly popular it sold out almost immediately. Another batch will be along in due course.
__________________
It doesn't have to take the form of a conspiracy, rather a consensus... James H Kunstler
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tractrix in 1*Pi and 2*Pi revintage Multi-Way 21 26th August 2011 09:37 PM
Passive crossover into active crossover hahfran Multi-Way 16 10th February 2008 06:16 PM
Active Crossover soundNERD Chip Amps 5 24th September 2003 01:39 AM
active crossover aaronboumans Analogue Source 4 31st May 2003 04:59 PM
XVR1 active crossover, discrete active stage promitheus Pass Labs 18 22nd July 2002 01:29 AM


New To Site? Need Help?

All times are GMT. The time now is 03:19 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2