gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS Misc > SylphAmp - a different streaming audio app

#84270 - ficedula - Sun May 21, 2006 7:04 pm

So, my new project, SylphAmp - project page is here - http://www.sylphds.net/ev2/contentview.php?id=462

It's a Winamp plugin that outputs to the DS rather than to the sound card ;)

To quote from the readme,

To use:

-Put the plugin (OUT_SylphAmp.dll) into your WinAmp plugins folder.
-Start WinAmp and choose SylphAMP as the output plugin. YOU SHOULD DO THIS BEFORE
BOOTING THE DS.
-Boot the NDS in any way you like.
-Wait for it to autoconnect to your AP. Hopefully.
-The program will prompt you for the IP of your PC. It had better be on the same
subnet as the DS or you're stuffed. Change the last IP component by holding down
Up/Down, or holding A/B to change quickly. Press START when you're done.
-The DS will now attempt to contact the PC.

If WinAmp is playing something, hopefully it's now streaming to the DS. Things you can do:

A = Play
B = Pause
Left/Right = Change track.
X = Stop.


Things That Don't Work:
Nearly everything. The following things definitely do not work and will cause things to go
horribly wrong:

-Any source audio on the PC that's *not* in 44KHz/16bit/stereo. Most MP3s are going to be OK...
-Two DSs trying to connect to the PC at once.
-Starting the DS *before* WinAmp is loaded with SylphAMP selected.


The buffering is also horribly hacked up at the moment so stopping the stream doesn't always clear the buffer, and the time display in WinAmp is wrong too. You may miss a few seconds at the end of each song. Before anybody reports it, yes I'm aware of that ;) It's on the to-look-at list...

In theory you could stream internet radio but I suspect Dissonance is better for that, since you'd need a PC as a gateway to use SylphAmp. SylphAmp is intended more as a sort of Apple Airport replacement device, you can put the DS audio out to speakers if you want, after all...

#84274 - mntorankusu - Sun May 21, 2006 7:28 pm

Holy awesome. This exactly what I wanted.

Works great, too, aside from the things you already mentioned.

#84281 - LS5 - Sun May 21, 2006 7:40 pm

O my god, I installed WinAmp just for this, and it's working great. The biggest problem I have with it currently is that the right channel is a fraction of a second late compared to the left channel, leaving a strange echo. Aside from that; completely awesome.

#84283 - mntorankusu - Sun May 21, 2006 7:58 pm

LS5 wrote:
O my god, I installed WinAmp just for this, and it's working great. The biggest problem I have with it currently is that the right channel is a fraction of a second late compared to the left channel, leaving a strange echo. Aside from that; completely awesome.

Same thing here. I didn't notice it when I first tried it because the file I used happened to have an empty right channel.

#84284 - Liquidnumb - Sun May 21, 2006 8:06 pm

I'm using a g6 / Flashme7.

The app seems to hang at "Connecting via WFC data." I ran it up once and it got stuck at "Hello World!"

All other homebrew apps which don't require SC/SD have been okay for me so far. At the very least, this is the first time I've had trouble finding an access point. My IP is manually configured.

I'm really excited to see this working on my DS! Does anyone have any ideas what the problem could be?

EDIT: I just tried it another couple of times and it found the AP! This is great stuff...

About that Left/Right delay thing - it doesn't seem to happen all the time, or even consistantly on the same songs. I wonder what would cause that?


Last edited by Liquidnumb on Sun May 21, 2006 8:19 pm; edited 1 time in total

#84285 - Thomas - Sun May 21, 2006 8:11 pm

Works great for me too, aside from that stereo bug already mentioned. Ignoring that, audio quality is great, though!

#84291 - shaz - Sun May 21, 2006 8:46 pm

Oh my ghost, now my mommy wants a DS!
_________________
It's so easy to be wise. Just think of something stupid, then dont do it.

#84294 - Grupstra - Sun May 21, 2006 8:49 pm

Just tried it out.

Works pretty good. If I change/pause tracks too quickly, I get the echo problem as well. also, the pause sometimes skips tracks for me. o_O

Good app, nonetheless.

#84296 - falcon!!! - Sun May 21, 2006 8:56 pm

very good! you rock! and the volume is very high!

#84300 - Togmannen - Sun May 21, 2006 9:07 pm

This works just so nice! Hope you add more function, good work man.

#84301 - mntorankusu - Sun May 21, 2006 9:11 pm

I wonder if it would be possible to make something like this as a MoonShell plugin.

#84313 - shaz - Sun May 21, 2006 9:35 pm

ficedula, are you streaming both L and R outputs? That would likely be the cause for bad sync and high data flows. One stream would be better. Forget about stereo, mono would be good enough and plus the volume would be higher.
_________________
It's so easy to be wise. Just think of something stupid, then dont do it.

#84315 - ficedula - Sun May 21, 2006 9:52 pm

It does stream both channels, but the reason it's falling out of sync is probably that as it stands, it doesn't even attempt to keep the two channels in sync with each other. Luckily (for me), I have the wifi channels pretty much to myself, so although I knew the way I coding it was crap, the packetloss on my network was virtually zero today and it didn't end up actually getting out of sync ;)

Easily sorted, I'll put some sync code in for the next release.

I can't see that it should give higher volume; two channels at hard-left and hard-right should give the same volume as one centred channel? Besides, it's pretty loud as it is, much louder and I'd be worried about damaging something... ;)

#84316 - vb_master - Sun May 21, 2006 9:55 pm

I like it! I'll try it again once I get more free time.
_________________
Back.

#84333 - TheChuckster - Sun May 21, 2006 11:40 pm

Sweet!!! Will remote IPs be possible in the future?

#84334 - shaz - Sun May 21, 2006 11:46 pm

ficedula wrote:
It does stream both channels, but the reason it's falling out of sync is probably that as it stands, it doesn't even attempt to keep the two channels in sync with each other. Luckily (for me), I have the wifi channels pretty much to myself, so although I knew the way I coding it was crap, the packetloss on my network was virtually zero today and it didn't end up actually getting out of sync ;)

Easily sorted, I'll put some sync code in for the next release.

