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

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

[Octave-bug-tracker] [bug #64388] audiowrite of mp3s fails


From: John Donoghue
Subject: [Octave-bug-tracker] [bug #64388] audiowrite of mp3s fails
Date: Thu, 6 Jul 2023 11:56:06 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?64388>

                 Summary: audiowrite of mp3s fails
                   Group: GNU Octave
               Submitter: lostbard
               Submitted: Thu 06 Jul 2023 03:56:04 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: lostbard
        Originator Email: 
             Open/Closed: Open
                 Release: stable
         Discussion Lock: Any
        Operating System: Any
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 06 Jul 2023 03:56:04 PM UTC By: John Donoghue <lostbard>
Newer versions of libsndfile support writing mp3 files and octave audioread
will read the files correctly

However audiowrite does not work as the file extension has not been added to
octave


octave:1> s = rand(8000,1);
octave:2> audiowrite("test2.mp3", s, 8000)
error: audiowrite: failed to open output file 'test2.mp3': Error : major
format is 0.
octave:3>









    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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