Results 1 to 2 of 2

Thread: Sound Octave

  1. #1
    Join Date
    Apr 2006
    Location
    Sweden
    Beans
    5
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Sound Octave

    Hello, I do not get any sound in Octave. I'm trying to listen to a vector.

    rl@rl:~$ octave -v
    GNU Octave, version 2.9.9 (x86_64-pc-linux-gnu).

    ************************************************** *******
    octave:15> n = 0:8191;
    octave:16> f = 1 / 8
    f = 0.12500
    octave:17> x = cos (2 * pi * f * n);
    octave:18> sound (x);
    sox: Failed reading -: Sun/NeXT header size too small.
    warning: broken pipe -- some output may be lost
    octave:19> playaudio (x);
    octave:20>
    ************************************************** *******

    playaudio () dosen't complain, but no sound on my computer.

    Any sugestions?

    //Richard

  2. #2
    Join Date
    Apr 2006
    Location
    Sweden
    Beans
    5
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Sound Octave

    With some amplifying can I now hear the signal, but weak.

    octave:8> playaudio (200 * x)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •