Mercurial > hg > octave-nkf
annotate doc/interpreter/audio.txi @ 20517:c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
* doc/module.mk: New file created from doc/Makefile.am,
doc/doxyhtml/Makefile.am, doc/liboctave/Makefile,
doc/interpreter/Makefile.am, and doc/refcard/Makefile.
* configure.ac (AC_OUTPUT): Don't generate doc/Makefile,
doc/doxyhtml/Makefile, or doc/interpreter/Makefile.
* Makefile.am (.NOTPARALLEL, AUTHORS, BUGS, INSTALL.OCTAVE):
Delete targets.
* config-images.sh, find-docstring-files.sh, geometryimages.m,
graphics_properties.mk, images.awk, interpimages.m, plotimages.m,
sparseimages.m, splineimages.m: Adapt to Makefile changes.
* octave.texi, liboctave.texi: Use unique version file names.
* etc/module.mk: Ensure icons build directory is created.
(etc/icons/octave-logo.ico): Fix file name.
* examples/module.mk (examples_code_SRC): New variable.
* doc/Makefile.am, doc/doxyhtml/Makefile.am,
doc/liboctave/Makefile.am, doc/interpreter/Makefile.am,
doc/refcard/Makefile: Delete.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 03 Jul 2015 19:33:19 -0400 |
parents | 4197fc428c7d |
children | c8ec0b72b7a6 |
rev | line source |
---|---|
19898
4197fc428c7d
maint: Update copyright notices for 2015.
John W. Eaton <jwe@octave.org>
parents:
19883
diff
changeset
|
1 @c Copyright (C) 1996-2015 Kurt Hornik |
7018 | 2 @c |
3 @c This file is part of Octave. | |
4 @c | |
5 @c Octave is free software; you can redistribute it and/or modify it | |
6 @c under the terms of the GNU General Public License as published by the | |
7 @c Free Software Foundation; either version 3 of the License, or (at | |
8 @c your option) any later version. | |
19790
446c46af4b42
strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents:
17744
diff
changeset
|
9 @c |
7018 | 10 @c Octave is distributed in the hope that it will be useful, but WITHOUT |
11 @c ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
12 @c FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
13 @c for more details. | |
19790
446c46af4b42
strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents:
17744
diff
changeset
|
14 @c |
7018 | 15 @c You should have received a copy of the GNU General Public License |
16 @c along with Octave; see the file COPYING. If not, see | |
17 @c <http://www.gnu.org/licenses/>. | |
18 | |
5428 | 19 @c Written by Kurt Hornik <Kurt.Hornik@wu-wien.ac.at> on 1996/05/14 |
3294 | 20 |
4167 | 21 @node Audio Processing |
3294 | 22 @chapter Audio Processing |
23 | |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
24 @menu |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
25 * Audio File Utilities:: |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
26 * Audio Device Information:: |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
27 * Audio Player:: |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
28 * Audio Recorder:: |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
29 * Audio Data Processing:: |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
30 @end menu |
19690
e36c9a2b2919
doc: add docstrings for audio file utilities, audiodevinfo, audioplayer and audiorecorder
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19687
diff
changeset
|
31 |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
32 @node Audio File Utilities |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
33 @section Audio File Utilities |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
34 |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
35 The following functions allow you to read, write and retrieve |
19768
72304a4e010a
Use Octave coding conventions for documentation of audio functions.
Rik <rik@octave.org>
parents:
19724
diff
changeset
|
36 information about audio files. Various formats are supported including |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
37 wav, flac and ogg vorbis. |
19692
da6173d4e384
doc: included docstrings for audioinfo, audioread and audiowrite in audio.txi
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19691
diff
changeset
|
38 |
19690
e36c9a2b2919
doc: add docstrings for audio file utilities, audiodevinfo, audioplayer and audiorecorder
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19687
diff
changeset
|
39 @DOCSTRING(audioinfo) |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
40 |
19690
e36c9a2b2919
doc: add docstrings for audio file utilities, audiodevinfo, audioplayer and audiorecorder
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19687
diff
changeset
|
41 @DOCSTRING(audioread) |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
42 |
19690
e36c9a2b2919
doc: add docstrings for audio file utilities, audiodevinfo, audioplayer and audiorecorder
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19687
diff
changeset
|
43 @DOCSTRING(audiowrite) |
e36c9a2b2919
doc: add docstrings for audio file utilities, audiodevinfo, audioplayer and audiorecorder
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19687
diff
changeset
|
44 |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
45 @node Audio Device Information |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
46 @section Audio Device Information |
19690
e36c9a2b2919
doc: add docstrings for audio file utilities, audiodevinfo, audioplayer and audiorecorder
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19687
diff
changeset
|
47 |
19691
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
48 @DOCSTRING(audiodevinfo) |
19690
e36c9a2b2919
doc: add docstrings for audio file utilities, audiodevinfo, audioplayer and audiorecorder
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19687
diff
changeset
|
49 |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
50 @node Audio Player |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
51 @section Audio Player |
19690
e36c9a2b2919
doc: add docstrings for audio file utilities, audiodevinfo, audioplayer and audiorecorder
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19687
diff
changeset
|
52 |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
53 The following methods are used to create and use audioplayer |
19768
72304a4e010a
Use Octave coding conventions for documentation of audio functions.
Rik <rik@octave.org>
parents:
19724
diff
changeset
|
54 objects. These objects can be used to play back audio data stored in |
72304a4e010a
Use Octave coding conventions for documentation of audio functions.
Rik <rik@octave.org>
parents:
19724
diff
changeset
|
55 Octave matrices and arrays. The audioplayer object supports playback |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
56 from various devices available to the system, blocking and non-blocking |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
57 playback, convenient pausing and resuming and much more. |
19691
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
58 |
19690
e36c9a2b2919
doc: add docstrings for audio file utilities, audiodevinfo, audioplayer and audiorecorder
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19687
diff
changeset
|
59 @DOCSTRING(@audioplayer/audioplayer) |
e36c9a2b2919
doc: add docstrings for audio file utilities, audiodevinfo, audioplayer and audiorecorder
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19687
diff
changeset
|
60 |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
61 @menu |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
62 * Playback:: |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
63 * Player Properties:: |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
64 @end menu |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
65 |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
66 @node Playback |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
67 @subsection Playback |
19691
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
68 |
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
69 The following methods are used to control player playback. |
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
70 |
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
71 @DOCSTRING(@audioplayer/play) |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
72 |
19691
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
73 @DOCSTRING(@audioplayer/playblocking) |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
74 |
19691
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
75 @DOCSTRING(@audioplayer/pause) |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
76 |
19691
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
77 @DOCSTRING(@audioplayer/resume) |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
78 |
19691
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
79 @DOCSTRING(@audioplayer/stop) |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
80 |
19691
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
81 @DOCSTRING(@audioplayer/isplaying) |
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
82 |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
83 @node Player Properties |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
84 @subsection Properties |
19691
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
85 |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
86 The remaining couple of methods are used to get and set various |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
87 properties of the audioplayer object. |
19691
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
88 |
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
89 @DOCSTRING(@audioplayer/get) |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
90 |
19691
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
91 @DOCSTRING(@audioplayer/set) |
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
92 |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
93 @node Audio Recorder |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
94 @section Audio Recorder |
19690
e36c9a2b2919
doc: add docstrings for audio file utilities, audiodevinfo, audioplayer and audiorecorder
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19687
diff
changeset
|
95 |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
96 The following methods are used to create and use audiorecorder |
19768
72304a4e010a
Use Octave coding conventions for documentation of audio functions.
Rik <rik@octave.org>
parents:
19724
diff
changeset
|
97 objects. These objects can be used to record audio data from various |
72304a4e010a
Use Octave coding conventions for documentation of audio functions.
Rik <rik@octave.org>
parents:
19724
diff
changeset
|
98 devices available to the system. You can use convenient methods to |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
99 retrieve that data or audioplayer objects created from that |
19768
72304a4e010a
Use Octave coding conventions for documentation of audio functions.
Rik <rik@octave.org>
parents:
19724
diff
changeset
|
100 data. Methods for blocking and non-blocking recording, pausing and |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
101 resuming recording and much more is available. |
19691
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
102 |
19690
e36c9a2b2919
doc: add docstrings for audio file utilities, audiodevinfo, audioplayer and audiorecorder
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19687
diff
changeset
|
103 @DOCSTRING(@audiorecorder/audiorecorder) |
e36c9a2b2919
doc: add docstrings for audio file utilities, audiodevinfo, audioplayer and audiorecorder
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19687
diff
changeset
|
104 |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
105 @menu |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
106 * Recording:: |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
107 * Data Retrieval:: |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
108 * Recorder Properties:: |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
109 @end menu |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
110 |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
111 @node Recording |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
112 @subsection Recording |
19691
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
113 |
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
114 The following methods control the recording process. |
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
115 |
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
116 @DOCSTRING(@audiorecorder/record) |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
117 |
19691
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
118 @DOCSTRING(@audiorecorder/recordblocking) |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
119 |
19691
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
120 @DOCSTRING(@audiorecorder/pause) |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
121 |
19691
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
122 @DOCSTRING(@audiorecorder/resume) |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
123 |
19691
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
124 @DOCSTRING(@audiorecorder/stop) |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
125 |
19691
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
126 @DOCSTRING(@audiorecorder/isrecording) |
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
127 |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
128 @node Data Retrieval |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
129 @subsection Data Retrieval |
19691
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
130 |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
131 The following methods allow you to retrieve recorded audio data in |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
132 various ways. |
19691
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
133 |
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
134 @DOCSTRING(@audiorecorder/getaudiodata) |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
135 |
19691
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
136 @DOCSTRING(@audiorecorder/getplayer) |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
137 |
19691
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
138 @DOCSTRING(@audiorecorder/play) |
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
139 |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
140 @node Recorder Properties |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
141 @subsection Properties |
19691
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
142 |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
143 The remaining two methods allow you to read or alter the properties of |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
144 audiorecorder objects. |
19691
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
145 |
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
146 @DOCSTRING(@audiorecorder/get) |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
147 |
19691
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
148 @DOCSTRING(@audiorecorder/set) |
3954d835436b
doc: included all docstrings for the @audioplayer class in audio.txi as well as added additional explanations for the functionality
Vytautas Jančauskas <unaudio@gmail.com>
parents:
19690
diff
changeset
|
149 |
19724
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
150 @node Audio Data Processing |
651f12640c90
* audio.txi: Update sectioning and refill text.
John W. Eaton <jwe@octave.org>
parents:
19705
diff
changeset
|
151 @section Audio Data Processing |
3294 | 152 |
153 Octave provides a few functions for dealing with audio data. An audio | |
154 `sample' is a single output value from an A/D converter, i.e., a small | |
155 integer number (usually 8 or 16 bits), and audio data is just a series | |
10828
322f43e0e170
Grammarcheck .txi documentation files.
Rik <octave@nomad.inbox5.com>
parents:
10791
diff
changeset
|
156 of such samples. It can be characterized by three parameters: the |
9072
bd8e388043c4
Cleanup documentation for signal.texi, image.texi, audio.texi
Rik <rdrider0-list@yahoo.com>
parents:
7018
diff
changeset
|
157 sampling rate (measured in samples per second or Hz, e.g., 8000 or |
bd8e388043c4
Cleanup documentation for signal.texi, image.texi, audio.texi
Rik <rdrider0-list@yahoo.com>
parents:
7018
diff
changeset
|
158 44100), the number of bits per sample (e.g., 8 or 16), and the number of |
3294 | 159 channels (1 for mono, 2 for stereo, etc.). |
160 | |
161 There are many different formats for representing such data. Currently, | |
162 only the two most popular, @emph{linear encoding} and @emph{mu-law | |
163 encoding}, are supported by Octave. There is an excellent FAQ on audio | |
19232
0850b5212619
doc: Add @nospell macro around proper names in documentation.
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
164 formats by @nospell{Guido van Rossum} @email{guido@@cwi.nl} which can be |
0850b5212619
doc: Add @nospell macro around proper names in documentation.
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
165 found at any FAQ ftp site, in particular in the directory |
3294 | 166 @file{/pub/usenet/news.answers/audio-fmts} of the archive site |
167 @code{rtfm.mit.edu}. | |
168 | |
169 Octave simply treats audio data as vectors of samples (non-mono data are | |
170 not supported yet). It is assumed that audio files using linear | |
171 encoding have one of the extensions @file{lin} or @file{raw}, and that | |
172 files holding data in mu-law encoding end in @file{au}, @file{mu}, or | |
173 @file{snd}. | |
174 | |
3332 | 175 @DOCSTRING(lin2mu) |
3294 | 176 |
3332 | 177 @DOCSTRING(mu2lin) |
3294 | 178 |
3332 | 179 @DOCSTRING(record) |
3294 | 180 |
19883
c2478360291f
New functions sound and soundsc
Mike Miller <mtmiller@ieee.org>
parents:
19844
diff
changeset
|
181 @DOCSTRING(sound) |
c2478360291f
New functions sound and soundsc
Mike Miller <mtmiller@ieee.org>
parents:
19844
diff
changeset
|
182 |
c2478360291f
New functions sound and soundsc
Mike Miller <mtmiller@ieee.org>
parents:
19844
diff
changeset
|
183 @DOCSTRING(soundsc) |
c2478360291f
New functions sound and soundsc
Mike Miller <mtmiller@ieee.org>
parents:
19844
diff
changeset
|
184 |
6549 | 185 @DOCSTRING(wavread) |
186 | |
187 @DOCSTRING(wavwrite) |