forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DJSP v0.14a release 8-25-2005
Goto page 1, 2  Next
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
cooleyandy



Joined: 02 Jul 2005
Posts: 41

PostPosted: Thu Jul 28, 2005 7:47 pm    Post subject: DJSP v0.14a release 8-25-2005 Reply with quote

Okay, here's the most recent release of DJSP 0.14a

http://www.afung.com/djsp

Here are the features.

* LUA scripting support is now added. Loading Lua script option in the options window (press select).
- Allows easy plugin development of custom visuals, games, applications...
- Included a game (DJ Squarez), a new Visual and some sample Lua scripts to help you develop
your own plugins. You can develop Lua Plugins easily with the PSP USB options, so you
don't have to quit DJSP to edit the Lua files. Refer to the *luascript.txt* file for
more information on developing lua script plugins.

* 10 different Audio Visuals !!!! (Press Left or Right Trigger to change)
- Energy Chaos, Remixed Chaos, Aqua Space, Particle Dream, Plasma Desuka, 4x Spectras, Circlez
- Cross fading between them [per song, 1 min, 2 min, 5 min, off]

* Full 10-band equalizer support. Allows Volume to be beyond the PSP's limitation. Reduce base, increase, etc...

* Change Display mode by pressing X in visual mode.
There are 3 modes: Normal, Suppress Display, and Power Saving (no visuals and uses less power).

* 4 play modes - normal, sequential, random, repeat

* PSP USB transfer mode can be Enabled/Disabled at Options.

* Plays Mp3s (any length, could be 2GB if need be)

* Headphone Remote Support

* Fast Forward (Very fast, and definitely faster than PSP's built in mp3 player) and Restart.

* Transparent Windows, displays play time, and other little bits of stuff.

* And some other interesting stuff you'll just have to discover yourselves.


P.S. thanks *Shine*, your LuaPlayer was an inspiration for me to implement a version of Lua for DJSP also.


Last edited by cooleyandy on Tue May 09, 2006 12:06 pm; edited 9 times in total
Back to top
View user's profile Send private message
Arwin



Joined: 12 Jul 2005
Posts: 426

PostPosted: Thu Jul 28, 2005 10:57 pm    Post subject: Reply with quote

Good idea. :) PSP obviously has a lot of potential here! Looking good so far too.

First comment I have:

- program can't handle subfolders in the Music folder. I had no files directly under Music, and it got very confused. It tried to play the Garbage folder, but that obviously didn't work. I had to copy a mp3 into the Music folder before I could do anything (thank you file assistant)
- bass amplification results in too much crackling distortion
Back to top
View user's profile Send private message
emumaniac



Joined: 08 May 2005
Posts: 79

PostPosted: Fri Jul 29, 2005 2:20 am    Post subject: Reply with quote

great release took some screenshots and mirrored the file here --> http://psp-news.dcemu.co.uk/djsp.shtml

i have a v1.0 psp and about 30 seconds when the program was on it turned my PSP off, my battery was on 1 bar but it is unusual ?
Back to top
View user's profile Send private message
cooleyandy



Joined: 02 Jul 2005
Posts: 41

PostPosted: Fri Jul 29, 2005 7:48 am    Post subject: Reply with quote

emumaniac wrote:
great release took some screenshots and mirrored the file here --> http://psp-news.dcemu.co.uk/djsp.shtml

i have a v1.0 psp and about 30 seconds when the program was on it turned my PSP off, my battery was on 1 bar but it is unusual ?


Maybe the battery was low and the psp shutdown?

btw, thanks for mirroring the file.
Back to top
View user's profile Send private message
emumaniac



Joined: 08 May 2005
Posts: 79

PostPosted: Fri Jul 29, 2005 7:55 am    Post subject: Reply with quote

yeah its a strange one, ill fully recharge and try again.

My pleasure to mirror the file :)
Back to top
View user's profile Send private message
hollaz2alex



Joined: 29 Jul 2005
Posts: 1

PostPosted: Fri Jul 29, 2005 8:08 am    Post subject: Reply with quote

the player plays 64kbps mp3s at twice the speed, but 128kbps mp3s plays fine.
Back to top
View user's profile Send private message AIM Address
cooleyandy



Joined: 02 Jul 2005
Posts: 41

PostPosted: Fri Jul 29, 2005 8:54 am    Post subject: Reply with quote

hollaz2alex wrote:
the player plays 64kbps mp3s at twice the speed, but 128kbps mp3s plays fine.


mmmm strange, I can play 192kbps mp3 at normal speed...alright, I'll take a look into it. Thanks for the bug report
Back to top
View user's profile Send private message
ector



