Re: [Pykaraoke-discuss] Kap Release

2009-03-10 Thread Jay R. Ashworth
- John Schneiderman joh...@meent.biz wrote:
 Just wanted to announce the release of the DJ media player sister
 project. It is ready in an alpha state. You can find the code at:
 http://kap.nongnu.org .  
 Look forward to your comments and suggestions. It currently only
 supports the use of MPlayer, but it will eventually support many more players.

No screenshots; we gotta actually build it to see what it looks like, huh?

:-)

Cheers
-- jra
-- 
Jay R. Ashworth   Baylink  j...@baylink.com
Designer The Things I Think   RFC 2100
Ashworth  Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA  http://photo.imageinc.us +1 727 647 1274

I wondered Why is that Frisbee getting bigger?  And then it hit me.

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Pykaraoke-discuss mailing list
Pykaraoke-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pykaraoke-discuss


Re: [Pykaraoke-discuss] DJ Player

2009-02-20 Thread Jay R. Ashworth
- John Schneiderman joh...@meent.biz wrote:
   Actually that is certainly I would be interested in. I'm actually
 looking at designing it so that it's a single unified interface. It's quite
 cumbersome to have to switch between multiple windows when running shows. The
 players will be separate, but the search stuff will be integrated into it's
 own areain the player. 
 
   What are you ideas for singer and rotation management? I have added a
 basic prompt for adding the singer. 

At last!

A coder, who wants to hear my design ideas!

(Those are hard to come by... :-)

I don't have a mockup on anything but paper, but I'll try to describe what I 
had in mind, and maybe I can find a UI mockup builder somewhere.


Sit down, get caffeine, and don't think I'm placing an order, here.  :-)

(and, on re-reading this, yes, I do actually eventually answer your question 
about
rotation management, at least in part...)

===

Divide your screen into 3 vertical stripes.

Karaoke goes on the left, music in the middle, 'sound buttons' on the right 
(look at Rivendell's Sound Panel for an idea of what I mean).

Each panel has a player window at the bottom; sort of a stripped down
XMMS window.  Each player shows the track name, total time, time remaining,
and a play/pause icon -- or the background color changes from pastel green
to pastel red, or something to show what's running.

Each player has a Play button, a Pause button, a Cue button (rewind to start) 
and
an Eject button.  Each button is separate so you don't have to worry about 
debouncing
a touchscreen (though I personally would probably go buy one of these:

http://www.piengineering.com/xkeys/xkstick.php

and put real labels in the keys; I like hard buttons.

For each player, you have the playlist (upcoming stuff) and some spill (ejected 
stuff, 
which you might need to uneject -- uneject can be a softkey; preferably a 
popup menu
that says add as next, add at end.

For the music player, that's pretty much it, except that you need a way to add 
things to 
the play list; just a popup search window with (preferably incremental) search 
-- and my 
favorite approach is sort all the things that *start* with the string first, 
then all the
other things which *contain* it, like my BlackBerry does with its phonebook.

On the karaoke side, though, you need a bit more control.

I'm a strict rotation guy: the order you first sing in is the order you sing 
in all night;
new singers go at the end.  Some people modify it slightly for new singers; a 
common one is 
after the first rotation, alternate old and new singers 1:1, 2:1 or 3:1.

But you need new singer, and you need add song for this singer... and I'd 
really like 
to have it keep track of each singer's requested songs, and provide an easy 
popup way to let the 
KJ handle Oh, could I sing that second song first? requests, as well as 
snapshot add-ons.
(I come from a service employee background, and have little tolerance for 
uncooperative KJs. :-)

Generally, though, the Karaoke play list should look like

Drew - Put Your Head on my... (SC8463)
JR - Somewhere in the Night (KH27)
Billy - We Just Disagree  (AH2008)

And provide a soft key to pop up the singer-list management stuff if necessary.

(I'm a ringer; I really care what label the track came off of, so I preserve 
that
all the way through the system.)

(I'm also looking at smart song-request terminals, probably using Fujitsu Point
1600 touchscreen pads and wifi, so external access to the singer management 
stuff
is important to me -- using a DBMS for that instead of flat files is a plus).

===

Still breathing?  :-)

As you may imagine, I'm seriously considering trying to take it out on the road 
and
make some money with it, so stability and ease of use in that environment is 
important 
to me as well.

Things like use windows, not dialog boxes, for management functions, so you 
don't lock
up the realtime interface *ever*, and that sort of stuff...

Cheers,
-- jra

Cheers,
- jra

-- 
Jay R. Ashworth   Baylink  j...@baylink.com
Designer The Things I Think   RFC 2100
Ashworth  Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA  http://photo.imageinc.us +1 727 647 1274

 Those who cast the vote decide nothing.
 Those who count the vote decide everything.
   -- (Josef Stalin)


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Pykaraoke-discuss mailing list
Pykaraoke-discuss

Re: [Pykaraoke-discuss] Time Left

2008-09-24 Thread Jay R. Ashworth
- Kelvin Lawson [EMAIL PROTECTED] wrote:
 Hi John,
 
  Forgot to add that the format for the status message I'm considering is:
  [Current Time/Time Remaining] Artist - Title
 
 Sounds good to me, the Playing text is redundant.

I concur, but please let me suggest that you try to make sure the numbers are
constant-width, and precalculate enough that you can fill empty places with 
spaces; having that line jump around on the screen every second will drive 
people nuts.

Cheers,
-- jra
-- 
Jay R. Ashworth   Baylink  [EMAIL PROTECTED]
Designer The Things I Think   RFC 2100
Ashworth  Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA  http://photo.imageinc.us +1 727 647 1274

 Those who cast the vote decide nothing.
 Those who count the vote decide everything.
   -- (Josef Stalin)


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Pykaraoke-discuss mailing list
Pykaraoke-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pykaraoke-discuss


[Pykaraoke-discuss] So, what's everyone doing with PYK?

2008-01-18 Thread Jay R. Ashworth
There hasn't been a lot of traffic on this list lately, which means one
of two things:

1) everyone's given up, or
2) PYK is Good Enough now.  :-)

