# Non-loop car sounds

**URL:** <https://qa.fmod.com/t/non-loop-car-sounds/19402>\
**Category:** FMOD Studio\
**Tags:** unity\
**Created:** [October 14, 2022, 10:15pm UTC](https://qa.fmod.com/t/non-loop-car-sounds/19402 "2022-10-14T22:15:39Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![batuhanag](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@batuhanag](https://qa.fmod.com/u/batuhanag)\
**Post date:** [October 14, 2022, 10:15pm UTC](https://qa.fmod.com/t/non-loop-car-sounds/19402/1 "2022-10-14T22:15:39Z")

</div>

Hello, the project I am currently working on is on vehicle sounds, we produce vehicle sounds with loop sounds recorded at different points such as 2500, 4500, 5500RPM, and we run them using autopitch by arranging them as you can see in the photo, but now we have a single sound recording from 0RPM to 8000RPM, so it is not a loop (you can listen to it in the soundcloud example), how can I use such sounds with fmod, I want the sound to enter the loop at the point where the timeline is on the timeline, how can I do this?

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/b/b0dfc7626c2ab58c6db218a72c9a5d4a9a505d03.png)

https://w.soundcloud.com/player/?visual=false&url=https%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F1363222750&show_artwork=true&maxheight=166

---

<div class="post-metadata">

**Author:** ![TorutheRedFox](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/torutheredfox/32/5255_2.png) [@TorutheRedFox](https://qa.fmod.com/u/TorutheRedFox)\
**Post date:** [October 15, 2022, 10:03am UTC](https://qa.fmod.com/t/non-loop-car-sounds/19402/2 "2022-10-15T10:03:58Z")

</div>

I’ve been wondering the same thing

like afaik it’s granular synthesis, but I don’t know how to get such data into FMOD and playing properly

---

<div class="post-metadata">

**Author:** ![Alcibiade](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/alcibiade/32/4284_2.png) [@Alcibiade](https://qa.fmod.com/u/Alcibiade)\
**Post date:** [October 15, 2022, 2:36pm UTC](https://qa.fmod.com/t/non-loop-car-sounds/19402/3 "2022-10-15T14:36:17Z")

</div>

> [@batuhanag](#):
>
> I want the sound to enter the loop at the point where the timeline is on the timeline, how can I do this

I guess you mean “on the parameter value”, since there’s no timeline in a parameter sheet.  
I don’t think it would work well, but you could try something: create a nested event for that sound, make a tiny loop region at its beginning, and automate the offset of the instrument with the RPM (to change the part being looped). However, there’s no way you’ll have an exact match on the entire range…

---

<div class="post-metadata">

**Author:** ![batuhanag](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@batuhanag](https://qa.fmod.com/u/batuhanag)\
**Post date:** [October 15, 2022, 9:22pm UTC](https://qa.fmod.com/t/non-loop-car-sounds/19402/4 "2022-10-15T21:22:09Z")

</div>

That’s exactly what I mean.  
like most synthesizers, I want a certain region of the cursor area (1 second before and after) to play as a loop

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/6/6cadb0f02ca2049067d6d383b72363a8e780d060.png)

---

<div class="post-metadata">

**Author:** ![Alcibiade](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/alcibiade/32/4284_2.png) [@Alcibiade](https://qa.fmod.com/u/Alcibiade)\
**Post date:** [October 15, 2022, 10:44pm UTC](https://qa.fmod.com/t/non-loop-car-sounds/19402/5 "2022-10-15T22:44:44Z")

</div>

It kinda works as I suggested, but isn’t convincing at all. It’s not possible to make a convincing loop on your audio file exemple in my opinion. And a 2 s loop as you suggested is way too much, since the RPM rises fast in your exemple (I used a 100 ms loop).

[![](https://img.youtube.com/vi/ssqDpMx6Glo/maxresdefault.jpg "Offset automation") ](https://www.youtube.com/watch?v=ssqDpMx6Glo)

---

<div class="post-metadata">

**Author:** ![joseph](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joseph/32/264_2.png) [@joseph](https://qa.fmod.com/u/joseph)\
**Post date:** [October 17, 2022, 2:51am UTC](https://qa.fmod.com/t/non-loop-car-sounds/19402/6 "2022-10-17T02:51:24Z")

</div>

> [@batuhanag](#):
>
> I want a certain region of the cursor area (1 second before and after) to play as a loop

As of the time of writing (October of 2022), there is no way in FMOD Studio to do this for arbitrary parameter values in real time. You can do it for a specific predefined section of a waveform by using a synchronous instrument, and can have the section of the waveform change in response to changes in a game parameter by using multiple loop regions in conjunction with some transition logic, but there is no way to make a loop region dynamically slide up and down the waveform in response to a parameter.

As Alcibiade points out, though, even if you could do this in FMOD Studio, it wouldn’t work well with the sample you posted. The jump in pitch at the end of each loop would be extremely noticeable. You would need to do some complex cross-fading or granular synthesis, and the result would likely sound different to what you intend.

---

<div class="post-metadata">

**Author:** ![rvangaal](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/rvangaal/32/11_2.png) [@rvangaal](https://qa.fmod.com/u/rvangaal)\
**Post date:** [November 14, 2022, 12:43pm UTC](https://qa.fmod.com/t/non-loop-car-sounds/19402/7 "2022-11-14T12:43:46Z")

</div>

You’ll need to preprocess the sound I guess, to flatten out pitch. So take parts of 1s for example, but pitch bend those so the entire 1s has more or less the same pitch. Then use such loops wth FMOD’s AutoPitch. Of course, this all is not entirely trivial.
