Search found 9 matches

by brian-armstrong
Fri Feb 24, 2017 3:29 am
Forum: Audio Processing
Topic: Audacity "connects the dots" when you zoom in
Replies: 21
Views: 2930

Re: Audacity "connects the dots" when you zoom in

You could probably mitigate this by .... "I" could do ...? Oh no no no. ;) I wouldn't dream of interfering with your project. I'm just offering feedback. I've got plenty of my own work to do. I'm not sure I understand this comment since the code I included has this change. Wasn't it clear I meant i...
by brian-armstrong
Thu Feb 23, 2017 10:52 am
Forum: Audio Processing
Topic: Audacity "connects the dots" when you zoom in
Replies: 21
Views: 2930

Re: Audacity "connects the dots" when you zoom in

Perhaps you're not seeing what I'm seeing. I don't just mean that it's not snapping to the sample boundary. I mean it's way off. Here is the result of the described steps with un-patched Audacity 2.1.3 RC2 version. Note that the selection fits almost exactly in the available window area: fullwindow...
by brian-armstrong
Thu Feb 23, 2017 8:21 am
Forum: Audio Processing
Topic: Audacity "connects the dots" when you zoom in
Replies: 21
Views: 2930

Re: Audacity "connects the dots" when you zoom in

Unfortunately you've broken something and created a bug. "Zoom to Fit" (Ctrl+E) no longer works reliably. Example: With default preferences, generate 10 second sine wave. From the selection Toolbar, select from 0 to 437 samples. Zoom to fit. Depending on the window size, the selection probably does...
by brian-armstrong
Tue Feb 21, 2017 9:19 am
Forum: Audio Processing
Topic: Audacity "connects the dots" when you zoom in
Replies: 21
Views: 2930

Re: Audacity "connects the dots" when you zoom in

Do you have code for that? I changed where the zoom engages, fixed a bug with the stems not going to proper zero, and I changed zooming to lock in to a multiple of the project's sample rate. This gets rid of that aliasing. diff --git a/src/TrackArtist.cpp b/src/TrackArtist.cpp index 7d4385d..2c116a...
by brian-armstrong
Mon Feb 20, 2017 12:16 am
Forum: Audio Processing
Topic: Audacity "connects the dots" when you zoom in
Replies: 21
Views: 2930

Re: Audacity "connects the dots" when you zoom in

Just thinking, "Matlab" is a registered trademark, so we may not be able to call such an option "Matlab style samples". Any ideas what this style of graphic representation could be called? I believe these are often called Stem plots. https://en.wikibooks.org/wiki/Digital_Signal_Processing/Discrete_...
by brian-armstrong
Mon Feb 20, 2017 12:13 am
Forum: Audio Processing
Topic: Audacity "connects the dots" when you zoom in
Replies: 21
Views: 2930

Re: Audacity "connects the dots" when you zoom in

Yes I agree it could be an interesting non-default option, though I think it would need to be tweaked so as to avoid the aliasing. Perhaps bring in the vertical lines only when the dots are show? Hm, I think that's a good improvement. I do like the stem version at one zoom level up from there, thou...
by brian-armstrong
Sun Feb 19, 2017 11:00 pm
Forum: Audio Processing
Topic: Audacity "connects the dots" when you zoom in
Replies: 21
Views: 2930

Re: Audacity "connects the dots" when you zoom in

I have made an attempt to show what I mean. diff --git a/src/TrackArtist.cpp b/src/TrackArtist.cpp index 7d4385d..584b856 100644 --- a/src/TrackArtist.cpp +++ b/src/TrackArtist.cpp @@ -1363,12 +1363,13 @@ void TrackArtist::DrawIndividualSamples(wxDC &dc, int leftOffset, const wxRect & } // Draw line...
by brian-armstrong
Sat Feb 18, 2017 12:55 am
Forum: Audio Processing
Topic: Audacity "connects the dots" when you zoom in
Replies: 21
Views: 2930

Re: Audacity "connects the dots" when you zoom in

kozikowski wrote:
I'm reporting a bug I've noticed on the OSX version of Audacity
It's not a bug. The software is working as designed. It may be awkward or an error, but not a bug.

Koz
Ah, that's a good point. Should I have posted this elsewhere?
by brian-armstrong
Sat Feb 18, 2017 12:32 am
Forum: Audio Processing
Topic: Audacity "connects the dots" when you zoom in
Replies: 21
Views: 2930

Audacity "connects the dots" when you zoom in

Hi, I'm reporting a bug I've noticed on the OSX version of Audacity, but it likely applies to all versions. When you zoom in close enough to see individual samples, Audacity renders them with lines connecting them. However, DSP tells us specifically that you CAN'T do this. Audacity should instead pl...