Ok, people, which is it?

Myself, I'm just about to implement, having lined up a potential show
at a restaurant a friend just bought.  Kelvin: did we ever look into
the break the playback window apart from the management window thing?

Will?  How were you dealing with that?

Cheers,
- jra
-- 
Jay R. Ashworth   Baylink  [EMAIL PROTECTED]
Designer The Things I Think   RFC 2100
Ashworth  Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA  http://photo.imageinc.us +1 727 647 1274

 Witty slogan redacted until AMPTP stop screwing WGA

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Pykaraoke-discuss mailing list
Pykaraoke-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pykaraoke-discuss


Re: [Pykaraoke-discuss] how to display Polish chars from *.kar?

2007-12-27 Thread Jay R. Ashworth
On Sun, Dec 16, 2007 at 08:55:24PM +0100, Maciej Sieczka wrote:
 I need to play *.kar with Polish characters. No matter what
 is typed in Config - Default charset, Pykaraoke 0.5.1 on
 Ubuntu Dapper renders Polish characters wrong. I tried
 iso-8859-2, cp-1250, UTF-8 and still those characters are
 garbled, in the same way all time, like if the charset
 definition was ignored.
 
 Is thare anything that could be done about it? New Year's
 Eve is coming :).

So it is.  Any ideas on this, Kelvin?  (He wrote it; he'd be the best
person to ask...)

Cheers,
-- jra
-- 
Jay R. Ashworth   Baylink  [EMAIL PROTECTED]
Designer The Things I Think   RFC 2100
Ashworth  Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA  http://photo.imageinc.us +1 727 647 1274

 Witty slogan redacted until AMPTP stop screwing WGA

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Pykaraoke-discuss mailing list
Pykaraoke-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pykaraoke-discuss


Re: [Pykaraoke-discuss] Not sure if I'm asking a stupid question or not...

2006-09-18 Thread Jay R. Ashworth
[ back on-list ]

On Mon, Sep 18, 2006 at 02:03:52PM -0600, Jack Downes wrote:
 Hmm, well, what about icecast?  do you think there's anway to use 
 pykaroke's ability to display text,
 and use icecast to send the music?

The problem is that for it to be of any use, the lyric player has to
clock off the music, which means that the code doing the playing has to
all be on the same machine. 

And if you just ship the mp3+bin files, you're likely to have copyright
problems, anyway; I would *love* it if you did it that way, cause I'd
have no problems stealing them.  :-)

