dcc4 FreeBSD as an RTos? and low latency audio (xwax, mixxx) - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Desktop Usage > Multimedia

Multimedia Having problems running your new shiny and blinking gadget or watching DVDs, listening to CDs etc.?

Reply
 
Thread Tools Display Modes
  #1  
Old May 20th, 2010, 17:29
flyweight flyweight is offline
Junior Member
 
Join Date: May 2010
Posts: 19
Thanks: 1
Thanked 4 Times in 4 Posts
Default FreeBSD as an RTos? and low latency audio (xwax, mixxx)

Hallo,

I have a question regardings freebsd realtime extensions,
Is freebsd capable as an realtime os and where does it stand compared to linux?
after the ### is my message that is sent to the xwax mailing list.

I'm trying to figure out that i can use freebsd for dj-ing with timecode vinyl.
This is possible anyhow with xwax (xwax.co.uk) but the big question is.
some people achiev a latency <3ms on (debian)linux with an realtime kernel. but i dont want to abandon my beloved FBSD....

On the same hardware can FreeBSD perform the same or better than linux in
terms of latency?

Or simply is FreeBSD not capable as as realtime OS?

Thank for your time.

Gr T

###
I heard hardware specs are not so inportent as one would think.
But anyway the machine in question is a DAW to produce music with an is an I64
2 Quad core P45 mainboard 4GB DDR3 and 64GB SSD for the OS and 2x 2TB Sata
300.
I really prefere freebsd over linux because of several reasons, well
documented, lightning fast, rock solid and the most imported fact that i use
it every day so things are ease to achieve. Linux is very nice indeed but for
me it are several years ago that i used it. (sorry for my bad english
I know a lot of hardware is not supported on fbsd as well so most people wil
run linux anyhow. lucky me my Maudio pci card is supported.

So my question will be:

On the same hardware can FreeBSD perform the same or better than linux in
terms of latency?

Or simply is FreeBSD capable as as realtime OS

Is there anybody who tried a linux distro and a fbsd install on the same
hardware?


I also will post this message on de freebsd forum as well and maybe the more
technical people (instead of me) will have a clue.



Greets Tim

On Thursday 20 May 2010 07:49:17 you wrote:
> You can accomplish your aim by making a custom runlevel specifically for
> the use of xwax. By doing that you cut out the daemons that are running
> in your normal session. Although, the better question is what are your
> hardware specs? If you try to run on low hardware then you're obviously
> going to lag no matter which distro you use.
>
> Psyber Netik
> psyber.netik@gmail.com
>
> On 05/19/2010 04:51 AM, T. B. Astora wrote:
> > Hi There,
> >
> > Is there anybody how can give me some advise?
> > I want to install an OS only for xwax I'm familiar with freebsd my
> > soundcard with 10 ins and outs (Maudio Delta1010lt) is supported but midi
> > is not. The other option is Debian with an realtime kernel.
> >
> > My aim is to have the lowest possible latensie. I heard stories that FBSD
> > is not so good as an realtime OS. And then i heard a story of 0,3 ms on a
> > Debian box.
> >
> > So to make it short can Fbsd achieve a super low latencie?
> >
> > Thanks in advance
> >
> > Tim
> >
> > -------------------------------------------------------------------------
> >-----
Reply With Quote
  #2  
Old May 20th, 2010, 20:05
richardpl richardpl is offline
Member
 
Join Date: Nov 2008
Location: Croatia
Posts: 841
Thanks: 6
Thanked 68 Times in 67 Posts
Default

Latency of what?

Speaking about MIDI there is something going very slowly but mailing list have more info.
Reply With Quote
  #3  
Old May 21st, 2010, 00:15
roddierod's Avatar
roddierod roddierod is offline
Member
 
Join Date: Nov 2008
Location: On my Slingerlands!
Posts: 638
Thanks: 29
Thanked 72 Times in 62 Posts
Default

I believe he means latency of the sound in a real time situation.

For example, when I connect my guitar up to FreeBSD and use one of the guitar processing apps, there is a delay from the time I hit a string until the sound comes out of the speaker. Probably less than a 1 second but noticable. I believe when playing just using Audacity to record there is no delay...but I could be recalling incorrect.
Reply With Quote
  #4  
Old May 21st, 2010, 07:48
flyweight flyweight is offline
Junior Member
 
Join Date: May 2010
Posts: 19
Thanks: 1
Thanked 4 Times in 4 Posts
Default

The latency is about the sound comming in and out again.
For Dj-ing with control vinyl to play wav, flac and pcm tune on a cpu.
It works like this, every turtable is converted to line level (RIAA conversion) and than send out to the cpu. so 2 turtables need 4 inputs.
A program xwax for example interprets the timecode and simulate pitch and song possitions from the songs loaded in the memmory. this is than send back via the soundcards output. This way you can play digital audio files and have the control of real analog vinyl. As i like to scratch its important to have a very low latency <5ms. at high sample rates my sound card can do this the question is can Fbsd? or do i have to run a dedicated Debian with a realtime kernel?
Reply With Quote
  #5  
Old May 21st, 2010, 07:51
flyweight flyweight is offline
Junior Member
 
Join Date: May 2010
Posts: 19
Thanks: 1
Thanked 4 Times in 4 Posts
Default

Note, This has nothing to do with MIDI. although there are similarities.
Only a working multi i/o soundcard is needed.

Rgrds T
Reply With Quote
  #6  
Old September 24th, 2012, 16:14
Mage Mage is offline
Junior Member
 
Join Date: Dec 2011
Posts: 47
Thanks: 0
Thanked 9 Times in 2 Posts
Default

RTos is needed for best sound quality with high-end systems: vacuum tube DAC fed by S/PDIF sound output. When the output is not perfect real-time then so called "jitter" occurs which causes degradation of the sound quality. You can't hear this with average soundcards and consumer headphones but it becomes very annoying with a better system. It can make your ears hurt. I am talking about pain.

My testing results are that Windows has the best sound quality with ASIO drivers and S/PDIF output cards (sorry).
The second bests are Mac OS and FreeBSD with OSS4. They can have the same sound or they are very close to each other.
OSS3 is worse.
You can produce the worst sound with Linux. It has so much jitter that is pain to listen. I was trying for a year with so called RT kernels, oss4, alsa, highest priorities, many settings.

They are a bit hard to compare because even the hardware makes difference. I mean the not the soundcard but the computer. The testing sound cards were the same. (I have many different cards: internals, several usb cards, usb s/dif converter, external firewire card, optical output and direct s/pdif output).

FreeBSD has acceptable-good sound quality when using OSS4. However, I would be happy to read any information that might improve it more. Excellent jitter-removing hardware components are pretty expensive.
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
audio on freebsd 8 mf93 Multimedia 2 April 22nd, 2010 07:46
no audio output for flash videos in linux firefox FreeBSD 8.0 dalfish Multimedia 7 March 9th, 2010 14:46
audio/abcde CD ripper not working on FreeBSD 8? sim Installation and Maintenance of FreeBSD Ports or Packages 3 December 1st, 2009 22:07
PCI device for the Creative XTreme Audio audio card is not recognised vyrtosu System Hardware 6 September 29th, 2009 20:25
Audio and FreeBSD cmj Multimedia 5 September 21st, 2009 20:04


All times are GMT +1. The time now is 07:59.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0