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 Tue 23 Sep 2014, 04:42
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
TiMidity++-2.13.0, with alsaseq support!
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 4 [57 Posts]   Goto page: Previous 1, 2, 3, 4 Next
Author Message
Makoto


Joined: 03 Sep 2009
Posts: 1796
Location: Out wandering... maybe.

PostPosted: Wed 15 Dec 2010, 01:23    Post subject:  

Yes - I did see your post about it, here. Very Happy I was just wondering if there could perhaps be a simple GUI created for this version that doesn't necessarily rely on the terminal (or a shell script)... or me keeping pprocess open. Razz

Just curious - does the version of TiMIDIty++ listed in PPM use a GUI similar to this one? (Yes, it's a Win32 version... I spent a lot of time using it from years past, so I'm over-used to it, I guess.)



That was from when ++ was merely a fork and not, apparently, a mainstream version. Hmm... wonder if the Linux version has any problems playing .rcp files... I'll have to find one of the few .rcps I have and test.

_________________
[ Puppy 4.3.1 JP, Frugal install | 1GB RAM | 1.3GB swap ] * My Pidgin Builds for Puppy 4.3.1+
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4239
Location: Gatineau (Qc), Canada

PostPosted: Wed 15 Dec 2010, 04:25    Post subject:
Subject description: McGyver.s Jukebox ! (:-)
 

makoto?

These two scripts should help you play your midi files without fuss. It doesn't really have an interface, but almost, and more importantly, it does the job! You can even put the icon on your desktop for easy launching! (See pic.)

As a bonus, you can re-use the < timiprep.sh > script simply to have a transparent console on your desktop! Smile

Here's the doc file. Please read it first. See towards the end the part on how this script can kill timidity as well as play midi files with it. (Which was part of your problem, I believe.)

If you have any questions, just get back to me?

Quote:
###################################
# To all:
# This is not high-level programming, I know, I know! It's just
# a couple of simple common-sense scripts to help people
# play their midi files with < timidity >.
# Just imagine this as being "McGyver's Jukebox" ! Laughing
###################################
# To the actual users:
#
# First launch this script (it's called < timiprep.sh >).
#
# It will open a transparent terminal for you in
# the < /root/my-documents/my-music/midi > directory.
#
# Note:
# The pet file should have created it upon installation, but
# if you don't have such a sub-directory, please create
# it now: the two scripts need it to work properly.
#
# These scripts assume that you have your midi files
# there, or at least their symlinks. So please do copy
# or symlink your midi files to
# < /root/my-documents/my-music/midi >,
# if you haven't already.
#
###################
# Now for the operation of this script.
#
# This < timiprep.sh > script is your launchpad for
# the < timidity.sh > script.
#
# From here, you can use the < ls > command to see the
# music pieces that you want to play, and which you may
# -- or not -- have classified by genre in various directories.
# (It doesn't really matter if you have sub-dirs in here or not.
# You can select your files simply with wildcards.)
#
# To see the midi files of pop music you have in your
# /root/my-documents/my-music/midi/pop directory,
# you'd type
#
# ls pop
#
#or, if you like classical music,
#
# ls Bach
#
# or whatever.
#
# If you want to play all your pop pieces, type
#
# timidity.sh pop/
#
# A second transparent console entitled "TiiMIDIty++2.13"
# will open and all the midi files you have in your "pop"
# directory will play one after the other.
#
# Now, for the sake of example, let's say that, this time,
# you'd like to hear only the pieces by Carly Simon that
# you have in that directory.
#
# You'd type:
#
# timidity.sh pop/Carly*
#
# and those songs will start playing.
#
# If you've changed your mind and don't like the selection,
# and you want to choose some other music, simply type:
#
# timidity.sh
#
# with no arguments. The music will stop and you'll be able
# to make another choice. The script is made in such a
# way as to kill the program if it has no arguments.
#
# If the cursor in the < timiprep > console seems to have
# disappeared, simply hit the < Return > key.
#
# The < timidity.sh > console closes automatically when
# < timidity > has finished playing your selection.
#
# I hope you'll find these little "timidity" scripts useful!
#
# Happy Holidays!
#
# musher0, mid-Dec. 2010
###################################


PS. If you'd prefer playing your midi files with Ultrasound, I've made a dosbox package you can download by going to these threads: You'll need the dosbox pet or sfs too, of course, as well as the ultrasound one.

http://www.murga-linux.com/puppy/viewtopic.php?p=474393#474393
and
http://www.murga-linux.com/puppy/viewtopic.php?search_id=532793564&t=62730

Enjoy!
timiprep-0.1.pet
Description 
pet

 Download 