I suspect pre-rendering to FLV and shipping to a flash player is the
best goal; a version of the cdg player that would permit rendering to a
file (I believe the current one won't) is, if I understood boss-man
correctly,  under consideration.

Cheers,
-- jra
-- 
Jay R. Ashworth[EMAIL PROTECTED]
Designer  Baylink RFC 2100
Ashworth  AssociatesThe Things I Think'87 e24
St Petersburg FL USA  http://baylink.pitas.com +1 727 647 1274

That's women for you; you divorce them, and 10 years later,
  they stop having sex with you.  -- Jennifer Crusie; _Fast_Women_

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Pykaraoke-discuss mailing list
Pykaraoke-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pykaraoke-discuss


Re: [Pykaraoke-discuss] New ripper

2006-06-26 Thread Jay R. Ashworth
On Mon, Jun 26, 2006 at 12:46:59AM +0100, Kelvin Lawson wrote:
  From reading about other people who have tackled the 
 software-deinterleave process (e.g. the Audiograbber guy) my 
 understanding was that this was a pain-in-the-ass that you can avoid by 
 using RW drives. I'd be surprised if there was anything particularly 
 complicated to do so we must be missing something simple. You said you 
 looked at the bin file - did you compare it with the RW_RAW output from 
 the same disk? If you have an example of the first few KB output using 
 both modes I'd be interested to see it.

Could some testing software be whipped up?  I wouldn't object to
spending the money on some specific CD+G disc (so that we all have the
same baseline) if there was something I could run against that disc to
diagnose what the drive was shipping over...

Cheers,
-- jra
-- 
Jay R. Ashworth[EMAIL PROTECTED]
Designer  Baylink RFC 2100
Ashworth  AssociatesThe Things I Think'87 e24
St Petersburg FL USA  http://baylink.pitas.com +1 727 647 1274

 A: Because it messes up the order in which people normally read text.
 Q: Why is top-posting such a bad thing? 
 
 A: Top-posting.
 Q: What is the most annoying thing on Usenet and in e-mail?

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Pykaraoke-discuss mailing list
Pykaraoke-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pykaraoke-discuss


Re: [Pykaraoke-discuss] The Other End: ProShow; a playback controller for commercial hosting

2006-06-25 Thread Jay R. Ashworth
On Sun, Jun 25, 2006 at 01:36:00PM -0400, William Ferrell wrote:
On 6/25/06, Jay R. Ashworth [EMAIL PROTECTED] wrote:
  Ok, I'll admit; that's *almost* all I've got so far.  :-)
  Not quite: I have a paper sketch of a screen layout.
  I need to figure out Glade, which I gather is the prototyping
  environment of choice for complicated user interfaces.
  As I've discussed before, though, primarily with Will, who's done much
  of this already, though not all in one place, my goal is to create a
  one-screen, full-screen interface that handles multiple playlists
  (karaoke, background, sound-effects, etc), possibly driving multiple
  outputs (my Terratec Phase 26USB will generate 3 stereo pairs to feed
  my mixer), and potentially interface with wireless songbook tablets (my
  current target is the Fujitsu Point 510 or 1600; the touchscreens of
  which are 800x600, color, and don't require a pen).
  How *have* things been going with your lashup these days?
 
I've relocated to Florida (Palm Bay), and am trying to set
up shop here as a KJ.

Well, no shit.  Welcome to sunny (where, by sunny, right now I mean
'rainy') Florida.

  I'm making some progress in that area
(feels like more sideways than forward movement though),

I can understand that.

but software projects are paying the bills right now. I've got

Was that what brought you here?

a lot of things as far as a hosting platform working on a by
hand basis; I use JACK for low-latency audio production, mplayer
for video/multimedia playback, xmms for filler music playlist
management and visualizations (projectM), and Firefox to display
rotation information on the screen. PyKaraoke is used for actual
CDG playback; I don't use 100% of the screen for it, but instead
leave a bar at the top and bottom now (top shows name of singer and
song title, bottom shows a smooth line-by-line scroller that shows
the next few singers and promotional texts). The HTML in use now
auto-generates the bulk of the screen via Javascript; I just fill
in names, song titles, and group assignments, and mark who's up,
and it auto-generates the rest, including the grid, who's next,
etc. There's a lot left to automate, as for now I run things by
hand as far as firing off new CDG songs, videos, etc.

Yep.

And it's that by hand stuff I want to package up and automate. 

  And where's your blog again?

[2]http://willfe.com/ I haven't written much in it lately, mostly
because the biggest reason I moved here in the first place turned
out to be one hell of a lie (it involved a woman, go figure) and
there just hasn't been much motivation to actually write.

Wow.  That blew up?  Damn; sorry, guy.

Cheers,
-- jr 'well, not really; it's just what I say' a
-- 
Jay R. Ashworth[EMAIL PROTECTED]
Designer  Baylink RFC 2100
Ashworth  AssociatesThe Things I Think'87 e24
St Petersburg FL USA  http://baylink.pitas.com +1 727 647 1274

 A: Because it messes up the order in which people normally read text.
 Q: Why is top-posting such a bad thing? 
 
 A: Top-posting.
 Q: What is the most annoying thing on Usenet and in e-mail?

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Pykaraoke-discuss mailing list
Pykaraoke-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pykaraoke-discuss


Re: [Pykaraoke-discuss] The Other End: ProShow; a playback controller for commercial hosting

2006-06-25 Thread Jay R. Ashworth
On Sun, Jun 25, 2006 at 02:13:48PM -0400, William Ferrell wrote:
On 6/25/06, Jay R. Ashworth [EMAIL PROTECTED] wrote:
 
  On Sun, Jun 25, 2006 at 01:36:00PM -0400, William Ferrell wrote:
  I've relocated to Florida (Palm Bay), and am trying to set
  up shop here as a KJ.
  Well, no shit.  Welcome to sunny (where, by sunny, right now I mean
  'rainy') Florida.
 
Indeed. It's quite a bit nicer than Colorado's weather though.

I'll bet.

  but software projects are paying the bills right now. I've got
  Was that what brought you here?
 
No, not really. A woman did. You'd think I'd have learned from the first
time I moved from one state to another to live with somebody -- maybe I'll
learn from this one.

So I found out further down, and forgot to go back and edit this.  Nice
to have a portable skill, though, isn't it?

  There's a lot left to automate, as for now I run things by
  hand as far as firing off new CDG songs, videos, etc.
  Yep.
  And it's that by hand stuff I want to package up and automate.
 
Same here. I've got a Python module built that can automatically
handle song rotations (i.e. you hand it names, songs, etc., and
it timestamps each submission (and new singer), counts total
performances by each singer per night, and performs weighted,
balanced rotation management to keep the average wait time per
singer down.

How does that play in Peoria?  Most of the KJs in my market use strict
rotation, and most of the circuit singers don't well tolerate anyone
who doesn't.  Including me.  :-)

Ironically I'm not using that right now at all since
I put the new display software together. I'm curious about the new
hardware you're talking about (with touch-screens not requiring a
pen, etc.); we'd previously talked about older/cheaper hardware but
I'd like to see these new targets.

Cool.  I'll try to find you the best page on them to look at.

   And where's your blog again?   [2]http://willfe.com/ I
  haven't written much in it lately, mostly  because the biggest
  reason I moved here in the first place turned  out to be one
  hell of a lie (it involved a woman, go figure) and  there just
  hasn't been much motivation to actually write.

  Wow. That blew up?
  Damn; sorry, guy.

Well, the experience has taught me (the hard way) that she'd not
have been a good mate anyway. I could probably have handled just
about any of her quirks and the many poor choices she's made,
regarding me, herself, and others in her life, but the continuing
lying (yes, present tense) that she insists on pulling has proven
itself to just be part of her nature, and that is something I can't
deal with.

Ruh roh.

Yeah; good call.

 She acts apologetic and offers an olive branch (classic
let's just be friends) when she sees what this has done to me,
but to this day she maintains an image of the world that she'd
like me to see, and I know much of it to be false. For all her
intellect, she honestly doesn't seem to understand that she lives
in a world where other people she's mucked with aren't afraid to
talk to me about things she's done or said.

Good.

Glad you jumped early enough, though, perhaps, not as early as you'd
have liked.

Cheers,
-- jra
-- 
Jay R. Ashworth[EMAIL PROTECTED]
Designer  Baylink RFC 2100
Ashworth  AssociatesThe Things I Think'87 e24
St Petersburg FL USA  http://baylink.pitas.com +1 727 647 1274

 A: Because it messes up the order in which people normally read text.
 Q: Why is top-posting such a bad thing? 
 
 A: Top-posting.
 Q: What is the most annoying thing on Usenet and in e-mail?

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Pykaraoke-discuss mailing list
Pykaraoke-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pykaraoke-discuss


Re: [Pykaraoke-discuss] [HOWTO] Implementing pitch-shifting and crossfading (for filler music/other sources) for PyKaraoke on Linux with JACK

2006-04-10 Thread Jay R. Ashworth
On Sat, Apr 08, 2006 at 11:19:22AM -0600, William Ferrell wrote:
  [ lost address; pressed for time; please reply back onto list? ]
 
 Not a problem :) I've done that before ;)

Tnx.

  On Fri, Apr 07, 2006 at 08:06:06PM -0600, William Ferrell wrote:
   On 4/7/06, Jay R. Ashworth [EMAIL PROTECTED] wrote:
On Fri, Apr 07, 2006 at 12:29:58PM -0600, William Ferrell wrote:
 This HOWTO attempts to document how the whole thing fits together, how
 to implement it on your own system, and how to use it in production at
 a karaoke (or really any DJ'ed) show.
   
This is really spiffy.  I'm not sure how easily I'm going to be able to
integrate it with the control-top I want to construct (which I've
finally, at least, sketched out, and am trying to learn Glade to mock
up), but...
  
   Yeah, I'm still trying to get some of the interface elements down
   better. It's usable right now thanks to Enlightenment but it could
   definitely be better.
 
  I will Try Really Hard to get a mock up of my design into a format you
  can look at, this week.
 
 Excellent, thank you!

Even if I have to do it in CorelDraw.  :-)

Are there any good interface mockup programs?

Specifically, it can talk to my Phase 26 USB box, with 3 stereo outputs
(I'm very much a real mixing board kind of guy).
  
   Ooooh, spiffy :) I likey :)
 
  Terratec, specifically.  Has a simultaneous input as well, with a mic
  pre.
 
 I need to dig around and find one of these; this takes me a step
 closer to an all-digital show.

I got mine from JB on eBay; $150, I think.

   The site claims it can be controlled via the ALSA sequencer, though,
   so it looks like it's possible.
 
  Ok.  In my case, again, it's because I want the control surface to be
  all-encompassing; I'm planning on a 17 touchscreen (with a
  micro-keyboard for entering search terms, optionally -- you could do it
  with a popup keyboard).
 
 [droolification]

