English Amiga Board


Go Back   English Amiga Board > Requests > request.Apps

 
 
Thread Tools
Old 02 July 2015, 21:15   #81
adrdesign
Registered User

adrdesign's Avatar
 
Join Date: Nov 2013
Location: Spain
Age: 39
Posts: 269
Quote:
Originally Posted by daxb View Post
Please add "trace i" at line 17 in the script and save it. Then launch it from Shell like this:
Code:
rx Convert_Syx.rexx >ram:log
LHA the log file and upload it to this thread.

About filenames, yes some voice names have bad characters. I`ll see if they can renamed before converting.

8svx files should be in the same path where the voices are.
It seems to fail after calculation, when saving in each 4 modes (1-5 octaves single, multi). Note It happens even using ramdrive for the files.

BTW: Could you attach or link that progs you´re using for the script, since It´s possible I´m using some wrong version or different command with the same name...
Attached Files
File Type: lha log.lha (6.2 KB, 59 views)

Last edited by adrdesign; 02 July 2015 at 23:45.
adrdesign is offline  
Old 03 July 2015, 17:16   #82
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 2,020
I see some possible problems.

First, the path that is returned be the filerequester is "DX7_ROM/" what should be a full path "amigadaw:Synths/FMsynth/Convert_Syx/DX7_ROM/". But it seems that a correct filelist for the .syx files is created. Strange, because normally that cannot work.

The header/footer removal seems to work too. Velocity and Lenght values are also correct. Creating the drawer for voices works: "amigadaw:Synths/FMsynth/Convert_Syx/DX7_ROM/rom4b".

Second, if the .voice files are not created or at a wrong place it might be the current directory change doesn`t worked or FMconvert faild for some reason. If there are no files in "amigadaw:Synths/FMsynth/Convert_Syx/DX7_ROM/rom4b" then it faild, else it worked. You should check this. You wrote that current directory with FMconvert didn`t worked for you (docs say it creates voices in current directory and here it works so), what might be a causer.
Refer to log fiel:
Code:
100 *-* CALL PRAGMA('D',path || dirname);
      >L> "D"
      >V> "amigadaw:Synths/FMsynth/Convert_Syx/DX7_ROM/"
      >V> "rom4b"
      >O> "amigadaw:Synths/FMsynth/Convert_Syx/DX7_ROM/rom4b"
      >>> "amigadaw:Synths/FMsynth/Convert_Syx/DX7_ROM/rom4b"
      >F> "amigadaw:Synths/FMsynth/Convert_Syx"
101 *-* fmconvert file '-l' || len '-v' || vel '>NIL:';
      >V> "AMIGADAW:Synths/FMsynth/FMconvert/FMconvert"
      >V> "amigadaw:Synths/FMsynth/Convert_Syx/DX7_ROM/rom4b.syx"
      >L> "-l"
      >V> "254000"
      >L> "-v"
      >V> "100"
      >L> ">NIL:"
      >O> "AMIGADAW:Synths/FMsynth/FMconvert/FMconvert amigadaw:S..."
[...]
You can temporary remove or comment out the string "'>NIL:'" (e.g. /*'>NIL:'*/) in script line 101 to see output of FMconvert and possible problems. BTW. the CALL PRAGMA() is the current directory change. If FMconvert is the problem you should try to reproduce it in a shell and see if it works there or not.

The "---> Converted to voice(s)!" output doesn`t mean that FMconvert has created voices. Its more a progress notice. I can remove or change it to a more proper sense. Unfortunately, FMconvert doesn`t set returncodes for success or fail.

Next, FMsynth seems to start correct, right?

Converting voices to 8svx fails because there is no voice file to convert. At least the filelist is empty.


Commands:
I use OS3.1 as a base. RequestString V1.2 by Thomas Rapp is included. I`m using a bugfix replacement for requestchoice 39.4 but it works also with 39.4.. Further you need:

- rexxarplib.library V3.8 (latest version I think)
- reqtools.library (its more or less a must have library IMHO)

Both are on Aminet:

http://aminet.net/package/util/rexx/ral3p8
http://aminet.net/package/util/libs/ReqToolsLib

WBRun 2.2 is more or less optional. I got it from:
http://aminet.net/package/util/cli/WBRun_fix
daxb is offline  
Old 05 July 2015, 02:16   #83
adrdesign
Registered User

adrdesign's Avatar
 
Join Date: Nov 2013
Location: Spain
Age: 39
Posts: 269
Quote:
Originally Posted by daxb View Post
I see some possible problems.

First, the path that is returned be the filerequester is "DX7_ROM/" what should be a full path "amigadaw:Synths/FMsynth/Convert_Syx/DX7_ROM/". But it seems that a correct filelist for the .syx files is created. Strange, because normally that cannot work.

The header/footer removal seems to work too. Velocity and Lenght values are also correct. Creating the drawer for voices works: "amigadaw:Synths/FMsynth/Convert_Syx/DX7_ROM/rom4b".

