LOGARITHMIC Experimentals

10 Messages Forum Options Options
Permalink
Martyn Shaw-2
LOGARITHMIC Experimentals
Reply Threaded More
Print post
Permalink
Hi

I have it in my diary to ask you today if you have had any problems
with LOGARITHMIC_TONE_CHIRP and LOGARITHMIC_SPECTRUM being turned on
in Experimental.h.  So have you?  They've been 'on' for quite some
time now.

As a reminder, these give a logarithmic scale to the 'chirp' tone
generator, and a logarithmic scale to various (vertical) rulers, such
as the 'spectrum log(f)' view.

I don't have a problem with these and so intend to remove all the
references to them in about another week, unless anyone objects.

TTFN
Martyn

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Jan Kolar
Re: LOGARITHMIC Experimentals
Reply Threaded More
Print post
Permalink
Martyn Shaw napsal(a):

> Hi
>
> I have it in my diary to ask you today if you have had any problems
> with LOGARITHMIC_TONE_CHIRP and LOGARITHMIC_SPECTRUM being turned on
> in Experimental.h.  So have you?  They've been 'on' for quite some
> time now.
>
> As a reminder, these give a logarithmic scale to the 'chirp' tone
> generator, and a logarithmic scale to various (vertical) rulers, such
> as the 'spectrum log(f)' view.
>
> I don't have a problem with these and so intend to remove all the
> references to them in about another week, unless anyone objects.
>
> TTFN
> Martyn
>  
I think translator should be given instructions not to translate the log.
In Czech, (about 1.3.6a1), there was an equivalent of "Record of
spectrum (f)".

BTW, the same applies to shortcuts (mainly Spacebar and Arrows and
Shift) (I mean that what is the value of "key" in the keyshortcuts xml
file.)

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Gale Andrews
Re: LOGARITHMIC Experimentals
Reply Threaded More
Print post
Permalink

| From Martyn Shaw <martynshaw99@...>
| Wed, 18 Jun 2008 02:16:59 +0100
| Subject: [Audacity-devel] LOGARITHMIC Experimentals
> I have it in my diary to ask you today if you have had any problems
> with LOGARITHMIC_TONE_CHIRP and LOGARITHMIC_SPECTRUM being turned on
> in Experimental.h.  So have you?

Hi Martyn

The only thing I noticed is that (like with the log scale on the
Equalizer), the ticks on the vertical scale are concatenated
together (presumably due to the other changes made to
get more/better spaced ticks on the VU meters/waveform dB
vertical scale)?      


> I don't have a problem with these and so intend to remove all the
> references to them in about another week, unless anyone objects.

You mean they will now be mainstream, not experimental?


Gale

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Martyn Shaw-2
Re: LOGARITHMIC Experimentals
Reply Threaded More
Print post
Permalink


Gale Andrews wrote:

> | From Martyn Shaw <martynshaw99@...>
> | Wed, 18 Jun 2008 02:16:59 +0100
> | Subject: [Audacity-devel] LOGARITHMIC Experimentals
>> I have it in my diary to ask you today if you have had any problems
>> with LOGARITHMIC_TONE_CHIRP and LOGARITHMIC_SPECTRUM being turned on
>> in Experimental.h.  So have you?
>
> Hi Martyn
>
> The only thing I noticed is that (like with the log scale on the
> Equalizer), the ticks on the vertical scale are concatenated
> together

Yes, you noted that before, and I see what you mean.  The problem that
I have is that the ruler code is difficult to fix (and this is not a
change I wrote), but I do like the 'Spectrum log(f)' mode.  I'm not
sure I have the patience to track down the ruler problem.  Maybe I'll
separate the two things out.

> (presumably due to the other changes made to
> get more/better spaced ticks on the VU meters/waveform dB
> vertical scale)?      

No, that was something else.

>> I don't have a problem with these and so intend to remove all the
>> references to them in about another week, unless anyone objects.
>
> You mean they will now be mainstream, not experimental?