You've been watching Wicked too much... :-)

And, BTW; kudos on the site; blogging with MW isn't easy.
  
   Thanks, and you're right, it's a pain in the ass. I had to modify code
   to make that work. I'm tempted to switch it to Plone instead.
 
  I was looking at using Category tags, and a custom extension based on
  DPL 2, to do it myself.  Cause having each entry be a first-class
  article is useful as hell.
 
 http://willfe.com.nyud.net:8080/index.php/My_MediaWiki_Hacks
 
 Go read that -- it describes what I did to implement exactly what you
 describe. And I hacked DPL2 ;) so that's exactly what you want. I'm
 using Categories to tag things, too, and all entries are first-class
 articles.

Spiffy cool.

 The link is Coral Cache-ified by the way because I'm expecting heavy
 traffic in a few days; a not-so-friendly company is threatening to sue
 me because I posted my experience with them on my site, and
 negotiations broke down recently. I went public with the details, and
 Tom Martino (the Troubleshooter) is going to have me on his radio
 program Monday to hash this stuff out. Heh. This should get
 interesting fast :)

Can't wait to hear how *that* goes...

Cheers,
-- jra
-- 
Jay R. Ashworth[EMAIL PROTECTED]
Designer  Baylink RFC 2100
Ashworth  AssociatesThe Things I Think'87 e24
St Petersburg FL USA  http://baylink.pitas.com +1 727 647 1274

 A: Because it messes up the order in which people normally read text.
 Q: Why is top-posting such a bad thing? 
 
 A: Top-posting.
 Q: What is the most annoying thing on Usenet and in e-mail?


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Pykaraoke-discuss mailing list
Pykaraoke-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pykaraoke-discuss


