Yahoo Groups archive

Disklavier

Index last updated: 2026-04-28 23:20 UTC

Message

Re: Alternative to tablet and PDA for MKIV

2007-11-14 by kgoroway

<last one that may be a duplicate>

Update on progress:

It seems that everyone who has tried this has gotten it to work now. 
Anyone on a platform other than Windows?

In place editting of album titles and song titles is in, but I did it
wrong...It's hitting the database directly instead of sending the
commands to make it happen.  The side affect of this is that the PDA
and or Tablet won't pick up the change until they re-read the data for
some other reason.  I'll fix that shortly.  You access this feature by
highlighting the song or album to rename, and hitting F2.  This only
works on pianosoft and user catalogs.

You can toggle playlist viewing on and off from the Window menu at the
top.  Currently, you can't "search" in playlists...is this a requirement?

Drag and drop in java was harder than I would have guessed, but it's
all done now.
The following operations are going to be implemented, some are already
working.
From the left hand pane, to the left hand pane:
1) Drop a song in a different album (either a move, or a copy of the
song) Standard drag is move.  If you hold down the CTRL key while
dragging, the icon changes to indicate that you will be copying the song.
2) Drop a song in the same album.  This is a rearrangement of the play
order. (won't do a copy)

From the right hand pane (playlists) to the right hand pane (a
manipulation of playlists)
1) Drop a song in a different album (either move or copy) adds that
song to the other playlist
2) Drop a song in the same album (either move or copy) a move is a
rearrangement of play order, a copy puts the song in the playlist again.

From the left hand pane to the playlist pane (adding songs to playlists)
1) Drop a song in an album.  Add that song to the album, and insert it
into the play order where it was dropped.  It won't do a move, only copy.

The REALLY nice part about all of this is that you get to determine
the play order at the same time as you add the album.  The PDA always
adds songs to the end of the playlist, and then you have to go through
the sorting after that...Yuck (but no easy way to fix that on the PDA).

I've added the ability to remove (delete) songs from playlists only. 
Right now, it is on a right click context menu.  Should I support the
"DEL" key, or is that too easy to hit?  Currently there is no
confirmation dialog...it just does it.

It turns out that reorganizing the order of the songs due to and add
and insert causes a whole bunch of coding headaches.  You can't just
fire the two commands at the piano one after the other.  You have to
wait for it to tell you that it's ready for file management commands
again.  This is made more difficult by the threading and the sockets.
 That part is solved for now, but it leads to another problem.  When
you insert a song in the playlist it gets a new songId.  The piano
tells you that you need to refresh your view, but that means
rebuilding the tree again.  That's ugly.  So, I've got to work on code
to sync the old tree with the new information.  That's next.

I hope to have a fully working playlist supported drag-n-drop version
out by this weekend.

In the meantime, I've gotten approval for a sourceforge project, and
will likely be moving the project there (and all communication about
it!) to relieve this group of rambling emails like this one. :-)

https://sourceforge.net/projects/dkvbrowser/

-Kevin



