SLMC Forum Index SLMC
Second LifeŽ Music Community Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   Join! (free) Join! (free)
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Latency issues?
Page 1, 2  Next
 
Post new topic   Reply to topic    SLMC Forum Index -> MAC Users
View previous topic :: View next topic  
Author Message
EricSteffensen



Joined: 29 Jun 2009
Posts: 28
Location: Salt Lake City, UT

PostPosted: Mon Jun 29, 2009 5:51 am    Post subject: Latency issues? Reply with quote

I was wondering if any other live performers using a Mac have had any issues with latency during their shows.

My setup is pretty simple, I've got a 2.4 Ghz Macbook with 4GB of RAM.  I use a Presonus Firebox breakout box connected.  I mix my sound using Garageband and just have three inputs open, one for my mic and two for the guitars I use, and then I stream using Nicecast.

The only time I get latency is when I have Garageband, Nicecast and Second Life all open and I'm streaming.  It usually happens 5 - 15 minutes into a show and then I can't stand to monitor myself in headphones anymore so I take them off.  If possible I'd like to keep them on because I think it keeps me more conscious about how close I am to my mic lol

Are there any settings that you can use that may help decrease or eliminate latency?
Back to top
View user's profile Send private message Visit poster's website
Slim Warrior



Joined: 04 Sep 2007
Posts: 364
Location: UK

PostPosted: Mon Jun 29, 2009 9:49 am    Post subject: Reply with quote

Eric,  the best thing is to turn off all the sound in SL so you do not hear yourself again a few seconds later. You can still see the chat and can always listen back to your show using the nicecast archive option.

I use GB  and Nicecast too  with usually 2 tracks open ( monitor on ), you wont need more than  two tracks with monitor on, one for vox and one for direct line input for guitar, If you are just using acoustic guitar then you can get away with one track open really with some good mic positioning Smile


hope this helps


Slimmie
_________________
Actually............

Owner of Menorca  (Music Events Island)
http://www.myspace.com/slimmie
http://www.reverbnation.com/slimmie
Back to top
View user's profile Send private message Visit poster's website
Gath Gothly



Joined: 01 Mar 2009
Posts: 51
Location: Arkansas

PostPosted: Mon Jun 29, 2009 3:06 pm    Post subject: Reply with quote

So sounds like you're doing monitoring via software and getting latency due to that - right?

Certainly doing things like turn off all SL sounds, voicechat, video, music will help - as will turning of particles and especially putting that graphics  slider in preferences down to the least intensive.

I decided to use two machines.  A lappie just for being on SL, and a desktop machine that has my mixer plugged in and doing the streaming.

That of course helps latency with monitoring a ton if it's an option for you.  It also helps with latency and jitter with your stream itself.

I use Linux, and jackd - not "real time" monitoring per-say.  There's a latency of a few milliseconds there, but not really detectable to the human ear.  I simply could NOT run jackd with monitoring how I wanted on the same machine I run SL on.  SL just takes up too much of the machine's resources.  The latency sucked and I had a ton of crackling and popping when I tried.

One thing that might help... and excuse me here being a linux nerd going to talk about kernel-level stuff...
Anyway, you could try to nice/renice SL up and your mixer/garageband/nicecast down.
If you don't know what nice and renice means... it means to give a process (application) higher or lower processor priority.

I'm afraid I don't know the GUI on a Mac, but I know the kernel, being BSD-based.  There's probably a way to do it through the gui - normally in a "task manager" type thing.

I normally do everything at the command line, so sorry I'm not much help.  But if you are comfortable at the command line, after launching all your apps, look up their process IDs with the ps command (ps -ef), then renice them accordingly.  If you give secondlife a positive "nice" value, it has less chance to take up the processor.  And if you give nicecast/garageband negative processor priority, it will get more processor time.  The command is "renice" and "man renice" will give you the manpage to read up on.

It's one of those things you have to be careful with though.  There's a balance you have to find or renice'd processes can just make things worse.  Like make SL totally unusable because it can't get enough processor time.

