Old 09-06-2010, 12:21 PM   #1
lucky_bleeder
Human being with feelings
 
Join Date: Nov 2007
Location: Brighton UK
Posts: 108
Default 1b anyone ?

Can't believe no one else spotted this....

v3.68pre1b-test - September 5 2010
+ Experimental test change to sample-rounding code, may fix non-resampled timing issues
lucky_bleeder is offline   Reply With Quote
Old 09-06-2010, 12:25 PM   #2
beatbybit
Human being with feelings
 
beatbybit's Avatar
 
Join Date: Jul 2006
Location: Hungary
Posts: 3,129
Default

http://forum.cockos.com/showpost.php...&postcount=118

almost an hour ago
__________________
panda in the desert
beatbybit is offline   Reply With Quote
Old 09-06-2010, 01:07 PM   #3
rob.manderson
Human being with feelings
 
rob.manderson's Avatar
 
Join Date: Feb 2009
Location: Phoenix AZ
Posts: 226
Default

The directory appeared yesterday - empty until today.
rob.manderson is offline   Reply With Quote
Old 09-06-2010, 02:51 PM   #4
musicbynumbers
Human being with feelings
 
musicbynumbers's Avatar
 
Join Date: Jun 2009
Location: South, UK
Posts: 14,218
Default

Quote:
Originally Posted by rob.manderson View Post
The directory appeared yesterday - empty until today.
ROB!! why have you forsaken us!! lol
musicbynumbers is offline   Reply With Quote
Old 09-06-2010, 07:46 PM   #5
steadyrev
Human being with feelings
 
Join Date: Sep 2007
Location: JAMAICA
Posts: 492
Default

It's the generosity of his heart!
Like Usain Bolt is taking a year off to give mere mortals a chance to win, so Rob is giving others a chance.
Rob for president!!
steadyrev is offline   Reply With Quote
Old 09-06-2010, 08:23 PM   #6
beatbybit
Human being with feelings
 
beatbybit's Avatar
 
Join Date: Jul 2006
Location: Hungary
Posts: 3,129
Default

um, any words on the actual pre?..
__________________
panda in the desert
beatbybit is offline   Reply With Quote
Old 09-06-2010, 10:29 PM   #7
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,746
Default

These builds are testing out some changes to the sample timing/rounding code.

Ignore test1.

Test2: this has a very basic change which should (hopefully) not break anything, and fix rounding when splitting/adjusting splits of media that does not have SRC. This is almost certainly going to be in 3.68, unless we hear bad news from anybody.

Test3: this includes test2, as well as one attempt at fixing some rounding bugs when using SRC. It doesn't always work. Bad.

Test4: this includes test2 and parts of test3, to fix those rounding bugs when using (and when not using) SRC, and might actually be correct. If this goes well it might end up in 3.68, if not then maybe someday later.

If you would like to torture test these, I'd appreciate it.
Justin is offline   Reply With Quote
Old 09-06-2010, 10:34 PM   #8
beatbybit
Human being with feelings
 
beatbybit's Avatar
 
Join Date: Jul 2006
Location: Hungary
Posts: 3,129
Default

haha, i meant "any words" from the users - they seemed a bit too lounge-ish..

anyways, thanks a million for these builds, my quick test results here:

http://forum.cockos.com/showpost.php...2&postcount=44
__________________
panda in the desert
beatbybit is offline   Reply With Quote
Old 09-06-2010, 11:22 PM   #9
planetnine
Human being with feelings
 
planetnine's Avatar
 
Join Date: Oct 2007
Location: Lincoln, UK
Posts: 7,942
Default

Justin,
I'm not getting any rounding errors at all. Is this because I'm not using Snap-to-Grid, or Beats and Bars as my timeline?

Is this a problem with mixing a musical measure time system with a sample-based time system?

I've not achieved null-fail with scores of duplicates and thousands of splits on my single-sample rate tests, even using automatic fade ins/outs and trying cross-fades.

I'm beginning to think this issue does not affect my methods of working. I've never found this issue directly.

>
__________________
Nathan, Lincoln, UK. | Item Marker Tool. (happily retired) | Source Time Position Tool. | CD Track Marker Tool. | Timer Recording Tool. | dB marks on MCP faders FR.
planetnine is offline   Reply With Quote
Old 09-06-2010, 11:56 PM   #10
dub3000
Human being with feelings
 