Joined: 12 May 2005
Posts: 195

PostPosted: Fri Jul 29, 2005 9:36 am    Post subject: Reply with quote

Probably has more to do with 22khz vs 44khz than bitrate.
Back to top
View user's profile Send private message
cooleyandy



Joined: 02 Jul 2005
Posts: 41

PostPosted: Fri Jul 29, 2005 12:04 pm    Post subject: Reply with quote

yea, that does sound right. I think I'll probably upsample anything below 44khz.
Back to top
View user's profile Send private message
cooleyandy



Joined: 02 Jul 2005
Posts: 41

PostPosted: Fri Jul 29, 2005 8:04 pm    Post subject: Reply with quote

Okay, here's 0.11a

Added 2 new visuals, Fast forward and restart capabilities, and a small bug fix. 22khz is still in the works :-)

http://www.andyfung.net/djsp/DJSP.rar
Back to top
View user's profile Send private message
cooleyandy



Joined: 02 Jul 2005
Posts: 41

PostPosted: Sun Jul 31, 2005 3:33 am    Post subject: Reply with quote

0.12a released.

- Full 10-Band Equalizer Implemented!!!
Press Triangle to bring up the equalizer window and press Square to enable/disable it.
Basically, you can increase the volume beyond the PSP's limitation and be able to alter sounds.
The First Bar is Software Volume Control, bars 1-10 emphasizes each frequency.

- (by popular Request) Change Display mode by pressing X in visual mode.
There are 3 modes: Normal, Suppress Display, and Power Saving (no visuals and uses less power).

- Play Mode change (normal,sequential,random) switched from Triangle to Square button, I needed the
Triangle for the equalizer :-)

- Display dimming suppressed (enjoy visuals more)

- In MP3 file selection window, SQUARE is now the switch mode button.

- Small bug fixes

- Now if I can find some way to mount the PSP onto my car's Dashboard...oh how sweet.



btw, is this type of posting appropriate? I'll stop updating the thread with this if it isn't wanted/needed.
Back to top
View user's profile Send private message
Warren



Joined: 24 Jan 2004
Posts: 173
Location: San Diego, CA

PostPosted: Sun Jul 31, 2005 4:21 am    Post subject: Reply with quote

cooleyandy wrote:
btw, is this type of posting appropriate? I'll stop updating the thread with this if it isn't wanted/needed.


It's fine.
Back to top
View user's profile Send private message
cooleyandy



Joined: 02 Jul 2005
Posts: 41

PostPosted: Mon Aug 08, 2005 6:43 pm    Post subject: Reply with quote

Latest update.

0.131a (8-8-2005)

- MP3s that are playing too fast now plays correctly. Upsampling of lower than 44khz MP3s.

- I've added an ***easter egg*** (bonus) feature just for fun. *hint* analog.


0.13a (8-6-2005)

- 3 new visual (Plasma Desuka, Remixed Chaos, and Aqua Space), brings to a grand total of 10 visuals!

- Option to Cross Fade between Visuals (Per Song, 1 min, 2 min, 5 min, Off)
Press Select to bring up the Options Window.

- Now searches for all MP3s in /PSP/MUSIC/ including subfolders.

- Implemented skip to Previous or Next Song. Press Left for previous and Right for Next.
Holding Left will restart song, and Holding Right will Fast Forward.

- Much much faster Fast Forward with acceleration. Holding Right Longer seeks faster and faster.

- Implemented Headphone Remote Support.

- Altered code to load essential files from installed folder/directory.
* It means that you can use any of the corrupt icon hiding programs and DJSP will still work.
* Also means all those people with mp3 window freezing problems can now run the program.

- When exiting the program, you have to press the Home Key instead of Select. I needed Select.

- Other small bug fixes. (They are more like ants this time compared to those earlier roaches)
Back to top
View user's profile Send private message
philmcneal



Joined: 26 Aug 2005
Posts: 1

PostPosted: Fri Aug 26, 2005 10:08 am    Post subject: Reply with quote

oh man what a cool program! this is way better than using my in car stereo since a) uses less power than the cd drive in my car and b) you can have visualizations with your program! It would be sweet if the visuals were more, "Pathway" like kind of like the program milkdrop for winamp. I hope you didn't abandon this program and will continue updating it for the PSP.

I regestered on this forum just to give Andy thanks for this proggie. Oh and I hope his next version support reading .cue tracklisting files for those big mp3 that has a lot of songs in them (mostly trance songs).


Keep up the good work.

Phil
Back to top
View user's profile Send private message
rinco



Joined: 21 Jan 2005
Posts: 255
Location: Canberra, Australia

PostPosted: Fri Aug 26, 2005 10:23 am    Post subject: Reply with quote

pay attention to the road, fool!
Back to top
View user's profile Send private message
cooleyandy



Joined: 02 Jul 2005
Posts: 41

PostPosted: Fri Aug 26, 2005 1:13 pm    Post subject: Reply with quote

Don't worry, I'll keep updating it. Actually, I have a new version out.

DJSP 0.14a

* LUA scripting support is now added. Loading Lua script option in the options window (press select).
- Allows easy plugin development of custom visuals, games, applications...
- Included a game (DJ Squarez), a new Visual and some sample Lua scripts to help you develop
your own plugins. You can develop Lua Plugins easily with the PSP USB options, so you
don't have to quit DJSP to edit the Lua files. Refer to the *luascript.txt* file for
more information on developing lua script plugins.
Back to top
View user's profile Send private message
Clay



Joined: 21 May 2005
Posts: 10

PostPosted: Fri Aug 26, 2005 2:20 pm    Post subject: Reply with quote

Thanks for the email andy =)
_________________
Site Admin
www.pspupdates.com
Back to top
View user's profile Send private message
shifty



Joined: 16 Jun 2005
Posts: 32
Location: MIT

PostPosted: Tue Aug 30, 2005 8:47 pm    Post subject: Script and suggestion Reply with quote

Here is my script for a Bark band-based spectrum analyzer. The
Bark bands are groupings of frequencies that more closely match what
your ear hears than the perfect FFT analysis bins.

BTW, analyzeAudio() is very slow, but there's a faster way...since
the mp3 file stores compressed FFT data, you can simply extract the
magnitude information *directly from the decoding function* !
It will make things much faster!

bb = {}
useFlipScreen(true)
wid = {3,2, 3,2, 3,2, 3,4, 3,4, 5,5, 6,8,9,11, 14,16,19,22, 27,33,47,78, 100}

while true do
analyzeAudio()
mag = getMagnitudes()

curb = 1
for s=1,25 do
acc=0
for ab=curb,(curb+wid[s]-1) do
acc = acc + mag[curb]
curb = curb +1
end
acc = acc/wid[s]
bb[s] = acc
end

for x=1,25 do
shade = bb[x] * 31
x1 = x*20;
y1 = 272 *(1-bb[x])
drawLine(x1, 272, x1, y1, rgb16(shade / 2 + 15,shade,shade) )
drawLine(x1, y1, x1, 0, 0)
end
flipScreen()
wait(20000)

end
Back to top
View user's profile Send private message Visit poster's website
cooleyandy



Joined: 02 Jul 2005
Posts: 41

PostPosted: Wed Aug 31, 2005 6:59 am    Post subject: Reply with quote

I'll take a look into using the compressed fft data. Perhaps I could get it to go faster. But this would be a more immediate fix as I plan to add more format support in the near future. Nice script btw.
Back to top
View user's profile Send private message
PhyerFly



Joined: 13 Apr 2006
Posts: 8

PostPosted: Fri May 05, 2006 9:12 am    Post subject: Continue DJSP? Reply with quote

Hey guys, I'm fairly new here - been reading / lurking & learning for a while.

I've been using DJSP as my end-all music player since andy's last release in august, mainly because I have my PSP mounted in my car and run through my stereo.

I'd like to try and continue development on DJSP and add support for ID3 tags, cd cover artwork and possibly fix a few annoying bugs (features?) like saving settings & EQ, and the crashes after sleep mode. I really think that even with just a little "prettying" graphically that this program has a lot of potential to be as powerful and slick as the iPod interface (or at least comparable).

I've tried emailing Andy to ask if it was cool to continue development and / or get the source from him, but I haven't gotten any responses yet.

I've got a decent development background, and some limited experience using the stuff from pspsdk and creating simple eboots - but I don't have any idea if it's possible to decompile them to get any kind of meaningful source.

So, Andy - are you out there? If so, any chance of continuing development yourself or releasing the source for this awesome program?
Back to top
View user's profile Send private message
AnonymousTipster



Joined: 01 Jul 2005
Posts: 197

PostPosted: Sat May 06, 2006 3:09 am    Post subject: Reply with quote

If memory serves, didn't DJSP become PSPAdvance? It failed due to all the ads. I think andy left the scene after that.
Back to top
View user's profile Send private message
PhyerFly



Joined: 13 Apr 2006
Posts: 8

PostPosted: Sat May 06, 2006 3:13 am    Post subject: Reply with quote

Yeah I noticed that they were strikingly similar, but like you said - the Ad's and bloat made PSPAdvance almost completely useless. I saw that Andy release the PSP TV program recently so I was hoping I could catch him and pick his brain :)
Back to top
View user's profile Send private message
AnonymousTipster



Joined: 01 Jul 2005
Posts: 197

PostPosted: Sat May 06, 2006 3:21 am    Post subject: Reply with quote

I overlooked that PSPTV program by andy, I thought he'd gone.

Although I've never tried DJSP, I know it was very popular, and a comeback would probably be welcome.
Back to top
View user's profile Send private message
PhyerFly



Joined: 13 Apr 2006
Posts: 8

PostPosted: Sat May 06, 2006 4:04 am    Post subject: Reply with quote

Absolutely agree, DJSP was a very well-designed mp3 player and IMO with it's simple (and intuitive) control scheme and the advent of the few little bells and whistles that the XMB mp3 player has - it could make the PSP an actual contender as a music player and not just a misguided attempt to "throw in" mp3 functionality.

I like to compare DJSP to my Pioneer Mp3 deck for my car. What makes car stereo decks attractive and useful is their look, sound quality (including output power) and importantly.......ease of use. You need to be able to perform the basic functions of stopping & playing, skipping tracks, changing music folders etc. with one hand. I can operate DJSP with one finger with my hand on the shifter in my Mazda3, and that's the way it should be.

I've got some pics of my ghetto-rigged PSP mount on my website if anyone is interested http://www.drewlawton.com/. Andy mentioned that he'd like to see DJSP running in someone's car, so I'm going to try and grab a shot of that today with my camera.
Back to top
View user's profile Send private message
cooleyandy



Joined: 02 Jul 2005
Posts: 41

PostPosted: Tue May 09, 2006 4:14 am    Post subject: Reply with quote

woah, I didn't think anyone would still have interest in DJSP after this long. Glad to hear someone still uses the old DJSP version. Personally, I've never liked PSPAdvance either. It crashes too much and there are ADs. That's the problem with selling your program to a company. You lose all rights to it. That's also the reason why I can't develop it any further. But I suppose I can always write something new from scratch or help someone else with an already finished mp3 player. Originally, I was going to write an mp3 playing plugin for the Artillery Shell, but I haven't heard from the author since since since, so no go there.
Back to top
View user's profile Send private message
PhyerFly



Joined: 13 Apr 2006
Posts: 8

PostPosted: Tue May 09, 2006 4:32 am    Post subject: Reply with quote

Gah, that sucks. I'm glad you were able to get some kickback for the program - because it's awesome, but that's sad that you don't own the rights to it anymore. I suppose it's probably better this way anyway, because I'd probably remember more of my C++ from college if I just started from scratch - but DJSP already had rock solid mp3 playback (regardless of filesize) and I've heard lots of complaints from homebrew developers about loading mp3's over 8mb.

Oh well, if you have anything you think might help me get started or maybe a different way to approach things I'd be very appreciative.
Back to top
View user's profile Send private message
AnonymousTipster



Joined: 01 Jul 2005
Posts: 197

PostPosted: Tue May 09, 2006 5:01 am    Post subject: Reply with quote

For mp3 playback, look at the iRShell mp3 code at www.ahman.co.nr , and if you've got 1.5, then get iRShell. Best...app...ever.
Libmad (the library most/all mp3 players on PSP use) will only support ~44050hz though.
Back to top
View user's profile Send private message
PhyerFly



Joined: 13 Apr 2006
Posts: 8

PostPosted: Tue May 09, 2006 8:15 am    Post subject: Reply with quote

Cool thanks, that looks like a good place to start. I use IRShell as my xbox remote, but it do remember it having good mp3 playback.

Question, why would anyone use anything below 44khz? Aside from downsampling for filesize, I don't see the point.
Back to top
View user's profile Send private message
cooleyandy



Joined: 02 Jul 2005
Posts: 41

PostPosted: Tue May 09, 2006 12:03 pm    Post subject: Reply with quote

libmad supports more than just 44khz mp3s. The problem is that the PSP's hardware channels support only 44hkz.
Back to top
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Tue May 09, 2006 12:38 pm    Post subject: Reply with quote

cooleyandy wrote:
libmad supports more than just 44khz mp3s. The problem is that the PSP's hardware channels support only 44hkz.

44KHz or 44.1KHz ? ...
_________________
Shoot Pixels Not People!
Makeshift Development
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Goto 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


Powered by phpBB © 2001, 2005 phpBB Group