That was the idea, but maybe now I won't do it.
LOGARITHMIC_TONE_CHIRP seems OK though?

Martyn

> Gale
>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Gale Andrews
Re: LOGARITHMIC Experimentals
Reply Threaded More
Print post
Permalink

| From Martyn Shaw <martynshaw99@...>
| Thu, 19 Jun 2008 00:47:16 +0100
| Subject: [Audacity-devel] LOGARITHMIC Experimentals

> Gale Andrews wrote:
> > | From Martyn Shaw <martynshaw99@...>
> > | Wed, 18 Jun 2008 02:16:59 +0100
> > | Subject: [Audacity-devel] LOGARITHMIC Experimentals
> >> I have it in my diary to ask you today if you have had any problems
> >> with LOGARITHMIC_TONE_CHIRP and LOGARITHMIC_SPECTRUM being turned on
> >> in Experimental.h.  So have you?
> > The only thing I noticed is that (like with the log scale on the
> > Equalizer), the ticks on the vertical scale are concatenated
> > together
>
> Yes, you noted that before, and I see what you mean.  The problem that
> I have is that the ruler code is difficult to fix (and this is not a
> change I wrote), but I do like the 'Spectrum log(f)' mode.  I'm not
> sure I have the patience to track down the ruler problem.  Maybe I'll
> separate the two things out.

Probably more useful to have Spectrum log view "as is" than not have it,
if needs be?

Since you got me looking, I do have one of my stupid questions. Would
the minimum/maximum frequency choices in Prefs for normal spectrum
view make any sense for log view?


Gale

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Martyn Shaw-2
Re: LOGARITHMIC Experimentals
Reply Threaded More
Print post
Permalink
Hi Gale

Gale Andrews wrote:

> | From Martyn Shaw <martynshaw99@...>
> | Thu, 19 Jun 2008 00:47:16 +0100
> | Subject: [Audacity-devel] LOGARITHMIC Experimentals
>> Gale Andrews wrote:
>>> | From Martyn Shaw <martynshaw99@...>
>>> | Wed, 18 Jun 2008 02:16:59 +0100
>>> | Subject: [Audacity-devel] LOGARITHMIC Experimentals
>>>> I have it in my diary to ask you today if you have had any problems
>>>> with LOGARITHMIC_TONE_CHIRP and LOGARITHMIC_SPECTRUM being turned on
>>>> in Experimental.h.  So have you?
>>> The only thing I noticed is that (like with the log scale on the
>>> Equalizer), the ticks on the vertical scale are concatenated
>>> together
>> Yes, you noted that before, and I see what you mean.  The problem that
>> I have is that the ruler code is difficult to fix (and this is not a
>> change I wrote), but I do like the 'Spectrum log(f)' mode.  I'm not
>> sure I have the patience to track down the ruler problem.  Maybe I'll
>> separate the two things out.
>
> Probably more useful to have Spectrum log view "as is" than not have it,
> if needs be?

I think that's what I meant.  Separate out the #defines for the
LOGARITHMIC_SPECTRUM ruler code from the #defines for the 'Spectrum
log(f)' so that we can turn on the log view and turn off the ruler
code until it's fixed.  Can you add that to the wiki please?

> Since you got me looking, I do have one of my stupid questions. Would
> the minimum/maximum frequency choices in Prefs for normal spectrum
> view make any sense for log view?

Yes (and no!).  And not a stupid question!  They clearly should be
taken into account, unless the minimum freq is zero (or close to it),
because of the logarithmic nature of the scale.  Another one for the
checklist!

Added additional notes to my personal ToDo list.

TTFN
Martyn

> Gale
>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Gale Andrews
Re: LOGARITHMIC Experimentals
Reply Threaded More
Print post
Permalink

| From Martyn Shaw <martynshaw99@...>
| Fri, 20 Jun 2008 00:54:43 +0100
| Subject: [Audacity-devel] LOGARITHMIC Experimentals
> >> Gale Andrews wrote:
> > Probably more useful to have Spectrum log view "as is" than not have it,
> > if needs be?
>
> I think that's what I meant.  Separate out the #defines for the
> LOGARITHMIC_SPECTRUM ruler code from the #defines for the 'Spectrum
> log(f)' so that we can turn on the log view and turn off the ruler
> code until it's fixed.  Can you add that to the wiki please?

Done (P4).

> > Since you got me looking, I do have one of my stupid questions. Would
> > the minimum/maximum frequency choices in Prefs for normal spectrum
> > view make any sense for log view?
>
> Yes (and no!).  And not a stupid question!  They clearly should be
> taken into account, unless the minimum freq is zero (or close to it),
> because of the logarithmic nature of the scale.  Another one for the
> checklist!

Similarly done.


Gale





-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Martyn Shaw-2
Re: LOGARITHMIC Experimentals
Reply Threaded More
Print post
Permalink
Thanks Gale!

Gale Andrews wrote:

> | From Martyn Shaw <martynshaw99@...>
> | Fri, 20 Jun 2008 00:54:43 +0100
> | Subject: [Audacity-devel] LOGARITHMIC Experimentals
>>>> Gale Andrews wrote:
>>> Probably more useful to have Spectrum log view "as is" than not have it,
>>> if needs be?
>> I think that's what I meant.  Separate out the #defines for the
>> LOGARITHMIC_SPECTRUM ruler code from the #defines for the 'Spectrum
>> log(f)' so that we can turn on the log view and turn off the ruler
>> code until it's fixed.  Can you add that to the wiki please?
>
> Done (P4).
>
>>> Since you got me looking, I do have one of my stupid questions. Would
>>> the minimum/maximum frequency choices in Prefs for normal spectrum
>>> view make any sense for log view?
>> Yes (and no!).  And not a stupid question!  They clearly should be
>> taken into account, unless the minimum freq is zero (or close to it),
>> because of the logarithmic nature of the scale.  Another one for the
>> checklist!
>
> Similarly done.
>
>
> Gale
>
>
>
>
>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Martyn Shaw-2
Re: LOGARITHMIC Experimentals
Reply Threaded More
Print post
Permalink


Gale Andrews wrote:
...
>>> Since you got me looking, I do have one of my stupid questions. Would
>>> the minimum/maximum frequency choices in Prefs for normal spectrum
>>> view make any sense for log view?
>> Yes (and no!).  And not a stupid question!  They clearly should be
>> taken into account, unless the minimum freq is zero (or close to it),
>> because of the logarithmic nature of the scale.  Another one for the
>> checklist!

Looking at this again, there are separate entries in Audacity.cfg for
the log and lin spectrum views.  This may be useful for some
signal-analysis tasks where you could duplicate a track and then use
the log scale for a broad overview and a lin scale to zoom in to bits
at the same time.  This obviously begs the question of whether there
should be separate entries in the prefs panel, and whether you should
be able to synchronise them automatically.

The minimum frequency for the log scale is already stopped at a
minimum of 1Hz (I'd forgotten that), so that is already addressed.

Martyn

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Martyn Shaw-2
Re: LOGARITHMIC Experimentals
Reply Threaded More
Print post
Permalink
Hi there

The last activity on this thread seemed to indicate that
LOGARITHMIC_TONE_CHIRP and LOGARITHMIC_SPECTRUM are fine turned on and
so I intend to eradicate the #defines from the codebase (ie make them
'mainstream').  Any reason why I should not do this?

Since the last posts on this thread I believe that
EXPERIMENTAL_RULER_AUTOSIZE is also now fixed so I intend to turn that
on in Experimental.h.  Again, any objections? With this turned on you
don't get overspill of vertical rulers when zoomed in to a spectrum
view, horizontal ruler ticks in Equalization work OK, there is now no
'shudder' when resizing in 'Waveform dB' view etc.

TTFN
Martyn

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel