Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER General Discussion Forum

Reply
 
Thread Tools Display Modes
Old 08-16-2022, 10:13 AM   #1
Dragonetti
Human being with feelings
 
Join Date: Feb 2017
Location: Kiel
Posts: 974
Default can someone explain the phenomenon to me?

the tempo of the song is 120
The copy should actually start position at exactly 6 sec.
is there a preferences setting that works?

Thanks

Last edited by Dragonetti; 08-16-2022 at 10:18 AM.
Dragonetti is offline   Reply With Quote
Old 08-16-2022, 10:43 AM   #2
lunker
Human being with feelings
 
lunker's Avatar
 
Join Date: Nov 2007
Location: Lucas, TX, USA (via Luleå, Sweden)
Posts: 2,008
Default

It looks to me like the problem is the length of the item.

The length says "0:00.249", while you need it it be "0:00:250" to end up exactly at "0:06.000" (assuming that the first item starts exactly at the beginning of bar 3 ("0:04.000"), which isn't explicitly shown in the video but I think is the case)

Reaper's rounding/truncating rules for displaying time are not exactly perfect. Based on the time "0:05.999", the item length is longer than "0:00.249" and shorter than "0:00:250". Assuming the final time "0:05.999" is correct, the item length is "0:00.249875" (1.999 / 8 repetitions of the item), and the GUI is truncating the length to "0:00.249" to fit in the box.

But "0:05.999" might not be exactly correct, either. Reaper could be truncating "0:05.999999" to "0:05.999", which would make the item length "0:00.24999988"

Either way, the item needs to be exactly "0:00.250" for 8 repetitions to be exactly "0:02.000" long and align with "0:06.000" on the timeline.

If you are having trouble making the item exactly "0:00.250", it may be because it is trying to conform to an exact integer number of samples. Somewhere there is a preference to disable that, but I don't recall exactly where at the moment (sorry ... I'm not at my Reaper PC right now).
__________________
Best Regards, Ernie "lunker" Lundqvist
BDSM (Bad Dog Studio Musicians)
Windows 10 running on Z390 + i7-8700

Last edited by lunker; 08-16-2022 at 11:20 AM.
lunker is offline   Reply With Quote
Old 08-16-2022, 03:30 PM   #3
Dragonetti
Human being with feelings
 
Join Date: Feb 2017
Location: Kiel
Posts: 974
Default

Thanks for the detailed answer.
the item is only 0.249 seconds long. but it should be 0.250.
This is probably set somewhere in the audio import.


Dragonetti is offline   Reply With Quote
Old 08-16-2022, 04:26 PM   #4
lunker
Human being with feelings
 
lunker's Avatar
 
Join Date: Nov 2007
Location: Lucas, TX, USA (via Luleå, Sweden)
Posts: 2,008
Default

I'm out of my element here, since I mostly deal with MIDI.

What happens if you stretch the item out to be exactly "0:00.250" (like your video shows), and then you glue it to create a new item? Does the new item have the correct length, so you can loop it for exactly 2 seconds?
__________________
Best Regards, Ernie "lunker" Lundqvist
BDSM (Bad Dog Studio Musicians)
Windows 10 running on Z390 + i7-8700
lunker is offline   Reply With Quote
Old 08-16-2022, 04:41 PM   #5
Dragonetti
Human being with feelings
 
Join Date: Feb 2017
Location: Kiel
Posts: 974
Default

The time stretch works.
But actually, Reaper should do that itself when importing.
Dragonetti is offline   Reply With Quote
Old 08-16-2022, 05:16 PM   #6
lunker
Human being with feelings
 
lunker's Avatar
 
Join Date: Nov 2007
Location: Lucas, TX, USA (via Luleå, Sweden)
Posts: 2,008
Default

It works correctly here.

I made a WAV file that is 24,000 samples long (0.25 sec @ 96 kHz), and it imports and loops perfectly.

If I cut a sample or two off the end of the file and then import it, I get the behavior you are observing.

Are you sure the file you're importing is exactly 0.25 seconds long (exactly the correct number of samples for whatever sample rate you are using)?
If it isn't, I'm not sure it's Reaper's job to decide to round it up to the nearest fraction of a second to make it loop nicely for you.
__________________
Best Regards, Ernie "lunker" Lundqvist
BDSM (Bad Dog Studio Musicians)
Windows 10 running on Z390 + i7-8700

Last edited by lunker; 08-16-2022 at 05:31 PM.
lunker is offline   Reply With Quote
Old 08-17-2022, 03:08 AM   #7
Dragonetti
Human being with feelings
 
Join Date: Feb 2017
Location: Kiel
Posts: 974
Default

The original length and sample rate probably do not match the set bpm.
It would work for me if Reaper would set my sample to Playback Rate : 1.791020 when importing(if necessary, cut the sample) .
All of this should be a known problem.
Is there a preference setting?

Dragonetti is offline   Reply With Quote
Old 08-17-2022, 03:35 AM   #8
lunker
Human being with feelings
 
lunker's Avatar
 
Join Date: Nov 2007
Location: Lucas, TX, USA (via Luleå, Sweden)
Posts: 2,008
Default

When you import the file, does it give you some options to choose from?

Again ... not at my Reaper PC, so I can't be exact with the wording; but I get choices something like "Apply project tempo to imported item" and "Ignore embedded tempo information".

I always choose the "ignore" option, because if I want to alter the tempo/length of imported audio, I'll do it manually. I'm not sure if choosing the other option might give you what you want.
__________________
Best Regards, Ernie "lunker" Lundqvist
BDSM (Bad Dog Studio Musicians)
Windows 10 running on Z390 + i7-8700
lunker is offline   Reply With Quote
Old 08-17-2022, 04:09 AM   #9
Dragonetti
Human being with feelings
 
Join Date: Feb 2017
Location: Kiel
Posts: 974
Default

I was able to solve the problem for myself.
The offset of the audio snippets can remain and I have adjusted my chord recognition so that it looks ahead at least -0.05 seconds.
Now everything works.
When changing the import settings, the offset still existed.
Thanks

Dragonetti is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:02 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.