I can't see that it should give higher volume; two channels at hard-left and hard-right should give the same volume as one centred channel? Besides, it's pretty loud as it is, much louder and I'd be worried about damaging something... ;)


Well in most stuff, selecting Mono produces more volume as both L and R are combined in one speaker.
_________________
It's so easy to be wise. Just think of something stupid, then dont do it.

#84338 - HyperHacker - Mon May 22, 2006 12:09 am

I notice your readme is named readme.txt.txt. :-p

*Waits 2 minutes for current song to finish* Course I had to be listening to a 7-minute song when I found this. (I don't like to stop in the middle of a song, heh.)

Hm, the plugin could use work. The Configure button does nothing and the About dialog explains very little.

It works, yay! Desync is BAD though. It desyncs almost immediately and I have a damn fast connection and the DS is about one foot from the router. Volume's perfect though. Using the Stop hotkey on your keyboard instead of pressing X is a bad idea (DS crashes, sorta). Also, turning off your DS isn't too good either; Winamp keeps going.

#84343 - compacho - Mon May 22, 2006 12:31 am

Sweet stuff man! Thank you. Volume is great enough for me.

#84345 - lambi1982 - Mon May 22, 2006 12:55 am

plays faster in my right speaker than in the left. Using GBAMP and FlashMEv7
_________________
Who, Me?

#84352 - HyperHacker - Mon May 22, 2006 1:59 am

Yeah, that's what I mean; it's desynced after about 2 seconds for me. It also tends to skip and repeat a lot, probably when a packet drops. (This happens in my living room, signal strength is about 50% according to other apps.) The echo actually sounds kinda cool though. :-p I do notice that when I have it sitting here next to my computer, it desyncs a bit, but then stays how it is, so even after 4 minutes one channel isn't lagged way behind the other; it sounds the same as it does at the beginning. (I ran it with WMB, BTW. I have both a wireless router and a card used exclusively for WMB. There's a GBAMP plugged in though.)

IMO what would make this perfect (besides the obvious fixes, and connections from any AP) is not making it an output plugin. As it is now I have to select the plugin in Winamp before I can use it. It'd be nice if it could just always be running when Winamp is, so I can just pull out my DS and connect to it from wherever. If it has to be an output plugin to capture sound output, then there's two methods I can think of to use:
1) Make a second general plugin or something that's always loaded, that when it gets a connection request, switches output plugins.
2) Make it a 'proxy' plugin; you select it, and within its configuration you select a second output plugin; when it's not streaming to the DS, it passes everything to this second plugin.

BTW I imagine the ARM7 is doing most of the work. If the ARM9 isn't too busy, it could show some trippy visualizations to go with the music. Maybe the plugin could even send the data needed to generate them, to save the DS some work. (At least there needs to be something on the top screen, or it needs to be turned off.)

Oh, and is the IP supposed to change by 16 when you press A/B? Seems rather arbitrary, like you might have used 0x10 instead of 10.

One other thing, I highly disagree with saying that stereo isn't necessary. It may not sound great through the speakers, but DS has a headphone jack for a reason. ;-)

#84356 - mntorankusu - Mon May 22, 2006 2:16 am

HyperHacker wrote:
One other thing, I highly disagree with saying that stereo isn't necessary. It may not sound great through the speakers, but DS has a headphone jack for a reason. ;-)

It would be really nice to have some different output options in Winamp. Stereo/Mono 16-bit/8-bit, etc. Lower settings would require less bandwidth (and would be able to buffer more, I assume), which would be nice for when you have low signal strength.

#84370 - The 9th Sage - Mon May 22, 2006 4:40 am

