From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 27247 invoked from network); 17 Feb 2021 09:32:43 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 17 Feb 2021 09:32:43 -0000 Received: from mail-ed1-f46.google.com ([209.85.208.46]) by 1ess; Wed Feb 17 04:10:28 -0500 2021 Received: by mail-ed1-f46.google.com with SMTP id v22so117750edx.13 for <9front@9front.org>; Wed, 17 Feb 2021 01:10:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=km5q35I29IMlbK+psFpQIm7qd5p+BfDSottjalc1oUA=; b=qKtmEARECLQM8nIn6vAx2POPFn635bceSmxvvcNtIIwc29RTZy1zr1Ep69TsBI7MPA RupZdCpGTnOUnx97B7YokVUsdoYhvD1RV9xZyXzUihg8H1QwXfmlGv9Iilb/UWTHCmoF 9mfEh2Bfr6Mg1WW5TzlRRHczSno6guYChXQdiNgJM/VansbiLdVnU5ZFc0RMKGfmkFmZ dSxrONLdi4UOKt3k6jzeonbvcBUUtZiXB3PZT629+zxxKGj3OI8HNocrGaHpw2suIOOm jpLLEsPobg7YCJTNL9LfMPHHBB0vFYMwORJPGeEanJCmbAhxwxjfBXViQBgKIPsrd8HR P0gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=km5q35I29IMlbK+psFpQIm7qd5p+BfDSottjalc1oUA=; b=SxUUgJlm6cladLrSP/QsUVd9qKjiOWJ9OhaNxerQz+DoVRG4h02gDcmzUbkHkVppC0 6qD7P/8SI3lReykKZOaZ7B2OXkU0h0/4GGYwJinM08OlqpC/4LQ8wKJCdH2FZzQ+73ee oRmZBkbPLlDJW4LgqoUHGNYI62Xvw0EJIIUO3bOVRl4hVpM0MpdavGpvldHQMiBpaRLy KALKCBDvcNqsvtRms3DTUhp4TRVI7lhKEYQ/AYKLHkmOf14GvBUdT3HAvVcJfkX4En3/ DSCEDWPBBr8Rj3R2djOSH3M2xahXphfaY1DmDrAU+cRgQpRDyEa2kJSTOi9Nopex9/w+ lJRw== X-Gm-Message-State: AOAM533wKgEV9kr4t3ycqlp+kvKHE0Crw/IbwTQQuUOdE4E8poy9EvGX 4QYPTtlangXzd1VgYrYfkn6QGBqWJvN1JvN+P9UoSRhhLBY= X-Google-Smtp-Source: ABdhPJyhnWgEJjR95LYAjvB0phU4SyhvX8GyNlZgZFNH8I6OP2WFtrgbmckywZ2LX0SZUJeB2cT4g7TECeoQAYM7m8I= X-Received: by 2002:a05:6402:499:: with SMTP id k25mr1821189edv.294.1613553019584; Wed, 17 Feb 2021 01:10:19 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a17:906:28d0:0:0:0:0 with HTTP; Wed, 17 Feb 2021 01:10:18 -0800 (PST) In-Reply-To: <8FC6C05D-B926-418D-AF92-957C3D2D488A@gmail.com> References: <8FC6C05D-B926-418D-AF92-957C3D2D488A@gmail.com> From: hiro <23hiro@gmail.com> Date: Wed, 17 Feb 2021 10:10:18 +0100 Message-ID: To: 9front@9front.org Content-Type: text/plain; charset="UTF-8" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: engine event JSON over AJAX service deep-learning-oriented solution Subject: Re: [9front] games/snes audio patches Reply-To: 9front@9front.org Precedence: bulk computational complexity doesn't matter any more for something low-bitrate like audio. i don't see why the resampler in pcmconv that's already there shouldn't be reused. it seems you have a good enough excuse to make it a library On 2/17/21, Amavect wrote: > All, > > Here's something I dug up. > http://yehar.com/blog/?p=197 > It has sample code for a ton of filters. > A great deal of analysis is on 2^n-oversampled audio, which we aren't doing. > There's a specific recommendation for 4-point Hermite interpolation in this > case if you want high quality and speed. > > Section 7. > "Also, it shall only be commented that using polynomial interpolators with > unoversampled input is a choice that can only be made when the quality is > not that important but speed is essential, the most useful interpolators in > that case being linear and 4-point Hermite, and Watte tri-linear, which is > somewhere between those two in both quality and computational complexity." > > Thanks, > Amavect >