Filename  timiprep-0.1.pet 
Filesize  48.46 KB 
Downloaded  301 Time(s) 
timiprep.jpg
 Description   
 Filesize   114.19 KB
 Viewed   559 Time(s)

timiprep.jpg


_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Wed 15 Dec 2010, 15:17    Post subject:  

Did you try the one vovchik posted? That one should have gui support if you launch it with the -ig option.
http://www.murga-linux.com/puppy/viewtopic.php?p=307984#307984

Personally, I don't like running Timidity separately to listen to midis. I like having one media player handle both midi and normal audio. Most Linux media players don't directly support midi though - they just let you choose a midi port to route the midi file through. So what you can do is have Puppy launch Timidity in the background as a server during bootup so that it creates virtual midi ports on your computer. Then you can configure the media player to route midi files into the virtual port. That way the normal media player can still control playback position and can have playlists that include both midi files and normal audio files, and it will automatically send the midi data into Timidity for the actual playing.

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

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


Joined: 13 Jan 2009
Posts: 250
Location: South of France

PostPosted: Wed 15 Dec 2010, 16:09    Post subject:  

timidity from repo has a gui Laughing
just create a link on your desktop (or in menu) with
Code:
#!/bin/sh
timidity -igt

to run it without any shell ever Wink



timidity from this post after linking midifile timidity as said never more needs any teminal
just rox to click files ! Wink
@pizzagood right your timidity.pet can be launch in server mode Cool (and that why i use it)
but for midi lovers nothing better than playing midifiles with a dedicated player that allow changing many thing and ncursegui show all subtility of them include lyrics (type in a terminal timidity -h and see) Cool
and as puppy is ncurse gui is elegant simple light and powerfull


_________________
le max avec le min
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4239
Location: Gatineau (Qc), Canada

PostPosted: Wed 15 Dec 2010, 22:19    Post subject:  

linuxsansdisquedur wrote:
timidity from repo has a gui Laughing
just create a link on your desktop (or in menu) with
Code:
#!/bin/sh
timidity -igt

to run it without any shell ever Wink
(...)


Repo? What repo? Please tell us where!

With this pet package of timidity, I get