this is pretty cool...when it works it sound pretty great (when it's not echoing I mean). I could see myself using this a lot. :)
_________________
Now with 20% More Old Man from Zelda 1 than ever before!

#84377 - falcon!!! - Mon May 22, 2006 6:58 am

HyperHacker wrote:
I notice your readme is named readme.txt.txt. :-p

*Waits 2 minutes for current song to finish* Course I had to be listening to a 7-minute song when I found this. (I don't like to stop in the middle of a song, heh.)

Hm, the plugin could use work. The Configure button does nothing and the About dialog explains very little.

It works, yay! Desync is BAD though. It desyncs almost immediately and I have a damn fast connection and the DS is about one foot from the router. Volume's perfect though. Using the Stop hotkey on your keyboard instead of pressing X is a bad idea (DS crashes, sorta). Also, turning off your DS isn't too good either; Winamp keeps going.


connection speed doesn't matter. we're talking about wifi speed(from pc to ds), not online(from pc to server). Anyway I dont get desync so early, and even if i get, it return in sync sometimes, after some minutes.

#84384 - shaz - Mon May 22, 2006 8:39 am

falcon!!! wrote:
HyperHacker wrote:
I notice your readme is named readme.txt.txt. :-p

*Waits 2 minutes for current song to finish* Course I had to be listening to a 7-minute song when I found this. (I don't like to stop in the middle of a song, heh.)

Hm, the plugin could use work. The Configure button does nothing and the About dialog explains very little.

It works, yay! Desync is BAD though. It desyncs almost immediately and I have a damn fast connection and the DS is about one foot from the router. Volume's perfect though. Using the Stop hotkey on your keyboard instead of pressing X is a bad idea (DS crashes, sorta). Also, turning off your DS isn't too good either; Winamp keeps going.


connection speed doesn't matter. we're talking about wifi speed(from pc to ds), not online(from pc to server). Anyway I dont get desync so early, and even if i get, it return in sync sometimes, after some minutes.


no im pretty sure the pc connects to the router and the router passes the packets of data.
_________________
It's so easy to be wise. Just think of something stupid, then dont do it.

#84396 - HyperHacker - Mon May 22, 2006 10:47 am

Doh, that's right, Internet connection speed isn't a factor here. ^_^; Is there any way to test the speed between the router and the DS? (I'm sure the PC <--> Router speed is quite fast; it'd be rather stupid to have 5mbps coming into the router and only a few kb/s to the PC.)

BTW, as long as you're making Winamp plugins that talk to the DS, there's something else that'd be nice to see: a Winamp remote. Basically the same as this (with a better GUI), but with the sound still playing on the PC instead of the DS. Especially if it can control the system master volume and mute. It'd be pretty nice to be able to put on a track before bed, then not have to get up in 5 minutes to stop it and mute the system. (I have sounds set for like everything so it'd wake me up.)
_________________
I'm a PSP hacker now, but I still <3 DS.

#84412 - D-loader - Mon May 22, 2006 12:55 pm

Looking very promising, keep up the good work ^_^

#84416 - falcon!!! - Mon May 22, 2006 1:20 pm

HyperHacker wrote:
Doh, that's right, Internet connection speed isn't a factor here. ^_^; Is there any way to test the speed between the router and the DS? (I'm sure the PC <--> Router speed is quite fast; it'd be rather stupid to have 5mbps coming into the router and only a few kb/s to the PC.)

you should know your wireless speed by looking at the wireless card spec.
I have a 54 Mbps wireless card.

and for the winamp remote, you could use DS2KEY ;)

#84421 - HtheB - Mon May 22, 2006 1:52 pm

Keep up the good work!!!

^_^ really nice app!! :)

#84431 - JaJa - Mon May 22, 2006 3:43 pm

falcon!!! wrote:
HyperHacker wrote:
Doh, that's right, Internet connection speed isn't a factor here. ^_^; Is there any way to test the speed between the router and the DS? (I'm sure the PC <--> Router speed is quite fast; it'd be rather stupid to have 5mbps coming into the router and only a few kb/s to the PC.)

you should know your wireless speed by looking at the wireless card spec.
I have a 54 Mbps wireless card.

and for the winamp remote, you could use DS2KEY ;)


You should also know the DS is only capable of 2Mbits/s.
_________________
LAWL HOOGE
My Blog

#84433 - falcon!!! - Mon May 22, 2006 3:52 pm

and in fact when i use it on WIFi it runs @ 2 Mbps ^^

anyway that depends on my adsl connection

#84440 - Togmannen - Mon May 22, 2006 4:39 pm

I tested it with a movie, and it work too. In fact I think the sound was better then, it did't hack or repeat itself.

#84473 - Kayouu - Mon May 22, 2006 7:23 pm

HyperHacker wrote:

BTW, as long as you're making Winamp plugins that talk to the DS, there's something else that'd be nice to see: a Winamp remote. Basically the same as this (with a better GUI), but with the sound still playing on the PC instead of the DS. Especially if it can control the system master volume and mute. It'd be pretty nice to be able to put on a track before bed, then not have to get up in 5 minutes to stop it and mute the system. (I have sounds set for like everything so it'd wake me up.)


There actually is a winamp remote that came out forever ago already it even got updated so it shows song name which is nice.
(....Found the link....)

DSRemote -
Link -http://www.1emulation.com/forums/index.php?showtopic=16290

#84495 - HyperHacker - Mon May 22, 2006 10:26 pm

Hey, nice. I'll try that later.

Unfortunately I have an ISP-supplied router with no visible speed-related specifications printed on it or in the manual.
_________________
I'm a PSP hacker now, but I still <3 DS.

#84499 - TJ - Mon May 22, 2006 10:50 pm

Looks pretty cool, but I am not on Windows, so I can't use Winamp.

Perhaps a port of the plugin to XMMS?

#84513 - tepples - Tue May 23, 2006 12:59 am

Wineamp
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#84533 - ssj4android - Tue May 23, 2006 4:53 am

Yeah, BIG sync problems. Winamp also displays the start of each song as 16 seconds in.
I've also enountered problems while controlling winamp. Sometimes, it won't work right away.

#84546 - HyperHacker - Tue May 23, 2006 7:36 am

Try different songs, the ones I tried only started 3 seconds in (and ended 3 seconds early as a result). Also, as mentioned in the readme, stopping/pausing/etc doesn't really work yet. If it stops (whether from the DS or the PC) the DS will just keep playing the last few seconds of sound over and over. It's not exactly a bug; keep in mind this is V0.001.
_________________
I'm a PSP hacker now, but I still <3 DS.

#84568 - falcon!!! - Tue May 23, 2006 1:02 pm

next versions will rock! ;)

#84611 - TJ - Tue May 23, 2006 6:28 pm

Despite the rosy picture that page on the App DB paints, only half of Winamp's features even work on Wine, and the parts that do...well, imagine running Winamp on a 486, and that would probably give you some idea of the responsiveness.

The graphic equalizer can't even keep up with the music, the program lags so hard.

I tried to get Winamp working 100% for a long time, as it is the only Windows program worth using, but in the end, it got nowhere.

#84652 - ficedula - Tue May 23, 2006 10:58 pm

Should have the next version out later this week, maybe tomorrow or Thursday. Things that should be sorted:

-Reduced delay between PC -> DS
-Less screwing up when songs stopped/paused
-Basic GUI for current track, etc.
-Hopefully less left/right channel desync issues


As for connecting to remote IPs ... like I said on my site, the issue is really that most consumer broadband connections don't have a great upstream; often 256Kbit which really means 240Kbit if you're lucky ... but in theory, there's no reason you couldn't point SylphAmp at a public IP that had the right port forwarded to your PC; for it to be usable, though, first I'd have to make it easier to select the IP/host to connect to, then add some options on the PC side to downsample a bit first.

Output on the PC - I'm favouring implementing a plugin 'proxy' so you could choose a second output plugin for SylphAmp to forward the audio data to. The alternative would be to output directly to DirectSound or similar myself, but I'd rather avoid that if possible.

General audio capture on the PC - technically it's obviously possible, but I'm not considering it at this point ;)

Other Winamp commands - easy to implement, will get done as and when I get around to them.