Re: [Pykaraoke-discuss] [HOWTO] Implementing pitch-shifting and crossfading (for filler music/other sources) for PyKaraoke on Linux with JACK

2006-04-10 Thread Jay R. Ashworth
On Mon, Apr 10, 2006 at 09:34:00PM +0100, Kelvin Lawson wrote:
[ I said: ]
 Here's a curious idea: I wonder how hard it would be to recast Kelvin's
 rendering code as an Mplayer codec?  Did we already talk about this?
 
 I've fancied doing this for some time but haven't got round to it yet. 
 Making an mplayer/ffmpeg codec would give you CD+G for free with a whole 
 bunch of video players, as well as those commercial DVD players and 
 other devices that use ffmpeg.

Good point; I hadn't thought about shoving it down the extra layer.

Removing all the SDL glue would probably make my integration work
easier, too...

 I'd need to rewrite it in C but it should translate fairly easily, 
 especially given what we now know about CD+G.

Which, presumably, is more than you did before the first cut.  :-)

 In fact the only missing piece apart from digital mixing is a lack of
 straight-from-CD CD+G player, which is something I'm interested in
 doing anyway, and I think Python can do it. Any hints or thoughts,
 Kelvin?
 
 I've given it some consideration in the past but not in great detail. 
 Pygame can play audio tracks on a CD but (unsurprisingly) there is no 
 facility to read the subchannel data.

Hmmm... Is there a standardized way to get raw tracks off a Redbook CD
in Linux?  Doesn't XMMS do some of this?

 Initial thoughts on the simplest thing to implement would be to combine 
 a cdrdao/cdgrip pass with pygame's CD playback. It's just a hack but it 
 buys you something. After selecting a track, you spawn off a process to 
 rip just the CD+G data without any MP3 encoding. You can then play this 
 back as usual with pycdg.py while the CD track plays. Should be 
 relatively quick to implement but you pay the price of the time spent 
 doing the rip before playback.

Could you sync it, though?

 Doing it *properly*.. that's a different thing. I don't know, for 
 instance, what the usual method would be for extracting the subchannel 
 data on Linux. Whether you'd need to use a library like cdrdao, or 
 whether it's just as easy to get what you need straight from the OS. I'm 
 thinking something like Python bindings for cdrdao to read the 
 subchannel data - and if you're doing this in real time then presumably 
 you'd want to read the audio data at the same time, rather than have two 
 proceses seeking around the disk. I'd need a deeper look into the likes 
 of cdrdao to comment any further than that.

That sounds like a higher-difficulty task than the first one.  :-)

 The link is Coral Cache-ified by the way because I'm expecting heavy
 traffic in a few days; a not-so-friendly company is threatening to sue
 me because I posted my experience with them on my site, and
 negotiations broke down recently. I went public with the details, and
 Tom Martino (the Troubleshooter) is going to have me on his radio
 program Monday to hash this stuff out. Heh. This should get
 interesting fast :)
 
 Itching to hear how this pans out.

aol

Cheers,
-- jra
-- 
Jay R. Ashworth[EMAIL PROTECTED]
Designer  Baylink RFC 2100
Ashworth  AssociatesThe Things I Think'87 e24
St Petersburg FL USA  http://baylink.pitas.com +1 727 647 1274

 A: Because it messes up the order in which people normally read text.
 Q: Why is top-posting such a bad thing? 
 
 A: Top-posting.
 Q: What is the most annoying thing on Usenet and in e-mail?


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Pykaraoke-discuss mailing list
Pykaraoke-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pykaraoke-discuss


Re: [Pykaraoke-discuss] Re: FINALLY -- ghod I hate SuSE

2005-12-14 Thread Jay R. Ashworth
On Tue, Dec 13, 2005 at 11:00:25PM +, Kelvin Lawson wrote:
 OK chaps I've knocked up a quick proof of concept. Jay, could you try 
 out the attached pycdg.py please? Basically I've just divided the screen 
 into four segments. I now only do the scaling on the segments that have 
 been updated. I'm not sure how it will pan out, so before I tidy it up 
 and do it properly, could you give this one a go? FPS is set to 30.

I've downloaded it; I'll check it today.  Saw your note about depth;
I'll play with that too.

Cheers,
-- jra
-- 
Jay R. Ashworth[EMAIL PROTECTED]
Designer  Baylink RFC 2100
Ashworth  AssociatesThe Things I Think'87 e24
St Petersburg FL USA  http://baylink.pitas.com +1 727 647 1274

Space is called 'space' because there's so much *space* there.
- John Walker, of Fourmilab, on Trek's End


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Pykaraoke-discuss mailing list
Pykaraoke-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pykaraoke-discuss


[Pykaraoke-discuss] Rip-rap

2005-12-13 Thread Jay R. Ashworth
Or something like that.  Herewith, my wrapper for ripping CDG's.

=8===
# rip a CDG into the hierarchy
#
# written Sun Dec 11 14:34:15 EST 2005 by [EMAIL PROTECTED]

RIPHOME=/home/jra/psk/rips
DEVICE=/dev/hdc
LABEL=$1
DISC=$2

cd $RIPHOME

if [ -z $LABEL ]
then
echo -n Enter the label code: 
read LABEL
else
echo Label code: $LABEL
fi

[ ! -d $LABEL ]  mkdir $LABEL

cd $LABEL; pwd

