HydrogenAudio

Lossy Audio Compression => MPC => Topic started by: kuniklo on 2005-01-26 07:00:30

Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-01-26 07:00:30
I've cobbled together a very crude and minimal gui mpc player for the mac.  It doesn't do much but load and play mpc files, but that part seems to work at least.

The very brave can grab a copy of the work in progress from here:

http://www.caddr.com/Xist-20050125.zip (http://www.caddr.com/Xist-20050125.zip)

Let me know if it works for you.
Title: crude but functional gui mpc player for os x
Post by: lh_sabre on 2005-01-26 16:09:55
A great start, but it skips often on my Powerbook. I'm not sure yet whether it's the decoder eating a lot of CPU (which it seems to do...?) or because of the Powerbook's audio powersaving mode. It definitely does skip when I move windows around. Still, like I said, a great start!
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-01-26 17:41:42
Thanks for trying it out.  Once I get a bit more of the basic functionality working I'll see what I can do about optimising it.
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-01-27 05:34:34
I've got a new version up here:

http://www.caddr.com/Xist-20050126.zip (http://www.caddr.com/Xist-20050126.zip)

That should hopefully play back a little better.  On my G5 it uses roughly as much CPU as iTunes does (3-7%).

You can now select whole directories to play, pause tracks, and skip forward and backward in the playlist.
Title: crude but functional gui mpc player for os x
Post by: lh_sabre on 2005-01-27 13:55:43
Awesome. Works quite well now! Soon I'll be rocking out on my PB! Yay!
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-01-27 16:51:48
Cool.  Thanks for testing.  I'm going to try to add support for a few other formats next I think.
Title: crude but functional gui mpc player for os x
Post by: Althalus on 2005-01-27 17:03:11
OMG, never expected this to happen.
It's ages ago I wrote off the chance that anyone would create a OS X application for .mpc's

Kuniklo, You Kick Ass !

thanks
Title: crude but functional gui mpc player for os x
Post by: lh_sabre on 2005-01-27 17:05:26
Heh I'd like to imagine that mp3 and ogg are going to be the first ones you hit...that and mpc files are what comprises most of my collection  but that's just me.
Title: crude but functional gui mpc player for os x
Post by: Althalus on 2005-01-27 17:15:31
Yeah, AAC's, mp3's and Ogg's would be great 

I've been testing it now for a few minutes 10.3.7 / 1.25emac / 512
Hidden:
1.90% - 2.90% according to Activity Monitor

Front app
4% - 6% - few spikes to 8%

