Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 31 Jul 2014, 21:58
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
"compose" package (music composition) for Puppy Linux
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 3 [32 Posts]   Goto page: 1, 2, 3 Next
Author Message
jeffrey

Joined: 16 Jan 2006
Posts: 162
Location: Christchurch, New Zealand

PostPosted: Thu 16 Aug 2007, 06:29    Post subject:  "compose" package (music composition) for Puppy Linux
Subject description: Sheet music composer/editor/player based on PMW and timidity
 

[[NOTE: compose.pet split into two parts less than 1MB and attached later in this forum topic]]

It's only 2MB yet includes Philip's Music Writer (PMW 4.12) with my special script wrapper enabling you to compose sheet music and listen to it as you build up the music and lyrics. It's not the best integrated music composing environment, but it works and it's free!

Compose requires timidity (2.13.0 is good). This is 10MB but once you've got that installed the rest is easy. The only catch is that petget makes a miscalculation of the disk space required when installing before a pup_save file is created. To resolve that either 1/ save to disk and reboot, then install timidity, or 2/ edit /usr/sbin/petget replacing 3 with 1 on line 1627.
Timidity can be downloaded using a rick-click and Save Link Target on the following link:
http://distro.ibiblio.org/pub/linux/distributions/puppylinux/pet_packages-2/timidity-2.13.0.pet

Compose has been tested with Puppy Linux 2.17.1 and has been developed since 2.14, so it may work with earlier releases (and hopefully future ones too!).

Installs to Multimedia menu as Compose. If you want a desktop icon drag /usr/local/bin/compose to the desktop and set the icon to /usr/local/lib/X11/pixmaps/compose48.png.

Bugs: The Help button on the Control window sometimes kills the program, but I don't think that that's my fault...

