Fixing turbo sounds since TurboRPM value has been broken for over a year.

Discussion in 'Car Modding' started by EmperorOfFinland, Jul 9, 2024.

  1. EmperorOfFinland

    EmperorOfFinland Registered

    Joined:
    Jan 26, 2021
    Messages:
    507
    Likes Received:
    1,102
    So what would be the easiest way to fix the Json audio if the turboRPM value i used for sound earlier does not work anymore?



    Code:
              {
                "multi": {
                  "name": "turbo",
                  "volume": {
                    "key": "turboRPM",
                    "value": [[0,0,0],[70000,0.6,-0.2],[140000,0.74,-0.2]]
                  },
                  "position": [0.35,0.18,0.3],
                  "events": [
                    {
                      "loop": {
                        "sample": "Sounds\\F1_1982\\Turbo\\Turbo_Whistle.wav",
                        "volume": {
                          "key": "turboRPM",
                          "value": [[0,0,0],[15000,0.5,0.2],[75000,0.27,0],[170000,0.12,0]]
                        },
                        "pitch": {
                          "key": "turboRPM",
                          "value": [[0,0,0],[50000,1,0],[100000,2,0],[150000,3,0]]
                        }
                      }
                    },
                    {
                      "loop": {
                        "sample": "Sounds\\F1_1982\\Turbo\\Turbo_Hiss.wav",
                        "volume": {
                          "key": "throttle",
                          "value": [[0,0.2,0],[1,0.45,0.314]]
                        },
                        "pitch": {
                          "key": "turboRPM",
                          "value": [[0,0.7,0],[125000,1.0,-0.3]]
                        }
                      }
                    }
                  ]
                }
              },
              {
                "multi": {
                  "name": "turboDump",
                  "volume": 1.0,
                  "pitch": {
                    "key": "turboRPM",
                    "value": [[10000,0.3,0],[140000,1.5,-0.2]]
                  },
                  "position": [0.35,0.3,0.3],
                  "events": [
                    {
                      "burst": {
                        "sample": "Sounds\\F1_1982\\Turbo\\Turbo_Dump_1.wav",
                        "volume": {
                          "key": "turboVel",
                          "value": [[0,0,0],[0.05,0.1,0],[0.30,0.7,0]]
                        }
                      }
                    },
                    {
                      "burst": {
                        "sample": "Sounds\\F1_1982\\Turbo\\Turbo_Dump_2.wav",
                        "volume": {
                          "key": "turboVel",
                          "value": [[0.12,0,0],[0.30,1,0]]
                        }
                      }
                    },
                    {
                      "burst": {
                        "sample": "Sounds\\F1_1982\\Turbo\\Turbo_Dump_2.wav",
                        "volume": {
                          "key": "turboVel",
                          "value": [[0.24,0,0],[0.40,1,0]]
                        }
                      }
                    }
                  ]
                }
              }
            ]
          }
        }
      ]
    }
     
    oka22 and ThomasJohansen like this.
  2. ThomasJohansen

    ThomasJohansen Registered

    Joined:
    Dec 27, 2019
    Messages:
    969
    Likes Received:
    2,238
    I tried this but not a very good solution.
    Code:
    {
                "multi": {
                  "name": "turboDump",
                  "volume": 2.0,
                  "position": [0.35,0.3,0.3],
                  "effect": "engineOpen",
                  "filter": "engine",
                  "events": [
                    {
                      "burst": {
                        "volume": {
                                "key": "engineRPM",
                                "value": [[4900.00,0,0],[5000.00,2,0.2],[8980.00,2,0],[9000.00,0,0.2]]
                              },
                        "sample": "Sounds\P935_dumpvalve.wav"
                      }
                    }
    
                  ]
                }
     
  3. EmperorOfFinland

    EmperorOfFinland Registered

    Joined:
    Jan 26, 2021
    Messages:
    507
    Likes Received:
    1,102
    Code:
              {
                "multi": {
                  "name": "turbo",
                  "volume": {
                    "key": "engineRPM",
                    "value": [[3000,0,0],[4000,0.2,-0.2],[6000,0.3,-0.2],[8000,0.4,-0.2],[10000,0.5,-0.2],[11000,0.6,-0.2]]
                  },
                  "position": [0.35,0.18,0.3],
                  "effect": "engineOpen",
                  "filter": "engine",
                  "events": [
                    {
                      "loop": {
                              "sample": "Sounds\\F1_1982\\Turbo\\Turbo_Whistle.wav",
                              "volume": {
                                "key": "transmissionTorque",
                                "value": [[-300,0,0],[100,0.3,-0.2],[200,0.6,-0.2],[300,0.9,-0.2],[400,1.0,-0.2],[500,1.2,-0.2]]
                              },
                              "pitch": {
                                "key": "engineRPM",
                                "value": [[3000,1,0],[6000,2,0],[9000,3,0],[12000,4,0]]
                              }
                            }
                          },
                    {
                      "loop": {
                              "sample": "Sounds\\F1_1982\\Turbo\\Turbo_Hiss.wav",
                              "volume": {
                                "key": "transmissionTorque",
                                "value": [[-300,0,0],[100,0.3,-0.2],[200,0.6,-0.2],[300,0.9,-0.2],[400,1.0,-0.2],[500,1.2,-0.2]]
                              },
                              "pitch": {
                                "key": "engineRPM",
                                "value": [[3000,1,0],[6000,2,0],[9000,3,0],[12000,4,0]]
                        }
                      }
                    }
                    ]
                }
              },
              {
                "multi": {
                  "name": "turboDump",
                  "volume": 1.0,
                  "pitch": {
                    "key": "turboVel",
                    "value": [[0.005,0.8,0],[0.06,1.6,-0.2]]
                  },
                  "position": [0.35,0.3,0.3],
                  "effect": "engineOpen",
                  "filter": "engine",
                  "events": [
                    {
                      "burst": {
                        "sample": "Sounds\\F1_1982\\Turbo\\TURBO_DUMP_LOW_7.WAV",
                        "volume": {
                          "key": "turboVel",
                          "value": [[0,0,0],[0.005,0.1,0],[0.018,0.7,0],[0.023,0.1,0]]
                        }
                      }
                    },
                    {
                      "burst": {
                        "sample": "Sounds\\F1_1982\\Turbo\\TURBO_DUMP_MED_7.WAV",
                        "volume": {
                          "key": "turboVel",
                          "value": [[0.018,0,0],[0.023,1,0],[0.027,0,0]]
                        }
                      }
                    },
                    {
                      "burst": {
                        "sample": "Sounds\\F1_1982\\Turbo\\TURBO_DUMP_HIGH_7.WAV",
                        "volume": {
                          "key": "turboVel",
                          "value": [[0.023,0,0],[0.027,0.5,0],[0.06,0.7,0]]
                        }
                      }
                    }
                  ]
                }
              }
            ]
          }
        },
    Well atleast it works with this. the turbo does not really spool down that well but atleast the sounds approximately work. still a shame it does not work.
     
    ThomasJohansen likes this.
  4. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,207
    Likes Received:
    3,044
    Did you already try it with much higher RpM than 11000 max, like a real Turbo revs?
     
  5. EmperorOfFinland

    EmperorOfFinland Registered

    Joined:
    Jan 26, 2021
    Messages:
    507
    Likes Received:
    1,102
    this takes it from the engine RPM and not the turbo RPM that value has been broken for a year. otherwise i would use it
     
  6. EmperorOfFinland

    EmperorOfFinland Registered

    Joined:
    Jan 26, 2021
    Messages:
    507
    Likes Received:
    1,102

Share This Page