Results 1 to 2 of 2

Thread: octave sound

  1. #1
    Join Date
    Dec 2008
    Beans
    6

    octave sound

    i use octave for school, anyway i recently installed the sound package through: sudo apt-get install octave-sound, the version of octave installed is 3.0 and the audio package is 1.1.1

    i tried playing a sinusoid signal by using: sound(signal)

    and i got this message:
    sh: ofsndplay: not found

    is there anyway to fix this? i really need the sound function to be able to do my homework thanks.

  2. #2
    Join Date
    Aug 2005
    Location
    Fargo, ND, USA
    Beans
    1,499
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: octave sound

    Install alsa-utils or pulseaudio-utils. Then put the following in your ~/.octaverc
    Code:
    global sound_play_utility = 'aplay';
    OR
    Code:
    global sound_play_utility = 'paplay';
    Last edited by jpkotta; December 14th, 2008 at 04:50 AM. Reason: semicolons
    Help yourself: Search the community docs or try other resources.
    Quote Originally Posted by Henry Spencer
    Those who do not understand Unix are condemned to reinvent it, poorly.
    Let science use your computer when you aren't: Folding@Home.

Tags for this Thread

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
  •