Sliding Pitch and Time Crash

This section is now closed.
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.1.x version.

Mac 0S X 10.3 and earlier are no longer supported but you can download legacy versions of Audacity for those systems HERE.
Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Sliding Pitch and Time Crash

Post by Gale Andrews » Fri Aug 13, 2010 4:23 am

Keep us posted on when you can commit.

I don't know if you ever tested really long tracks with Time Scale, but with current SVN it seems a 50 minute stereo track with extreme settings can take getting on for 90 minutes to complete (but doesn't crash). See:
http://forum.audacityteam.org/viewtopic ... 759#p98759


Thanks


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

otey
Posts: 39
Joined: Sat Jun 05, 2010 9:09 am
Operating System: Please select

Re: Sliding Pitch and Time Crash

Post by otey » Fri Aug 13, 2010 7:31 am

I'm still working on the vst sbsms sampler (which is turning out to be quite interesting). It will take some time as I keep coming up with ideas as fast as I implement them (which require significant changes to the library itself). I am considering permanently branching the audacity/sampler library code for various reasons (the size of the library source and the binary is quite a bit larger, for one thing). Regardless, I'll try to focus on committing to audacity in some form or another as soon as possible. Sorry for the unwarranted delay - is there a release scheduled which I should aim for?

otey
Posts: 39
Joined: Sat Jun 05, 2010 9:09 am
Operating System: Please select

Re: Sliding Pitch and Time Crash

Post by otey » Fri Aug 13, 2010 9:36 am

I decided I will definitely branch. Sourceforge and audacity will share a pared down branch, and the sampler will have its own branch (which I don't have any plans for releasing as source any time soon). This will make me and audacity and the sampler much happier, but it may be a little annoying to manually merge changes in the future (this should be rare and mostly limited to bug fixes, though). I will completely remove the silly sbsmsplay/wxsbsmsplayer programs, and only support the command line sbsms utility, audacity, and the sampler.

I will devote my time to paring down what I have to a lean version for audacity until I submit. This should be a few days - for real this time, now that I actually have a solid chunk of time and a plan.

otey
Posts: 39
Joined: Sat Jun 05, 2010 9:09 am
Operating System: Please select

Re: Sliding Pitch and Time Crash

Post by otey » Fri Aug 27, 2010 2:19 am

I ended up not quite branching - the common code will become the new libsbsms-2.0.0, and the fancy gadgetry will all be relegated to the unreleased sampler code.
It's tested in audacity and basically ready to submit, but I still haven't done so because I want to resolve a quality issue first. It should be very soon, now.

steve
Site Admin
Posts: 80687
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Sliding Pitch and Time Crash

Post by steve » Fri Aug 27, 2010 6:25 am

otey wrote:It should be very soon, now.
Good work otey - I can't wait to try it out.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Edgar
Forum Crew
Posts: 2042
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

Re: Sliding Pitch and Time Crash

Post by Edgar » Thu Sep 30, 2010 4:49 pm

Has the patch been submitted/applied?

This a a BLOCKING bug:
Bug 172
which means that a new Audacity stable release is not going to be released until it (an a couple others) get resolved.
Last edited by Edgar on Fri Apr 24, 2015 3:23 pm, edited 2 times in total.
Reason: Fix bug url so leads to 172
-Edgar
running Audacity personally customized 2.0.6 daily in a professional audio studio
occasionally using current Audacity alpha for testing and support situations
64-bit Windows Pro 10

otey
Posts: 39
Joined: Sat Jun 05, 2010 9:09 am
Operating System: Please select

Re: Sliding Pitch and Time Crash

Post by otey » Thu Sep 30, 2010 7:41 pm

Addressing the quality issue unexpectedly required me to make some drastic changes to the core code which my last chunk of free time didn't allow me to finish. I still need another round of changes to finalize it, but I have settled on a method. I can pull some free time out of the ether and push to get this done in a matter of days. I admittedly don't have the best recent track record on finishing up, though - so I'm willing to just submit my unfinished work (which fixes the bug but doesn't incorporate my most recent improvements) if others deem it necessary. I would very much prefer to finish my planned release before submitting, though.

Is there a planned schedule for the next release?

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Sliding Pitch and Time Crash

Post by Gale Andrews » Fri Oct 01, 2010 5:44 am

otey wrote:Addressing the quality issue unexpectedly required me to make some drastic changes to the core code which my last chunk of free time didn't allow me to finish. I still need another round of changes to finalize it, but I have settled on a method. I can pull some free time out of the ether and push to get this done in a matter of days. I admittedly don't have the best recent track record on finishing up, though - so I'm willing to just submit my unfinished work (which fixes the bug but doesn't incorporate my most recent improvements) if others deem it necessary. I would very much prefer to finish my planned release before submitting, though.

Is there a planned schedule for the next release?
Hi Clayton,

Realistically this bug isn't likely to hold up 2.0 in the near future. If we still want to incorporate Device Toolbar into Mixer Toolbar so that Mixer Toolbar displays Win Vista/7 inputs (Bug 11) that alone needs a lot of work and testing. Also it seems at the moment we may be waiting to fix all/most of the P2s before releasing a final Beta (1.3.13).

That said, it usually makes sense to commit bug fixes as soon as possible, given the exigencies of working on bugs in limited spare time. What are the residual quality issues? We should know what those are, either for testing the bug-fix-and-quality-fix, or for logging the quality issue as a bug if we just commit the fix to Bug 172 without addressing the quality issue.



Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

otey
Posts: 39
Joined: Sat Jun 05, 2010 9:09 am
Operating System: Please select

Re: Sliding Pitch and Time Crash

Post by otey » Fri Oct 08, 2010 10:45 am

The quality issue shows up most noticeably as occasional audible transient artifacts or undesired amplitude modulation in closely spaced tones when samples are timestretched. I could just tweak some parameters so that the frequency is better resolved and these artifacts go away, but then the time representation is annoyingly smeared out.

I managed, in the last week or so, to implement an improvement that satisfies me for the time being. If anybody is interested, the idea is to attempt a "trial" synthesis based on a high frequency resolution analysis, and then to compare high time resolution analyses of the input audio and the trial synthesis, and finally to adjust the amplitudes so that the modified trial roughly matches the input. I was pleased to find that this new method does in fact work "better" than before on all of my test cases - i.e. it has better time resolution without as many artifacts from low frequency resolution. Intuitively I expected the new approach might introduce more artifacts than it corrects, but it seems quite robust. It is naturally more computationally expensive, but it shouldn't be too bad.

I'll do my best to optimize/test/fine tune a few things and get this thing submitted before too long.

mchinen
Posts: 19
Joined: Sun Jul 27, 2008 1:33 pm
Operating System: Please select

Re: Sliding Pitch and Time Crash

Post by mchinen » Fri Oct 08, 2010 11:22 am

Hi Clayton,
otey wrote:I admittedly don't have the best recent track record on finishing up, though - so I'm willing to just submit my unfinished work (which fixes the bug but doesn't incorporate my most recent improvements) if others deem it necessary. I would very much prefer to finish my planned release before submitting, though.


Multiple small commits that fix issues independently are preferred over big commits that make multiple improvements and fixes.
Please do commit the fix when you get to a point where things compile and aren't breaking.
It's been more than a few months now and from what I've seen this bug is just a couple lines of code to fix.
I can give you a patch if you like.

Locked