Author Topic: MaxSCL - A tool to edit .scl files (engine sounds)  (Read 10320 times)

janaucarre

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 924
    • View Profile
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #75 on: October 18, 2017, 10:00:46 AM »
Hi,

Thank you for the tool.

I've got a little problem:
I use the provided sample to see how it works and now I want to use a sample of mine replacing ON_idle and/o OFF_idle.
When i launch PLAY all is ok but the idle rpm seems very high compare to  my original wave sound, so i change refPitch, originally 3719, to 3000 or 4000 or anything else and there is no more sound at idle. I try to put 3719 (original setting) an nothing change. I use Enter and Ctrl+U each time I change something there.
I also tried to change the volume, so for idle => Layer0 Sample0 or Layer1 Sample0, three values, but nothing changed even when setting is 50.000000.

What do I wrong ? Is the idle base rpm elsewhere than the cfg file we need in mascl ?

You can find my idle wav in attachements

Edit I can't post the wav here because to heavy so a link:
https://mega.nz/#!s7whCJRS!Znnr7oCXnJVl1OqyHoTDfWgurLL-ub0BSfXYxHFn4L0

HornetMaX

  • Hero Member
  • *****
  • Posts: 5616
    • View Profile
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #76 on: October 18, 2017, 10:35:07 AM »
Hi,

Thank you for the tool.

I've got a little problem:
I use the provided sample to see how it works and now I want to use a sample of mine replacing ON_idle and/o OFF_idle.
When i launch PLAY all is ok but the idle rpm seems very high compare to  my original wave sound, so i change refPitch, originally 3719, to 3000 or 4000 or anything else and there is no more sound at idle. I try to put 3719 (original setting) an nothing change. I use Enter and Ctrl+U each time I change something there.
I also tried to change the volume, so for idle => Layer0 Sample0 or Layer1 Sample0, three values, but nothing changed even when setting is 50.000000.

What do I wrong ? Is the idle base rpm elsewhere than the cfg file we need in mascl ?
If you change the refpitch, values of min/maxpitch are recomputed in a way that essentially preserves the current sound.
This because refpitch is usually something known, so there's little reason to change it.
To do what you want to do, you should use one of the two methods:
  • change min/maxpitch (in your case, chnaging maxpitch should do it), or
  • enter the new refpitch then press the small calculator button beside the min/maxpitch fields to auto-compute the min/maxpitch values according to the new refpitch and the rpm limits
Volume values are between 0 and 1 :)

janaucarre

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 924
    • View Profile
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #77 on: October 18, 2017, 01:56:51 PM »
Thank you for answer to me.

I think I'm a bit stupid but i need more assistance.
- I open MaxSCL, I load engine.EX.scl, all is OK
- I close MaxSCL
- I put my idle sound in place of OFF_Idle_EX.wav, I load engine_EX.scl, my sound is good even the volume is to much lower but that's my fault.
Now i try what you tell me before:
- change min/maxpitch (in your case, chnaging maxpitch should do it) for layer 1 sample 0 wich corresponds to Off_Idle_EX.wav
- I put 2000 to MaxPitch and save
- close MaxSCL
- Launch MaxSCL
- press Play
Nothing changed, the idle rpm is exactly the same as before, about 2900 RPM

HornetMaX

  • Hero Member
  • *****
  • Posts: 5616
    • View Profile
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #78 on: October 18, 2017, 02:11:17 PM »
When you edit the .scl in the text editor you need to press the "Update" button to transfer the changes to the UI fields.
The other way around, if you modify a field in the UI (e.g. the maxPitch), that change is considered immediately (i.e. if you play the .scl you can hear the difference) but it's not saved to the text file: to do that you need to use the save button/command.

Whenever you change a field you have a small (*) that shows that your changes are not yet saved to the .scl file.
If you quit with a still dirty file you have a pop-up that asks you if you want to save or lose your changes.