Output to two DSs at once - very possible, but not a high priority (I don't, after all, have two DSs myself). Same goes for multicast (don't even know if the wifilib supports that). (At the moment, incidentally, if you turn off the DS, the PC sits there still trying to transmit to it, but if you start SylphAmp again on the DS and reconnect, it will switch over to your DS's new IP if it changed and start working again).

#84664 - shaz - Wed May 24, 2006 12:11 am

ficedula, can you release a special version where only one stream is being sent, not two for L and R. (Basically I want a mono version).
Depending on your code, if this is easy to do, please make this version. If not, then I don't mind. Thanks
_________________
It's so easy to be wise. Just think of something stupid, then dont do it.

#84680 - m2pt5 - Wed May 24, 2006 2:46 am

Downsampling is done by Shoutcast, which is another plugin for Winamp. It's what most people use for streaming internet radio. You might want to look into that for an easy way to do it.
_________________
Don't sign your posts, it's dumb.

#84683 - HyperHacker - Wed May 24, 2006 2:51 am

What about those who do have good upstream, can we just put in our IP from wherever and hope?
_________________
I'm a PSP hacker now, but I still <3 DS.

#84704 - Mrshlee - Wed May 24, 2006 10:26 am

As for the proxy idea - throw the audio back into the directaudio/asio

Add a 5 second delay/downsample and transmit it back towards the DS
_________________
MrShlee.com
Projects
Dev-Scene
MyTechpedia

#84793 - ficedula - Wed May 24, 2006 8:33 pm

New version is out - v0.02, download from http://www.sylphds.net/ev2/contentview.php?id=462 as per usual.

To quote from the page again:

Quote:

Changes in v0.02:
-Hopefully improved sync a bit
-Lowered lag between PC/DS
-Less garbage playing when pausing/stopping song
-Display playlist on DS
-Very basic UI
-Support entering any IP as server to connect to

In theory you could connect to your home PC via the internet. In practice I haven't tried this (and until NTL upgrade my broadband next month, I won't have enough upload). You'd need to forward port 9883 from the router to the PC running Winamp; it also needs an absolute minimum of 350Kbit upstream from the PC to the DS to work, preferably a bit more.

Once I implement options on the PC side to downsample the audio either to 22KHz and/or mono, it'll be more usable on lower speed connections.


I'd be interested to know how much (if at all...) the echo is reduced in this version since it very rarely happened to me.

#84796 - Thomas - Wed May 24, 2006 8:52 pm

This new version doesn't seem to be working for me. It connects with the firmware settings, the last thing I see in the log is something about the ARM7 init and then it displays 2 blue backgrounds, nothing else. I can't enter any IP or do anything. The old version did work.

Last edited by Thomas on Wed May 24, 2006 9:11 pm; edited 1 time in total

#84799 - falcon!!! - Wed May 24, 2006 9:04 pm

does not seem to work..

SylphDS/SylphAmp 0.02
SylphCF: Init Data plugin

#84800 - LS5 - Wed May 24, 2006 9:10 pm

For me, it hanged at 'Waiting for ARM7 to init...'. After a reboot, it hanged at 'Init data plugin'. After another reboot, it hanged at 'Waiting for ARM7 to init...' again.

#84809 - ficedula - Wed May 24, 2006 9:33 pm

Grr. Boots fine for me, annoyingly.

I've updated the download on the site to a version compiled without CF support, since it wasn't really used at the moment anyway. That's purely a guess since it was hanging on "Init Data Plugin" for some people, but ... download it again and give it a try.

#84812 - falcon!!! - Wed May 24, 2006 9:49 pm

ok works

#84813 - Thomas - Wed May 24, 2006 10:03 pm

Yep, now it works for me too! I think the stereo bug is gone. This is really good!

#84826 - HyperHacker - Wed May 24, 2006 10:29 pm

This version works way better. No desync at all, sounds just like I were playing the MP3s in Moonshell. It actually stops making noise when I stop the song too. ;-) There's 2 rather nasty UI bugs though:

1) It doesn't appear to connect. It stays at "SylphAmp Connecting..." until you actually press A, then it downloads the playlist and starts whatever song was selected in Winamp at the time.

2) It stops playing if you scroll through the list.

Either way the important thing is it sounds good. Finally I can listen to more than 10 songs outside of my room without headphones. (Good for times when that's not possible, like when I solder things; I'd just end up melting the cord. >_>)

Why is the executable so big though? Also you forgot to update the readme.

Now if only my IP didn't change so damn much so I could use it from other APs without having to know the address in advance.
_________________
I'm a PSP hacker now, but I still <3 DS.

#84827 - swimgod - Wed May 24, 2006 10:32 pm

HyperHacker wrote:

2) It stops playing if you scroll through the list.

you do realize when you scroll it changes the song to what you scrolled to right?
lol

this is a really good update :D
btw
VERY NICE work :)
_________________

1x WII 2x remotes
2x NDS/L(FMv7-ORG:v4,FMv7-org:DSL)
1x GBAMP
2x 1gb (MicroDrive{typeII}&SanDisk{typeI})
1x SuperPass2
1x Supercard-CF

MoonShell skins

#84828 - LS5 - Wed May 24, 2006 10:32 pm

Yes, works perfectly. Stereo bug is gone, and I like the new interface.

Some things I thought I'd report/mention:
- Sometimes it hangs for me at 'Connecting via WFC data' during start-up. This seems to be quite random.
- When deleting everything in the Winamp playlist while connected, SylphAMP falls back to the log screen playing the last few seconds over and over.
- While testing downstairs, I got occasional audio glitches. I guess this is due to the connection speed, as it doesn't happen when I'm close to the Wi-Fi adapter.
- When the Shuffle option is selected in Winamp, the up and down keys aren't really of any use since they just select a random song.
- When the IP is already entered, would it be possible for the Left/Right keys to function as a fast way to cycle through the playlist?
- What exactly does B do during playback? Whatever it does, it seems quite buggy.

Thanks for the great app.

#84829 - m2pt5 - Wed May 24, 2006 10:34 pm

It works great except for the 44100/16 thing (which could be solved by reencoding before broadcast) and when I press & hold the R button, the sound goes all weird after a couple seconds, and clears up a couple seconds after I release it.

Suggestion: Add a trigger to shut off the screen lights when you close the DS. This will save battery power when it is used with headphones. (Optionally, maybe have Y toggle the screen lights.)

Edit: I'm still losing a few seconds at the end of songs.
_________________
Don't sign your posts, it's dumb.

#84843 - shaz - Wed May 24, 2006 11:58 pm

Good Update!!!
There is still some delay but the L and R sync is sorted.
My playlist is massive, it crashes when i try to scroll down around 40 songs. On the next version, could you somehow make it support big playlists.
_________________
It's so easy to be wise. Just think of something stupid, then dont do it.

#84860 - HyperHacker - Thu May 25, 2006 1:33 am

swimgod wrote:
HyperHacker wrote:

2) It stops playing if you scroll through the list.

you do realize when you scroll it changes the song to what you scrolled to right?
lol

this is a really good update :D
btw
VERY NICE work :)

Oh, heh. I never waited long enough for it to start playing before I hit A, and I wasn't at the computer to see it change. It'd be kinda nice if I could just scroll through and find a song without stopping the current one.

LS5 wrote:
- Sometimes it hangs for me at 'Connecting via WFC data' during start-up. This seems to be quite random.

This happens to me too, pressing Play and then Stop on the PC seems to help.

Quote:
- When the Shuffle option is selected in Winamp, the up and down keys aren't really of any use since they just select a random song.

This could be fixed by making the left and right keys turn shuffle off before going forward or backward, then back on if it was before.

Quote:
- What exactly does B do during playback? Whatever it does, it seems quite buggy.

It's supposed to pause, but it causes some glitches. If I pause for 10 seconds, it skips about 10 seconds when I resume, and then about a minute later the two sides quickly get about 10 seconds out of sync, which just sounds horrible. It seems to be keeping in perfect sync otherwise though. (Of course right now it's sitting about one foot from the antenna. :-p)

BTW, I found another bug. If you try to scroll through the playlist while the music is stopped, it does go through the list (you can see it on the PC) but the screen doesn't update. Press down a few times and the same song is still selected, but then press A and it jumps to the one that's actually selected.

[edit] Also, I turned off my monitor using NirCmd and the connection broke. By the looks of it the plugin stopped transmitting. Winamp was still playing, but the DS just kept repeating the last few seconds. It'd be nice if it just stopped when disconnected, and maybe when it connects again it could seek back to around where it was before so you don't miss a bunch of the music.

Another bug: Sometimes when it connects it shows a blank playlist until you scroll up to the first song.

[edit again] Actually this seems to happen if the selected song is off the first page. As you scroll up parts of the list will be displayed until eventually the entire list appears. Also, I noticed it's a bit slow to update the list; when you play a song Winamp often changes the title from what's stored in the playlist to whatever format you've specified. The DS client sometimes doesn't update until you've scrolled through a few songs, making it look like the entire list just changed when really it just reformatted the names.
_________________
I'm a PSP hacker now, but I still <3 DS.

#84945 - shaz - Thu May 25, 2006 11:38 pm

I was just wondering, is the ds capable to stream video content from the computer?
_________________
It's so easy to be wise. Just think of something stupid, then dont do it.

#84954 - spacepirate - Fri May 26, 2006 12:52 am

I doubt it. The ds can barely play video as it is, and since it's bandwidth is only about 2Mbps, that would make it extremely challenging to stream video to.
_________________
SCSD, 1GB Kingston, Flashme v7 on DS v1, Flashme v7 on DS Lite

#84956 - shaz - Fri May 26, 2006 1:25 am

well i was thinking of compressing the video to the ds's resolution. That would make the size of the video really small.
_________________
It's so easy to be wise. Just think of something stupid, then dont do it.

#84962 - spacepirate - Fri May 26, 2006 2:21 am

Assuming that the video is less than 20 fps (because it's very difficult to play seamless video above that), if I'm correct in saying that the DS has a 2Mbps connection, that's equivalent to a 250KBps connection. Account for the fact that networks can't ever reach their max speed and you're looking at a 150 to 200 KBps connection max. I'm could be wrong, but that seems a little low for streaming video.
_________________
SCSD, 1GB Kingston, Flashme v7 on DS v1, Flashme v7 on DS Lite

#84973 - Liquidnumb - Fri May 26, 2006 5:14 am

I'm really happy with the way this app is turning out.

I noticed something earlier which made me thing of the request for a 'winamp remote'. If you connect with the app like normal then change the output plugin again, you can still use the app as a remote while outputting to the computer's normal speakers. Thought that might be useful somewhere.

#84979 - tepples - Fri May 26, 2006 5:57 am

spacepirate wrote:
you're looking at a 150 to 200 KBps connection max. I'm could be wrong, but that seems a little low for streaming video.

A data rate of 150 kilobytes per second is about right for VCD-quality MPEG-1 video, and given that the DS's screen (256x192) is smaller than a VCD screen (352x240), that makes it even easier.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#84982 - The 9th Sage - Fri May 26, 2006 6:21 am

It's much much better now...I only got it to screw up when I went to the other end of the house (with many walls in the way) which I think is at about the edge of my SoftAP's wireless range. It echoed slightly and the sound broke up a bit...it fixed itself once I brought the DS closer to my laptop however.

All in all, it works very very well. :)
_________________
Now with 20% More Old Man from Zelda 1 than ever before!

#84983 - HyperHacker - Fri May 26, 2006 6:26 am

Yeah, at about 50% signal strength it starts to break up. (WFC games don't work very well at this point either.) My computer is in my room on the second floor. It skipped fairly often on the first floor, and just lagged more and more until it completely lost connection in the basement (which still has about 50% strength just like the first floor O_o).
_________________
I'm a PSP hacker now, but I still <3 DS.

#84988 - mntorankusu - Fri May 26, 2006 6:55 am

tepples wrote:
spacepirate wrote:
you're looking at a 150 to 200 KBps connection max. I'm could be wrong, but that seems a little low for streaming video.

A data rate of 150 kilobytes per second is about right for VCD-quality MPEG-1 video, and given that the DS's screen (256x192) is smaller than a VCD screen (352x240), that makes it even easier.

Using MoonShell's DPG format as an example, the highest bitrate its encoder will even allow is around 50 KB/s, including audio. The DS's connection speed definitely wouldn't be a problem.

#84991 - swimgod - Fri May 26, 2006 7:19 am

O.O
it acutally works :D
i can open the ports (9883)
on my computer and connect to my computer through other wifi points :)

this is cool :D
now i can listen to my music where ever i get wifi :P
_________________

