Jump to content

Recommended Posts

Posted (edited)

I know that I've waited, I've begged, and I've drooled at the thought of this app ever being made. :blink: I don't know if any of you have wanted an Internet Radio Client as much as I have... but here we are. The first working release of Dissonance.

 

http://people.uleth.ca/~dave.brady/projects.php

 

I would appreciate it if someone with a fully compatible router can test Dissonance for me. I would also appreciate if word did not spread off of this board for a day or two, until I can get some testing done (so keep it SECRET. I will notify the usual authorities when I get some testing data). On my router, it works for a few minutes, then locks up solid during a recv. I am wondering if it's my router, or something more sinister. So please, give me a hand. :(

 

Thanks sgstair for the library that makes all this possible.

 

EDIT: PS: I know the registration process for this forum is a little intense. If you don't want/can't get registered, then please email me at matter.grey@gmail.com

Edited by Grey
  • Replies 53
  • Created
  • Last Reply

Top Posters In This Topic

Posted

I'll see what I can do when I get home, I'm using a Ralink card, so knowing if that works might be important for those that bought a similar card for wifime.

Posted

Welcome Grey, and thanks for showing your project to us. :)

 

Let us know when you're ready to go public,

and we can make an item on the front-page news,

and also enter it on digg for you.

Posted

Thanks. :) Good to feel welcome.

 

The problem I am having is that recv is called, but then doesn't come back, thus freezing up the ARM9 during playback. It happens at a fairly random time, but usually runs for a couple of minutes before doing so. You wouldn't happen to know why, would you?

Posted

Sorry, I'm just the janitor. :) I'm sure that when

the various devs visit over the next couple of days

they will be able to offer suggestions.

Posted

Ok I got it running on my SCSD and I use a dlink router.

 

I have dialup, and it didn't take long for it to go nuts (it would keep repeating what it received).

Posted

Yeah. It does seem to really accelerate the issue when the connection isn't that good. It requests data, doesn't get anything, and rather than returning 0 or -1, it just freezes. Well, I suppose I know the problem... I just need to wait for someone with more knowledge than myself (sgstair?) to tell me what I can do about this.

Posted

I had good 1.5 minute of audio on the SHOUTcast Distributed Network Audio Server, the first time I tested it. After this some real strange symptoms became popping up all of a sudden. Ah well.. It seems you're not the only one with these problems. Some info:

 

Nintendo DS Flashme v7

Tested on GBAMP 256mb CF

6 megabit internet connection

Ralink softap, TX Rate set to auto (11mb when testing the radio)

 

Hope it helps!

Posted (edited)

sweet works like a charm here not sure how long it's been playing yet but well over 5 min's still playing ;D got a Passme v7 SCSD 2Gb SD.. Wifi is Asus WGL-167 SoftAP mode ;D

 

if u want i can capture some wifi data it sends and stuff with Ethereal just give me a pm or msg me on msn.. keep up the great work ;D

 

edit

 

was on like 7 mins now it's like 2 mins..

Heres a capture of it open with Ethereal to c it ;D

 

Download 300Kb

Edited by QazzaQY2K
Posted (edited)

Maybe you should buffer the data first before playing, I don't really know the problem, but if it is a problem in the transfer (TX rate dropping or s/t), buffering might be a good idea. I will look at the source, tho.

 

EDIT: I looked at your code and already discovered a buffer function. You could try making the buffer function somewhat more advanced, maybe incorporating the space on a CF-card or something.

I'll do some more test to see what is really the matter :).

Edited by infernoDS
Posted (edited)

Sorry for another post :).

It seems it is working quite well now for some akward reason... I first thought that it could be problems with the ram of some sort, but that doesn't (I think) seems to be the problem now.

Ah well.. good luck!

Edited by infernoDS
Posted (edited)

Alright, sorry... My cable company and I had something of a disagreement yesterday on what exactly an Internet Service Provider was. As a result, I've been without internet access for a day (although it was partly my fault. Well, mostly). Anyways, I have a new version of Dissonance here that is ready for primetime.

 

After carefully examining the problem in a few different internet cafes yesterday, I determined that the problem is most likely happening because the connection is just dropping after a while. That is, the socket is no longer connected to the stream's source.

 

My solution to this problem is to use non-blocking sockets, and wait for up to a second to recv data from the server. If nothing is found after a second, the connection is dropped, and I establish connection again. So when it happens, you are going to hear a few seconds of garbage, but it will sort itself out in the end.

 

I don't think that there's honestly anything I can do about this at this stage of the game. The same network code I'm using on my DS works just fine on my Linux test app. Which leads me to believe that this is a library problem. So... I'm lifting the request for secrecy, as there's not much else I can do with it right now, besides making the other stuff better (see the TODO list for planned features, not sure when I can get around to them though).

 

Anyways, for those of you with good connections, I hope that this is useful. :) (I'll try it out at my University later, which is my real concern).

 

EDIT: Inferno, I am well aware that my buffering system sucks. This release is just to say "this works". Next release might do things a little nicer, such as pausing when buffering, and starting when buffering is finished, just like a real music player. There's a long way to go, and a lot of code to write... But I'm pretty sure I can do it. :D (Again, not sure of the timeframe on that though)

 

EDIT2: Just had a look at sgstair's checklist. Seems that the relevant bugs are:

 

# TCP connection closing errors (working on this)

# Latency issue, something is causing the lib to have higher pings after a while (unclear on what causes this, but I have a few ideas, I'll look at it.)

# TCP loses data apparently when rx buffer is filled (probably fixed, testing.)

# possible bug with recv not returning data it should, will look into this (unsure)

# check/fix blocking TCP recv (next release)

 

When these are fixed, my app should function much more closely to as advertised. :(

Edited by Grey
Posted

Well since the secrecy is lifted, as promised, it's news on our front page, and I've added a Digg as well. Let's see what happens! :) Good luck!

Posted (edited)

Ok, well, I just tried the latest version.

I'm running GBAmp witha 256 MB card, flashme v7. I get the top screen to list "connecting via WFC data"

"connected successfully!"

 

then, nothing. The bottom screen is white, and nothing happens after this... am forgetting something?

 

I tried to download your first release, andran that, and it worked..or at least, I think it did. as soon as it booted up, it listed something on screen, then played some audio flawlessly for the few minutes I had it on.

 

Any ideas?

 

edit: after running the first version again, maybe I wasn't getting a stream fterall. I got the same blip of audio as before, it seems to repeat istelf. the bottom screen lists "decoding error 0x0101" and the top screen is white.

 

Still no luck with the newer versions.

Edited by GrupstraNDS

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...