if [ -z $DISC ]
then
echo -n Enter the disc number: 
read DISC
else
echo Disc number: $DISC
fi

if [ -d $DISC ]
then
echo That disc has already been ripped.
cd $DISC; pwd
else
mkdir $DISC
cd $DISC; pwd

echo Ripping disc image...
time cdrdao read-cd \
--driver generic-mmc-raw \
--device $DEVICE \
--read-subchan rw_raw \
mycd.toc
echo Done.

fi

echo

echo Extracting and encoding...
time cdgrip --delete-bin-toc --with-cddb mycd.toc
rename track ${LABEL}${DISC}- *
echo
ls -CF
echo
eject /dev/hdc
echo Done.
=8===

It probably ought to have an *overall* time tracking facility, and some
logging.  And I need to update my cdrdao to permit slowing down; I'm
ripping some bad tracks.  (Perhaps a way to run the parser and
re-rip on errors?)  But it's a start.

Usage: ripcdg sc 8119

Cheers,
-- jra
-- 
Jay R. Ashworth[EMAIL PROTECTED]
Designer  Baylink RFC 2100
Ashworth  AssociatesThe Things I Think'87 e24
St Petersburg FL USA  http://baylink.pitas.com +1 727 647 1274

Space is called 'space' because there's so much *space* there.
- John Walker, of Fourmilab, on Trek's End


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Pykaraoke-discuss mailing list
Pykaraoke-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pykaraoke-discuss


Re: [Pykaraoke-discuss] FINALLY -- ghod I hate SuSE

2005-12-12 Thread Jay R. Ashworth
On Mon, Dec 12, 2005 at 04:56:28AM -0700, William Ferrell wrote:
 On 12/11/05, Kelvin Lawson [EMAIL PROTECTED] wrote:
   I note that it doesn't handle full-screen well (1280x1024), speedwise;
   is there something I should be doing there?
 
  The CPU horsepower is heavily affected by the display update rate, I
  think v0.4 went out with a default 60 frames per second. I've lowered
  this to 10fps in CVS. To lower it in your installation, search for fps
  in pycdg.py.
 
 The only problem with this is that the FPS is actually somewhat
 important; 15 fps is a bare minimum (from the testing on different
 tracks I've tried it with) for usable singing (it seems jumpy even
 at 15 FPS, though it's servicable). 30 FPS is definitely better, and
 60 FPS is what the hardware players I've worked with produce.

Well, only in that they do 2 fields per frame.  :-)

Apologies, BTW, guys; my last 2 replies were inadvertantly off list;
feel free to reply them back on.

  Will also committed a mod in CVS to use hardware acceleration if
  available in full-screen mode - sounds like it would be worth giving
  that a go as well.
 
 It's enabled by default in CVS but it doesn't actually seem to help at
 all (that I can detect). It may just not be working or I may have set
 something up incorrectly. Having more pairs of eyes looking that over
 would be helpful :)