Second, if the .voice files are not created or at a wrong place it might be the current directory change doesn`t worked or FMconvert faild for some reason. If there are no files in "amigadaw:Synths/FMsynth/Convert_Syx/DX7_ROM/rom4b" then it faild, else it worked. You should check this. You wrote that current directory with FMconvert didn`t worked for you (docs say it creates voices in current directory and here it works so), what might be a causer.
Refer to log fiel:
Code:
100 *-* CALL PRAGMA('D',path || dirname);
      >L> "D"
      >V> "amigadaw:Synths/FMsynth/Convert_Syx/DX7_ROM/"
      >V> "rom4b"
      >O> "amigadaw:Synths/FMsynth/Convert_Syx/DX7_ROM/rom4b"
      >>> "amigadaw:Synths/FMsynth/Convert_Syx/DX7_ROM/rom4b"
      >F> "amigadaw:Synths/FMsynth/Convert_Syx"
101 *-* fmconvert file '-l' || len '-v' || vel '>NIL:';
      >V> "AMIGADAW:Synths/FMsynth/FMconvert/FMconvert"
      >V> "amigadaw:Synths/FMsynth/Convert_Syx/DX7_ROM/rom4b.syx"
      >L> "-l"
      >V> "254000"
      >L> "-v"
      >V> "100"
      >L> ">NIL:"
      >O> "AMIGADAW:Synths/FMsynth/FMconvert/FMconvert amigadaw:S..."
[...]
You can temporary remove or comment out the string "'>NIL:'" (e.g. /*'>NIL:'*/) in script line 101 to see output of FMconvert and possible problems. BTW. the CALL PRAGMA() is the current directory change. If FMconvert is the problem you should try to reproduce it in a shell and see if it works there or not.

The "---> Converted to voice(s)!" output doesn`t mean that FMconvert has created voices. Its more a progress notice. I can remove or change it to a more proper sense. Unfortunately, FMconvert doesn`t set returncodes for success or fail.

Next, FMsynth seems to start correct, right?

Converting voices to 8svx fails because there is no voice file to convert. At least the filelist is empty.


Commands:
I use OS3.1 as a base. RequestString V1.2 by Thomas Rapp is included. I`m using a bugfix replacement for requestchoice 39.4 but it works also with 39.4.. Further you need:

- rexxarplib.library V3.8 (latest version I think)
- reqtools.library (its more or less a must have library IMHO)

Both are on Aminet:

http://aminet.net/package/util/rexx/ral3p8
http://aminet.net/package/util/libs/ReqToolsLib

WBRun 2.2 is more or less optional. I got it from:
http://aminet.net/package/util/cli/WBRun_fix
Sorry for long delay, I will check it ASAP, huge thanks for your support and patience. Really.
adrdesign is offline  
Old 09 July 2015, 17:24   #84
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 2,020
Quote:
Originally Posted by adrdesign View Post
Sorry for long delay, I will check it ASAP, huge thanks for your support and patience. Really.
I did a small update version: Spaces in path/filenme shouldn`t be a problem now. Voices filenames that contain unwanted charackters will renamed. Overall a bit more robustly. Let me know if it works for you or if something should change for better use.
Attached Files
File Type: lha Convert_Syx.lha (5.3 KB, 56 views)
daxb is offline  
Old 09 July 2015, 17:44   #85
adrdesign
Registered User

adrdesign's Avatar
 
Join Date: Nov 2013
Location: Spain
Age: 39
Posts: 269
Quote:
Originally Posted by daxb View Post
I did a small update version: Spaces in path/filenme shouldn`t be a problem now. Voices filenames that contain unwanted charackters will renamed. Overall a bit more robustly. Let me know if it works for you or if something should change for better use.
It worked at first! Just tried with Yamaha original ROMS, max size. It gave me no problems.

Thanks you a lot DAXB, If you need something just say!

BTW: Im going to play with some SYX for deep-testing
adrdesign is offline  
Old 09 July 2015, 21:56   #86
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 2,020
Nice to here that it works for you. Some deeper tests are good. I`ve only used the syx stuff for testing you provided. So it could be an issue with other syx. Also have a look if renaming works in a good way (output says file renamed to...). Sometimes there are really stupid names with only unwanted chars. Then result is an empty name. Empty names are just numbered atm (1.voice, 2.voice, 3.voice, ...). However, report if there are issues.
daxb is offline  
Old 28 May 2018, 17:16   #87
Lisiak4
Registered User

 
Join Date: Sep 2017
Location: Czech Republic
Posts: 18
Quote:
Originally Posted by emufan View Post
good news. thanks to amigafuture.de we now have a full version. archive comes with key file.

thanks AndreasM.
Great, thanks!
Lisiak4 is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Request: Keyfiles for FMsynth, Klondike mr_a500 request.Apps 4 03 April 2005 14:02

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 22:52.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.06834 seconds with 14 queries