dub3000's Avatar
 
Join Date: Mar 2008
Location: Sydney, Australia
Posts: 3,955
Default

Quote:
Originally Posted by planetnine View Post
Justin,
I'm not getting any rounding errors at all. Is this because I'm not using Snap-to-Grid, or Beats and Bars as my timeline?

Is this a problem with mixing a musical measure time system with a sample-based time system?

I've not achieved null-fail with scores of duplicates and thousands of splits on my single-sample rate tests, even using automatic fade ins/outs and trying cross-fades.

I'm beginning to think this issue does not affect my methods of working. I've never found this issue directly.

>
it may only kick in at particular BPMs, from what people have posted?
dub3000 is offline   Reply With Quote
Old 09-07-2010, 12:23 AM   #11
rob.manderson
Human being with feelings
 
rob.manderson's Avatar
 
Join Date: Feb 2009
Location: Phoenix AZ
Posts: 226
Default

Quote:
Originally Posted by steadyrev View Post
Rob for president!!
They'd have to change the constitution. I'm only a naturalised American - born in Australia!
rob.manderson is offline   Reply With Quote
Old 09-07-2010, 01:19 AM   #12
Subz
Human being with feelings
 
Subz's Avatar
 
Join Date: Jun 2006
Location: UK
Posts: 3,221
Default

lol well i came from i host that would phase when sending to a send bus. This is out of my test skills im sorry to say
Subz is offline   Reply With Quote
Old 09-07-2010, 03:21 AM   #13
musicbynumbers
Human being with feelings
 
musicbynumbers's Avatar
 
Join Date: Jun 2009
Location: South, UK
Posts: 14,218
Default

Will be able to test later as I'm too deep in "deadline" territory to risk giving my "position" away lol

But seriously thanks for looking at this, I was a "complainer" too and I owe it to you guys to test so will do as soon as.
musicbynumbers is offline   Reply With Quote
Old 09-07-2010, 03:30 AM   #14
Subz
Human being with feelings
 
Subz's Avatar
 
Join Date: Jun 2006
Location: UK
Posts: 3,221
Default

Quote:
Originally Posted by rob.manderson View Post
They'd have to change the constitution. I'm only a naturalised American - born in Australia!
Rob for Governor then

i take it those who where able to see this phase problem in the first place are testing this beta of a beta?

& i'm all up for tightening up unavoidable rounding errors (external midi clock sync anyone? )



EDIT: i started this post before musicbynumbers posted
Subz is offline   Reply With Quote
Old 09-07-2010, 04:10 AM   #15
planetnine
Human being with feelings
 
planetnine's Avatar
 
Join Date: Oct 2007
Location: Lincoln, UK
Posts: 7,942
Default

Quote:
Originally Posted by dub3000 View Post
it may only kick in at particular BPMs, from what people have posted?
I just leave my projects at 120, Dub, as I don't use beats and bars -you think this is why I'm not seeing any problems? I just use REAPER mostly as a playback and editing tape recorder, ocasionally recording on it. I've not been able to get it to glitch with phase.

I take it you line your stuff up to beats or subdivisions -do you have lock to grid on?

Nathan.

>
__________________
Nathan, Lincoln, UK. | Item Marker Tool. (happily retired) | Source Time Position Tool. | CD Track Marker Tool. | Timer Recording Tool. | dB marks on MCP faders FR.
planetnine is offline   Reply With Quote
Old 09-07-2010, 05:55 AM   #16
musicbynumbers
Human being with feelings
 
musicbynumbers's Avatar
 
Join Date: Jun 2009
Location: South, UK
Posts: 14,218
Default

I think your right that at 120 bpm things are aligned as 120 is tied in mathematically with 60 (seconds) so relates better to samples.

so no matter how many minutes you go into the song at 120 there is no "free-wheeling/drift" but at other tempos the sample amounts and beats grid drift out of sync over time so locking to the beats grid will pull samples out.

That's where I believe the rounding comes in.

I think

Just going to test the new test 4 now.

Quote:
Originally Posted by planetnine View Post
I just leave my projects at 120, Dub, as I don't use beats and bars -you think this is why I'm not seeing any problems? I just use REAPER mostly as a playback and editing tape recorder, ocasionally recording on it. I've not been able to get it to glitch with phase.

I take it you line your stuff up to beats or subdivisions -do you have lock to grid on?

Nathan.

>
musicbynumbers is offline   Reply With Quote
Old 09-07-2010, 06:07 AM   #17
Dstruct
Human being with feelings
 
Join Date: Jul 2006
Posts: 12,482
Default

Quote:
Originally Posted by Justin View Post
These builds are testing out some changes to the sample timing/rounding code.

Ignore test1.

Test2: this has a very basic change which should (hopefully) not break anything, and fix rounding when splitting/adjusting splits of media that does not have SRC. This is almost certainly going to be in 3.68, unless we hear bad news from anybody.

Test3: this includes test2, as well as one attempt at fixing some rounding bugs when using SRC. It doesn't always work. Bad.

Test4: this includes test2 and parts of test3, to fix those rounding bugs when using (and when not using) SRC, and might actually be correct. If this goes well it might end up in 3.68, if not then maybe someday later.

If you would like to torture test these, I'd appreciate it.
Will it fix http://forum.cockos.com/project.php?issueid=138 ?
Dstruct is offline   Reply With Quote
Old 09-07-2010, 06:15 AM   #18
Arnar
Human being with feelings
 
Arnar's Avatar
 
Join Date: Jan 2007
Location: Smokie Bay.
Posts: 796
Default

I should be trying this , but I can´t.
Hopefully later tonight or tomorrow.
__________________
In Music We Trust.
http://soundcloud.com/hazar
http://soundcloud.com/ifthenrun
Arnar is offline   Reply With Quote
Old 09-07-2010, 08:28 AM   #19
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,746
Default

Quote:
Originally Posted by Dstruct View Post
It does make it more consistent -- for me, test4 at least, results in a peak of -25dB for all states (i.e. starting at the item start or not).. not sure if that's a win, though. Can you tell me about the underlying media? Was the 44khz version generated from the 48khz version? If so, what process was used?
Justin is offline   Reply With Quote
Old 09-07-2010, 08:33 AM   #20
Dstruct
Human being with feelings
 
Join Date: Jul 2006
Posts: 12,482
Default

Quote:
Originally Posted by Justin View Post
It does make it more consistent -- for me, test4 at least, results in a peak of -25dB for all states (i.e. starting at the item start or not).. not sure if that's a win, though. Can you tell me about the underlying media? Was the 44khz version generated from the 48khz version? If so, what process was used?
Yeah, I think I did the 44.1kHz version from the 48kHz version. Done with REAPER (Extreme 512pt HQ SINC resampling mode + Dither + Noise Shaping).
Dstruct is offline   Reply With Quote
Old 09-07-2010, 08:58 AM   #21
Mercado_Negro
Moderator
 
Mercado_Negro's Avatar
 
Join Date: Aug 2007
Location: Caracas, Venezuela
Posts: 8,687
Default Test4

Project 48kHz
Media items 44.1kHz

https://stash.reaper.fm/oldsb/996055/test4_1.gif

Files null perfectly when starting at 1.1.00 but if they're both moved to another location (in this case, to 2.1.00) they stop nulling with each other.

Cheers

EDIT: After moving the items to 2.1.00, if I place my edit cursor at 2.2.00, the rest of the splits null again.
__________________
Pressure is what turns coal into diamonds - Michael a.k.a. Runaway

Last edited by Mercado_Negro; 09-07-2010 at 09:13 AM.
Mercado_Negro is offline   Reply With Quote
Old 09-07-2010, 09:10 AM   #22
Mercado_Negro
Moderator
 
Mercado_Negro's Avatar
 
Join Date: Aug 2007
Location: Caracas, Venezuela
Posts: 8,687
Default

Same project at 48kHz and media items 44.1kHz

https://stash.reaper.fm/oldsb/996069/test4_2.gif

