octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #59149] Resampling from 22050 to 48000 Hz intr


From: anonymous
Subject: [Octave-bug-tracker] [bug #59149] Resampling from 22050 to 48000 Hz introduces a strange and unexpected artifacts
Date: Mon, 21 Sep 2020 15:26:13 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0

Follow-up Comment #2, bug #59149 (project octave):

Different error on trying to reproduce. Which toolboxes are you loading? Where
is "resample" from?


octave:1> fs = 22050;
octave:2> s = sin(linspace(0,1000.*2*pi,fs+1));
octave:3> sr = resample(s,48000,fs);
error: 'resample' undefined near line 1, column 1

The 'resample' function belongs to the signal package from Octave Forge
which you have installed but not loaded.  To load the package, run 'pkg
load signal' from the Octave prompt.

Please read <https://www.octave.org/missing.html> to learn how you can
contribute missing functionality.
octave:4> pkg load signal
octave:5> sr = resample(s,48000,fs);
error: 'upfirdn' undefined near line 121, column 121

The 'upfirdn' function belongs to the signal package from Octave Forge
but has not yet been implemented.

Please read <https://www.octave.org/missing.html> to learn how you can
contribute missing functionality.
error: called from
    resample at line 121 column 9
octave:6> ver # output trimmed to show only hg id and signal toolbox version
----------------------------------------------------------------------
GNU Octave Version: 7.0.0 (hg id: ec9efcc717cc)
----------------------------------------------------------------------
Package Name        | Version | Installation directory
--------------------+---------+-----------------------
            signal *|   1.4.1 | /usr/local/share/octave/packages/signal-1.4.1



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59149>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]