1x WII 2x remotes
2x NDS/L(FMv7-ORG:v4,FMv7-org:DSL)
1x GBAMP
2x 1gb (MicroDrive{typeII}&SanDisk{typeI})
1x SuperPass2
1x Supercard-CF

MoonShell skins

#84995 - JaJa - Fri May 26, 2006 9:08 am

You mean like stream DPGs across the network?
Could be doable, depends how much time is needed for network access.
I think DPG takes up a lot of CPU time as it is.
_________________
LAWL HOOGE
My Blog

#85014 - chishm - Fri May 26, 2006 12:24 pm

JaJa wrote:
You mean like stream DPGs across the network?
Could be doable, depends how much time is needed for network access.
I think DPG takes up a lot of CPU time as it is.

Don't forget that CF/SD access is also CPU consuming, so replacing it with Wifi won't make such a big impact on performance.
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com

#85026 - JaJa - Fri May 26, 2006 2:32 pm

True, you tend to take stuff like that for granted on a desktop machine.
Maybe it would work after all then.
_________________
LAWL HOOGE
My Blog

#85027 - spacepirate - Fri May 26, 2006 2:47 pm

Yes, I just realized last night that I'm an idiot.

I'm not totally sure if the DS's RAM available for buffering would be an issue at all? It's probably got enough, but I've experienced some skipping and looping with streaming audio in SylphAmp and Dissonance before and I'm not sure if it's the buffer or the wifilib that's the problem. Or maybe I'm still an idiot.
_________________
SCSD, 1GB Kingston, Flashme v7 on DS v1, Flashme v7 on DS Lite

#85046 - wildex999 - Fri May 26, 2006 7:04 pm

Woho!
I just got WiFiMe(Wireless card) today, and started right away trying NDS apps. Hoping for web radio on the go, I tried dissonance, but with bad luck on sound quality =(
Then i tried this, working right out of the box ^^

EZ Flash III, 1gb, .nds, custom loader.
Keep it up =)

*EDIT*
BTW, what port htis go on?(Firewall)

*EDIT2*
Testing:
Normal music=OK!
Web Radio Relay=OK!(ALWAYS wanted the web radio in my room ^^)
Skipping?=NOPE!(Only if I try to walk around in the house)
Changing channels while connected=OK!
Tested Bitrate=192kbps=OK!

Program hang up?=YES! Once =(

#85051 - JaJa - Fri May 26, 2006 8:43 pm

spacepirate wrote:
Yes, I just realized last night that I'm an idiot.

I'm not totally sure if the DS's RAM available for buffering would be an issue at all? It's probably got enough, but I've experienced some skipping and looping with streaming audio in SylphAmp and Dissonance before and I'm not sure if it's the buffer or the wifilib that's the problem. Or maybe I'm still an idiot.


The latest moonshell supposedly uses the 32Mbyte of RAM on M3 and Supercard for cache.
Could this be a solution?
We don't want to use an on CF/SD buffer as that would kill your card very quickly.
We might not have enough RAM for a buffer.
How about the extra RAM on the Supercard and M3?
_________________
LAWL HOOGE
My Blog

#85088 - swimgod - Sat May 27, 2006 12:08 am

wildex999 wrote:

BTW, what port htis go on?(Firewall)

if you still need it,
9883
_________________

1x WII 2x remotes
2x NDS/L(FMv7-ORG:v4,FMv7-org:DSL)
1x GBAMP
2x 1gb (MicroDrive{typeII}&SanDisk{typeI})
1x SuperPass2
1x Supercard-CF

MoonShell skins

#85382 - ficedula - Mon May 29, 2006 5:37 pm

New version 0.03 is out, download at http://www.sylphds.net/ev2/contentview.php?id=488 (different page to before).

readme.txt wrote:

Changes in v0.03:

-Turn backlights off when DS is closed
-Option: passthrough to another Winamp output plugin
-Option: downsample audio to mono (on the PC)
-Send playlist straight away when DS connects
-Stop & display error messages if unable to connect to network
-Fix flickering on playlist

#85386 - mntorankusu - Mon May 29, 2006 6:08 pm

This is the greatest thing. Downsampled to mono, I can go all around my house without it skipping or anything.

Any chance of adding Winamp Library navigation?

#85403 - m2pt5 - Mon May 29, 2006 11:22 pm

Ok, I got the new version working, but it's refusing to only broadcast - It's playing through both the speakers and (a couple seconds later) the DS. I even blanked the passthrough plugin field, but it's still passing through.
_________________
Don't sign your posts, it's dumb.

#85420 - HyperHacker - Tue May 30, 2006 2:42 am

Hm, this version's not working so well.
-Disconnects after about a minute, with no error message (just repeating the last few seconds like the old versions did), quite often when using stereo even sitting one foot from the router. Seems to be a lot more packet loss than the last version. Downsampling to mono helps, but I just don't like mono (and it still skips a fair bit). I obsess over sound quality. ^_^;
-Doesn't always download the playlist (it's currently displaying blank) until you skip through it a bit.
-Passthrough doesn't seem to be working at all.
-Having the playlist on the touch screen but not touchable... ehh...
-Pausing still doesn't work right. If I pause for 5 seconds, it skips 5 seconds of the song when I resume.
-Turning the backlight off is good; turning the screens and speakers off would be even better.
-Still can't navigate the playlist with shuffle turned on or without stopping the music.

Awesome work, just needs some kinks ironed out.
_________________
I'm a PSP hacker now, but I still <3 DS.

#85422 - m2pt5 - Tue May 30, 2006 2:54 am

HyperHacker wrote:
-Turning the backlight off is good; turning the screens and speakers off would be even better.

The point of turning off only the light (much like Moonshell) is so you can use headphones with it and save some battery life, as the lights are one of the biggest draws on the battery. (WiFi and media-based flashcarts are the other two in the top 3.)
_________________
Don't sign your posts, it's dumb.

#85433 - falcon!!! - Tue May 30, 2006 6:38 am