--- In disklavier@yahoogroups.com, Kevin Goroway <kgoroway@...> wrote:
>
> Glad you are enjoying it.  You can change album and song titles for
anything in the pianosoft or user catalog in verion 0.2 (uploaded last
night).
> 
> Drag and drop from the computer to the piano is already supported by
the piano (assuming you are connected to it's physical networking port
somehow), and isn't a feature that the interface DKVBrowser is sitting
on top of provides.  I should probably support the to/from piano
folder though.
> 
> -Kevin
> 
> Cheetham <cheetham@...> wrote:                               Kevin,
>  This is great being able to control the piano from my office via the 
>  computer. 
>  Is the ability to change song titles already built in or are you 
>  working on that? Using the PDA to do this is painfully slow.
>  Alos wonder if you plan to add drag and drop from a computer folder 
>  to the piano?
>  Great job and thanks to the Christopoher and Matthew at UCI for 
>  starting this.
>  Howard
>  
>  --- In disklavier@yahoogroups.com, hugofon@ wrote:
>  >
>  > Kevin,
>  > 
>  > I think it would be a good idea if the playlists?on the PDA can be 
>  copied to DKVBrowser.??And you are right about the PDA being 
>  clunky.....?So if DKVBrowser can support drag and drop playlists 
>  similar to most of the media players out there, it would be a great 
>  time saving tool to create new playlists suitable for the mood of the 
>  evening.? Would it be possible for the DKVBrowser playlists to be 
>  copied to the PDA/piano?? I am not really sure?if that information is 
>  stored on the PDA or the piano.
>  > 
>  > Editing the song info in the Browser would indeed be a nice feature 
>  to have too.? I remember reading many previous posts with questions 
>  about editing the metadata of the songs.? It sounds like the 
>  possibilities are endless here.? 
>  > 
>  > I did not have an issue with the IP address.? My laptop?was 
>  configured to accept DHCP assignment, and the Disklavier access point 
>  assigned the same dummy IP of 192.168.88.14 to my wireless card every 
>  time a connection was made.??I also noticed that?a connection could 
>  be made even when the paino was?in standby mode. Perhaps the access 
>  point was simply waiting for the PDA to be turned on.? Also, by 
>  launching the DKVBrowser and searching for softwares, the piano came 
>  out of the standby mode and could start playing.
>  > 
>  > Please keep up the good work.? Thanks again.
>  > 
>  > Hugo
>  > 
>  > -----Original Message-----
>  > From: Kevin Goroway <kgoroway@>
>  > To: disklavier@yahoogroups.com
>  > Sent: Sun, 11 Nov 2007 8:08 am
>  > Subject: Re: [disklavier] Re: Alternative to tablet and PDA for MKIV
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > Wow, Hugo, thank you!
>  > 
>  > I was really concerned that it wouldn't work at all, so this is 
>  really encouraging!
>  > 
>  > How would you envision the playlists working?? Just mimic the 
>  playlists that are already on the piano?? That might be simplest.? 
>  Since I'm so new to the piano itself, I haven't played with playlists 
>  at all.? The PDA/table interface feels clunky, so I'd really like 
>  DKVBrowser to evolve into something that supports drag and drop to 
>  create playlists.? Also, editing of song titles, etc. right in the 
>  browser would be nice as well.
>  > 
>  > -Kevin
>  > 
>  > 
>  > ----- Original Message ----
>  > From: "hugofon@" <hugofon@>
>  > To: disklavier@yahoogroups.com
>  > Sent: Saturday, November 10, 2007 9:40:02 PM
>  > Subject: Re: [disklavier] Re: Alternative to tablet and PDA for MKIV
>  > 
>  > 
>  > 
>  > 
>  > 
>  > Kevin,
>  > 
>  > 
>  > I just tried your alpha release.? Wow, it works great on my DC2 
>  Mark IV. I don't have any problem at all.? I have a database of 
>  approximately 500 songs on the hard drive, and the browser produces a 
>  very accurate list of my softwares.? 
>  > 
>  > 
>  > I have been following this discussion closely, but I have not 
>  participated in the discussion as I am really not a computer guy and 
>  have nothing techical to contribute.? Thank you so much for taking 
>  your time to work on this project.? Your work is greatly 
>  appreciated.? I can't wait for your future releases with more 
>  functionalities. ..... Perhaps a playlist or my favorites would be 
>  wonderful.? Thanks again.
>  > 
>  > Hugo
>  > 
>  > 
>  > -----Original Message-----
>  > From: Kevin Goroway <kgoroway@yahoo. com>
>  > To: disklavier@yahoogro ups.com
>  > Sent: Sat, 10 Nov 2007 4:23 pm
>  > Subject: Re: [disklavier] Re: Alternative to tablet and PDA for MKIV
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > Well, I uploaded the alpha release.
>  > 
>  > Please try it out and let me know how it goes.? This is my first 
>  ever java app, and getting these things into a working jar file was 
>  an experience!? The uploaded rar file includes the swt.jar for 
>  windows, with instructions for where to find it for other operating 
>  systems.
>  > 
>  > It's pretty crude at the moment, and doesn't yet support exporting 
>  the data.? There's probably lots of other things it doesn't support 
>  as well, since I have limited experience with the piano itself.? It 
>  also has only been tested against my piano which has very little 
>  data, so I don't know how well it behaves with HUGE databases.? Okay, 
>  enough disclaimers. ..Have fun!
>  > 
>  > -Kevin
>  > 
>  > 
>  > ----- Original Message ----
>  > From: Matthew Teeter <mrmuk7@gmail. com>
>  > To: disklavier@yahoogro ups.com
>  > Sent: Friday, November 9, 2007 6:00:48 PM
>  > Subject: Re: [disklavier] Re: Alternative to tablet and PDA for MKIV
>  > 
>  > 
>  > 
>  > I believe <remake_db/> is sent when a usb drive is inserted or 
>  removed.? There may be some attributes on there that tell you which 
>  db, or it might be something like "Update your local cache of the db 
>  now".? 
>  > If you make a query while the software is building the table, you 
>  will see the songs that have been added at that point in time.? This 
>  shouldn't be of much concern; it usually only takes 30 sec to add 
>  everything to the songs table, even for large amounts of files on a 
>  drive. 
>  > 
>  > I don't think there was a column for artist.? If there was, I think 
>  it contained the same info as the title.? But yes, Yamaha seems to 
>  put the artist within the title.? I believe you can set the comment 
>  on the song and album using the PRC's keyboard.? Hardly anyone would 
>  want to though - quite a laborious task poking tiny buttons.? I also 
>  seem to remember being able to set the songs rating from 1 to 5 stars 
>  using the PRC/TRC.? Never investigated that much personally though. 
>  > Matthew
>  > 
>  > 
>  > 
>  > On 11/9/07, Kevin Goroway <kgoroway@yahoo. com> wrote: 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > Matthew,
>  > 
>  > I'm at work, so I can't check now, but does the piano send any 
>  notification of when it has finished building the table? 
>  > 
>  > I've seen <remake_db /> come out for both the CD and the FD even 
>  though there was nothing mounted.
>  > 
>  > Any way to query for what is already mounted? 
>  > 
>  > Otherwise...
>  > 
>  > There had been a request for the ability to search by artist, but I 
>  don't see anything explicit in the schema for artist.? It looks like 
>  it is normally stored as part of the song title (judging from the 
>  demos).? This will work fine with my current search. 
>  > 
>  > The fields which might be interesting to search by are as follows:
>  > song filename (already done)
>  > song rating (is there any current way to give a song a rating?? If 
>  not, I wouldn't want to assume one and break a future release.)
>  > song "your_record" (No idea what is here, maybe nothing, and no way 
>  to set it? 
>  > song comment (is there any way to enter this currently?)
>  > song title (already done)
>  > song subtitle (already done)
>  > song genre (is there any way to enter this currently?)
>  > album rating (see song rating)
>  > album comment (is there any way to enter this currently?) 
>  > album title (already done)
>  > album subtitle (are these used?)
>  > 
>  > Anyway, adding others is trivial at this point.? So, I'll have to 
>  investigate what is in the database when I get home.
>  > 
>  > -Kevin
>  > 
>  > 
>  > ----- Original Message ----
>  > From: Matthew Teeter <mrmuk7@gmail. com>
>  > To: disklavier@yahoogro ups.com
>  > Sent: Friday, November 9, 2007 10:27:19 AM
>  > Subject: Re: [disklavier] Re: Alternative to tablet and PDA for MKIV
>  > 
>  > 
>  > 
>  > The tables for each media (ex. usb_album and usb_song) are only 
>  created when that media is inserted.? It takes a few seconds for the 
>  software to create the table, so if you insert and immediately query, 
>  you will miss results.? The tables are recreated each insertion.? 
>  This is discussed more in our paper. 
>  > Matthew
>  > 
>  > 
>  > 
>  > On 11/9/07, Kevin Goroway < kgoroway@yahoo. com> wrote: 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > I made a bunch of progress last night.? Search is fully 
>  implemented, and works great (and FAST).? Of course, my database is 
>  tiny compared to some of yours, so I'll have to get some feedback 
>  from those of you who try it. 
>  > 
>  > I did expect the USB and FLOPPY tables to exist in the database 
>  even when they weren't mounted...but that turned out not to be the 
>  case.? So, tonight I have to work on some code to understand when 
>  those are mounted and when they aren't. 
>  > 
>  > I have no plans to support the copying of files between the 
>  sources, especially the protected ones.? 
>  > 
>  > Release this weekend (as an alpha version) is looking quite likely.
>  > 
>  > -Kevin
>  > 
>  > 
>  > ----- Original Message ----
>  > From: Tom Wheeler <tnwheeler@nc. rr.com >
>  > 
>  > To: disklavier@yahoogro ups.com
>  > 
>  > 
>  > Sent: Thursday, November 8, 2007 6:29:46 PM
>  > Subject: Re: [disklavier] Re: Alternative to tablet and PDA for 
>  MKIV 
>  > 
>  > 
>  > 
>  > Kevin,
>  > 
>  > 
>  > 
>  > 
>  > It is scenario no. 3 below that describes how my Mark IV is 
>  connected.
>  > 
>  > 
>  > 
>  > 
>  > Again, thanks for working on this and I look forward to ultimately 
>  trying out your work when you are ready to release it. ? 
>  > 
>  > 
>  > 
>  > 
>  > Tom
>  > 
>  > 
>  > 
>  > 
>  > On Nov 8, 2007, at 4:17 PM, Kevin Goroway wrote:
>  > 
>  > 
>  > 
>  > 
>  > 
>  > Well, one of things everyone will need to understand is the 
>  requirements for using it...so no harm in leaving it in this thread 
>  for now.
>  > 
>  > I still think we have some confusion over what you are seeing on 
>  wireless.? So, let me try again. 
>  > 
>  > Scenario #1) You have a wireless card on your computer, you have 
>  nothing connected to your DKV's ethernet port.
>  > 
>  > In this scenario, your wireless card might tell you that there is a 
>  wireless access point out there, and you can hop on it, but there is 
>  nothing to be found.? And, you have no access whatsoever to the 
>  To/From PC folder. 
>  > 
>  > Scenario #2) Like #1, but you have a hard wire connection to your 
>  router/switch from the DKV's ethernet port.
>  > 
>  > Like the first scenario, but now you have access to the To/From PC 
>  folder.
>  > 
>  > Scenario #3) Like #1, but you have attacted wireless hardware to 
>  the DKV's ethernet port, turning it into a wireless device. 
>  > 
>  > In this situation, your wireless card has 2 choices.? One is the 
>  access point connected to the DKV's ethernet port, the other is the 
>  access point that the PDA/Tablet use.? If your wireless card attached 
>  to one, you'll see the To/From PC folder, if it attaches to the 
>  other...there' s nothing to be found. 
>  > 
>  > Just to be clear, in all 3 of those cases you can use the software, 
>  just as long as you can convince your wireless card to hop onto the 
>  access point that is there for the PDA.
>  > 
>  > Your wife can certainly contact me directly.? I plan to put the 
>  searching in this weekend, and have the source code ready for release 
>  before Monday.? (although you threw in the new feature of being able 
>  to search by artist which I hadn't considered. :-)? ) 
>  > 
>  > -Kevin
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > ____________ _________ _________ _________ _________ __
>  > Do You Yahoo!?
>  > Tired of spam? Yahoo! Mail has the best spam protection around 
>  > http://mail. yahoo.com 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > ____________ _________ _________ _________ _________ __
>  > Do You Yahoo!?
>  > Tired of spam? Yahoo! Mail has the best spam protection around 
>  > http://mail. yahoo.com 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > ____________ _________ _________ _________ _________ __
>  > Do You Yahoo!?
>  > Tired of spam? Yahoo! Mail has the best spam protection around 
>  > http://mail. yahoo.com 
>  > 
>  > 
>  > 
>  > 
>  > Email and AIM finally together. You've gotta check out free AOL 
>  Mail!
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > __________________________________________________
>  > Do You Yahoo!?
>  > Tired of spam? Yahoo! Mail has the best spam protection around 
>  > http://mail.yahoo.com 
>  > 
>  > 
>  >  
>  > 
>  > 
>  __________________________________________________________
>  __
>  > Email and AIM finally together. You've gotta check out free AOL 
>  Mail! - http://mail.aol.com
>  >
>  
>  
>      
>                                
> 
>  __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.