No licensing issues (that I'm aware of). Executable only provided in my package but the source is freely available on the Internet.
PMW by Philip Hazel. http://www.quercite.com/pmw.html

Have fun.
Jeffrey
compose-sample-snapshot2.png
 Description   
 Filesize   99.66 KB
 Viewed   1246 Time(s)

compose-sample-snapshot2.png


Last edited by jeffrey on Fri 24 Aug 2007, 16:48; edited 8 times in total
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Thu 16 Aug 2007, 08:43    Post subject:  

there is a 2MB (I think it is is) limit

try this
http://www.murga-linux.com/puppy/viewtopic.php?p=99400#99400

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
zygo

Joined: 08 Apr 2006
Posts: 211
Location: UK

PostPosted: Sat 18 Aug 2007, 08:42    Post subject: Where?  

jeffrey,

This looks very interesting. I'd like to download it. What's the url?
Back to top
View user's profile Send private message 
jeffrey

Joined: 16 Jan 2006
Posts: 162
Location: Christchurch, New Zealand

PostPosted: Sun 19 Aug 2007, 18:11    Post subject:  

Hi zygo.
I wish I could post it.
It is really good. Not as pretty as some music composers, no doubt, but quite comprehensive. It can even be fun - you get to see and hear the music as you write it! (well every time you save the text file anyway). Not that I've done much except to compile it and write a reasonable wrapper to make it useable.
I've uploaded it to John Murga's FTP server and asked him to attach it to this post, but he must be busy or isn't reading his messages.
If you want to pull it down by FTP see the post below for details of how to access it. I've placed it in sub-directory 'jeffrey'.
http://murga-linux.com/puppy/viewtopic.php?p=99400#99400
Any ideas on how to attach it would be appreciated.
Jeffrey
Back to top
View user's profile Send private message 
jeffrey

Joined: 16 Jan 2006
Posts: 162
Location: Christchurch, New Zealand

PostPosted: Sun 19 Aug 2007, 22:41    Post subject: compose package now attached in two pieces (and a script)  

Thanks to muggins for the notification of the 1MB limit which I didn't see when posting originally (perhaps due to my existing screen snapshot attachment?). I tried again and now see the limit displayed at the top of the message when it is exceeded.
So I split compose into two parts by opening the pet package and separating the directories into two new tar files. These are attached and are both a little under 1MB.

To re-create and install the package:

1. Download both files (compose-1.0.1A.tar.gz and compose-1.0.1B.tar.gz) say to my-documents
2. Extract them both to the single directory (from rxvt) with
gunzip compose*.gz
tar -xf compose-1.0.1A.tar
tar -xf compose-1.0.1B.tar
3. Create the PET package from the merged directory
tar -cf compose-1.0.1.tar compose-1.0.1
gzip compose-1.0.1.tar
tgz2pet compose-1.0.1.tar.gz
4. Install the PET package by clicking on the file from rox (the file manager program)

Note: If steps 2 and 3 are too hard, simply download the attached build-compose.gz script to the same directory as the two compose files and click on it to extract it, and click on the extracted build-compose script to build the PET package. Then install it as per step 4.

Once installed restart JWM to get the Compose entry to appear on the Multimedia menu.

Note that 'compose' uses 'gv' to display the PDF sheet music, but the copy of 'gv' released with Puppy does not have an option to update the display if the PDF changes (which it does in the course of developing the music). Therefore 'compose' renames the released 'gv' as 'gv.orig' and copies in a better version of 'gv'. Perhaps that's being heavy-handed. I may improve on that in a subsequent release.
build-compose.gz
Description 
gz

 Download 
Filename  build-compose.gz 
Filesize  313 Bytes 
Downloaded  401 Time(s) 
compose-1.0.1A.tar.gz
Description 
gz

 Download 
Filename  compose-1.0.1A.tar.gz 
Filesize  947.57 KB 
Downloaded  458 Time(s) 
compose-1.0.1B.tar.gz
Description 
gz

 Download 
Filename  compose-1.0.1B.tar.gz 
Filesize  951.3 KB 
Downloaded  432 Time(s) 

Last edited by jeffrey on Mon 27 Aug 2007, 06:00; edited 1 time in total
Back to top
View user's profile Send private message 
zygo

Joined: 08 Apr 2006
Posts: 211
Location: UK

PostPosted: Sat 25 Aug 2007, 12:08    Post subject:  

jeffrey,

I'm unable to install timidity-2.13.0.pet because petget says it hasn't enough memory as you describe. I want to try your second remedy but I am using Puppy 2.17.1 and line 1627 of /usr/sbin/petget has no digit to start with. Can you tell me how to fix my petget. Please.

Also I had to give build-compose execute rights.
Back to top
View user's profile Send private message 
jeffrey

Joined: 16 Jan 2006
Posts: 162
Location: Christchurch, New Zealand

PostPosted: Sun 26 Aug 2007, 19:44    Post subject:  

Thanks, zygo.

Apologies for giving insufficient info to modify petget. Open /usr/sbin/petget with geany and search for EXPNEEDB. If you select Find All it will probably be the 4th occurrence. The line in question is
EXPNEEDB=`expr $EXPFILEB \* 3` #.gz can expand about x2, need twice temp space.
Change that "3" to a "1", save the file, and try installing timidity again.

Looks like I transferred the file via VFAT and Windows which dropped the executable bit. [Edit - this has been fixed and the attached file updated.]
Back to top
View user's profile Send private message 
ricstef

Joined: 01 Aug 2006
Posts: 52
Location: Woodstock, ON. Canada

PostPosted: Tue 04 Sep 2007, 11:30    Post subject:  Compose script
Subject description: evaluating Compose & PMW
 

@jeffrey,
I've been trying out the Compose/PMW package that you submitted. I like what I've seen so far. Was wondering if you are interested in some observations? I noticed you select the page size to be "A4" , which is fine until you want to print out the score onto "Letter" size paper that some of us use. Perhaps you could add a choice of A4/Letter on the "Enter a short title" dialog? Also, somewhat less important; a "Re-play" button would be nice perhaps on the "Music Composition Control Window". This would facilitate practicing (singing along). I believe this package has real potential and deserves some more attention.
Cheers,
Richard.
Back to top
View user's profile Send private message 
jeffrey

Joined: 16 Jan 2006
Posts: 162
Location: Christchurch, New Zealand

PostPosted: Wed 05 Sep 2007, 05:41    Post subject:  

Hi Richard.
Thanks for the feedback.
I've attached an updated 'compose' script which may do what you want. It creates a .compose-settings file in the my-documents/music directory indicating what the default page size should be. This can be edited manually if you want it to be something other than A4, A3, or Letter.
It also allows the music to be played again without having to change the music definition file.
To use it download the file, click on it to change it from compose.gz to compose, and move it to /usr/local/bin/compose, overwriting the existing copy.
Let me know if that's what you wanted or not.
Jeffrey
compose.gz
Description 
gz

 Download 
Filename  compose.gz 
Filesize  3.82 KB 
Downloaded  368 Time(s) 
Back to top
View user's profile Send private message 
ricstef

Joined: 01 Aug 2006
Posts: 52
Location: Woodstock, ON. Canada

PostPosted: Wed 05 Sep 2007, 11:18    Post subject:  Compose package  

Hi Jeffrey,
Got your update ...
It does everything I asked for. This is cool.
Thank you so much.

Cheers,
Richard
Back to top
View user's profile Send private message 
ricstef

Joined: 01 Aug 2006
Posts: 52
Location: Woodstock, ON. Canada

PostPosted: Fri 14 Sep 2007, 00:35    Post subject:  "Compose" script
Subject description: evaluating functionality.
 

Hi Jeffrey,
1) I belong to a church choir, so I am finding "Compose" quite useful to help me work on songs that are new to me. Now, I have a bunch of songs entered and its becoming obvious that it sure would be nice to group these songs in different directories by genre or type. Something similar to what you did for selecting a new or existing song, could work. Just ask to select a "directory / category" instead of filename.
2) I like the fact that you provide the location of the PMW document. I find myself going to it frequently. Would it be possible to use the address that's provided in the "Help" dialog and turn it into an active URL, which one could click on directly ? Or, perhaps associate it with a button to click which would then display that pdf file ? Is that hard to do with xdialog ?
3) Where can I find a tutorial on xdialog. I'd like to be able to better understand its capabilities.

