12-07-2010, 06:24 AM | #1 |
Human being with feelings
Join Date: Jul 2006
Posts: 12,525
|
4.0alpha7a - Resampling causes crackling :(
Load this project: http://forum.cockos.com/attachment.p...8&d=1455568380
-> set your soundcard samplerate to 44.1 kHz -> playback (so we have a 48kHz -> 44.1kHz conversion going on) => Crackles/glitches, no matter which resample mode Crackles are also there in offline render. FIXED (5.20pre4) Last edited by Dstruct; 02-16-2016 at 05:54 AM. |
12-07-2010, 06:41 AM | #2 |
Human being with feelings
Join Date: Jun 2006
Location: UK
Posts: 3,240
|
EDIT::
I also am getting a light crackle at 44.1 & none at 48 with the linked project Subz |
12-07-2010, 07:00 AM | #3 |
Human being with feelings
Join Date: Jul 2006
Posts: 12,525
|
Yup, not sure if it's new to 4.alpha as I don't have 3.x installed here to test ...
|
12-07-2010, 07:03 AM | #4 |
Human being with feelings
Join Date: Sep 2009
Location: NZ
Posts: 375
|
Hey,
Yeah crackles (/tiny pops?) audible at my end from the supplied project & media. However still audible @44100 and 48000. Copy-paste then glue rendered - still audible (don't know if that should make a difference). -a oops: Reaper (x64) 4.0alpha7a XP 64 Line6 UX8 (usb) Last edited by arkima; 12-07-2010 at 07:06 AM. Reason: added info |
12-07-2010, 07:11 AM | #5 | |
Human being with feelings
Join Date: Jul 2006
Posts: 12,525
|
Quote:
FIXED (5.20pre4) Last edited by Dstruct; 02-16-2016 at 05:55 AM. |
|
12-07-2010, 07:27 AM | #6 | |
Human being with feelings
Join Date: Sep 2009
Location: NZ
Posts: 375
|
Quote:
Here's the thing - Yeah, I just tested it out on the (x86)v3.73 and sounds clear (I really cranked it too - no crackle that I could hear) @48kHz but there as you mention @44.1kHz (so it's resampling) - I can hear it. But no matter what at my end I can still hear the crackle testing it out on 3.73 (x64), 4.0 alpha7a (x86) and 4.0alpha7a (x64). ? I did testing using headphones. And not 100% certain but it did seem worse playing back @44.1kHz in general - here anyway.. Hope that's some kind of use.. -a |
|
12-07-2010, 07:40 AM | #7 |
Human being with feelings
Join Date: Jul 2006
Posts: 12,525
|
I don't really get what you want to say.
You mean you get crackles in "3.73 (x64), 4.0 alpha7a (x86) and 4.0alpha7a (x64)" at 48 kHz session too? |
12-07-2010, 07:40 AM | #8 |
Human being with feelings
Join Date: Jun 2006
Location: UK
Posts: 3,240
|
3.74Pre4 & 3.52 act the same as 4Alpha7a for me
all 3 crackle at 44.1 but play fine at 48 Subz (Win7 x86) |
12-07-2010, 07:42 AM | #9 |
Human being with feelings
Join Date: Jun 2009
Location: South, UK
Posts: 14,276
|
I really doubt this is it but perhaps it's to do with the new sample rate snapping stuff (behind the scenes that is) because I know that it's not because the items have been moved but maybe something about how the samples are being "read back" in this mode.
Still, this is doubtful but worth a test with project sample rate off and the new sample snap box un ticked.. |
12-07-2010, 07:53 AM | #10 |
Human being with feelings
Join Date: Jul 2006
Posts: 12,525
|
It's not caused by the resampling algorithm. It's the item looping that's buggy.
Maybe the bug was introduced in 3.3 where this http://forum.cockos.com/project.php?issueid=1939 got fixed ... |
12-07-2010, 07:57 AM | #11 |
Human being with feelings
Join Date: Jun 2006
Location: UK
Posts: 3,240
|
this needs to go in the tracker & the V3 bug forum!! (IMHO)
Subz |
12-07-2010, 07:57 AM | #12 |
Human being with feelings
Join Date: Jul 2006
Posts: 12,525
|
Put into bug tracker: http://forum.cockos.com/project.php?issueid=3125 (please vote/confirm) ...
FIXED (5.20pre4) Last edited by Dstruct; 02-16-2016 at 05:55 AM. |
12-07-2010, 08:12 AM | #13 | |
Human being with feelings
Join Date: Sep 2009
Location: NZ
Posts: 375
|
Quote:
So this time taking a breath and carefully running through each and re-checking: -All are fine @48 kHz playback and at loop. (as expected) -All @44.1 kHz contain small crackle/pop through play back and a pop/click at the loop point is noticeable. Sorry - was just trying to help. |
|
12-07-2010, 08:22 AM | #14 |
Human being with feelings
Join Date: Jul 2006
Posts: 12,525
|
Alright, thanks. Please confirm in the tracker too ...
|
12-07-2010, 08:43 AM | #15 |
Human being with feelings
Join Date: Sep 2009
Location: NZ
Posts: 375
|
Done.
|
12-07-2010, 09:20 AM | #16 |
Human being with feelings
Join Date: Apr 2008
Location: Brasov Romania
Posts: 140
|
yes crackles since alpha version
yes I can confirm that that I have crackles too since the first version of 4 alpha, RME 9652 card here at 44.1 khz.
|
12-07-2010, 09:34 AM | #17 |
Human being with feelings
Join Date: Jun 2006
Location: UK
Posts: 3,240
|
FYI there are [yes] / [no] buttons on tracker posts thats how you confirm
posting in tracker threads with no relevant info may result in deletion of said post Subz |
12-07-2010, 11:43 AM | #18 |
Human being with feelings
Join Date: Jul 2006
Posts: 12,525
|
|
12-07-2010, 11:44 AM | #19 |
Human being with feelings
Join Date: Jul 2006
Posts: 12,525
|
|
12-08-2010, 11:35 AM | #20 |
Human being with feelings
Join Date: Sep 2009
Location: NZ
Posts: 375
|
|
12-10-2010, 05:00 AM | #21 |
Super Moderator (no feelings)
Join Date: Dec 2007
Location: On or near a dike
Posts: 9,836
|
- I'm not getting any crackling at 44.1 or 48kHz, also not at the loop point.
- The output render WAV file you provided is clean (no audible artifacts or visible glitches on the waveform display, hence no rendered artifacts) So there must be more to it than playing back the test project @44.1kHz, and it looks a bit like the problem could be rather on the playback side outside of REAPER than within. OS is ruled out (I used Vista 32 and you guys are using all other Windowses) - it looks like at least 2 of you guys are using an RME card, what else do you have in common? |
12-10-2010, 05:14 AM | #22 | |
Human being with feelings
Join Date: Jun 2006
Location: UK
Posts: 3,240
|
Quote:
there is a quite obvious one in the wav file at 4 seconds in i think they are sub sample errors so you need to zoom in close to find it this is in the wav [IMG]http://img225.**************/img225/7501/44112760.png[/IMG] Subz |
|
12-10-2010, 05:32 AM | #23 |
Human being with feelings
Join Date: Jul 2006
Posts: 12,525
|
Then you really need to see a doctor to check your ears!
|
12-10-2010, 05:46 AM | #24 |
Human being with feelings
Join Date: Jun 2006
Location: UK
Posts: 3,240
|
i wouldn't go that far!
first time i played it i did not notice it, & i guess with Ollie being so mad busy dealing with this mad house of a forum he only quickly tested with low volume or he just has a naturally crackly setup at home Subz |
12-10-2010, 05:51 AM | #25 | |
Super Moderator (no feelings)
Join Date: Dec 2007
Location: On or near a dike
Posts: 9,836
|
Quote:
Look how helpful a screenshot and/or some detaled information can be! |
|
02-15-2016, 01:33 PM | #26 |
Human being with feelings
Join Date: Jul 2006
Posts: 12,525
|
Still there in 5.16pre1.
See attached project (fine at 48kHz, crackles at 44.1kHz) FIXED (5.20pre4) Last edited by Dstruct; 02-16-2016 at 09:27 AM. |
02-15-2016, 03:34 PM | #27 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,117
|
Working on this now! Hopefully the fix won't break the world.
|
02-15-2016, 03:53 PM | #28 |
Human being with feelings
Join Date: Jul 2006
Posts: 12,525
|
Ok, thanks!
|
02-16-2016, 04:59 AM | #29 |
Human being with feelings
Join Date: Apr 2014
Posts: 943
|
issue seems to fixed with 5.20pre4,
at least, I can not hear crackles anymore, like before.
__________________
I hope you can understand me? Without german beer my written english is always very bad, with beer it becomes unbearable!. Less is more! To much limited the own creativity. |
02-16-2016, 05:25 AM | #30 |
Human being with feelings
Join Date: Jul 2006
Posts: 12,525
|
Yes, crackles are fixed. But I think I'm still able to hear some overtones/distortion that doesn't sound right to me!? I think it should sound cleaner. But might be the speakers too.
Also see this new attached project: track 1: item looped normally track 2: item looped using "loop section of item source" Results: at 48kHz: fine (nulls out to -inf) at 44.1kHz: only the first pass (when starting playback at about the middle of the items) nulls out to -inf. all following passes only to -44 dBFS. shouldn't this be better/lower? why is the first (half) pass nulling out to -inf? Just hardcore testing Last edited by Dstruct; 02-16-2016 at 09:27 AM. |
02-16-2016, 07:32 AM | #31 | ||
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,117
|
Quote:
(I mention this because anything going through the Win7 kernel mixer (WaveOut, DSound, etc) does sound distorted at 44khz if the audio device is natively 48khz). Quote:
I didn't look at this project, but I did a test where I glued the original project at 48khz, then switched to 44khz and compared it to the looped version. There are differences after the first loop, and this is to be expected, due to the various compromises made by samplerate conversion. Hopefully it's not glitchy, though anyway... |
||
02-16-2016, 08:01 AM | #32 | ||
Human being with feelings
Join Date: Jul 2006
Posts: 12,525
|
Quote:
There is some sort of buzz but it's already there in the original 48kHz sample (if you bosst >500Hz). I took this as clean sine from Vember Audio Surge Vsti. Yeah, it seems to be impossible in REAPER to cut a single cycle sine wave from an audio file. If you try to do this you'll get this noize/buzz above 500Hz!? Can you get a clean one? Snap to samples is enabled + force project tempo ... to occur on whole samples. ReaSynth is the same. Can't cut a single cycle from it without buzz on loop. Quote:
|
||
02-16-2016, 09:11 AM | #33 | |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,117
|
Quote:
So for example, at 48000 Hz, a 440 Hz sine wave would be 109.0909090909091 samples long = would glitch, but a 480 Hz sine wave would be exactly 100 samples long and should be OK. Here's a 480 Hz sinewave I made by gluing the output of the tone generator, it looks clean looped at 48kHz on a spectrum analyzer: http://1014.org/shiz/shup/01-160216_...1-glued-01.wav |
|
02-16-2016, 09:26 AM | #34 |
Human being with feelings
Join Date: Jul 2006
Posts: 12,525
|
Ok, solved then! This 480 Hz sine is looping fine! Thanks!
|
02-16-2016, 09:34 AM | #35 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,117
|
I'm going to do some research to see if I can make looped items behave better with resampling too. It might be worthwhile...
|
02-16-2016, 09:52 AM | #36 |
Human being with feelings
Join Date: Jul 2006
Posts: 12,525
|
Ok, cool
|
Thread Tools | |
Display Modes | |
|
|