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

janaucarre

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1041
    • 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: 5944
    • 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: 1041
    • 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: 5944
    • 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.

h106frp

  • Hero Member
  • *****
  • Posts: 1887
    • View Profile
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #79 on: March 07, 2018, 12:23:19 PM »
I appreciate enthusiasm is low but as this tool is essential for engine sounds editing could you consider at least one more build with;

a) new tyre directories linked
b) add the ability to mute layers or individual samples during replay


HornetMaX

  • Hero Member
  • *****
  • Posts: 5944
    • View Profile
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #80 on: March 08, 2018, 07:44:43 AM »
Both fair requirements, they'll be on top of todo list (if I touch this stuff again).

TheFatController

  • Full Member
  • ***
  • Posts: 237
    • View Profile
    • MXB-Central
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #81 on: May 07, 2018, 05:49:39 AM »
Hi MaX, I've just come to use this for MXB for the first time and am encountering a problem. It can't seem to load the audio files, even the sample (which I extracted to a folder on my desktop).

I wonder if somethings changed since you last made this tool compatible?

I get:

Code: [Select]
W  52: Unable to load sample:  "C:/Users/Ike/Desktop/Track Tools/bikes/tools/MaxSCL-v1.2/Samples/MXB_beta4/bikes/250x/2st250cc_onidle.wav"
W  53: Unable to load sample:  "C:/Users/Ike/Desktop/Track Tools/bikes/tools/MaxSCL-v1.2/Samples/MXB_beta4/bikes/250x/2st250cc_onverylow.wav"
W  54: Unable to load sample:  "C:/Users/Ike/Desktop/Track Tools/bikes/tools/MaxSCL-v1.2/Samples/MXB_beta4/bikes/250x/2st250cc_onlow.wav"
W  55: Unable to load sample:  "C:/Users/Ike/Desktop/Track Tools/bikes/tools/MaxSCL-v1.2/Samples/MXB_beta4/bikes/250x/2st250cc_onmid.wav"
W  56: Unable to load sample:  "C:/Users/Ike/Desktop/Track Tools/bikes/tools/MaxSCL-v1.2/Samples/MXB_beta4/bikes/250x/2st250cc_onhigh.wav"
W  57: Unable to load sample:  "C:/Users/Ike/Desktop/Track Tools/bikes/tools/MaxSCL-v1.2/Samples/MXB_beta4/bikes/250x/2st250cc_idle.wav"
W  58: Unable to load sample:  "C:/Users/Ike/Desktop/Track Tools/bikes/tools/MaxSCL-v1.2/Samples/MXB_beta4/bikes/250x/2st250cc_offidle.wav"
W  59: Unable to load sample:  "C:/Users/Ike/Desktop/Track Tools/bikes/tools/MaxSCL-v1.2/Samples/MXB_beta4/bikes/250x/2st250cc_offverylow_2.wav"
W  60: Unable to load sample:  "C:/Users/Ike/Desktop/Track Tools/bikes/tools/MaxSCL-v1.2/Samples/MXB_beta4/bikes/250x/2st250cc_offlow_3.wav"
W  61: Unable to load sample:  "C:/Users/Ike/Desktop/Track Tools/bikes/tools/MaxSCL-v1.2/Samples/MXB_beta4/bikes/250x/2st250cc_offmid_4.wav"
W  62: Unable to load sample:  "C:/Users/Ike/Desktop/Track Tools/bikes/tools/MaxSCL-v1.2/Samples/MXB_beta4/bikes/250x/2st250cc_offhigh_2.wav"
W  63: BIKE infos:
W  64:   Total mass [Kg]: 96.800000 [166.800000 with rider]
W  65:   Engine map:  "race"
W  66:     Max torque: 42 Nm  @  7646 RPM
W  67:     Max power : 48 Hp  @  8177 RPM

HornetMaX

  • Hero Member
  • *****
  • Posts: 5944
    • View Profile
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #82 on: May 07, 2018, 06:24:35 AM »
Hi MaX, I've just come to use this for MXB for the first time and am encountering a problem. It can't seem to load the audio files, even the sample (which I extracted to a folder on my desktop).
1st post of this thread: samples coming from MXB default bikes (same for GPB) are encrypted hence the .wav won't load.
They are provided anyway to show how a proper .scl should look like.

The .scl of a mod bike should load just fine.

TheFatController

  • Full Member
  • ***
  • Posts: 237
    • View Profile
    • MXB-Central
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #83 on: May 07, 2018, 09:23:39 AM »
Hi MaX, I've just come to use this for MXB for the first time and am encountering a problem. It can't seem to load the audio files, even the sample (which I extracted to a folder on my desktop).
1st post of this thread: samples coming from MXB default bikes (same for GPB) are encrypted hence the .wav won't load.
They are provided anyway to show how a proper .scl should look like.

The .scl of a mod bike should load just fine.

Damn, I knew that too.. It's just been a long time since I tried to mess with sounds.

Thanks MaX :)

JohnnoNinja

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #84 on: May 17, 2018, 02:19:01 PM »
Anyone got this tool to work with beta 13? Because I'm not able to load the scl file of any of the modded bikes I've got. It fails to open the .cfg file and gives an error about the tyre file (Unable to parse file: xxxxx.cfg Bad tyres file in section /TYRES.)

Edit: Just found this post: http://forum.piboso.com/index.php?topic=5611.0

HornetMaX

  • Hero Member
  • *****
  • Posts: 5944
    • View Profile
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #85 on: May 17, 2018, 02:34:48 PM »
Anyone got this tool to work with beta 13? Because I'm not able to load the scl file of any of the modded bikes I've got. It fails to open the .cfg file and gives an error about the tyre file (Unable to parse file: xxxxx.cfg Bad tyres file in section /TYRES.)

Edit: Just found this post: http://forum.piboso.com/index.php?topic=5611.0

Or that one: http://forum.piboso.com/index.php?topic=2082.msg79567#msg79567

HornetMaX

  • Hero Member
  • *****
  • Posts: 5944
    • View Profile
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #86 on: July 16, 2018, 06:28:18 PM »
v1.4 out (2018/07/16):

  • For GPB beta14, should work for MXB beta8 too (haven't checked too much though).
  • Added buttons to mute/unmute a sinlge sample or layer. Note that the mute status i snot saved to the .scl file.
  • Added support for tyres folder. If a bike uses shared tyres (e.g. the bike 'MotoGP_2017_HONDA_RC213V_MDL1' uses tyres 'Michelin_MotoGP_17'), you must set the 'Tyres folder': from the main window, use menu Main/Tyres folder to point to the correct folder. MaxSCL will try to load the tyre data from that folder firtst (if set) and from the bikes folder after.

I've added a PayPal donate button in the 1st post 8)

Myst1cPrun3

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #87 on: December 08, 2018, 12:02:03 AM »
Probably a really stupid question, but whenever I try to load the some scl files, I don't get any sound when playing. Am I missing something obvious, as some sounds work and others not so?
« Last Edit: December 08, 2018, 12:04:16 AM by Myst1cPrun3 »
"Don't lift until the thrill of speed is overcome by the fear of death" - Unknown