Hmmm...

  I made a development version that allows you to send to another X
  display, but not dual-display yet. Dual-display is going to need some
  architectural changes... something like a single audio playback and
  syncing module that sends the display data to other display processes.
  There's no built-in support in pygame for selecting X displays so it
  would mean running a new python process with DISPLAY= in front.
 
 Don't forget about xinerama-style support -- one desktop stretched
 across two physical display devices. This is what I use now (the
 notebook display is used for my stuff during a show, then the
 VGA-to-NTSC adapter showing the other half of the desktop is used for
 the who's up cards, video clips, etc.

I don't know that I'll have Xinerama support on the Tritton USB VGA
dongles I'll need to use; I plan to have 3 or 4 channels of video going
simultaneously.  I *may* get by with one X server; I may not.

Optimally, I'd like to have 4 Xvnc servers and 4 real ones; if one gets
locked up mid show, it's more likely to be a hardware server; that wasy
i could restart it without breaking the show.  I don't know that I'll
be doing that on an laptop, of course.

 pycdg.py plays along just fine by specifying the correct geometry and
 position, too. I can routinely squeeze 50 FPS out of it at 800x600. If
 I try for 60 FPS, it loses sync with the audio and isn't usable.

Mine is much less happy than that, but, of course, that's at 1280x1024.

Can fullscreen mode change the scan rate of the X server?   Set it to
640x480x8, and the problem would likely evaporate.

Cheers,
-- jra
-- 
Jay R. Ashworth[EMAIL PROTECTED]
Designer  Baylink RFC 2100
Ashworth  AssociatesThe Things I Think'87 e24
St Petersburg FL USA  http://baylink.pitas.com +1 727 647 1274

Space is called 'space' because there's so much *space* there.
- John Walker, of Fourmilab, on Trek's End


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Pykaraoke-discuss mailing list
Pykaraoke-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pykaraoke-discuss


[Pykaraoke-discuss] FINALLY -- ghod I hate SuSE

2005-12-11 Thread Jay R. Ashworth
I have it working now.

I had to build SDL from tarball source -- the RPM wouldn't even
./configure, much less build a binary (which was my preferred
approach).

Building it required installing slang-devel and smpeg-devel, both of
which were in the SuSE 9.3 collection, and, I don't *think*, anything
else.

I note that it doesn't handle full-screen well (1280x1024), speedwise;
is there something I should be doing there?

My production environment will be a little tiny window on my KJ
display, and probably 640x480x8 on the playback monitor (are we doing
dual-monitor yet?  Or will I have to do an X-splice somehow?); will
that be fast enough to keep up?

And, finally, I note that my rip was kinda messy.  Will cdparanoia
properly extract the subcode?  Is there error correction *on* the
subcode?  Or am I going to have to preview all 4000 tracks before I
turn them lose?

(Will: there's another button for the interface: Problem with track --
rerip  :-)

Cheers,
-- jra
-- 
Jay R. Ashworth[EMAIL PROTECTED]
Designer  Baylink RFC 2100
Ashworth  AssociatesThe Things I Think'87 e24
St Petersburg FL USA  http://baylink.pitas.com +1 727 647 1274

Space is called 'space' because there's so much *space* there.
- John Walker, of Fourmilab, on Trek's End


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Pykaraoke-discuss mailing list
Pykaraoke-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pykaraoke-discuss


Re: [Pykaraoke-discuss] DJ/KJ in Denver Checking In

2005-11-27 Thread Jay R. Ashworth
On Sun, Nov 27, 2005 at 02:19:57PM -0700, William Ferrell wrote:
  For sufficiently large values of derivatives.
 
Hehehehe yeah :)

RPM-based distributions.

Behold this spiffy magic:
#!/usr/bin/env python
As  far  as  I  know,  every  distro sets up env to spew the correct
location  of python (the above shebang has never failed to work for me
on any system I've tried it on).

Oh, yes; I'd forgotten about that.  I've seen that trick mentioned
before.

The only people it might screw are those with more than one python
installed, with the same interpreter name in different places in their
paths.

Cheers,
-- jra
-- 
Jay R. Ashworth[EMAIL PROTECTED]
Designer  Baylink RFC 2100
Ashworth  AssociatesThe Things I Think'87 e24
St Petersburg FL USA  http://baylink.pitas.com +1 727 647 1274

Space is called 'space' because there's so much *space* there.
- John Walker, of Fourmilab, on Trek's End


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Pykaraoke-discuss mailing list
Pykaraoke-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pykaraoke-discuss


Re: [Pykaraoke-discuss] DJ/KJ in Denver Checking In

2005-11-27 Thread Jay R. Ashworth
On Sun, Nov 27, 2005 at 02:29:11PM -0700, William Ferrell wrote:
Doesn't  the  Linux Standard Base (or whatever the [EMAIL PROTECTED] 
 it's called)
provide  some  standard  for where apps go? PyKaraoke and cdgtools are
small enough that they can reasonably just live in /usr/bin.

That's what it's called, and yes, it has answers to such questions.

http://www.linuxbase.org/spec/

I'm actually keen to implement an internal MP3/OGG/WAV player
anyway; we need that to be able to do pitch shifting and time
munging, and then we get seeking (coding the CDG seeking part will
be fun ;).

Don't forget FLAC and MPEG (being able to rip CD-V's would be cool,
too, and, for that matter, the dedicated could rip LaserDiscs with a
capture card.

Is the proper approach here to locate the already-extant project which
is closest to what we need, and submit patches?

And, BTW, Will; could you check your mailer for an HTML knob, and flip
it off?

Cheers,
-- jra
-- 
Jay R. Ashworth[EMAIL PROTECTED]
Designer  Baylink RFC 2100
Ashworth  AssociatesThe Things I Think'87 e24
St Petersburg FL USA  http://baylink.pitas.com +1 727 647 1274

Space is called 'space' because there's so much *space* there.
- John Walker, of Fourmilab, on Trek's End


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Pykaraoke-discuss mailing list
Pykaraoke-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pykaraoke-discuss