|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| Digital Line Level DACs, Digital Crossovers, Equalizers, etc. |
|
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 |
|
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1351 |
|
diyAudio Member
Join Date: Jul 2005
Location: London
|
Si570 interest list:
1. bigpandahk 2. tagheuer 3. hochopeper 4. qusp (of course) 5. AR2 - definitely! 6. wktk_smile 7. hirez69 8. CeeVee - you bet! 9. number9 10. analog_sa - GB maniac 11. edbk 12. atom6422 13. misterrogers - Of Course! 14. NicMac - as usual! 15. Zoran 16. PET-240 17. Coolhead 18. Slartibartfasst 19. SYklab 20. Regland 21. Neb001 22. SPWONG 23. Greg Stewart (also of course!) 24. Vitalica 25. spm |
|
|
|
#1352 | |
|
diyAudio Member
|
Quote:
. So, just go ahead with 5V logic don't worry about the logic level problem.Loop testing was done by another FPGA based board. Basically there integrated an I2S data generator and an I2S receiver/tester inside. It has both 24bit and 32bit mode. By comparing the input and output bit by bit, the bit perfect test will be achieved. So, it doesn't matter how 'big' the loop is. I tested bit perfect with loop: I2S - FIFO board - Isolator board - Clock board - S/PDIF interface board (output) - OPT/COX cable - S/PDIF interface board (input) - I2S , is that loop big enough . I might have some psychological problem , I always need the bit-perfect test before any listening test.Ian
__________________
Ian - FIFO KIT & Si570 Clock Board GBIV http://www.diyaudio.com/forums/group...ml#post3372684 |
|
|
|
|
#1353 | |
|
diyAudio Member
|
Quote:
Ian
__________________
Ian - FIFO KIT & Si570 Clock Board GBIV http://www.diyaudio.com/forums/group...ml#post3372684 |
|
|
|
|
#1354 | |
|
diyAudio Member
|
Quote:
So the only thing not possible to evaluate in that topology is computer->spdif via the waveio; OR computer -> i2s via waveio. Or any other issues with other transports for that matter. Can you see now that you might not be alone in the psychological problem stakes
|
|
|
|
|
#1355 | |
|
diyAudio Member
|
Quote:
Cheers, Ian
__________________
Ian - FIFO KIT & Si570 Clock Board GBIV http://www.diyaudio.com/forums/group...ml#post3372684 |
|
|
|
|
#1356 |
|
diyAudio Member
|
Ian, that sounds decidedly, simple. Too simple and boring maybe?!
|
|
|
|
#1357 |
|
diyAudio Member
|
As the next GB gets closer, the video synch issue has been getting closer to the top of my priority list of things I should look into addressing for my application of Ian's FIFO since my only source is a computer and I do occasionally watch videos through it.
I have been thinking about methods to address the video synch problems caused by the FIFO delay. I can see that it is really only feasible to address this issue for computer based video playback, I see no way to transparently address the problem on a proprietary video playing device or television. So keep in mind any solution that i might propose will be within those constraints. As a starting point, before I make any useless suggestions, could those of you with FIFO's already help me clarify my understanding of the issue(s). Considering a constant stream of audio, no breaks as may be possible in music playback. The FIFO buffers when audio stream starts until the memory is 1/2 full. This delay time is dependant on the fs, for obvious reasons. Then depending on the long term differences between transport clock and output clock, the FIFO will either accumulate more samples, or slowly eat into its store of extra samples. With a FIFO half full delay of D we will either end up with a delay approaching 0 or a delay approaching 2*D, over a bit more than 24mins at the soonest for 44.1kHz media, if the difference in clock speeds is less, the this period of time may be longer. (I found the 24mins figure very early in the thread, not sure if Ian's improved things since then but when doing a search tonight I didn't find anything) Is that roughly the sequence of events? We do not have any rate feedback because there is nothing that exists (yet) that could be interfaced to. So the problem to solve that I can think of now are: 1. Video files may be accompanied with a variety of audiofiles with different sample-rates and consequently different FIFO delays. 2. Video files may, depending on software player used, either synch to a video or audio clock as these will be handled separately in most, reasonable, software packages. This will typically still cause some drift in timing between video and audio during a normal video file playback. There is only a few pieces of software that I know of that do this well and keep this drift as small as possible, the FIFO will circumvent any of those typical methods though, unless we get clever. 3. Video files may have a variety of video frame rates (23.996, 24, 30, 50, 60Hz are all 'common'). 5. Depending on the refresh rate of the screen, the software will have to either force the screen refresh rate to change (this will typically only happen in a HTPC environment, so not common FIFO application); OR it will have to 'resample' the video frames to suit the screen refresh rate. This resampling causes the video equivalent of jitter, usually called judder. That is all of the issues I can think of that are what is observed when dealing with video and audio synchronisation. So what we need is a method that initially delays each video played by the 'FIFO half full time' listed in Ian's documentation. We then need to determine if the buffer size is growing/diminishing and at what rate; OR we need to keep the drift to a minimum and ideally, less than an acceptable threshold. I have 2 untested ideas on how to address the first sentence, but none on how to address the second as yet. Reducing the initial FIFO buffer delay will not reduce any of the issues other than #1. in my list above, and still, it will not solve it; it will mean that the FIFO may potentially under-run sooner. Cheers, Chris |
|
|
|
#1358 |
|
is choosing a less facetious title...
diyAudio Member
|
how quickly can the buffer be emptied? Ian? is there a possibility it could ever be done between clock ticks as a matter of urgency if it came to that?
nice post Chris! |
|
|
|
#1359 |
|
diyAudio Member
Join Date: Sep 2006
Location: Edmonton, Alberta
|
|
|
|
|
#1360 | |
|
diyAudio Member
|
Quote:
I heard some softare based players have audio/video delay function, they call it as lips sync. As well as some blueray player. I also found some video dealy controller on ebay. I'm not sure which one works with FIFO. But it worth to give a try. I'm an audiophile, so the FIFO was designed optimized to audio. That's why I use big buffer memory rather than a smaller one. Of cause reducing the FIFO size will shorten the dealy time, but it will leave less space for the smart FIFO control stratagy hence degrade the SQ due to frequently overflow/empty, eapecially for playing long audio track, which is what I'm not tending to. But just as you mentioned, there still some possibles solutions, what I could think of are: 1, Enable the audio/video delay control function on the video player. 2, Trying to up-sampling the audio stream into higher Fs, for example, 196Khz only has 1/4 delay of 48Khz, says around just 150ms. 3, Hardware based delay controler placed between player and HDTV. Sandy is comming now . Ian
__________________
Ian - FIFO KIT & Si570 Clock Board GBIV http://www.diyaudio.com/forums/group...ml#post3372684 |
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| XMOS-based Asynchronous USB to I2S interface | Lorien | Digital Source | 1718 | Today 12:01 AM |
| exaU2I - Multi-Channel Asynchronous USB to I2S Interface | exa065 | exaDevices | 1303 | 10th May 2013 05:19 PM |
| DAC chip selection + I2S jitter questions | drwho9437 | Digital Line Level | 2 | 26th July 2010 12:50 PM |
| Simple FIFO to I2S CPLD, for MCU players / reclocking | KOON3876 | Digital Line Level | 21 | 19th September 2008 04:00 PM |
| asynchronous reclocking and low jitter clocks | ash_dac | Digital Source | 3 | 8th February 2005 09:22 AM |
| New To Site? | Need Help? |