Minimizing/maximizing REAPER doesn't show the green 'info' icon in items. You have to click on one of the items or play the project to see them again.
__________________
Pressure is what turns coal into diamonds - Michael a.k.a. Runaway
Mercado_Negro is offline   Reply With Quote
Old 09-07-2010, 09:55 AM   #23
musicbynumbers
Human being with feelings
 
musicbynumbers's Avatar
 
Join Date: Jun 2009
Location: South, UK
Posts: 14,218
Default seems to be working well now for the things I had probs with

I tested just now (and had no problem) in a similar way to this bug thread

http://forum.cockos.com/showthread.p...light=rounding

http://forum.cockos.com/project.php?issueid=138

Basically,

1-change tempo to anything but 60bpm/120bpm or simple devisions of that (i used 135)

2-take a few randomly placed short audio drum hits on different tracks,

3-send them to a buss/folder, render the drums to a new track (that's the full length of the drum samples),

4-invert the rendered track's polarity (so that it cancels with the original drum hits.)

Now to test use various ways to copy and paste the original drums and the rendered stem version. I used control & drag to copy, duplicate selection, nudge and copy and paste and EVEN copying the individual hits BUT looping the stemmed polarity inverted item.

ALL worked well in this new pre test 4 version

will try and do more tests later but that's a great result so far!!

This image should explain it

musicbynumbers is offline   Reply With Quote
Old 09-07-2010, 10:13 AM   #24
Arnar
Human being with feelings
 
Arnar's Avatar
 
Join Date: Jan 2007
Location: Smokie Bay.
Posts: 796
Default

Question .

Do these changes affect the loop length issue?
__________________
In Music We Trust.
http://soundcloud.com/hazar
http://soundcloud.com/ifthenrun
Arnar is offline   Reply With Quote
Old 09-07-2010, 10:26 AM   #25
musicbynumbers
Human being with feelings
 
musicbynumbers's Avatar
 
Join Date: Jun 2009
Location: South, UK
Posts: 14,218
Default

Also it seems the crash I reported here..

http://forum.cockos.com/showpost.php...5&postcount=22

where by simply "seeking" to another part of the project/video crashed repear is actually being caused somehow by the sample rounding fixes as it doesn't happen on 3.672.

will let you know if the crash happens again on 3.672 but so far it hasn't.
musicbynumbers is offline   Reply With Quote
Old 09-07-2010, 12:48 PM   #26
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,746
Default

Quote:
Originally Posted by musicbynumbers View Post
Also it seems the crash I reported here..

http://forum.cockos.com/showpost.php...5&postcount=22

where by simply "seeking" to another part of the project/video crashed repear is actually being caused somehow by the sample rounding fixes as it doesn't happen on 3.672.

will let you know if the crash happens again on 3.672 but so far it hasn't.
OK, if you can get this to happen with test2, that would be helpful. beatbybit has seen that crash as well, so hopefully we can duplicate/fix.

...this is why this was a "test" version heh.
Justin is offline   Reply With Quote
Old 09-07-2010, 01:08 PM   #27
musicbynumbers
Human being with feelings
 
musicbynumbers's Avatar
 
Join Date: Jun 2009
Location: South, UK
Posts: 14,218
Default

Will do Justin might not be for few hours as I'm trying to now export this edited and stretched dv mov file to dv avi without it crashing half way through.

Think I've read that mov files are a nightmare on PC's due to QuickTime shenanigans
musicbynumbers is offline   Reply With Quote
Old 09-07-2010, 01:16 PM   #28
timlloyd
Human being with feelings
 
Join Date: Mar 2010
Posts: 4,713
Default

Sorry for the delay Cockos, I'm having a busy mix day. I'll get testing as soon as I can
timlloyd is offline   Reply With Quote
Old 09-07-2010, 01:23 PM   #29
DuraMorte
Human being with feelings
 
Join Date: Jun 2010
Location: In your compressor, making coffee.
Posts: 1,165
Default

http://forum.cockos.com/showpost.php...&postcount=113

The test in this post was performed at 120 BPM, with 3.66pre7.
Downloading 3.672 now, to see if I can reproduce it.
Edit: Does not reproduce, oddly enough. :/
__________________
To a man with a hammer, every problem looks like a nail. - yep
There are various ways to skin a cat :D - EvilDragon

Last edited by DuraMorte; 09-07-2010 at 01:32 PM.
DuraMorte is offline   Reply With Quote
Old 09-07-2010, 01:31 PM   #30
musicbynumbers
Human being with feelings
 
musicbynumbers's Avatar
 
Join Date: Jun 2009
Location: South, UK
Posts: 14,218
Default

Quote:
Originally Posted by DuraMorte View Post
http://forum.cockos.com/showpost.php...&postcount=113

The test in this post was performed at 120 BPM, with 3.66pre7.
Downloading 3.672 now, to see if I can reproduce it.
Just in case you don't know. There is a folder on the lol site containing the test Pres. They're not in the root folder.
musicbynumbers is offline   Reply With Quote
Old 09-07-2010, 01:38 PM   #31
DuraMorte
Human being with feelings
 
Join Date: Jun 2010
Location: In your compressor, making coffee.
Posts: 1,165
Default

Quote:
Originally Posted by musicbynumbers View Post
Just in case you don't know. There is a folder on the lol site containing the test Pres. They're not in the root folder.
I'm aware. I just hadn't bothered updating in a while, and when I did, the test I'd done failed. Thus, all of my posts on the subject are null and void.
That's all.
__________________
To a man with a hammer, every problem looks like a nail. - yep
There are various ways to skin a cat :D - EvilDragon
DuraMorte is offline   Reply With Quote
Old 09-07-2010, 02:18 PM   #32
musicbynumbers
Human being with feelings
 
musicbynumbers's Avatar
 
Join Date: Jun 2009
Location: South, UK
Posts: 14,218
Default

cool, hope you didn't think I was saying you were dumb or anything just that it's easy to miss that little folder on lol
musicbynumbers is offline   Reply With Quote
Old 09-07-2010, 02:20 PM   #33
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,746
Default

Hmm I can't get test4 to crash the way that you mentioned.. anybody else seen that crash?
Justin is offline   Reply With Quote
Old 09-07-2010, 02:22 PM   #34
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,746
Default

Quote:
Originally Posted by Mercado_Negro View Post
Project 48kHz
Media items 44.1kHz

https://stash.reaper.fm/oldsb/996055/test4_1.gif

Files null perfectly when starting at 1.1.00 but if they're both moved to another location (in this case, to 2.1.00) they stop nulling with each other.

Cheers

EDIT: After moving the items to 2.1.00, if I place my edit cursor at 2.2.00, the rest of the splits null again.
Yeah, the differing project-media samplerates will require snap-to-project-samplerate, which will have to wait for 4.0, to be really useful.

So I guess now try to make sure that
  • things work right with project samplerate = media samplerate and no stretching
  • things don't crash any more than 3.672 :/
  • there are no significantly worse behaviors in test4 (or test2 for that matter) than 3.672, relating to samplerate conversion etc.

anyway...
Justin is offline   Reply With Quote
Old 09-07-2010, 02:33 PM   #35
Mercado_Negro
Moderator
 
Mercado_Negro's Avatar
 
Join Date: Aug 2007
Location: Caracas, Venezuela
Posts: 8,687
Default

Quote:
Originally Posted by Justin View Post
Yeah, the differing project-media samplerates will require snap-to-project-samplerate, which will have to wait for 4.0, to be really useful.

So I guess now try to make sure that
  • things work right with project samplerate = media samplerate and no stretching
  • things don't crash any more than 3.672 :/
  • there are no significantly worse behaviors in test4 (or test2 for that matter) than 3.672, relating to samplerate conversion etc.

anyway...
roger that!
__________________
Pressure is what turns coal into diamonds - Michael a.k.a. Runaway
Mercado_Negro is offline   Reply With Quote
Old 09-07-2010, 02:36 PM   #36
musicbynumbers
Human being with feelings
 
musicbynumbers's Avatar
 
Join Date: Jun 2009
Location: South, UK
Posts: 14,218
Default

Quote:
Originally Posted by Justin View Post
Hmm I can't get test4 to crash the way that you mentioned.. anybody else seen that crash?
I'm starting to believe it was the evil final cut exported DV .mov file

not had it again so far with other files.

be good for other video guys to test as well with DV .mov's but it hopefully was just this one file.
musicbynumbers 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 11:50 PM.


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