Cheers,
Richard.
Back to top
View user's profile Send private message 
jeffrey

Joined: 16 Jan 2006
Posts: 162
Location: Christchurch, New Zealand

PostPosted: Fri 14 Sep 2007, 00:45    Post subject:  

I'll think about 1 and 2.
3 is pretty easy: http://xdialog.dyns.net/
I find typing "Xdialog" produces a useful help page (which is what I usually use once I've got an idea of the features.
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 2253
Location: New Zealand

PostPosted: Fri 14 Sep 2007, 06:42    Post subject: why two files?  

Hello Jeffrey

I keep meaning to download your package - looks very interesting; I've just been a bit too busy of late.

One thing I am surprised about is that you need to supply it in the form of two separate pieces. Couldn't you upload it to ftp.servage.net and have it made available for download as one file from dotpups.de by asking MU to host it there for you?
Back to top
View user's profile Send private message Visit poster's website 
mcewanw

Joined: 16 Aug 2007
Posts: 2253
Location: New Zealand

PostPosted: Fri 14 Sep 2007, 17:44    Post subject: Re: Compose script
Subject description: evaluating Compose & PMW
 

ricstef wrote:
I believe this package has real potential and deserves some more attention.
Cheers,
Richard.


I have tried your package now, Jeffrey. I most certainly agree with Richard.
Back to top
View user's profile Send private message Visit poster's website 
mcewanw

Joined: 16 Aug 2007
Posts: 2253
Location: New Zealand

PostPosted: Fri 14 Sep 2007, 21:02    Post subject: can the instrument be changed?  

Is there a way to change instrument from piano to something else? I've skimmed through the help readme for pmw (i.e. pmw_spec.pdf, but can't see how to do it (assuming it has that facility).
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 3 [32 Posts]   Goto page: 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0859s ][ Queries: 13 (0.0054s) ][ GZIP on ]