Author Topic: newtex newtex problem with parameters  (Read 2812 times)

justinbennett

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
newtex newtex problem with parameters
« on: July 12, 2020, 04:58:10 PM »
Hi everybody,

Firstly, I have to admit that I don't really know what I'm doing, it's years since I used
the CDP, but I just started it up again for some summer fun. Just using command line
for now, and keeping my fingers crossed for an updated SoundLoom ;-) soonish.

maybe someone can point me in the right direction.

I was trying to use newtex newtex but the documentation doesn't
seem to match the errors that I get back:

According to the example this should work, but I get these errors:
macbookpro-3:texture justinbennett$ newtex newtex 1 perc1mono.wav perc1_tex.wav 30 4 3 0.1 0 0 1.5 0.35 36
ERROR: INCORRECT USE
ERROR: Parameter[4] Value (0.100000) out of range (1.000000 to 8.000000)

has the order of params been changed maybe? do I have an old documentation file (2014) ???

best wishes, Justin

rwdobson

  • Sr. Member
  • ****
  • Posts: 73
    • View Profile
Re: newtex newtex problem with parameters
« Reply #1 on: July 13, 2020, 03:03:04 PM »
Yes, it appears the documentation has some errors - we are looking into it. The example command line is missing the all-important "transposes" data text file, and has too many parameters - the final one for Mode 1 is "spacetype". The strange error message arises because (a foible of most modern operating systems!) a number such as "30" can be a legal file name; at the stage the message appears, it has not been opened to verify it is the right sort of data file.

justinbennett

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Re: newtex newtex problem with parameters
« Reply #2 on: July 13, 2020, 05:42:58 PM »
Thanks, Richard!

I think that the description of the different modes are not quite right then...

I'll puzzle on further. Best, Justin

rwdobson

  • Sr. Member
  • ****
  • Posts: 73
    • View Profile
Re: newtex newtex problem with parameters
« Reply #3 on: July 13, 2020, 06:35:59 PM »
The final argument (36) needs the -s flag, and then the documentation example works (it is a Mode 3 example, not Mode 1). So this should work with your input file:

newtex newtex 3 perc1mono.wav perc1_tex.wav 30 4 3 0.1 0 0 1.5 0.35 -s36



justinbennett

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Re: newtex newtex problem with parameters
« Reply #4 on: July 13, 2020, 07:16:45 PM »
AHA, missing -s! OK now it works but the resulting sound is almost inaudible so I'm going to tweak now,

thanks very much!
Justin

ArcherCDP

  • Full Member
  • ***
  • Posts: 20
    • View Profile
Re: newtex newtex problem with parameters
« Reply #5 on: July 14, 2020, 12:49:21 PM »
Hello,

This query about NEWTEX has revealed a number of issues, both a possible bug and more than one ambiguity in the documentation.  We are doing some work on this and will post more information as soon as we can.  Please note that on the command line some parameters require a flag.  E.g., the flag for the splice parameter is -s, so entry would be for example -s0.35.  Optional parameters are placed inside square brackets [...].

Archer - CDP

justinbennett

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Re: newtex newtex problem with parameters
« Reply #6 on: July 17, 2020, 08:09:53 PM »
OK, thanks for checking it out! J.