help-octave
[Top][All Lists]
Advanced

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

functions for audio


From: Aaron Brick
Subject: functions for audio
Date: Sun, 3 Jun 2001 23:15:33 -0700
User-agent: Mutt/1.3.17i

hello all,

i'm trying to use octave to create sound samples of interesting functions.
it works to some extent, but i seem to be missing, conceptually, one aspect
of their composition.

if i execute the following:

        saveaudio ("file",sin (0:1:1000), "au", 16)

i get a sound, as expected, but i don't have control over the relationship
between its frequency and length. changing the value 1000 affects its
length, and changing the 1 affects its tone _and_ length. how can i have
direct control over these factors?

for the sake of this discussion, i would like to create a 1 second long
sample of a 100 hz sine tone, and a 2 second sample of a 1000 hz sine tone.
can anyone write the function that yields those sounds?

thanks very much,

aaron brick.
                           - | | | | | | | | | | -
                           -                     -
                           -                     -
                           -     aaron brick     -
                           -    address@hidden    -
                           -                     -
                           -                     -
                           - | | | | | | | | | | -



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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