In the end... it's really just easier to run with two machines than fight with processor priority trying to find that balance that lets everything run as smoothly as possible.

The other big options is, of course, a mixer with good hardware monitoring.  You won't hear your software effects (if any) in the monitor, of course.  My little m-audio mixer can do it, but I want to hear my software effects - so I use jackd instead.
Back to top
View user's profile Send private message Visit poster's website
RayW



Joined: 05 Sep 2007
Posts: 953
Location: Twin Cities, MN

PostPosted: Mon Jun 29, 2009 3:24 pm    Post subject: Reply with quote

Hmmm ... I'm going off topic in order to thank Gath  Laughing

I run two machines.  I run SL on my older one.  But, the new client caused me to crash twice in one gig the other week.  So, I tried running everything on my faster machine.  OK, it works fine, except that I can either work SL or monitor my stream .. but not both.  Plus, the "stream machine" is off to the side and I had to jack my whole layout around just to watch it.

BUT, Gath .. I'm going to turn my old SL machine preferences down to nothing.  Good idea.  May not be pretty.  But, it may not crash, either.

Sometimes I'm just a newb!

OK, back to the regular scheduled thread!
_________________
Ray
http://www.rayweyland.com
http://www.sounds-of-ray.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
EvaMoon



Joined: 30 Nov 2007
Posts: 748

PostPosted: Mon Jun 29, 2009 3:56 pm    Post subject: Reply with quote

I run all my inputs through a mixer and monitor before it ever goes into the computer. I'm on a mac too, and even without anything else running, just listening to the computer output has just enough latency to be irritating.

I put all my GB/backing tracks/etc on an iPod and run the iPod into a mixer channel too. I bought a minijack to XLR cable just for the purpose and it works fine. I use a regular floor monitor running out of "control room out" on the mixer.
_________________
EvaMoon Ember in SL

Eva Moon & the Lunatics
Musical mischief after dark
http://evamoon.net
Calendar: http://evamoon.net/sl
http://www.thesixtyone.com/evamoon

Lunatalk Blog: http://evamoon.net/blog
Back to top
View user's profile Send private message Send e-mail
EricSteffensen



Joined: 29 Jun 2009
Posts: 28
Location: Salt Lake City, UT

PostPosted: Wed Jul 01, 2009 4:08 pm    Post subject: Reply with quote

So what I'm thinking is that for my machine, SL is too much of a resource hog even with the graphics set on the minimum and sounds turned off to completely eliminate latency inside of Garageband for me.

I'm not quite sure if there is a way in the MacOS to nice/renice an application.  Before OS X I remember you could assign a memory threshold to each application which may (or may not) be the same concept but I if that option still exists I'm not sure how to get to it?

So that leaves me with the options of using an external mixer or a seperate computer to run SL.  I suppose if I ever want to dual stream that the mixer option doesn't work too well?
_________________
http://www.ericsteffensen.com
Back to top
View user's profile Send private message Visit poster's website
Silas Scarborough



Joined: 04 Sep 2007
Posts: 1635
Location: None

PostPosted: Wed Jul 01, 2009 5:27 pm    Post subject: Reply with quote

Old saying:  If you're arguing about whether the relationship can be saved, it can't be saved.

Same applies to performance on the computer, doesn't matter what size all the way up to mainframes.  When you hit the limits you may get 10%-15% by fine-tuning this or that but you won't get any more than that unless some total dork has been managing the machine.

I'm using a MacBook Pro 2.5 dual and I frequently had four or five channels live and active.  SL ran on the same machine along with Nicecast.  I got some spurious clicks and pops every so often and that most likely means it was pretty close to the limits of its performance.  There's a newer model with a longer-life battery that looks like a pretty good value.

I'll leave it to someone else to speak for external mixers.

If you can get yourself into a situation in which you're running SL on one machine and GarageBand on another, you'll have the luxury ride.  It's expensive to pull it off but it's as reliable as you'll ever get with SL.

