Author Topic: Having an issue with newmorph2  (Read 452 times)

j_corley

  • Newbie
  • *
  • Posts: 4
    • View Profile
Having an issue with newmorph2
« on: November 10, 2020, 08:34:58 PM »
Hi there,

So I am trying to use newmorph2 like this:
newmorph newmorph2 2 temp-w1.ana temp-pk2.txt temp-morphed1.ana 0 12 1 8

However, I get this message everytime:
ERROR: Cannot open file temp-morphed1.ana to read times.

The file does not already exist in the directory.
temp-w1.ana is the analysis file of file 1, and temp-pk2.txt is the peaksfile of file 2
All files are at least 17 seconds long.
The command I used to create the peaksfile is this:
newmorph newmorph2 1 temp-w2.ana temp-pk2.txt 8

So I'm slightly confused as to what I need to do in order to get this to function. Is there something I am missing?

Might anyone be able to help?  :D

Regards,
James

ArcherCDP

  • Full Member
  • ***
  • Posts: 19
    • View Profile
Re: Having an issue with newmorph2
« Reply #1 on: November 10, 2020, 10:26:49 PM »
Hello James,

I have duplicated this error.  I suspect that there is a bug in reading the command line arguments.  We will test this and get back to you.

Thanks for your query.

Archer - CDP

ArcherCDP

  • Full Member
  • ***
  • Posts: 19
    • View Profile
Re: Having an issue with newmorph2
« Reply #2 on: November 11, 2020, 03:59:49 PM »
Hello James,

We have confirmed that there are problems with the command line.  Yours was correct, so it's the program which is at fault.  The matter is being referred back to the author.  I'll keep you posted.

Archer

j_corley

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Having an issue with newmorph2
« Reply #3 on: November 11, 2020, 10:11:57 PM »
Hello Archer,

Ah good to know!

Thank you very much.

Regards,
James

Robert Fraser

  • Sr. Member
  • ****
  • Posts: 67
    • View Profile
Re: Having an issue with newmorph2
« Reply #4 on: November 13, 2020, 09:47:12 PM »
Hi James,

The normal order for most CDP programs is: infile outfile params, where the first parameter in this case is the datafile.
However, the program's usage (duplicated in the CDP documentation) is given as: infile datafile outfile etc.
If you change this to the normal order, the program should work (I think), i.e.:
  newmorph newmorph2 2 temp-w1.ana temp-morphed1.ana temp-pk2.txt 0 12 1 8

I've tested this with various files on the commandline.
However, while investigating this I hit a problem of my own, which is the persistent error message:
  ERROR: end of interpolation is beyond end of one of soundfiles.
Given that my start and end times were well within the limits of the ONLY soundfile, this doesn't make any sense.

Anyway, I hope the above commandline works for you. We'll change the documentation when every mode has been tested.

Robert




 

j_corley

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Having an issue with newmorph2
« Reply #5 on: November 14, 2020, 05:07:33 PM »
Hi Robert,

Ah yes I had noticed that myself - but also encountered the exact same error: ERROR: end of interpolation is beyond end of one of soundfiles.

I did experiment with a variety of different times and files but so far no such luck.

Regards,
James

ArcherCDP

  • Full Member
  • ***
  • Posts: 19
    • View Profile
Re: Having an issue with newmorph2
« Reply #6 on: November 24, 2020, 08:25:27 PM »
Dear List,

I can confirm that the problem with NEWMORPH2 was an error in the Usage, which showed an incorrect order for modes 2-3.  It says:  analfileB peaksfile outanalfile. 
This Usage has now been corrected so that it keeps to the conventional order of analfileB outanalfile peaksfile (etc. parameters).  The program should work if entered in this order.

This does not include the sfsys fix for 24bit WAVEX mono. (See thread about DISTORT REPEAT).  This will require a full recompile of all programs on both platforms (along with updating the GitHub repository) -- message from Richard D.

Cheers,
Archer - CDP