Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /storage/content/49/145849/famitracker.com/public_html/forum/classes/dbHandler.php on line 29 FamiTracker
Login:
Menu:
Post: Author:
FamiTracker > General > Bug Reports & Feature Requests > FT and Windows freeze on soundcard disconnection Owner: Dr_Mustache New post
Page 1 of 1 Sort:  
FT and Windows freeze on soundcard disconnection Posted: 2015-01-20 19:51 Reply | Quote
Dr_Mustache

Avatar

Member for: 3141 days
Location: On your screen
Status: Offline

#65018
When two (or probably more) instances of FamiTracker are open, disconnecting the soundcard that is being used by them causes FT and Windows to freeze and become horribly slow.

I have a USB soundcard, which I use as my main audio source, and it tends to get disconnected really often. I don't recall FT ever freezing when only one instance was opened and the soundcard was removed, but if two instances are open, when I remove the soundcard, FT and Windows freeze. I think there's also 100% of CPU usage, but I couldn't confirm this.

I think it's worth noting that the last time I tested this, one of the instances was playing a module. Also, I'm using Windows 8.1, if it does any difference.


I hope this explanation is complete enough, but if it's not, I can provide a few more details. I really hope this problem can be fixed because I've lost some work because of it.

_______________________
[color=#b0b0b0]This version of Dr. Mustache is outdated. Please download latest version [url=about:blank]here.
[url=https://www.dropbox.com/sh/md3lbsamcj39c9v/t0g5rFmzX_][Dropbox (my FT stuff)]
Posted: 2015-01-21 00:36 Reply | Quote
CheeseGuy99

Avatar

Member for: 3752 days
Location: Amarillo, TX
Status: Offline

#65021
Well, for me, my soundcard is virtual and routed through some random crap to my headphones and that sometimes disconnects. It makes FT's visualizer turn completely white and goes really slow. Try going to audio settings and pressing OK next time it happens. I would say that the quickest fix might be a new sound card (Perhaps an actual card?) or Virtual Audio Cable. You can route it from a virtual cable to your sound card and that might help shield FT from the disconnection.

_______________________
**** COMMODORE 64 BASIC V2 ****

Some other places I've tried to conquer:
[url=http://chipmusic.org/ch3dd4r]Le Chipmusic
[url=http://battleofthebits.org/barracks/Profile/CH3DD4R/]Le BattleOfTheBits
Posted: 2015-01-21 00:53 Reply | Quote
Dr_Mustache

Avatar

Member for: 3141 days
Location: On your screen
Status: Offline

#65022
Unfortunately, I can't afford a new soundcard at the moment, so that's not an option to me. Also, since the program tends to freeze, I close it immediately after I get disconnected, but I haven't tried going to audio settings.

About the virtual audio cables, what are those and how can I set them up? That's a whole new concept to me so help would be appreciated.

_______________________
[color=#b0b0b0]This version of Dr. Mustache is outdated. Please download latest version [url=about:blank]here.
[url=https://www.dropbox.com/sh/md3lbsamcj39c9v/t0g5rFmzX_][Dropbox (my FT stuff)]
Posted: 2015-01-21 01:23 Reply | Quote
CheeseGuy99

Avatar

Member for: 3752 days
Location: Amarillo, TX
Status: Offline

#65023
Well, you can get one at http://software.muzychenko.net/eng/vac.htm, but it will say "Trial" Every once in a while unless you buy it. You could get voice meeter: It's simpler. It's free. It's main purpose is mixing two microphone ports plus system sounds into one microphone out or speaker out. How it works is this: You set your main speaker output to voicemeeter input, then you enable it only for you in voicemeeter, not mic output (If you even have it) then select the output to your speakers. It's pretty easy to set up.

_______________________
**** COMMODORE 64 BASIC V2 ****

Some other places I've tried to conquer:
[url=http://chipmusic.org/ch3dd4r]Le Chipmusic
[url=http://battleofthebits.org/barracks/Profile/CH3DD4R/]Le BattleOfTheBits
Posted: 2015-01-21 20:10 Reply | Quote
jsr
Administrator

Avatar

Member for: 5925 days
Location: Sweden
Status: Offline

#65046
Does it get disconnected for no reason?

It seems like a driver issue to me.

_______________________
Programmer and developer
Posted: 2015-01-21 20:17 Reply | Quote
Dr_Mustache

Avatar

Member for: 3141 days
Location: On your screen
Status: Offline

#65047
Not exactly. Yesterday that was happening really often so I switched ports and now it works fine, but still, if I remove the soundcard, FT will have problems with it.

It typically gets disconnected when I move it too much btw. Disconnecting for no apparent reason doesn't happen too often.

_______________________
[color=#b0b0b0]This version of Dr. Mustache is outdated. Please download latest version [url=about:blank]here.
[url=https://www.dropbox.com/sh/md3lbsamcj39c9v/t0g5rFmzX_][Dropbox (my FT stuff)]
Posted: 2015-01-21 21:57 Reply | Quote
jfbillingsley

Avatar

Member for: 2770 days
Status: Offline

#65051
Not to sound like the old doctor joke, but... have you tried [i]not[/i] moving it?

Posted: 2015-01-21 22:30 Reply | Quote
Dr_Mustache

Avatar

Member for: 3141 days
Location: On your screen
Status: Offline

#65053
Hahah, it's really complicated not doing so. Also, sometimes I need to rearrange all the ridiculous setup I had to make to have sound again, so this requires moving it.

As of now, it's been working okay since I connected it to another port, but I still want to know if there's a way to determine why FT freezes, which I detailed in the first post. I think it might be a problem in the tracker because this doesn't happen in any other applications! :P

_______________________
[color=#b0b0b0]This version of Dr. Mustache is outdated. Please download latest version [url=about:blank]here.
[url=https://www.dropbox.com/sh/md3lbsamcj39c9v/t0g5rFmzX_][Dropbox (my FT stuff)]
Posted: 2015-01-21 22:48 Reply | Quote
jsr
Administrator

Avatar

Member for: 5925 days
Location: Sweden
Status: Offline

#65057
Sounds like a problem with FT then. The issue though is that if I cannot reproduce it myself then I don't really know how to solve it.

So the only thing I can do is to recommend you to close the application before you disconnect your sound card, unfortunately.

_______________________
Programmer and developer
Posted: 2015-01-21 23:29 Reply | Quote
Dr_Mustache

Avatar

Member for: 3141 days
Location: On your screen
Status: Offline

#65059
Yeah, I thought testing it might've been a problem for you, but thanks anyway.

_______________________
[color=#b0b0b0]This version of Dr. Mustache is outdated. Please download latest version [url=about:blank]here.
[url=https://www.dropbox.com/sh/md3lbsamcj39c9v/t0g5rFmzX_][Dropbox (my FT stuff)]
Posted: 2015-01-29 02:37  (Last Edited: 2015-01-29 03:39) Reply | Quote
Dr_Mustache

Avatar

Member for: 3141 days
Location: On your screen
Status: Offline

#65210
Well, I think I can provide a small suggestion over this problem. I know you can't test this thing, but it would be a good idea to try doing this:

If FT can't output sound through the currently selected sound card, make it try to choose another one that's available! This is the behavior I've noticed from other applications, like Skype or Firefox. If there are no sound cards available, it can just do nothing, instead of trying to output sound.

Hope this helps! If you do implement this, I can help you test it. ;)

_______________________
[color=#b0b0b0]This version of Dr. Mustache is outdated. Please download latest version [url=about:blank]here.
[url=https://www.dropbox.com/sh/md3lbsamcj39c9v/t0g5rFmzX_][Dropbox (my FT stuff)]
Posted: 2015-01-31 12:01 Reply | Quote
jsr
Administrator

Avatar

Member for: 5925 days
Location: Sweden
Status: Offline

#65279
Yeah that seems reasonable, I'll look into it.

_______________________
Programmer and developer
Page 1 of 1 Sort: