[grc] Audacity programmers are working on upgrade for Ubuntu
Frieda Werden
wings at wings.org
Mon May 4 20:17:30 PDT 2015
I seldom understand any of the details of this list, but I'm gratified to
see that it may be possible soon to run the latest Audacity version on
Ubuntu. The Audacity offerings for Linux-based OSs have been running behind
those for Windows and Apple.
---------- Forwarded message ----------
From: <audacity-devel-request at lists.sourceforge.net>
Date: Mon, May 4, 2015 at 8:03 PM
Subject: audacity-devel Digest, Vol 109, Issue 6
To: audacity-devel at lists.sourceforge.net
Send audacity-devel mailing list submissions to
audacity-devel at lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/audacity-devel
or, via email, send a message with subject or body 'help' to
audacity-devel-request at lists.sourceforge.net
You can reach the person managing the list at
audacity-devel-owner at lists.sourceforge.net
When replying, please edit your Subject line so it is more specific
than "Re: Contents of audacity-devel digest..."
Today's Topics:
1. Re: Building on Ubuntu 14.04 (Steve the Fiddle)
2. Re: Building on Ubuntu 14.04 (david avery)
3. Re: Building on Ubuntu 14.04 (Leland)
4. Re: Building on Ubuntu 14.04 (david avery)
5. Re: Nyquist 3.09 convolve is buggy (Federico Miyara)
----------------------------------------------------------------------
Message: 1
Date: Tue, 5 May 2015 01:14:04 +0100
From: Steve the Fiddle <stevethefiddle at gmail.com>
Subject: Re: [Audacity-devel] Building on Ubuntu 14.04
To: Audacity-Devel list <audacity-devel at lists.sourceforge.net>
Message-ID:
<CABp83eCPUHH=9bESsbsck1XTh6jBfRQWL+-SDT9sXygFaYB-ZA at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
I'm guessing that now that Debian Stable has upgraded to WxWidgets
3.0, there will be very few Linux distros left using 2.8.
The current "stable release" of WxWidgets is 3.0.2 and they provide
packages for Ubuntu, Debian, Fedora and openSUSE.
(https://www.wxwidgets.org/downloads/)
A quick Google search also found wxgtk 3.0 for Arch, Mint, Mageia,
PCLinuxOS and Centos.
I couldn't find any distros using wxgtk3.1 and I suspect that for some
(such as Debian) it will be quite a while (years?) before they do.
Steve
On 5 May 2015 at 00:27, Leland <leland at audacityteam.org> wrote:
> Okay, so here's the deal. Some of my recent changes do not build on
Ubuntu
> 14.04 since the default wxWidgets version is 3.0. I do not use Ubuntu
14.04
> and very seldom boot it, so I didn't know about the problems.
>
> All of the problems have been easy to fix...except one. wxWidgets 3.x
does
> not have some bits I needed for LV2 GUI support. I assume there's some
> equivalent in 3.0 and I'll need to take some time to work it out.
>
> I know we need to get moving on this whole wx3 thing...that's not in
> question at all. I'm going to start working on the wx3.10 upgrade as soon
> as I squash a few more bugs. It's going to take some time to get the GUI
> effects integrated, not something I relish doing but it's got to be done.
>
> But, at this time, do we look at Ubuntu 14.04 as if it were something like
> FreeBSD? We'll gladly accept patches if provided, but don't actively
> support it?
>
> And then there's the question of minimum wxWidgets level we will support,
> i.e., 3.1.0. I don't believe we'll even attempt to support anything less
> than 3.1.0, so where does that leave the multitude of Linux distros
running
> 3.0 or lower (including the 2.8 fellas)? Windows and Mac are easy...we
tell
> builders which version to use. Linux is not so easy.
>
> Leland
>
>
>
>
------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> audacity-devel mailing list
> audacity-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------
Message: 2
Date: Mon, 4 May 2015 18:23:59 -0600
From: david avery <dave at averydesign.com>
Subject: Re: [Audacity-devel] Building on Ubuntu 14.04
To: audacity-devel at lists.sourceforge.net
Message-ID: <55480D9F.4040809 at averydesign.com>
Content-Type: text/plain; charset="windows-1252"
On 5/4/2015 5:27 PM, Leland wrote:
> Okay, so here's the deal. Some of my recent changes do not build on
Ubuntu
> 14.04 since the default wxWidgets version is 3.0. I do not use Ubuntu
14.04
> and very seldom boot it, so I didn't know about the problems.
>
> All of the problems have been easy to fix...except one. wxWidgets 3.x
does
> not have some bits I needed for LV2 GUI support. I assume there's some
> equivalent in 3.0 and I'll need to take some time to work it out.
>
> I know we need to get moving on this whole wx3 thing...that's not in
> question at all. I'm going to start working on the wx3.10 upgrade as soon
> as I squash a few more bugs. It's going to take some time to get the GUI
> effects integrated, not something I relish doing but it's got to be done.
>
> But, at this time, do we look at Ubuntu 14.04 as if it were something like
> FreeBSD? We'll gladly accept patches if provided, but don't actively
> support it?
>
> And then there's the question of minimum wxWidgets level we will support,
> i.e., 3.1.0. I don't believe we'll even attempt to support anything less
> than 3.1.0, so where does that leave the multitude of Linux distros
running
> 3.0 or lower (including the 2.8 fellas)? Windows and Mac are easy...we
tell
> builders which version to use. Linux is not so easy.
>
> Leland
>
>
>
>
Ubuntu 15.04 is now the current release released 22 apr 2015
Ubuntu 14.04.02 is the LTS release released 18feb 2015
Debian 8.0 [jessie] is the current release released 25 apr 2015
all are wx3.0
wx3.1 is stalled waiting on some fixes from developers that are running
behind especially the wxAUI branch integration and there is no schedule
for release at all at this point
there are lots of problems right now building audacity git on wx git .
the code builds but there are major issues with wxLog and asserts on
sizer constraints.
i can post a list if anyone is interested
dave
--
David A. Avery
Avery Design
Technical Theatre
Lighting Design
Scenery Construction
Sound Design
Live Recording
(303) 725-7515 (cell)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dave.vcf
Type: text/x-vcard
Size: 219 bytes
Desc: not available
------------------------------
Message: 3
Date: Mon, 4 May 2015 19:35:05 -0500
From: "Leland" <leland at audacityteam.org>
Subject: Re: [Audacity-devel] Building on Ubuntu 14.04
To: <audacity-devel at lists.sourceforge.net>
Message-ID: <000a01d086cb$5558f240$000ad6c0$@audacityteam.org>
Content-Type: text/plain; charset="us-ascii"
> -----Original Message-----
> From: david avery [mailto:dave at averydesign.com]
> Sent: Monday, May 04, 2015 7:24 PM
> To: audacity-devel at lists.sourceforge.net
> Subject: Re: [Audacity-devel] Building on Ubuntu 14.04
>
> On 5/4/2015 5:27 PM, Leland wrote:
> > Okay, so here's the deal. Some of my recent changes do not build on
> Ubuntu
> > 14.04 since the default wxWidgets version is 3.0. I do not use Ubuntu
14.04
> > and very seldom boot it, so I didn't know about the problems.
> >
> > All of the problems have been easy to fix...except one. wxWidgets 3.x
does
> > not have some bits I needed for LV2 GUI support. I assume there's some
> > equivalent in 3.0 and I'll need to take some time to work it out.
> >
> > I know we need to get moving on this whole wx3 thing...that's not in
> > question at all. I'm going to start working on the wx3.10 upgrade as
soon
> > as I squash a few more bugs. It's going to take some time to get the
GUI
> > effects integrated, not something I relish doing but it's got to be
done.
> >
> > But, at this time, do we look at Ubuntu 14.04 as if it were something
like
> > FreeBSD? We'll gladly accept patches if provided, but don't actively
> > support it?
> >
> > And then there's the question of minimum wxWidgets level we will
support,
> > i.e., 3.1.0. I don't believe we'll even attempt to support anything
less
> > than 3.1.0, so where does that leave the multitude of Linux distros
running
> > 3.0 or lower (including the 2.8 fellas)? Windows and Mac are easy...we
tell
> > builders which version to use. Linux is not so easy.
> >
> > Leland
> >
> >
> >
> >
> Ubuntu 15.04 is now the current release released 22 apr 2015
> Ubuntu 14.04.02 is the LTS release released 18feb 2015
> Debian 8.0 [jessie] is the current release released 25 apr 2015
>
> all are wx3.0
>
> wx3.1 is stalled waiting on some fixes from developers that are running
> behind especially the wxAUI branch integration and there is no schedule
> for release at all at this point
>
> there are lots of problems right now building audacity git on wx git .
> the code builds but there are major issues with wxLog and asserts on
> sizer constraints.
>
> i can post a list if anyone is interested
>
Go ahead. The more we know the better. It'll keep us informed of how big a
task we're up against.
Leland
------------------------------
Message: 4
Date: Mon, 4 May 2015 18:40:15 -0600
From: david avery <dave at averydesign.com>
Subject: Re: [Audacity-devel] Building on Ubuntu 14.04
To: audacity-devel at lists.sourceforge.net
Message-ID: <5548116F.3060907 at averydesign.com>
Content-Type: text/plain; charset="windows-1252"
On 5/4/2015 6:14 PM, Steve the Fiddle wrote:
> I'm guessing that now that Debian Stable has upgraded to WxWidgets
> 3.0, there will be very few Linux distros left using 2.8.
>
> The current "stable release" of WxWidgets is 3.0.2 and they provide
> packages for Ubuntu, Debian, Fedora and openSUSE.
> (https://www.wxwidgets.org/downloads/)
>
> A quick Google search also found wxgtk 3.0 for Arch, Mint, Mageia,
> PCLinuxOS and Centos.
>
> I couldn't find any distros using wxgtk3.1 and I suspect that for some
> (such as Debian) it will be quite a while (years?) before they do.
>
> Steve
>
> On 5 May 2015 at 00:27, Leland <leland at audacityteam.org> wrote:
>> Okay, so here's the deal. Some of my recent changes do not build on
Ubuntu
>> 14.04 since the default wxWidgets version is 3.0. I do not use Ubuntu
14.04
>> and very seldom boot it, so I didn't know about the problems.
>>
>> All of the problems have been easy to fix...except one. wxWidgets 3.x
does
>> not have some bits I needed for LV2 GUI support. I assume there's some
>> equivalent in 3.0 and I'll need to take some time to work it out.
>>
>> I know we need to get moving on this whole wx3 thing...that's not in
>> question at all. I'm going to start working on the wx3.10 upgrade as
soon
>> as I squash a few more bugs. It's going to take some time to get the GUI
>> effects integrated, not something I relish doing but it's got to be done.
>>
>> But, at this time, do we look at Ubuntu 14.04 as if it were something
like
>> FreeBSD? We'll gladly accept patches if provided, but don't actively
>> support it?
>>
>> And then there's the question of minimum wxWidgets level we will support,
>> i.e., 3.1.0. I don't believe we'll even attempt to support anything less
>> than 3.1.0, so where does that leave the multitude of Linux distros
running
>> 3.0 or lower (including the 2.8 fellas)? Windows and Mac are easy...we
tell
>> builders which version to use. Linux is not so easy.
>>
>> Leland
wx 3.1.x will be development releases leading to 3.2.0 hopefully by the
end of 2015. As such i don't expect anyone will be shipping wx3.1x with
systems.
http://trac.wxwidgets.org/wiki/Roadmap
i think the best we can do is keep track of wxWidgets git and make sure
audacity builds against it. Once wx3.1 is released i expect the linux
distributions to start looking at the issues involved with the future
move to wx3.2 for all wx based products.
--
David A. Avery
Avery Design
Technical Theatre
Lighting Design
Scenery Construction
Sound Design
Live Recording
(303) 725-7515 (cell)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dave.vcf
Type: text/x-vcard
Size: 219 bytes
Desc: not available
------------------------------
Message: 5
Date: Tue, 05 May 2015 00:02:49 -0300
From: Federico Miyara <fmiyara at fceia.unr.edu.ar>
Subject: Re: [Audacity-devel] Nyquist 3.09 convolve is buggy
To: audacity-devel at lists.sourceforge.net
Message-ID: <554832D9.3050005 at fceia.unr.edu.ar>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
James,
Just in case it is useful, below there is a Matlab implementation of
fast convolution.
Regards,
Federico
On 04/05/2015 19:33, James Crook wrote:
> We have a cutoff date of 25th May for this, so I think we should go for
> "revert to old m x n" for 2.1.1 with the intention to get the new fast
> convolve for 2.1.2.
>
> --James.
function z = longconv(x, y)
% Fast convolution betwwen a short signal and an arbitrarily
% long one.
%
% Usage:
% z = longconv(x,y)
%
% This function is useful to convolve a long signal with an
% impulse response. The method implemented is essentially an
% overlap-add algorithm. The long signal is broken into short
% adjacent blocks which in turn are convolved with the short
% signal by means of an fft-based fast convolution algorithm.
% This one converts a linear convolution into a circular
% convolution and computes the latter as the inverse FFT of
% the products of the FFTs.
%
% The following example describes the overlap-add algorithm.
% We start with a long signal x and a short signal y:
%
% x = [x1 x2 x3 x4 x5 x6]
% y = [y1 y2]
%
% The following partial convolutions are computed (for instance,
% [x1 y2] is convolved with [y1 y2] to get [zz11 zz12 zz13 zz14]
% and so on):
%
% x1 x2
% y1 y2
%
% zz11 zz12 zz13 zz14
%
% x3 x4
% y1 y2
%
% zz21 zz22 zz23 zz24
%
% x5 x6
% y1 y2
%
% zz31 zz32 zz33 zz34
%
% Finally, the convolution is computed as
%
% zz11 zz12 zz13 zz14
% + +
% zz21 zz22 zz23 zz24
% + +
% zz31 zz32 zz33 zz34
% ---------------------------------------
% z1 z2 z3 z4 z5 z6 z7 z8
%
% ----------------------------------------------------
% Author: Federico Miyara
% Date: 2009-12-21
% 2010-05-18
% If necessary, convert row to column
if size(x,1)==1
x_was_row = 1;
x = x(:);
else
x_was_row = 0;
end
if size(y,1)==1
y_was_row = 1;
y = y(:);
else
y_was_row = 0;
end
% Length of x, y
Lx = length(x);
Ly = length(y);
% Zero-pad the shortest one of x and y so that its
% length N is a power of 2 and the longest one so
% that it contains an integer number of segments
% of length N.
% Then compute fast convolutions between segments
% of the longest one and the shortest one
if Lx > Ly
% Next power of 2 greater than or equal to Ly
N = 2^ceil(log2(Ly));
% Number of segments of length N needed to cover x
M = ceil(Lx/N);
% Zero padding
x = [x; zeros(N*M - Lx, 1)];
y = [y; zeros(N - Ly, 1)];
% The N samples of x between N*(k-1)+1 and N*(k-1)+N are
% convolved with y by means of a fast algorithm. The result
% is column k of matrix zz
zz = zeros(2*N,M);
for k=1:M
zz(:, k) = [fconv(x(N*(k-1)+1 : N*k), y); 0];
end
else
% Next power of 2 greater than or equal to Lx
N = 2^ceil(log2(Lx));
% Number of segments of length N needed to cover y
M = ceil(Ly/N);
% Zero padding
x = [x; zeros(N - Lx, 1)];
y = [y; zeros(N*M - Ly, 1)];
% The N samples of y between N*(k-1)+1 and N*(k-1)+N are
% convolved with x by means of a fast algorithm. The result
% is column k of matrix zz
zz = zeros(2*N,M);
for k=1:M
zz(:, k) = [fconv(y(N*(k-1)+1 : N*k), x); 0];
end
end
% The first N samples of the convolution are the same as
% the first N components of column 1 of zz
z(1:N) = zz(1:N, 1);
% The k-th segment of N samples of the convolved signal
% is obtained by adding the second half (the second group
% of N values) of column k-1 of zz to the first half (the
% first group of N values) of column k of zz
for k=2:M
z(N*(k-1)+1 : N*k) = zz(N+1:2*N, k-1) + zz(1:N, k);
end
% The last N samples of the convolved signal are the same
% as the last N components of the last column (column M)
% of zz
z(N*M+1:N*(M+1)) = zz(N+1:2*N, M);
% If both x and y are real, their convolution must be real.
% To prevent small imaginary parts due to the use of the
% FFT and limitations of finite arithmetic, only the real
% part is kept.
if isreal(x)*isreal(y)
z = real(z);
end
% Unnecessary (zero) samples are removed
z = z(1:Lx+Ly-1);
% If both x and y were row vectors, then the convolution
% is presented as a row vector. Otherwise, the column
% form is preferred.
if x_was_row * y_was_row
z = z.';
end
function z = fconv(x, y)
% Fast convolution procedure
% This function computes the convolution product of vectors
% x and y using a fast FFT-based algorithm.
%
% Usage:
% z = fconv(x, y)
%
% Where
% x: first vector
% y: second vector
% z: convolution product of x and y
%
% Both vectors, if necessary, are zero padded to a length equal
% to the smaller power of two that is equal to or greater than
% the length of the longer vector. Arguments may be both row
% vectors or both column vectors. The output argument is a row
% or a column vector according to the inputs.
%
% The procedure uses the fact that the DFT of a circular
% convolution is the product of the DFTs of the arguments of
% the convolution. In order to express a linear convolution
% of vectors of length N as a circular convolution, both vectors
% are zero padded to a legth 2N. Then the FFT is applied to each
% one, both FFTs are multiplied, and the IFFT is applied to the
% result.
%
% NOTES: 1) This function is usefull to get the response of a
% system with known impulse response.
% 2) In this case the impulse response in the continuous
% time domainit is not to be confused with the unitary
% pulse response in the discrete time domain. Indeed,
% the latter is 1/Fs times the Dirac impulse with
% unitary area after being filtered with an ideal bass
% pass antialias filter with critical cutoff frecuency
% Fs/2. So, the convolution with the actual impulse
% response must be divided by Fs to get the unitary
% pulse response.
%
% --------------------------------
% Author: Federico Miyara
% Date: 2009-12-14
% 2010-05-18
% 2013-01-14
% Input vectors are converted into column vectors
if size(x, 1)==1
was_row = 1;
x = x(:);
y = y(:);
else
was_row = 0;
end
% Length of input vectors
Lx = length(x);
Ly = length(y);
% Length of padded vectors
N = 2^ceil(log2(Lx + Ly));
% Zero padding so that
% 1) Vectors are of the same length
% 2) Vectors' length is a power of 2
% 3) Linear convolution equals circular convolution
xx = [x; zeros(N-Lx, 1)];
yy = [y; zeros(N-Ly, 1)];
% Vectors xx an yy are assembled into a 2N x 2 matrix, the
% FFT is applied column-wise, both columns are multiplied
% and finally the IFFT is applied.
XXYY = fft([xx, yy], N);
z = ifft(prod(XXYY, 2), N);
% Removes extra zero samples
z = z(1:Lx+Ly-1);
% If inputs were row vectors, so must be the output;
% Non-conjugate transpose switches it back to row
if was_row==1
z = z.';
end
% If both arguments were real, remove small residual
% imaginary parts
if isreal(x)*isreal(y)
z = real(z);
end
------------------------------
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
------------------------------
_______________________________________________
audacity-devel mailing list
audacity-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-devel
End of audacity-devel Digest, Vol 109, Issue 6
**********************************************
--
Frieda Werden, Series Producer
WINGS: Women's International News Gathering Service www.wings.org
More information about the grc
mailing list