No problems reading tags, but it crashes when trying to open a folder with mp3s/aac's that contain a subfolder wih mpc's
Does not save the playlist when closed (but i'm sure you know about this, heh)

This news seriously made my week, hope you choose to add some snazzy added functionality to it once in a while

Layout is great, clean and simple.

edit: Edited the text, removed "no bugs found" 
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-01-27 19:40:49
Thanks for testing and the bug reports.

There are a bunch of other bugs you haven't found yet.

Once I get the core really solid and bug-free and get a few other formats implemented I'm hoping to start leveraging Cocoa to do some cool things.
Title: crude but functional gui mpc player for os x
Post by: lh_sabre on 2005-01-27 19:48:32
Considering the graphical abilities of OS X, plus the fact that many musicians still rely on Macs for audio work, I can't believe it's taken this long for a good player to pop up. Everyone seems to have given up on audio players for Mac since iTunes, but I find that iTunes is...lacking.

Kuniklo, you've just justified my Mac purchase
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-01-27 20:36:32
Quote
Kuniklo, you've just justified my Mac purchase
[a href="index.php?act=findpost&pid=268610"][{POST_SNAPBACK}][/a]


 

That's excellent.  All I was trying to do was justify mine.

I think iTunes is so overwhelmingly dominant that nobody's even willing to try to challenge it. iTunes probably is a great solution for the average non-sophisticated user.  Personally I don't want something that's a database manager and a player and I really need something that plays other formats besides those that Apple has blessed.  Support of some other lossless format than ALAC is especially important I think.
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-01-31 02:24:49
New version up that plays wavpack files as well as musepack files.

From now on all versions will be available from here:

http://www.caddr.com/xist (http://www.caddr.com/xist) .
Title: crude but functional gui mpc player for os x
Post by: rpop on 2005-01-31 03:06:08
Just tried it now on my 500 mhz powerbook g4; it plays files well, but still skips from time to time. Also, this is the 20050127 version that I'm trying, as 20050130 just bounces in the dock once or twice and disappears .
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-01-31 03:51:25
Quote
Just tried it now on my 500 mhz powerbook g4; it plays files well, but still skips from time to time. Also, this is the 20050127 version that I'm trying, as 20050130 just bounces in the dock once or twice and disappears .
[a href="index.php?act=findpost&pid=269572"][{POST_SNAPBACK}][/a]


Thanks for testing.  I'll see if I can figure out what's up with the newer version.
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-01-31 17:08:50
The 20050130 version should be fixed.  Made it statically link to libwavpack.
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-02-01 06:13:46
Drag & Drop now works and I finally relented and switched to brushed metal.
Title: crude but functional gui mpc player for os x
Post by: Busemann on 2005-02-01 14:17:18
That last build looks really good (nice icon!)

I think I would do something with the playback control buttons, but other than that it has matured quickly.
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-02-01 16:24:17
Quote
That last build looks really good (nice icon!)

I think I would do something with the playback control buttons, but other than that it has matured quickly.
[a href="index.php?act=findpost&pid=270052"][{POST_SNAPBACK}][/a]


Thanks!  I'll probably change the play buttons to the standard icons instead of text.

The app icon is a temporary but it is pretty cool (pinched from Mark Ryden).
Title: crude but functional gui mpc player for os x
Post by: Althalus on 2005-02-01 20:37:40
Running Xist-20050131 same emac as previously, no issues,

Running it on a older 466 g4 256mb 10.3.7 runs perfectly fine.
front app: 17% - 19%
hidden: 3-5%, heh, suspiciously low, but the terminal command TOP says about the same.

I should mention that it only skipped once even though I used safari, activity monitor, quicksilver and iTerm. And the time it skipped safari was loading a page with tons of flash crap ads

Looks... different, but well I should rather STFU about the looks, I can't stand the brushed metal look

Only thing i found strange was that the 'very cool' icon didn't show up on my eMac, but fine on a old g4 running exact same system

thanks for the update (using it every day
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-02-01 21:27:26
Quote
Looks... different, but well I should rather STFU about the looks, I can't stand the brushed metal look




I don't really like brushed metal much either.  I could easily be persuaded to change it back or make it a preference.

As for the skipping, I get occasional skips even on a dual G5, so that's something I need to fix.  That and ogg/flac/mp3/aac support are the only things left for a first real release, I think.

Thanks for testing!
Title: crude but functional gui mpc player for os x
Post by: xmixahlx on 2005-02-01 22:11:01
any chance of shorten support?

it may need to be library-itized (like you did with wavpack) but a huge gain in the support of the format if a library was available (forward looking)

just my opinion, i guess


later
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-02-01 22:18:01
Quote
any chance of shorten support?

it may need to be library-itized (like you did with wavpack) but a huge gain in the support of the format if a library was available (forward looking)

just my opinion, i guess


What advantage do you see in shorten support?  Just that it's so widely used?  Technically it seems inferior to all the more modern lossless formats.
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-02-02 05:48:04
New version up adds ogg support and should significantly improve dropouts.  I haven't been able to make it drop out at all on my G5.
Title: crude but functional gui mpc player for os x
Post by: westgroveg on 2005-02-02 06:13:44
How about Wavpack support?
Title: crude but functional gui mpc player for os x
Post by: atici on 2005-02-02 06:21:07
How about a screenshot?
Title: crude but functional gui mpc player for os x
Post by: xmixahlx on 2005-02-02 06:22:10
westgroveg >
i'm sure kuniklo has thought of wavpack since he's ported the format

kuniklo>
yes, it is easily the most popular trading format (not that i enjoy that fact).
it will (most likely) die out some time, but until then there are ...lots of shn files to support.


later
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-02-02 07:03:28
Quote
How about a screenshot?
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=270290")


[a href="http://www.caddr.com/xist/xist.jpg]http://www.caddr.com/xist/xist.jpg[/url]

May change significantly before a real release.
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-02-02 07:04:15
Quote
yes, it is easily the most popular trading format (not that i enjoy that fact).
it will (most likely) die out some time, but until then there are ...lots of shn files to support.


I'll do it if it's not too hard to integrate.  I've got to get mp3 and aac first though.
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-02-02 07:04:58
Quote
How about Wavpack support?
[a href="index.php?act=findpost&pid=270288"][{POST_SNAPBACK}][/a]


Wavpack has been supported in Xist for a long time now (days even).  It was the second format I supported after MPC
Title: crude but functional gui mpc player for os x
Post by: Althalus on 2005-02-02 08:48:10
Xist-20050201 crashes when trying to add Ogg's. (both when drag'n'drop and when using the Choose function.

Tried to add: [LJ] Pimsleur's Comprehensive Japanese Level 3 - Lesson 90.ogg
tried to rename to 90.ogg - same

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

I can add the file, it is listed and tags are read correctly, but after about 1-2 seconds it just bombs out.

If you want the full error dump just say.

One added thing, if there are already MPCs in the playlist, when trying to drag a Ogg to xist, it will clear the playlist, show the Ogg(s) wait 1-2 secs then crash.
Title: crude but functional gui mpc player for os x
Post by: rjamorim on 2005-02-02 13:00:08
Quote
http://www.caddr.com/xist/xist.jpg (http://www.caddr.com/xist/xist.jpg)

May change significantly before a real release.
[a href="index.php?act=findpost&pid=270293"][{POST_SNAPBACK}][/a]


You have good taste sir
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-02-02 17:00:28
Quote
Xist-20050201 crashes when trying to add Ogg's. (both when drag'n'drop and when using the Choose function.

One added thing, if there are already MPCs in the playlist, when trying to drag a Ogg to xist, it will clear the playlist, show the Ogg(s) wait 1-2 secs then crash.
[a href="index.php?act=findpost&pid=270300"][{POST_SNAPBACK}][/a]


Does this happen with all the oggs you've tried?  It works fine on this end but I only have a few ogg files to test with.  If they're not stereo 44k files they might cause problems now too.  Are you running this on a G4 or a G5?

I changed the drag & drop behavior of xist to replace the current playlist by default, since that's generally how I tend to listen to music.  If you want it to append the new tracks to the playlist just hold down the option key after you start the drag from the finder.

Thanks for testing!
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-02-02 17:01:00
Quote
You have good taste sir
[a href="index.php?act=findpost&pid=270330"][{POST_SNAPBACK}][/a]


Early Floyd rules, especially Piper.
Title: crude but functional gui mpc player for os x
Post by: silentperfection on 2005-02-03 03:43:16
Thank you so much for this.  Sheesh...just got a second hand mac and was worried I would never hear my over 1000 album collection on it with my mpcs.  It's working great on my Powerbook G4 550 running 10.3.7.  It's lookin good.
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-02-03 03:45:31
Quote
Thank you so much for this.  Sheesh...just got a second hand mac and was worried I would never hear my over 1000 album collection on it with my mpcs.  It's working great on my Powerbook G4 550 running 10.3.7.  It's lookin good.
[a href="index.php?act=findpost&pid=270502"][{POST_SNAPBACK}][/a]


Thanks.  Working on mp3 support right now.  It's surprisingly tricky.
Title: crude but functional gui mpc player for os x
Post by: Althalus on 2005-02-03 08:24:42
Quote
Quote
Xist-20050201 crashes when trying to add Ogg's. (both when drag'n'drop and when using the Choose function.

One added thing, if there are already MPCs in the playlist, when trying to drag a Ogg to xist, it will clear the playlist, show the Ogg(s) wait 1-2 secs then crash. [a href="index.php?act=findpost&pid=270300"][{POST_SNAPBACK}][/a]
Does this happen with all the oggs you've tried?  It works fine on this end but I only have a few ogg files to test with.  If they're not stereo 44k files they might cause problems now too.  Are you running this on a G4 or a G5?

I changed the drag & drop behavior of xist to replace the current playlist by default, since that's generally how I tend to listen to music.  If you want it to append the new tracks to the playlist just hold down the option key after you start the drag from the finder.

Thanks for testing![a href="index.php?act=findpost&pid=270361"][{POST_SNAPBACK}][/a]
G4
Files are 44.1 / 48bitrate / mono
Title: crude but functional gui mpc player for os x
Post by: Busemann on 2005-02-03 09:48:16
Quote
Thanks.  Working on mp3 support right now.  It's surprisingly tricky.
[a href="index.php?act=findpost&pid=270503"][{POST_SNAPBACK}][/a]


hmm.. im not sure mp3/aac support is what I would spend too much time on.. Well, perhaps if it is to include encoders (can't get enough lame front-ends!)
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-02-03 15:28:18
Quote
hmm.. im not sure mp3/aac support is what I would spend too much time on.. Well, perhaps if it is to include encoders (can't get enough lame front-ends!)
[a href="index.php?act=findpost&pid=270549"][{POST_SNAPBACK}][/a]


I have a lot of MP3 files, so it's pretty useful to me to be able to play them.  It looks like I only have to implement one Core Audio decoder and I'll be able to play mp3/aac/wav/alac/aiff all in one component.
Title: crude but functional gui mpc player for os x
Post by: rpop on 2005-02-09 08:50:09
20050201 works fine and looks great, and doesn't skip at all during playback either. Thank you for your efforts
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-02-09 16:47:38
Quote
20050201 works fine and looks great, and doesn't skip at all during playback either. Thank you for your efforts
[a href="index.php?act=findpost&pid=272030"][{POST_SNAPBACK}][/a]


Glad to hear it.  I've got mp3 playback working now but it does skip on my G5.  I think I need to restructure the decoding routines a little bit to prevent this.  Thanks!
Title: crude but functional gui mpc player for os x
Post by: Dead Goon on 2005-02-16 17:33:34
This looks really great. Thanks for all the work you are putting into it
Title: crude but functional gui mpc player for os x
Post by: xmixahlx on 2005-02-17 05:27:01
/me points at lamip and says "hey, look at those cool guys who could use kuniklo (the coding _machine!_ ) in the mix"
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-02-17 05:52:47
Quote
/me points at lamip and says "hey, look at those cool guys who could use kuniklo (the coding _machine!_ ) in the mix"
[a href="index.php?act=findpost&pid=274415"][{POST_SNAPBACK}][/a]


 

Does lamip work on the Mac?
Title: crude but functional gui mpc player for os x
Post by: Althalus on 2005-02-24 18:04:13
Any new betas to play with?
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-02-24 18:07:55
Quote
Any new betas to play with?
[a href="index.php?act=findpost&pid=276676"][{POST_SNAPBACK}][/a]


Sorry.  Been distracted by some real life stuff (new dog, birthdays etc).  I plan to get back to it soon.
Title: crude but functional gui mpc player for os x
Post by: SwiftBiscuit on 2005-02-25 03:37:01
Quote
Sorry.  Been distracted by some real life stuff (new dog, birthdays etc).  I plan to get back to it soon.
[a href="index.php?act=findpost&pid=276678"][{POST_SNAPBACK}][/a]

That darn real life just keeps getting in the way, eh? 
Many thanks for your work, I'm enjoying using it.
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-02-25 04:14:19
Quote
Many thanks for your work, I'm enjoying using it.
[a href="index.php?act=findpost&pid=276832"][{POST_SNAPBACK}][/a]


Glad to hear it's been useful.  Looks like to get really rock solid playback I'm going to have to rewrite the audio engine as a multithreaded ring buffer sort of thing, which is going to be slightly tricky.
Title: crude but functional gui mpc player for os x
Post by: f1losof on 2005-03-05 21:09:38
keep it up, we need you!
Title: crude but functional gui mpc player for os x
Post by: Althalus on 2005-04-26 10:37:49
Any progress?
Would be sad if this app would be filed in the dusty stack of lost-in-found
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-04-26 16:14:08
Quote
Any progress?
Would be sad if this app would be filed in the dusty stack of lost-in-found
[a href="index.php?act=findpost&pid=293436"][{POST_SNAPBACK}][/a]



What do you guys consider the main missing features at this point for a basic player?  I need to fix some crash bugs still.

I sold my G5 a while ago so I'm working mainly on a G4 laptop that I don't pull out as often.  That's the main reason I haven't made as much progress recently as I did at first.
Title: crude but functional gui mpc player for os x
Post by: Mr_Rabid_Teddybear on 2005-04-26 16:29:57
I would think the basic point and great mission of this player are to provide best possible playback support for those formats who have hitherto been unsupported/poorly supported on OS X platform... So I would think polishing and perfection of e.g. MusePack and WavPack playback complete with tag display and replaygain and such would naturally be the prime target for development focus, aming at getting the player to proper release state... (So that I can say to OS X user complaining on unplayability of MPC files: "Ah, go download Xist!". - I know I can do that today, but lot's of those people won't trust alpha software who don't even got a proper, slick web-page....) "Nifty" features can come later...
Title: crude but functional gui mpc player for os x
Post by: moozooh on 2005-04-27 00:00:27
First of all, seeking would be at least great.
Not very difficult to implement, AFAIK.
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-04-28 00:35:20
My brain's been getting fried by a sudden glut of real work at work so I don't have much juice left for more programming when I get home.

Looks like this will let up a bit in a few weeks.  I'll try and get some of this stuff nailed down then.
Title: crude but functional gui mpc player for os x
Post by: Dibrom on 2005-04-28 01:31:26
Quote
My brain's been getting fried by a sudden glut of real work at work so I don't have much juice left for more programming when I get home.

Looks like this will let up a bit in a few weeks.  I'll try and get some of this stuff nailed down then.
[a href="index.php?act=findpost&pid=293780"][{POST_SNAPBACK}][/a]


Out of curiosity, is the source for this thing available?
Title: crude but functional gui mpc player for os x
Post by: xmixahlx on 2005-04-28 03:31:52
i dunno if it was packaged, but it is in the kuniklo/mdt svn:
http://svn.caddr.com (http://svn.caddr.com)
http://svn.caddr.com/websvn (http://svn.caddr.com/websvn)


later
Title: crude but functional gui mpc player for os x
Post by: kuniklo on 2005-04-28 03:46:34
Quote
i dunno if it was packaged, but it is in the kuniklo/mdt svn:
http://svn.caddr.com (http://svn.caddr.com)
http://svn.caddr.com/websvn (http://svn.caddr.com/websvn)


later
[a href="index.php?act=findpost&pid=293809"][{POST_SNAPBACK}][/a]


This code bears the scars of my attempts to learn Cocoa so I can't vouch for it.  I'll probably do a cleanup pass at some point in the future.
Title: crude but functional gui mpc player for os x
Post by: Dibrom on 2005-04-28 09:23:08
Quote
Quote
i dunno if it was packaged, but it is in the kuniklo/mdt svn:
http://svn.caddr.com (http://svn.caddr.com)
http://svn.caddr.com/websvn (http://svn.caddr.com/websvn)


later
[a href="index.php?act=findpost&pid=293809"][{POST_SNAPBACK}][/a]


This code bears the scars of my attempts to learn Cocoa so I can't vouch for it.  I'll probably do a cleanup pass at some point in the future.
[a href="index.php?act=findpost&pid=293812"][{POST_SNAPBACK}][/a]


Cool, thanks.
Title: crude but functional gui mpc player for os x
Post by: rpop on 2008-04-21 08:06:21
My apologies for resurrecting an old thread, but any chance this project's still alive somewhere? I'm rather limited when it comes to musepack on OS X solutions at the moment.
Title: crude but functional gui mpc player for os x
Post by: Nick E on 2008-04-21 09:12:58
My apologies for resurrecting an old thread, but any chance this project's still alive somewhere? I'm rather limited when it comes to musepack on OS X solutions at the moment.


This plays Musepack files:

http://sbooth.org/Play/ (http://sbooth.org/Play/)
Title: crude but functional gui mpc player for os x
Post by: Antonski on 2008-04-21 14:17:19
A list with aplications supporting Musepack can be found here (http://musepack.net/index.php?pg=pro).
I guess most of them support only sv7, though.
~
Title: crude but functional gui mpc player for os x
Post by: rpop on 2008-04-24 07:22:30
Unfortunately Play seems to have bad memory leaks (balloons to 1.5 GB RAM here), but Cog does a better job. Thanks for the suggestions.