this works very good for me! you rock!
the only bug is that the end of a song cannot be listened to. (it's skipped)

#85512 - HyperHacker - Wed May 31, 2006 4:00 am

m2pt5 wrote:
HyperHacker wrote:
-Turning the backlight off is good; turning the screens and speakers off would be even better.

The point of turning off only the light (much like Moonshell) is so you can use headphones with it and save some battery life, as the lights are one of the biggest draws on the battery. (WiFi and media-based flashcarts are the other two in the top 3.)

There's no point in having the screens on when the lid is closed, though, and you can still use headphones with the speakers turned off.
_________________
I'm a PSP hacker now, but I still <3 DS.

#85664 - Flyfishing - Thu Jun 01, 2006 5:00 pm

Ok, I got this program working once, but ever since then I've been having problems.

WinAmp is not starting up whenever I put the plugin into the WinAmp plugins folder. Anyone have advice for getting this to work? I'm using the latest WinAmp version (5.22).

*EDIT: It works when I put the plugin into the folder while I'm running Winamp. And then I restart Winamp, turn on the DS and it works! Sweet app!

#89058 - madri2 - Thu Jun 22, 2006 10:23 pm

this don't work at all on supercard SD ....
i've patched it for a gba flash card but
it asks me for the server ip, i press start, it displays "loading" and nothing else

#89061 - RVK - Thu Jun 22, 2006 10:28 pm

It works just fine on SCSD.
Check your settings.

#89062 - madri2 - Thu Jun 22, 2006 10:30 pm

.... the program tell me a wrong ip.... i have to change it

also, it works great
at the begining, it "pops" a bit, but within few seconds, it works very well



maybe a better buffer in a future version?
when i leave the AP, the music looks a bit buggy ;)

#89076 - The_Mayor87 - Thu Jun 22, 2006 11:56 pm

tepples wrote:
Wineamp

works wonderfully under wine. i wish i had tried sylphamp out earlier.

#89103 - tsunami0ne - Fri Jun 23, 2006 3:13 am

hey, it works now. Great job!

#89420 - Zed0 - Sat Jun 24, 2006 9:17 pm

HyperHacker wrote:
-Disconnects after about a minute, with no error message (just repeating the last few seconds like the old versions did), quite often when using stereo even sitting one foot from the router. Seems to be a lot more packet loss than the last version. Downsampling to mono helps, but I just don't like mono (and it still skips a fair bit). I obsess over sound quality. ^_^;
-Doesn't always download the playlist (it's currently displaying blank) until you skip through it a bit.
-Passthrough doesn't seem to be working at all.
-Having the playlist on the touch screen but not touchable... ehh...
-Pausing still doesn't work right. If I pause for 5 seconds, it skips 5 seconds of the song when I resume.
-Turning the backlight off is good; turning the screens and speakers off would be even better.
-Still can't navigate the playlist with shuffle turned on or without stopping the music.


I'm getting most of these problems with GBAMP-CF.
I'm not sure why you would want to turn off the speakers when its closed, then you can't listen to the music...
_________________
__Zed0__
FlasheMe'd Silver DS - GBAMP-CF - 512MB CF Card - R4DS - 2GB Micro SD Card

#89421 - Kayouu - Sat Jun 24, 2006 9:30 pm

^^You can still use headphones

#89423 - HtheB - Sat Jun 24, 2006 9:55 pm

Zed0 wrote:
HyperHacker wrote:
-Disconnects after about a minute, with no error message (just repeating the last few seconds like the old versions did), quite often when using stereo even sitting one foot from the router. Seems to be a lot more packet loss than the last version. Downsampling to mono helps, but I just don't like mono (and it still skips a fair bit). I obsess over sound quality. ^_^;
-Doesn't always download the playlist (it's currently displaying blank) until you skip through it a bit.
-Passthrough doesn't seem to be working at all.
-Having the playlist on the touch screen but not touchable... ehh...
-Pausing still doesn't work right. If I pause for 5 seconds, it skips 5 seconds of the song when I resume.
-Turning the backlight off is good; turning the screens and speakers off would be even better.
-Still can't navigate the playlist with shuffle turned on or without stopping the music.


I'm getting most of these problems with GBAMP-CF.
I'm not sure why you would want to turn off the speakers when its closed, then you can't listen to the music...

close the lid half ;)

#89495 - The 9th Sage - Sun Jun 25, 2006 4:15 am

Flyfishing wrote:
Ok, I got this program working once, but ever since then I've been having problems.

WinAmp is not starting up whenever I put the plugin into the WinAmp plugins folder. Anyone have advice for getting this to work? I'm using the latest WinAmp version (5.22).

*EDIT: It works when I put the plugin into the folder while I'm running Winamp. And then I restart Winamp, turn on the DS and it works! Sweet app!


I have this problem now...it crashes with slyphamp in the plug-in folder no matter what I do. It used to work fine...I recently installed some new plug-ins, only thing I can think is that it's an odd plug-in conflict or something.
*edit*

Must be something else...I uninstalled those plug-ins and it still is happening. Anyway, incredibly odd that it would just do this apparently out of the blue. I did try re-installing Winamp as well, same problem.
_________________
Now with 20% More Old Man from Zelda 1 than ever before!

#89762 - dsisive - Mon Jun 26, 2006 5:13 pm

Hi

put the plugin into winamp, open ports 9883 for both tcp/udp

Ran the program through moonshell and dsorganize on my supercard sd

it connects with the ip i give it cause i can see it in my router lan status

then it just stays at

SylphAMP Loading...

i only have 1 song in the playlist but it doesnt do anything

any hints?

#89772 - Bojangles - Mon Jun 26, 2006 5:50 pm

It doesn't seem to get past:

"Connecting via WFC data"

for me either.. I've tried a couple times... using an M3 adapter.

#90475 - Mrshlee - Fri Jun 30, 2006 11:06 am

I cannot get this working at all.
It loops the same 1 second of stream over and over again.
Winamp doesn't have any options.. clicking the config button doesn't do a thing

seems to connect ok
_________________
MrShlee.com
Projects
Dev-Scene
MyTechpedia

#91266 - ficedula - Wed Jul 05, 2006 8:01 pm

New version is out (0.04), download from this page - http://www.sylphds.net/ev2/contentview.php?id=512

It does include one or two minor bugfixes, but not many, so if it's not working for you already this probably won't help a lot. Wifi issues, I probably can't do an awful lot about - although if other wifi homebrew works in theory it's probably my fault...