Does it really have to be a laptop?  You can get SO much more boost out of a desktop machine and for less money.
_________________
Silas Scarborough
Silas World Tour Blog
Find a place to play and I'll roll the P.A. anywhere
If you want to play, bring yer guitar
Back to top
View user's profile Send private message
the Professor



Joined: 07 Jan 2008
Posts: 246
Location: Peoria, Illinois, USA

PostPosted: Fri Jul 03, 2009 4:06 am    Post subject: 2 machines; mixer Reply with quote

I run SL on my MacBook Pro. Nothing else. I run two mics (vocal and electric guitar amp with mic in front) through a Wharfedale Pro R-1604. The mix goes out to an iMac (desktop) that has only Nicecast running for the stream.  I use some of the effects in Nicecast to sweeten the sound a little on the way out. I have a headset on from the mixer, mostly so I can hear myself singing.  I'm on wireless (both machines) with Comcast cable modem. It's fast (way faster than was my previous dsl setup) . . . but there is a still latency.
I try to run a good sound check inworld before the show so that I don't have to worry too much about the sound once I start. If the venue is slow (few peeps) I grab a quick listen ab out 10 minutes in to be sure I'm not over modulating.
_________________
Edward Lee Lamoureux
http://slane.bradley.edu/ell
ell@bradley.edu; AIM: dredleelam: SL:Professor Beliveau;http://www.thesixtyone.com/theprofessor
http://www.youtube.com/EdwardLeeLamoureux
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Silas Scarborough



Joined: 04 Sep 2007
Posts: 1635
Location: None

PostPosted: Fri Jul 03, 2009 10:45 am    Post subject: Reply with quote

I've never had a problem with latency but my solution has been expensive:  throw as much compute power at the problem as I could possibly muster.  In years gone by, that was a lot.  Now it's laughable but that's a different story.

My primary machine until it dies is an 8-way Mac Pro desktop machine with 8 GB of memory in it.  All monitoring was done via headphones on the Firestudio Project audio interface which is effectively a mixer, albeit a fairly brainless one.

SL was running on a 4-way Mac that was relegated to SL when it could no longer serve as the primary.

It may be possible to solve the problem in some artful way that doesn't cost a lot of money but that's never been my experience regardless of the size of the computing platform and I've designed them all the way up to z9 and z10 networks.

Chordslinger Carstenz is a friend of mine who went from nobody in SL to multiple tunes on the 61 home page in a couple of months.  He's running all Macs and he's running big ones.

I know this probably isn't good news to a lot of people but really didn't you know the answer already.  Seems to me the question isn't so much whether there's a performance problem but rather how to raise the money to do something about it.

(If'n you think we're bragging about having any kind of stuff at the Ministry of the Internet, brother, you don't even know.)
_________________
Silas Scarborough
Silas World Tour Blog
Find a place to play and I'll roll the P.A. anywhere
If you want to play, bring yer guitar
Back to top
View user's profile Send private message
EricSteffensen



Joined: 29 Jun 2009
Posts: 28
Location: Salt Lake City, UT

PostPosted: Fri Jul 03, 2009 11:47 am    Post subject: Reply with quote

You're probably right Silas, but really none of these other options (external mixer or a 2nd machine) will break the bank.  I would probably go the 2nd machine for SL route and would be surprised if some of the low end PC laptops that are selling for $400 - $500 wouldn't run SL.

However, if it is just a matter of tweaking settings than I'm sure I can put that $500 to better use somewhere else.  There is a setting in Nicecast called "CPU usage/quality" that I'm curious about.  The way I see it, Nicecast has the ability to act as a shoutcast server that would allow for multiple connections, which I imagine requires more CPU power.

But since when I'm performing, there's only one connection to my machine because I'm sending my stream to a third party stream provider which is what is streamed into SL.  I'm thinking that I might be able to dial down this setting in Nicecast even more without affecting the performance of my stream.
_________________
http://www.ericsteffensen.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SLMC Forum Index -> MAC Users All times are GMT
Page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group