Quote:
# timidity -igt
Interface `g' is not compiled in.
Try timidity -h for help


In any case, with my "McGyver-ish" 2-scripts solution, the midi info does show.
Besides, no offense intended, but who uses timidity to look at an interface? You use it to listen to some music, no?
IMHO, the interface is not that important. A good patch set, such as the "eaw" patches pizzasgood provided, is much more important -- as well as properly coded midi files, of course!
.

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Makoto


Joined: 03 Sep 2009
Posts: 1796
Location: Out wandering... maybe.

PostPosted: Wed 15 Dec 2010, 23:18    Post subject:  

I don't mind not having a GUI, so I don't mind this particular setup. I was just thinking there might be an easier way to stop the playback if I wanted to do it, than keeping a pprocess window open, refreshing it and killing the process. Razz

It's not really a bother, but sometimes, you don't want to bother with the extra steps. Very Happy

_________________
[ Puppy 4.3.1 JP, Frugal install | 1GB RAM | 1.3GB swap ] * My Pidgin Builds for Puppy 4.3.1+
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).
Back to top
View user's profile Send private message 
linuxsansdisquedur


Joined: 13 Jan 2009
Posts: 250
Location: South of France

PostPosted: Thu 16 Dec 2010, 16:32    Post subject:  

@musher0 j'utilise pizzapup (à base de puppy2.14 original Wink ) le pet dont je parle est dans le repo puppy2 (y a pas de raison qu'il ne tourne pas sur puppy3/4/5 Cool ) tu peux sinon tester celui dont parle pizzasgood 4 post plus haut
je préfère quand même celui de pizzasgood qui a le mode serveur et qui a quand même une interface plus performante (bien utile pour voir la musique : tous les instruments toutes les notes et même les paroles! et comme dit Makoto pour stoper ou modifier la lecture Wink )
( the pet is in puppy2 repo (I use pizzapup with original puppy2.14 inside) you can also use the pizzasgood link above but i really prefer pizzasgood timidity because server mode fun interface and lighter [ to see music, instruments, notes and lyrics -and stop music as makoto said])

@Makoto so what Rolling Eyes what else timidity you use have a gui Very Happy just use the good set run action when you link midifile to timidity (in open with mode Wink )
pizzasgood one (my choice Cool )
Code:
rxvt  -geometry 768x640 -e timidity -int "$1"

or repo one Confused
Code:
timidity -igt  "$1"

_________________
le max avec le min
Back to top
View user's profile Send private message 
Makoto


Joined: 03 Sep 2009
Posts: 1796
Location: Out wandering... maybe.

PostPosted: Thu 16 Dec 2010, 17:15    Post subject:  

Yeah, like I said, I already saw that. I was just wondering if a simple way could be implemented that didn't require the terminal or a shell script. Razz
_________________
[ Puppy 4.3.1 JP, Frugal install | 1GB RAM | 1.3GB swap ] * My Pidgin Builds for Puppy 4.3.1+
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).
Back to top
View user's profile Send private message 
linuxsansdisquedur


Joined: 13 Jan 2009
Posts: 250
Location: South of France

PostPosted: Thu 16 Dec 2010, 18:37    Post subject:  

I do not understand something Confused
when you ve installed timidity, to have it running when clicking some midifile in rox,
you DO have right click one and tell rox to use timidity next time Shocked
(i think you've even done it before under windows Very Happy )
so, just tell it to use timidity -int/igt (no terminal or extra coding needed Wink )

_________________
le max avec le min
Back to top
View user's profile Send private message 
Makoto


Joined: 03 Sep 2009
Posts: 1796
Location: Out wandering... maybe.

PostPosted: Thu 16 Dec 2010, 18:44    Post subject:  

Yes, but I wasn't looking for a full GUI. Razz Just a simple way to stop the playback without having to keep pprocess open. I do prefer just playing the MIDI in the background without a GUI popping up. Laughing

I do have something similar set up with mpg123 for MP3s, but I usually do end up using a GUI for those. Of course, you have to manually kill mpg123 if you want to stop it ahead of time, too... Razz

_________________
[ Puppy 4.3.1 JP, Frugal install | 1GB RAM | 1.3GB swap ] * My Pidgin Builds for Puppy 4.3.1+
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).
Back to top
View user's profile Send private message 
linuxsansdisquedur


Joined: 13 Jan 2009
Posts: 250
Location: South of France

PostPosted: Thu 16 Dec 2010, 19:13    Post subject:  

you're right the only simple way to stoping music before ending is a gui Cool but a gui necessary pop up Shocked and don t play in backgroung Laughing Laughing
so Arrow
test the ncurse gui ,reduce the "geometry coding" as you want, or do not use the command "-geometry 768x640" at all, to reduce the pop up effect
even prefer timidity -in to timidity int, less indication in screen (reducing popup)
and notice it automaticaly shut down at the end of midifile (no process open) if you do not prefer stopping it before end (using simple key Q or closing windows)
that is the way Cool

_________________
le max avec le min
Back to top
View user's profile Send private message 
Makoto


Joined: 03 Sep 2009
Posts: 1796
Location: Out wandering... maybe.

PostPosted: Thu 16 Dec 2010, 23:01    Post subject:  

Not exactly. That's why I was wondering about gtkdialog - if something could be created that would spawn timidity, and create a simple window with a button to kill the created timidity process. Razz
_________________
[ Puppy 4.3.1 JP, Frugal install | 1GB RAM | 1.3GB swap ] * My Pidgin Builds for Puppy 4.3.1+
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Thu 16 Dec 2010, 23:12    Post subject:  

Makoto wrote:
Yes, but I wasn't looking for a full GUI. Razz Just a simple way to stop the playback without having to keep pprocess open. I do prefer just playing the MIDI in the background without a GUI popping up. Laughing

Have you tried:
Code:
killall timidity

(Though I think sometimes that might leave a note stuck turned on, not sure. I might be thinking of something else.)

You could make a script with that and then put an icon on the desktop for it, so you could just click it.

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

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


Joined: 03 Sep 2009
Posts: 1796
Location: Out wandering... maybe.

PostPosted: Thu 16 Dec 2010, 23:23    Post subject:  

I did think of something like that, but I usually have another timidity process running that I'm not sure should go (is it part of the server setup?)... It's listed in pprocess as:

timidity -iA -B2,8 -Os -EFreverb=0

Wouldn't a killall end that process, too?

_________________
[ Puppy 4.3.1 JP, Frugal install | 1GB RAM | 1.3GB swap ] * My Pidgin Builds for Puppy 4.3.1+
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Fri 17 Dec 2010, 00:58    Post subject:  

Yeah, that's the instance running as a server, and would be killed. But if you don't actually use it, it doesn't matter if you kill it. It isn't required for playing midis directly with timidity. You can stop it from being started on bootup by removing the executable bit on the file /etc/init.d/timidity_server (or just delete that file).
_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 3 of 4 [57 Posts]   Goto page: Previous 1, 2, 3, 4 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
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.1188s ][ Queries: 12 (0.0056s) ][ GZIP on ]