Major change in this release: ability to edit the playlist from the DS. See the readme and/or my webpage for details.

Cheers.

#91267 - Kvasir - Wed Jul 05, 2006 8:34 pm

Wow, lucky timing for me! I was just making the rounds and updating all my homebrew on my card today.

Thanks Ficedula!

#91279 - The 9th Sage - Thu Jul 06, 2006 12:25 am

AAARGH! >_<

Well, I fixed my problem...god I hate windows sometimes. :D All I did was change the name of the plug-in's DLL to out_sylph.dll instead of out_sylphamp.dll...why this fixed it, I am not certain, but it's working for me now. Does this help anyone else?

*edit2*
Nevermind, screwing up when it tried to load a new playlist must have been a fluke, it worked the second time I tried it.
_________________
Now with 20% More Old Man from Zelda 1 than ever before!

#91318 - Mrshlee - Thu Jul 06, 2006 8:39 am

That's excellent :D
Is the quality the best its going to get?

Secondary: do you plan on creating a standalone server... Id love it to be able to listen to two different songs 1 on DS 1 on workstation
without loading two copies of winamp
and screwing around with output everytime.
_________________
MrShlee.com
Projects
Dev-Scene
MyTechpedia

#91378 - ficedula - Thu Jul 06, 2006 8:29 pm

Audio quality is unlikely to change soon - well, except that I'll probably add the option to downsample to 22KHz - I'll mostly be playing about with adding more options in.

A standalone server would be possible but wasn't on my list of things to do; the plugin is, after all, tied in pretty closely to the way Winamp works. Although anybody else who wanted to could write a 'server' app, since the Winamp input/output plugin APIs are public...

#91810 - HyperHacker - Sun Jul 09, 2006 9:36 pm

Hm, this version looks a lot better, but there's one small bug - it doesn't play through the DS. I can connect, view my playlist, play, pause, stop etc without a problem, but it's always playing through the PC sound card instead of the DS. (Hey, at least that means the plugin passthrough is working now. :-p)
_________________
I'm a PSP hacker now, but I still <3 DS.

#99375 - HyperHacker - Mon Aug 21, 2006 4:38 am

Thought you might be interested to know Sylphamp being present (not necessarily enabled) crashes any second instance of Winamp.
_________________
I'm a PSP hacker now, but I still <3 DS.

#100068 - Alucard258 - Fri Aug 25, 2006 10:05 pm

Hmmm... It doesnt connect for me if I have WEP on..

If I turn off WEP it works fine, but my router is a bit iffy when WEP comes off and messes with stuff.

Anyone else get it to work with WEP?

#100072 - HyperHacker - Fri Aug 25, 2006 10:12 pm

Yes, except for the bugs I mentioned before.
_________________
I'm a PSP hacker now, but I still <3 DS.

#100081 - awh85 - Fri Aug 25, 2006 11:12 pm

hi guys,

im getting the error "Winamp has caused an error in OUT_SYLPHAMP>DLL. Winamp will now close." once i open my winamp when the "Out_SylphAmp.dll" file is in my winamp plugins folder. when i take out the "Out_SylphAmp.dll" file, then i can open winamp without any problems. Any idea what could be the matter?

#100097 - Alucard258 - Sat Aug 26, 2006 2:46 am

HyperHacker wrote:
Yes, except for the bugs I mentioned before.


What flashcart are you using?

Im using the CF M3 with the newest (v26) firmware.

Maybe that has something to do with it...?

#100225 - HyperHacker - Sat Aug 26, 2006 10:00 pm

GBAMP, but the bugs are in the plugin.
_________________
I'm a PSP hacker now, but I still <3 DS.

#100932 - MasterMan - Thu Aug 31, 2006 10:13 pm

When i add a new playlist in DS side, i can only PLAY it by winamp ittself. START only plays when winamp is already playing.
When i use SylphAmp in DS and turn if off, i can't connect again if winamp is still runing. I must turn winamp off and on again, and SylphAmd again after it.
Luckly i don't have any plugin or winamp issue.
Just adressing the "start playing" part and the no connection bug and it should be my prefered homebrew ever.

Great job so far.

#133292 - Caelthunderwing - Thu Jul 05, 2007 1:14 am

Reproducable bug:
PC: Compaq Presario R3000 (intell) Laptop
OS: XP Pro SP2
Memory: 512MB (312 w/ Shared half taken for video)
Wifi Card: Broadcom 802.11b/g MaxPerforamnce
Router: D-Link 528 (b/G)

DS:
Nintendo DS Lite (Pearl white)

Boot Method:
R4DS Running 1.10 System
Card: Kingston 1gb MicroSD

Bug:
Freezing PC Remotly via DS

Steps to reproduce:
in the Playlist editor (DS Side) select in a long M3U playlist,, quickly select up and down M3U station lists till you have scrolled up and down the list atleast once ,

it then freezes Winamp pc end pc itself fine

i was able to reproduce it 3 times

#133324 - OSW - Thu Jul 05, 2007 11:11 am

I haven't had any such problem.

This app is really awesome so i thank you for it.

Naturally if i move too far out of reception the playback gets messed up but thats no fault of yours (i need better wireless range -_-)

I hope you continue to work on it by improving the streaming or wherever has room for improvement.

#133585 - Caelthunderwing - Sat Jul 07, 2007 7:43 am

a Buddy of mine on aim "Dan" i was talking to about what bug i had w/ SlyphAMP

he's got a bug where if a certain few songs in the playlist are present , second winamp starts to play and send to the DS, Winamp freezes

he's using like me the R4DS but he's got the old "Phat" DS as where i have the DS Lite

and the playlist bug i get is when i play this M3U
http://kawaii-radio.net/listen.m3u

#133589 - dantheman - Sat Jul 07, 2007 9:13 am

Actually I'm using a Supercard miniSD, but I really don't think it matters in this case. Again, it's just a few specific files that are causing problems, which I can just remove from the playlist. Winamp doesn't freeze when the songs are merely present; only when I try to play the songs does it stop responding.

Really, the only issue I have is that I've never been able to get the latest release to work correctly, so I've been using v0.03