bugGNU Octave - Bugs: bug #56494, Audioplayer sampling rate change...


bug #56494: Audioplayer sampling rate change does not affect the audio prodiced

Submitted by:  Deyan <dvd_video>
Submitted on:  Fri 14 Jun 2019 07:34:02 AM UTC  
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  5.1.0 Operating System:  Microsoft Windows

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 14 Jun 2019 01:32:50 PM UTC, comment #1: 

Thats only on a paused sound - resume resumes with paused settings

setting the sample rate and calling play on it, works with the new sample rate.

y=sin(2*pi* freq*values);

player = audioplayer(y, fs);


player.SampleRate = 10000;

# no change here


# change applied

What does matlab do ?

John Donoghue <lostbard>
Project Member
Fri 14 Jun 2019 07:34:02 AM UTC, original submission:  


Consider the following code:

Object.SampleRate = Object.SampleRate + UserInput;

The expected result:
On decreasing the sampling rate, the high-end harmonics to be mirrored in the low-frequency range ( Women will sound like men ) and when increasing the sampling rate the object to process more data at a time ( Chipmunk karaoke effect )

The actual result:
The sampling rate change does not affect the output audio/sound of the player object.

Deyan <dvd_video>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by dvd_video (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.5