Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
106 user(s) are online (99 user(s) are browsing Forums)

Members: 2
Guests: 104

FlynnTheAvatar, sailor, more...

Support us!

Headlines

 
  Register To Post  

DefIcons and midi files problem..
Just can't stay away
Just can't stay away


See User information
I am trying to configure my system in order to play midi files with Timidy..

Timidy works fine here when i want to play some files. I just open it and play all the midi files that i want to, but when I configure DefIcons something is wrong..

After configuring the deficon with Timidy, I try to play a midi file but the system simply opens Timidy without passing the file to the program..

I was able to configure AmigaAmp3 to play mp3 and mod files with DefIcons but I am stuck with Timidy..

Any ideas?


Go to top
Re: DefIcons and midi files problem..
Quite a regular
Quite a regular


See User information
OS4TiMidity?

timidity -o ahiplay

I think you need to do a script since I couldn't find anything in timidity.guide about defaulting to AHI (nor Tooltypes).

edit: that script should also cd into the timidity directory because the program reads timidity.cfg only from current directory.

Simpleplay 1.0 would work easier.

Go to top
Re: DefIcons and midi files problem..
Just can't stay away
Just can't stay away


See User information
ok thanks I'll try with Simpleplay :)

Go to top
Re: DefIcons and midi files problem..
Just popping in
Just popping in


See User information
How it's done in Aweb and from shell. Your directory is no doubt different.


cd Music:TiMIDIty
status com=Timidity >NIL:
Timidity -EFdelay=b -EFchorus=2,6 -EFreverb=1,6 -o ahiplay -iv <MidiFile> >NIL:


Hope it helps.

A1-X1000
Go to top
Re: DefIcons and midi files problem..
Just can't stay away
Just can't stay away


See User information
@Thematic

I tried also with SimplePlay, same behaviour as Timidy..

@Mechanic

ok but what i don't understand is if I have to add a similar script to my user-startup to play midi files and also configure Deficons..

Go to top
Re: DefIcons and midi files problem..
Just popping in
Just popping in


See User information
Quote:

if I have to add a similar script to my user-startup to play midi files and also configure Deficons..


That I don't know. I've not done it before and I'll try messing around with it later.

One thing you should do is make sure to pop up a CLI so you can use CTRL + c to break out of a playing tune.

A1-X1000
Go to top
Re: DefIcons and midi files problem..
Quite a regular
Quite a regular


See User information
These programs only accept files from the commandline, directly. So I tried to do a script+icon but that wouldn't work, it only wants to open a Tool for the job. I guess that leaves just the "Shell" method, but even then the path seems to be omitted.

IOW if someone knows how to code a frontend for SDL_Mixer that does parse this Workbench stuff, that would work. A datatype is probably not a good idea, since it'd need to convert the whole piece at once.


Edited by Thematic on 2013/1/30 3:37:48
Edited by Thematic on 2013/1/30 3:41:08
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project