Debian Codegraph @

README.txt

raw
1
2 unauthorized is a library of GUI objects and a handful of objects for working
3 with streaming and mp3s. The home page for the GPL version is here:
4
5 http://puredata.info/community/projects/software/unauthorized
6
7 unauthorized has split into two versions because of a change of
8 licensing. This version, maintained in the pure-data SVN, remains GPLv2
9 while the original author Yves Degoyon has split off a version with a
10 non-free license.
11
12 To get the new non-free version, download it from its new CVS repository:
13
14 export CVSROOT=:pserver:anonymous at giss.tv:/home/cvs
15 cvs co pidip
16 cvs co unauthorized
17
18 original sources available from http://ydegoyon.free.fr/software.html
19
20 Installing
21 ----------
22
23 there is no configure scripts, you need to install :
24
25 * pd headers in /usr/include ( m_pd.h and g_canvas.h )
26 * libmp3lame-dev for the mp3 externals
27 * libspeex-dev for the speex external
28 * sources of stk in /usr/src/stk for stk externals ( optional )
29
30 have fun!
31 sevy ( [email protected] )
32 Copyright 2002 Yves Degoyon
33
34 Included Objects
35 -------------
36
37 audience~ : 2-dimensional audience simulation ( also called 2 dollars spatialization !!! )
38
39 beatify~ : modulate amplitude of a sound
40 the idea was borrowed from musicscript,
41 an excellent sound generation tool.
42 ( http://musicscript.sourceforge.net, author : David Piott )
43
44 blinkenlight : a blinken lights films player ( but also a pixel grid )
45 This object displays blinken lights movies, and lets you handle a
46 grid of pixels. It is also a "Telecran" !! There is a movies
47 archive @ http://www.blinkenlights.de/gallery/index.en.html
48
49 compressor~ : a compressor of audio signals
50
51 cooled : a micro sound editor
52 This object displays a sound, lets you play a part of it and do
53 some cut and paste operations.
54
55 disto~ : a kind of effect used in pop music, use it elsewhere
56 the algorithm was taken from Digital Effects (DISTORT3), a guitar
57 effects software for DOS which rocks, written by Alexey Smoli
58 http://st.karelia.ru/~smlalx/
59
60 exciter : a bang-events sequencer
61 the need for it sprung out of a talking with Nicolas Lhommet.
62
63 filterbank~ : filterbank outputs frequency response for a range of filters
64
65 formant~ is a formant synthesis generator external for pd
66
67 grid : 2-dimensional control object, ala "kaospad"
68
69 mp3amp~ is a MPEG I Layer III (mp3) icecast/shoutcast client for Pure Data
70 mp3amp~ has been compiled for Linux using LAME 3.92.
71 The newest version of LAME can be found at sourceforge.net
72
73 PLEASE NOTE: This software may contain patented alogrithm (at
74 least patented in some countries). It may be not allowed to
75 sell/use products based on this source code in these
76 countries. Check this out first!
77
78 COPYRIGHT of MP3 music: Please note, that the duplicating of
79 copyrighted music without explicit permission violates the rights
80 of the owner.
81
82 Using mp3amp~ external for Pure Data
83
84 Open the help-mp3amp~.pd to understand how it works. Open the
85 help-graphic-mp3amp~.pd if you want to see the status of the
86 incoming stream.
87
88 BUGS :
89 a/ certainly, not all bitrates will work,
90 that's too tedious to test, 128, 256, 320 are ok.
91
92 b/ cannot instantiate more than 10 decoders, if needed change
93 MAX_DECODERS in the code
94
95 mp3cast~ is a MPEG I Layer III (mp3) streaming external for pd (by Miller
96 Puckette) that connects to a SHOUTcast or IceCast server.
97
98 Using mp3cast~ external for Pure Data
99
100 Open the help-mp3cast~.pd to understand how it works.
101 In this patch, you must send the messages to mp3cast~
102 in the following order :
103
104 1/ password *****
105 2/ icecast | mp3cast
106 3/ connect host port
107 4/ pd dsp 1
108
109 Parameters sent to mp3cast~ object :
110
111 Sampling Rate (Hz): Possible values are 48000, 44100 and 32000. If
112 Pd runs at a different sampling rate, LAME will resample the
113 signal. Default value for mp3 sampling rate is Pd's sampling rate.
114
115 Bitrate (kbit/s): Possible values are 32, 40, 48, 56, 64, 80, 96,
116 112, 128, 160, 192, 224, 256 and 320. Default is 224.
117
118 Mode: Possible values are 0 (stereo), 1 (joint stereo, the
119 default), 2 (dual channel) and 3 (mono).
120
121 Password: The default is 'pd', can be changed with a message
122 "passwd yourpassword".
123
124 Server: Use message "connect name_of_your_server.com port" to
125 connect (same as with Pd's netsend). 'port' is the number
126 specified in the server's config file. Attention (for SHOUTcast
127 users): The actual port number used is one higher! Standard would
128 be 8000 resulting in a socket at port 8001!!! Bare this in mind
129 when configuring proxys or using mp3cast~ in connection with
130 netsend / netreceive. For IceCast, the port number used is the
131 same as specified.
132
133 Outlet: The outlet outputs an int, 1 if connected to SHOUTcast
134 server, 0 if not. This could be used to build an automatic
135 reconnect mechanism.
136
137 Other things: mp3cast~ prints the current status (connection,
138 login, LAME status) to the pd window. To see the current settings,
139 send it a message "print" and mp3 settings will be displayed.
140 Note that changing any mp3 settings will require to disconnect and
141 reconnect again! This has to be done manually.
142
143 Known problems: If you turn off audio processing when you are
144 connected with the server, no data will be sent to it. This will
145 make the server disconnect after a certain time ('no data' error
146 in server log). mp3cast~ does not recongnise this and attempts to
147 keep on streaming. To avoid this set 'AutoDumpSourceTime' in the
148 servers config file to a fairly high value preventing the server
149 from closing the socket to fast.
150
151 ALLOWED QUALITY FACTOR :
152
153 -q <arg> <arg> = 0...9. Default -q 5
154 -q 0: Highest quality, very slow
155 -q 9: Poor quality, but fast
156 -h Same as -q 2. Recommended.
157 -f Same as -q 7. Fast, ok quality
158
159 ALLOWED SAMPLERATE/BITRATES
160
161 MPEG-1 layer III sample frequencies (kHz): 32 48 44.1
162 bitrates (kbps): 32 40 48 56 64 80 96 112 128 160 192 224 256 320
163
164 MPEG-2 layer III sample frequencies (kHz): 16 24 22.05
165 bitrates (kbps): 8 16 24 32 40 48 56 64 80 96 112 128 144 160
166
167 MPEG-2.5 layer III sample frequencies (kHz): 8 12 11.025
168 bitrates (kbps): 8 16 24 32 40 48 56 64 80 96 112 128 144 160
169
170 mp3live~ is a peer-to-peer mp3 streamer package consisting of three
171 objects : mp3streamout~, mp3fileout~ and mp3streamin~.
172
173 using mp3live~ external for Pure Data
174
175 Open the mp3live~-help.pd to understand how it works.
176
177 A note about MPEG encoding :
178
179 ALLOWED QUALITY FACTOR :
180
181 -q <arg> <arg> = 0...9. Default -q 5
182 -q 0: Highest quality, very slow
183 -q 9: Poor quality, but fast
184 -h Same as -q 2. Recommended.
185 -f Same as -q 7. Fast, ok quality
186
187 ALLOWED BITRATES :
188
189 bitrates (kbps): 32 40 48 56 64 80 96 112 128 160 192 224 256 320
190
191 BUGS :
192
193 1. You cannot create more than MAX_DECODERS mp3streamin~
194 objects. The actual value is 100.
195
196 2. Current version of lame ( 3.92 ) produces a lot of errors for
197 quality < 5. Blame it on lame !!!!
198
199 3. Mono is not supported. Some additional code should be added for
200 mp3streamin~. Blame it on me !!!
201
202 4. Resampling is not supported. Blame it on me !!!
203
204 mp3write~ is a MPEG I Layer III (mp3) file writer.
205
206 using mp3write~ external for Pure Data
207
208 Open the help-mp3write~.pd to understand how it works.
209 In this patch, you must send the messages to mp3write~
210 in the following order :
211
212 1/ append|truncate if you wish to change file creation options ( default is append )
213 2/ open /my/file
214 3/ start
215 5/ pd dsp 1
216 4/ stop : the tag is written at this stage
217
218 Parameters sent to mp3write~ object :
219
220 Sampling Rate (Hz): Possible values are 48000, 44100 and 32000. If
221 Pd runs at a different sampling rate, LAME will resample the
222 signal. Default value for mp3 sampling rate is Pd's sampling rate.
223
224 Bitrate (kbit/s): Possible values are 32, 40, 48, 56, 64, 80, 96,
225 112, 128, 160, 192, 224, 256 and 320. Default is 224.
226
227 Mode: Possible values are 0 (stereo), 1 (joint stereo, the
228 default), 2 (dual channel) and 3 (mono).
229
230 Outlet: The outlet outputs an int, which the number of bytes
231 written in this session. this might be different from file size
232 if you're using append mode.
233
234 Known Problems : All combinations of samplerate, bitrate, quality
235 factor will not be accepted.
236
237 ALLOWED QUALITY FACTOR :
238
239 -q <arg> <arg> = 0...9. Default -q 5
240 -q 0: Highest quality, very slow
241 -q 9: Poor quality, but fast
242 -h Same as -q 2. Recommended.
243 -f Same as -q 7. Fast, ok quality
244
245 ALLOWED SAMPLERATE/BITRATES
246
247 MPEG-1 layer III sample frequencies (kHz): 32 48 44.1
248 bitrates (kbps): 32 40 48 56 64 80 96 112 128 160 192 224 256 320
249
250 MPEG-2 layer III sample frequencies (kHz): 16 24 22.05
251 bitrates (kbps): 8 16 24 32 40 48 56 64 80 96 112 128 144 160
252
253 MPEG-2.5 layer III sample frequencies (kHz): 8 12 11.025
254 bitrates (kbps): 8 16 24 32 40 48 56 64 80 96 112 128 144 160
255
256 Furthermore, it seems that high quality factors will not work with
257 this release of lame ( 3.92 ). The same errors can be obtained
258 with the command line : lame -q 1 file.wav outputs errors and
259 mp3write can't do better.
260
261 pianoroll : a graphical sequencer controller
262
263 playlist : choose a file in 1 click with space, numeric, characters
264 you can also send a seek message to select a file automatically.
265
266 probalizer : outputs integer values according to a drawn probability curve
267
268 samplebox~ : an opaque box to record and playback a sound ( with speed variations )
269
270 scratcher~ : records a sound and, then, let's you scratch it with your mouse.
271
272 scrolllist : displays and scrolls a text in a patch window
273
274 sonogram~ : displays, plays back and lets you modify a recorded sonogram.
275
276 The real and imaginery part of an fft~ is stored in a sonogram~
277 and, then, you can apply modifications to it or do mouse-based
278 graphic modifications. The set of modifications provided for now
279 consists of matrix operations but it will be improved soon.
280
281 speex~ is a voice quality streamer using Speex library consisting of
282 two objects : speexin~ and speexout~. A big thanx to Jean-Marc
283 Valin, author of Speex who helped me fixing encoding/decoding
284 problems.
285
286 PLEASE NOTE: The speex codec is patent free unlike GSM codecs.
287 that's the main reason why it's been choosen. ( + it allows very
288 low throughputs like 8kbits/s ).
289
290 spigot~ : a signal router.
291
292 vocoder~ : vocoder filter for PD inspired by xvox ( http://simon.morlat.free.fr )
293 i used xvox version 0.2.1, but you don't need to install it,
294 everything needed is bundled here.
295
296 wahwah~ : a kind of effect used in psychedelic music, use it elsewhere
297
298 the algorithm was taken from Digital Effects, a guitar effects
299 software for DOS which rocks, written by Alexey Smoli (
300 http://st.karelia.ru/~smlalx/ )
301