<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=7577&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Packaging the fftrate ALSA plugin]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=7577</link>
		<description><![CDATA[The most recent posts in Packaging the fftrate ALSA plugin.]]></description>
		<lastBuildDate>Tue, 25 Nov 2025 21:59:47 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Packaging the fftrate ALSA plugin]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=60100#p60100</link>
			<description><![CDATA[<p>In summary: version 1.6.3-3 has been built and will be available in a couple of days with the sources.list reference:</p><div class="codebox"><pre><code>deb http://deb.devuan.org/devuan experimental main</code></pre></div><p> Note that it is &quot;/devuan&quot; rather than &quot;/merged&quot;, since the experimental repository is not merged. Further, I should warn that adding such sources.list lines willy-nilly can bring unplanned hair loss.</p><p>At the moment only the plugin package 1.6.3-1 is available.</p><p>The experimental building pipeline is for &quot;all&quot; architectures: amd64, arm64, armhf, i386, ppc64el and riscv64.</p><p>If you have another architecture, you may download the &quot;.dsc&quot;, &quot;tar.gz&quot; and &quot;tar.xz&quot; files to a directory, cd into that and use the &quot;debuild&quot; schemata to build, like the following:</p><div class="codebox"><pre><code>dpkg-source -x fftrate_1.6.3-3.dsc
cd fftrate-1.6.3
debuild -k0x12345678</code></pre></div><p> where&#160; &quot;12345678&quot; is replaced by your GPG key ID. That&#039;ll leave the build residue in the parent directory and the work tree fftrate-1.6.3 can be removed. Note that you may have to also install build dependencies; ideally it will tell you which to install. If it doesn&#039;t then please tell me (because then I have failed to declare that dependency)</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Tue, 25 Nov 2025 21:59:47 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=60100#p60100</guid>
		</item>
		<item>
			<title><![CDATA[Re: Packaging the fftrate ALSA plugin]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=60066#p60066</link>
			<description><![CDATA[<p>wuld like to contribute to make it happen also for experimental repository</p><p>irisc-v<br />arm64</p><p>sine am not a programmer would be willing to test the packages and help troubleshoot.<br />or in any way it be possible. ()<br />thank you very much.</p>]]></description>
			<author><![CDATA[dummy@example.com (kapqa)]]></author>
			<pubDate>Tue, 25 Nov 2025 12:41:44 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=60066#p60066</guid>
		</item>
		<item>
			<title><![CDATA[Re: Packaging the fftrate ALSA plugin]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=60064#p60064</link>
			<description><![CDATA[<p>There&#039;s now both the plugin package, with added manpage, and an fftrate-utils package, with binaries and man pages, in Devuan&#039;s experimental repository.</p><p>The next step for that will be to get it into debian, which is a slower process.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Tue, 25 Nov 2025 10:31:20 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=60064#p60064</guid>
		</item>
		<item>
			<title><![CDATA[Re: Packaging the fftrate ALSA plugin]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=60053#p60053</link>
			<description><![CDATA[<p><strong>fftrate</strong> is a project of Sergei Petrov<br />_https://github.com/PetrovSE/fftrate</p><p>I created man pages to help you with packaging</p><p>Info from old <span class="bbc">pcm-conv</span>:</p><div class="codebox"><pre><code>Short name: FFT-DCT4-MDCT
Long name : FFT, DCT4 and MDCT by Cooley-Tukey, Good-Thomas and Winograd algorithms
Version   : 2.0.0.2
Build     : Feb 28 2012, 19:47:28, linux-x86_64</code></pre></div><p>It seems that the <strong>fftrate</strong> resampler was created in 2007.</p><p>Thank you very much for packaging <strong>fftrate</strong>.</p>]]></description>
			<author><![CDATA[dummy@example.com (igorzwx)]]></author>
			<pubDate>Mon, 24 Nov 2025 23:50:52 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=60053#p60053</guid>
		</item>
		<item>
			<title><![CDATA[Re: Packaging the fftrate ALSA plugin]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=60051#p60051</link>
			<description><![CDATA[<p>Great. Is that github project yours, or something you could add to? As of principle it&#039;s best when &quot;upstream material&quot; is added to upstream; otherwise it ends up as packaging patch(es) which is much less accessible for people.</p><p>In this case it would also be possible to make an upstream-based fork within the packaging project to include these things (and maybe some of the other good documentations you have written).</p><p>Or even better would be that you create your own project at, say, git.devuan.org (or codeberg.org) as a fork of the github upstream, and then add your documentations and man pages to that. My packaging project can track that instead.</p><p>Note that &quot;side documentation&quot;, including man pages, may well reside at top level or perhaps a &quot;doc&quot; directory,&#160; without particular format constraints. Often it&#039;s plain text files or markup files that get gzipped in the packaging. In the packaging it&#039;s typically placed in <span class="bbc">/usr/share/doc/$package/</span> (except the man pages of course)</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Mon, 24 Nov 2025 22:12:38 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=60051#p60051</guid>
		</item>
		<item>
			<title><![CDATA[Re: Packaging the fftrate ALSA plugin]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=60040#p60040</link>
			<description><![CDATA[<p>File: pcm_mse.1</p><div class="codebox"><pre class="vscroll"><code>.TH PCM_MSE 1 &quot;November 2025&quot; &quot;1.6.3&quot; &quot;User Commands&quot;
.SH NAME
pcm_mse \- compute Mean Squared Error (MSE) between two PCM WAV files
.SH SYNOPSIS
.B pcm_mse
.I &lt;file1.wav&gt; &lt;file2.wav&gt; [resid.wav]
.RB [ &quot; -b &quot; samples ]
.RB [ &quot; -e &quot; samples ]
.BR [ -h | --help | --help-all ]
.SH DESCRIPTION
Computes the MSE between two WAV files, optionally saving the residual (difference) signal.
Ideal for evaluating audio resampling quality.
.SH OPTIONS
.TP
.I file1.wav
First input WAV file.
.TP
.I file2.wav
Second input WAV file.
.TP
.I resid.wav
Optional output file for residual signal.
.TP
.BI \-b &quot; samples&quot;
Start comparison at sample number (default: 0).
.TP
.BI \-e &quot; samples&quot;
End comparison at sample number (default: end of file).
.TP
.B \-\-help-all
Show full help.
.SH EXAMPLE
.B pcm_mse 1.wav 2.wav -b 10 -e 10000000000
.PP
Compares samples 10 to 10,000,000,000.
.SH SEE ALSO
pcm_conv(1), pcm_info(1)   </code></pre></div><p>File: pcm_info.1</p><div class="codebox"><pre class="vscroll"><code>.TH PCM_INFO 1 &quot;November 2025&quot; &quot;1.6.3&quot; &quot;User Commands&quot;
.SH NAME
pcm_info \- display audio format and metadata of a WAV file
.SH SYNOPSIS
.B pcm_info
.I &lt;file.wav&gt;
.SH DESCRIPTION
Displays detailed format information of a WAV file:
.IP
- Sample rate (Hz)
.IP
- Number of channels
.IP
- Bit depth (and actual storage)
.IP
- Channel mask and layout
.IP
- Total samples and duration
.SH OUTPUT
Prints to stdout:
.PP
Parameters:
.br
Samples rate    = 192000 Hz
.br
Channels        = 2
.br
Bits per sample = 24 (actual: 24, fixed)
.br
Extensible format: ON
.br
Channel mask: 000003 hex, 3 dec
.br
Channels    : FL, FR
.br
Samples : 42.080.131
.br
Duration: 3 min 39.167349 sec
.SH EXAMPLE
.B pcm_info HiRes.wav
.SH SEE ALSO
pcm_mse(1), pcm_conv(1)   </code></pre></div><p>Install Man Pages</p><div class="codebox"><pre><code>sudo cp -v pcm_conv.1 /usr/share/man/man1/
sudo cp -v fftrate.7 /usr/share/man/man7/
sudo cp -v arateconf.1 /usr/share/man/man1/
sudo cp -v pcm_mse.1 /usr/share/man/man1/
sudo cp -v pcm_info.1 /usr/share/man/man1/</code></pre></div><div class="codebox"><pre><code>sudo mandb  # Rebuild man database  </code></pre></div><p>Now you can view them:</p><div class="codebox"><pre><code>man pcm_conv
man fftrate   
man arateconf
man pcm_mse
man pcm_info   </code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (igorzwx)]]></author>
			<pubDate>Mon, 24 Nov 2025 16:01:42 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=60040#p60040</guid>
		</item>
		<item>
			<title><![CDATA[Re: Packaging the fftrate ALSA plugin]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=60038#p60038</link>
			<description><![CDATA[<p>A first draft </p><p>File: fftrate.7</p><div class="codebox"><pre><code>.TH FFTRATE 7 &quot;November 2025&quot; &quot;1.6.3&quot; &quot;Miscellaneous&quot;
.SH NAME
fftrate \- FFT-based high-quality ALSA sample rate converter
.SH DESCRIPTION
An ALSA plugin providing high-fidelity sample rate conversion via FFT resampling.
Enable via:
.IP
defaults.pcm.rate_converter &quot;fftrate&quot;
.PP
in ~/.asoundrc or use
.B arateconf
to generate it interactively.
.SH CONFIGURATION
See /etc/fftrate.conf for advanced settings.
.SH FILES
.TP
/etc/fftrate.conf
Global configuration.
.TP
~/.asoundrc
User-specific ALSA config.
.SH AUTHOR
Petrov S.E., https://github.com/PetrovSE/fftrate   </code></pre></div><p>File: arateconf.1</p><div class="codebox"><pre><code>.TH ARATECONF 1 &quot;November 2025&quot; &quot;1.6.3&quot; &quot;User Commands&quot;
.SH NAME
arateconf \- interactive ALSA configuration tool for fftrate
.SH DESCRIPTION
Generates ~/.asoundrc to use fftrate as the default sample rate converter.
Supports device selection, format setup, and hardware testing.
.SH OPTIONS
No command-line options. Runs interactively.
.SH INTERACTIVE COMMANDS
.TP
0, 1, ...
Select sound card.
.TP
F
Change sample format (bit depth, rate, channels).
.TP
T
Run hardware compatibility test.
.TP
S
Save configuration to ~/.asoundrc.
.TP
ESC
Exit without saving.
.SH FILES
~/.asoundrc \- generated ALSA configuration.
.SH SEE ALSO
fftrate(7), pcm_conv(1), asoundrc(5)   </code></pre></div><p>File: pcm_conv.1</p><div class="codebox"><pre class="vscroll"><code>.TH PCM_CONV 1 &quot;November 2025&quot; &quot;1.6.3&quot; &quot;User Commands&quot;
.SH NAME
pcm_conv \- high-quality FFT/DCT-based audio resampler
.SH SYNOPSIS
.B pcm_conv
.I [input file] [output file]
.RB [ &quot; -c &quot; number ]
.RB [ &quot; -m &quot; mask ]
.RB [ &quot; -n &quot; on|off ]
.RB [ &quot; -I &quot; input_order ]
.RB [ &quot; -O &quot; output_order ]
.RB [ &quot; -b &quot; bits ]
.RB [ &quot; -f &quot; frequency ]
.RB [ &quot; -T &quot; trans ]
.RB [ &quot; -W &quot; win ]
.BR [ -v ]
.BR [ -h | --help | --help-all ]
.SH DESCRIPTION
Converts WAVE files with high-quality sample rate conversion using FFT or DCT transforms.
.SH OPTIONS
.TP
.B \-c
Number of output channels: 1 (mono), 2 (stereo), up to 6 (3/2+SW).
.TP
.B \-m
Channel mask (may conflict with \-c).
.TP
.B \-n
Normalize channel matrix (default: on).
.TP
.BI \-I &quot; order&quot;, \-O &quot; order&quot;
Input/output channel order: MS, ALSA, or OSS layout.
.TP
.BI \-b &quot; bits&quot;
Output bit depth: 8, 16, 24, 32, 32f, or 64f.
.TP
.BI \-f &quot; Hz&quot;
Output sample rate (6000–192000 Hz).
.TP
.BI \-T &quot; dct|fft&quot;
Transform type (default: dct).
.TP
.BI \-W &quot; vorbis|hanning|rect&quot;
Windowing function (default: vorbis).
.TP
.B \-v
Verbose output.
.TP
.B \-\-help-all
Show full help.
.SH FILES
.TP
/etc/fftrate.conf
System-wide configuration.
.TP
~/.asoundrc
User ALSA configuration (used by fftrate plugin).
.SH SEE ALSO
arateconf(1), fftrate(7)   </code></pre></div><p>Install Man Pages</p><div class="codebox"><pre><code>sudo cp -v pcm_conv.1 /usr/share/man/man1/
sudo cp -v fftrate.7 /usr/share/man/man7/
sudo cp -v arateconf.1 /usr/share/man/man1/</code></pre></div><p>&#160; </p><div class="codebox"><pre><code>sudo mandb  # Rebuild man database </code></pre></div><p>Now you can view them:</p><div class="codebox"><pre><code>man pcm_conv
man fftrate   
man arateconf</code></pre></div><p>Description: Wave PCM utils<br /> This package contains simple utilities for the wave PCM processing.<br /> .<br /> The following utilities are included:<br />&#160; &#160;- pcm_info: information of the data format in &#039;wav&#039; file<br />&#160; &#160;- pcm_conv: standalone PCM converter<br />&#160; &#160;- pcm_mse:&#160; computing of the Mean Squared Error (MSE) between two &#039;wav&#039; files in PCM format<br />&#160; &#160;<br /> This package contains utilities for the ALSA configuration.<br /> .<br /> The following utilities are included:<br />&#160; &#160;- arateconf: ALSA configurator</p><p>Description: ALSA library additional plugin<br /> This package contains plugin for the ALSA library that are<br /> not included in the main libasound2 package.<br /> .<br /> The following plugins are included:<br />&#160; &#160;- fftrate: FFT based rate converter<br /> .</p>]]></description>
			<author><![CDATA[dummy@example.com (igorzwx)]]></author>
			<pubDate>Mon, 24 Nov 2025 15:15:08 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=60038#p60038</guid>
		</item>
		<item>
			<title><![CDATA[Re: Packaging the fftrate ALSA plugin]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=60025#p60025</link>
			<description><![CDATA[<p>Thanks. Yes it&#039;s now packaged and added to Devuan experimental.</p><p>It&#039;s using quilt packaging with a minor source touch-up patch to resolve&#160; compiler complaints, and a separate &quot;packaging&quot; patch that sets it up for gbp-buildpackage. Presently only the plugin package is built since the binaries lack man pages, and I&#039;m looking into making a man page for the plugin.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Mon, 24 Nov 2025 06:16:08 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=60025#p60025</guid>
		</item>
		<item>
			<title><![CDATA[Re: Packaging the fftrate ALSA plugin]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=60024#p60024</link>
			<description><![CDATA[<p>Well done on getting <strong>fftrate</strong> packaged — this is a meaningful step toward better, more independent audio on Linux.</p><p>I’d like to gently suggest a small improvement to ensure long-term compatibility: in <span class="bbc">debian/rules</span>, consider adding a <span class="bbc">sed</span> pre-build step to handle the <span class="bbc">min(</span>/<span class="bbc">max(</span> macro clashes, like so:</p><div class="codebox"><pre><code>override_dh_auto_build:
	find . -type f \( -name &quot;*.cpp&quot; -o -name &quot;*.h&quot; \) -exec sed -i -e &#039;s/min(/MIN(/g&#039; -e &#039;s/max(/MAX(/g&#039; {} +
	dh_auto_build</code></pre></div><p>This is a proven, lightweight fix used in other ALSA modules and avoids C++ keyword conflicts without requiring source forks.</p><p>Also, if you haven’t already, do take a look at the packaging work already done in<span class="bbc"> /debian/packets/</span> — the <span class="bbc">control</span>, <span class="bbc">*.install</span>, and <span class="bbc">*.postinst</span> files there are excellent references. It’s great to see collaborative effort turning into real infrastructure.</p><p>Thank you again for making high-quality ALSA audio accessible to all.</p>]]></description>
			<author><![CDATA[dummy@example.com (igorzwx)]]></author>
			<pubDate>Mon, 24 Nov 2025 03:59:26 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=60024#p60024</guid>
		</item>
		<item>
			<title><![CDATA[Packaging the fftrate ALSA plugin]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=59804#p59804</link>
			<description><![CDATA[<p>I thought to mention that I&#039;ve started on a debian packaging of the fftrate ALSA plugin. This is initially aimed at Devuan&#039;s <span class="bbc">experimental</span> repository and that packaging has its source residence in Devuan&#039;s git store, at <a href="https://git.devuan.org/devuan/fftrate.git" rel="nofollow">https://git.devuan.org/devuan/fftrate.git</a></p><p>I will submit it to debian in due course.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Tue, 18 Nov 2025 06:36:10 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=59804#p59804</guid>
		</item>
	</channel>
</rss>
