You can subscribe to this list here.
2004 
_{Jan}

_{Feb}

_{Mar}

_{Apr}

_{May}

_{Jun}

_{Jul}

_{Aug}

_{Sep}

_{Oct}

_{Nov}
(40) 
_{Dec}
(29) 

2005 
_{Jan}
(7) 
_{Feb}
(12) 
_{Mar}
(28) 
_{Apr}
(27) 
_{May}

_{Jun}
(13) 
_{Jul}
(4) 
_{Aug}
(7) 
_{Sep}
(1) 
_{Oct}
(2) 
_{Nov}
(32) 
_{Dec}
(49) 
2006 
_{Jan}
(31) 
_{Feb}
(16) 
_{Mar}
(15) 
_{Apr}
(15) 
_{May}
(21) 
_{Jun}
(1) 
_{Jul}
(1) 
_{Aug}
(5) 
_{Sep}
(2) 
_{Oct}
(21) 
_{Nov}

_{Dec}
(6) 
2007 
_{Jan}
(21) 
_{Feb}

_{Mar}

_{Apr}
(5) 
_{May}
(1) 
_{Jun}
(3) 
_{Jul}
(10) 
_{Aug}
(38) 
_{Sep}
(21) 
_{Oct}
(38) 
_{Nov}
(23) 
_{Dec}
(3) 
2008 
_{Jan}
(72) 
_{Feb}
(45) 
_{Mar}
(46) 
_{Apr}
(5) 
_{May}
(2) 
_{Jun}
(33) 
_{Jul}

_{Aug}
(9) 
_{Sep}
(6) 
_{Oct}
(1) 
_{Nov}
(17) 
_{Dec}
(73) 
2009 
_{Jan}
(20) 
_{Feb}
(28) 
_{Mar}
(7) 
_{Apr}
(24) 
_{May}
(8) 
_{Jun}
(59) 
_{Jul}
(38) 
_{Aug}
(25) 
_{Sep}
(19) 
_{Oct}
(40) 
_{Nov}
(43) 
_{Dec}
(53) 
2010 
_{Jan}
(22) 
_{Feb}
(12) 
_{Mar}
(14) 
_{Apr}
(4) 
_{May}
(29) 
_{Jun}
(26) 
_{Jul}
(7) 
_{Aug}
(14) 
_{Sep}
(16) 
_{Oct}
(34) 
_{Nov}
(13) 
_{Dec}
(8) 
2011 
_{Jan}

_{Feb}

_{Mar}
(1) 
_{Apr}
(1) 
_{May}

_{Jun}
(5) 
_{Jul}
(10) 
_{Aug}
(2) 
_{Sep}
(3) 
_{Oct}

_{Nov}
(1) 
_{Dec}
(1) 
2012 
_{Jan}

_{Feb}
(1) 
_{Mar}

_{Apr}

_{May}

_{Jun}

_{Jul}
(4) 
_{Aug}

_{Sep}
(21) 
_{Oct}

_{Nov}

_{Dec}

2013 
_{Jan}

_{Feb}

_{Mar}
(1) 
_{Apr}

_{May}

_{Jun}

_{Jul}

_{Aug}

_{Sep}

_{Oct}
(6) 
_{Nov}

_{Dec}

2014 
_{Jan}

_{Feb}
(2) 
_{Mar}

_{Apr}

_{May}
(1) 
_{Jun}

_{Jul}
(3) 
_{Aug}

_{Sep}

_{Oct}

_{Nov}

_{Dec}

S  M  T  W  T  F  S 



1
(1) 
2

3

4

5

6

7

8

9
(1) 
10

11
(1) 
12

13

14

15
(2) 
16

17
(2) 
18

19
(5) 
20

21
(2) 
22

23

24
(8) 
25
(2) 
26
(1) 
27

28
(1) 
29

30




From: Stevethefiddle <stevethefiddle@gm...>  20100628 00:11:12

An Analyze plugin to print out the values of samples within the selected audio. http://audacity.238276.n2.nabble.com/file/n5229006/sampleprinter2.ny.zip sampleprinter2.ny.zip  View this message in context: http://audacity.238276.n2.nabble.com/SamplePrintertp5229006p5229006.html Sent from the audacitynyquist mailing list archive at Nabble.com. 
From: paul beach <sniffyraven@fa...>  20100626 21:31:39

(Rem a b) is an example of defensive programming, which will not always be in agreement with the most general statements. Most programs, such as this one, should work fine, the way things are. Polynomial Bird Song defaults to this short tune: http://www.climatehoax.ca/music/pol_bird.mp3 There are two short chirps generated by, k * j^2 (mod n) where ka is first, and kab the second tweet. j runs from 0 to n. k modifies the quadratic residue envelop. For k = 5, the remainders are: (0,5,7,6,2,8,11,11,8,2,6,7,5,0 ) Two things are needed 1. A sine wave 2. The set of natural numbers (1,2,3, ...). Here's the plugin. ;nyquist plugin ;version 1 ;type generate ;name "Polynomial Song Bird..." ;action "Same ..." ;control n "n value" int "" 13 1 50 ;control c "carrier freq" real "" 97 1 125 ;control k2 "scramble by multiplication" int "" 5 1 25 ;control s1 "Silence between chirps" real "" .025 .001 1.0 ;control k3 "scramble next chirp" int "" 4 1 25 ;control t "time increment" real "" 0.02 .0001 1.0 ;info "Single sine wave synthesis by Paul Beach" (defun tweet (k1) (setf time 0) (setf bilist '()) ; make bilist 0, 1, 2, ...., n (dotimes (j n) ; song = k * j^2 (mod n) where k1 is first, and k2 second tweet (setf song (rem (* k1 j j ) n )) (setf time (+ time t)) (push time bilist) (push (* 222 song) bilist) ; increase frequency modulation ) ; end dotimes (setf bilist (reverse bilist) ) ;scale amplitde modulation by 0.00025 (mult 0.00025 (pwllist bilist) (fmosc c (pwllist bilist)) ) ); end tweet definition (seq (tweet k2) (srest s1) (tweet k3) )  paul beach sniffyraven@... 
From: Roger Dannenberg <rbd@cs...>  20100625 22:31:42

I took a quick look at the XLISP implementation, and REM is directly implemented by calling C's % operator on integers. It looks like REM raises an error on FLONUM arguments. SAL allows you to call REM as a function, e.g. rem(5, 2), or use the "%" operator, e.g. 5 % 2. Roger paul beach wrote: > Rem seems to be more general than mod. Should be useful for multiple > congruences,(the socalled Chinese remainder theory). Also there is a > (gcd a b), meaning greatest common divisor. Even though there is no MOD > statement, LISP seems to be superior with respect to NUMBER theory. Some > topics would be, primitive roots, quadratic residues, congruence. > > Just checking that (rem a b) is the same as modulus: > > ... > 
From: edgar <edgarrft@we...>  20100625 18:44:26

Hi Paul (and all others), As it turned out today, there was still a special case missing, if the first argument is zero, the reault must be zero too. Hopefully the final version: (defun mod (x y) (cond ((not (integerp x)) (error "MOD  bad argument type" x)) ((not (integerp y)) (error "MOD  bad argument type" y)) ((zerop y) (error "MOD  division by zero")) ((zerop x) 0) ; if x is zero, the result is zero ((or (and (> x 0) (> y 0)) ; x and y are positive (and (< x 0) (< y 0))) ; x and y are negative (rem x y)) ; equal signs (t (+ (rem x y) y)))) ; unequal signs  edgar  The author of this email does not necessarily endorse the following advertisements, which are the sole responsibility of the advertiser: 
From: paul beach <sniffyraven@fa...>  20100624 23:13:47

I am happy with the source code, (last eMail). However, these improvements could be made in a future version of Nyquist. (remminus a b ) ; see Edgar's code. (remdecimal a b) paul  paul beach sniffyraven@... 
From: paul beach <sniffyraven@fa...>  20100624 22:55:14

Edgar, thank you for observations and code, but ... Usually, writers prefer not to bother with a negative sign. Also, it is also a bit awkward in Nyquist. (1 mod 5) = 1 or 4. Both mean the same, what you call an equivalance relation. A minus sign is sometimes wanted, say for Legendre symbols. But that is another topic. Changes to the source code, of course, can't be taken lightly. Example: All primes are of the form, 4*k + 1 or 4*k  1 = 4*k + 3 Nyquist is "corrected" to reject decimals. But if you look in a Number theory book, there is usually a section, 'Decimal fractions'. Thanks again, Paul On Thu, 24 Jun 2010 23:54:00 +0200, "edgar" <edgarrft@...> said: > As I said: I'm not a really good mathematician. The previous > MOD function only worked with onedigit numbers correctly. > > Here's a better version: > > (defun mod (x y) > (cond ((not (integerp x)) (error "MOD  bad argument type" x)) > ((not (integerp y)) (error "MOD  bad argument type" y)) > ((zerop y) (error "MOD  division by zero")) > ((or (and (>= x 0) (< y 0)) ; x is positive, y is negative > (and (< x 0) (> y 0))) ; x is negative, y is positive > (+ (rem x y) y)) ; unequal signs > (t (rem x y)))) ; equal signs > > >  edgar > > > > > > > > > > >  > The author of this email does not necessarily endorse the following > advertisements, which are the sole responsibility of the advertiser: > > >  > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeekpromo > _______________________________________________ > Audacitynyquist mailing list > Audacitynyquist@... > https://lists.sourceforge.net/lists/listinfo/audacitynyquist  paul beach sniffyraven@... 
From: edgar <edgarrft@we...>  20100624 21:58:24

As I said: I'm not a really good mathematician. The previous MOD function only worked with onedigit numbers correctly. Here's a better version: (defun mod (x y) (cond ((not (integerp x)) (error "MOD  bad argument type" x)) ((not (integerp y)) (error "MOD  bad argument type" y)) ((zerop y) (error "MOD  division by zero")) ((or (and (>= x 0) (< y 0)) ; x is positive, y is negative (and (< x 0) (> y 0))) ; x is negative, y is positive (+ (rem x y) y)) ; unequal signs (t (rem x y)))) ; equal signs  edgar  The author of this email does not necessarily endorse the following advertisements, which are the sole responsibility of the advertiser: 
From: edgar <edgarrft@we...>  20100624 21:31:50

Hi Paul, After realizing that REM in XLISP is limited to integers only, it was quite easy to write the missing MOD function: (defun mod (x y) (cond ((not (integerp x)) (error "MOD  bad argument type" x)) ((not (integerp y)) (error "MOD  bad argument type" y)) ((zerop y) (error "MOD  division by zero")) ((or (and (>= x 0) (< y 0)) ; x is positive, y is negative (and (< x 0) (> y 0))) ; x is negative, y is positive (+ x y)) ; unequal signs (t (rem x y)))) ; equal signs With equal signs: (rem 1 5) => 1 (mod 1 5) => 1 (rem 1 5) => 1 (mod 1 5) => 1 With unequal signs: (rem 1 5) => 1 (mod 1 5) => 4 (rem 1 5) => 1 (mod 1 5) => 4  edgar  The author of this email does not necessarily endorse the following advertisements, which are the sole responsibility of the advertiser: 
From: edgar <edgarrft@we...>  20100624 20:34:20

paul beach wrote: > Rem seems to be more general than mod. Should be useful for multiple > congruences,(the socalled Chinese remainder theory). Also there is a > (gcd a b), meaning greatest common divisor. Even though there is no MOD > statement, LISP seems to be superior with respect to NUMBER theory. Some > topics would be, primitive roots, quadratic residues, congruence. > > Just checking that (rem a b) is the same as modulus: > > Nyquist prompt: > > (rem 22 5) ; == 22 mod 5 > > Output =2 > > Much better than this, > > ( 22 (* 5 (/ 22 5))) ; no error checking! I am not a really good mathematician to tell the truth, but here is what the Common Lisp Standard says about the difference between REM and MOD: http://www.lispworks.com/documentation/HyperSpec/Body/f_mod_r.htm#rem In one sentence: REM and MOD differ in their handling of positive and negative numbers. If both number have the same sign, both functions behave the same: (rem 1 5) => 1 (mod 1 5) => 1 (rem 1 5) => 1 (mod 1 5) => 1 But if both numbers have unequal signs: (rem 1 5) => 1 (mod 1 5) => 4 (rem 1 5) => 1 (mod 1 5) => 4 I'm afraid if this is important to you than there will be no other way than to write a realmath solution. I will try now to write a Lisp version out of these examples: http://en.wikipedia.org/wiki/Modulo_operation But do not expect too much...  edgar  The author of this email does not necessarily endorse the following advertisements, which are the sole responsibility of the advertiser: 
From: paul beach <sniffyraven@fa...>  20100624 19:49:27

Rem seems to be more general than mod. Should be useful for multiple congruences,(the socalled Chinese remainder theory). Also there is a (gcd a b), meaning greatest common divisor. Even though there is no MOD statement, LISP seems to be superior with respect to NUMBER theory. Some topics would be, primitive roots, quadratic residues, congruence. Just checking that (rem a b) is the same as modulus: Nyquist prompt: (rem 22 5) ; == 22 mod 5 Output =2 Much better than this, ( 22 (* 5 (/ 22 5))) ; no error checking! Thank you very much. On Thu, 24 Jun 2010 20:21:54 +0200, "edgar" <edgarrft@...> said: > paul beach asked: > > > I don't see a mod function in the documentation; and presume > > it would be done like this: > > > > ; mod ( n, d ) = n  d * int (n/d) > > > > ; 22 mod 5 = 2 > > > > ( 22 (* 5 (/ 22 5))) > > Output 2 > > I have no particular knowledge how it works in SAL, > but XLISP has a REM function, see: > > http://www.audacityforum.de/download/edgar/nyquist/nyquistdoc/xlisp/xlispref/xlispref217.htm > > If you see in XLISP: > > (rem expr1 expr2 ...) > > then this should work in SAL like this: > > rem(expr1, expr2, ...) > > I know that REM is not 100% equal to MOD but as far > as I know there is no MOD function in XLISP or SAL. > >  edgar > > > > > > > > >  > The author of this email does not necessarily endorse the following > advertisements, which are the sole responsibility of the advertiser: > > >  > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeekpromo > _______________________________________________ > Audacitynyquist mailing list > Audacitynyquist@... > https://lists.sourceforge.net/lists/listinfo/audacitynyquist  paul beach sniffyraven@... 
From: edgar <edgarrft@we...>  20100624 18:25:39

paul beach asked: > I don't see a mod function in the documentation; and presume > it would be done like this: > > ; mod ( n, d ) = n  d * int (n/d) > > ; 22 mod 5 = 2 > > ( 22 (* 5 (/ 22 5))) > Output 2 I have no particular knowledge how it works in SAL, but XLISP has a REM function, see: http://www.audacityforum.de/download/edgar/nyquist/nyquistdoc/xlisp/xlispref/xlispref217.htm If you see in XLISP: (rem expr1 expr2 ...) then this should work in SAL like this: rem(expr1, expr2, ...) I know that REM is not 100% equal to MOD but as far as I know there is no MOD function in XLISP or SAL.  edgar  The author of this email does not necessarily endorse the following advertisements, which are the sole responsibility of the advertiser: 
From: paul beach <sniffyraven@fa...>  20100624 15:24:23

I don't see a mod function in the documentation; and presume it would be done like this: ; mod ( n, d ) = n  d * int (n/d) ; 22 mod 5 = 2 ( 22 (* 5 (/ 22 5))) Output 2  paul beach sniffyraven@... 
From: Roger Dannenberg <rbd@cs...>  20100621 21:55:11

Yes, that is correct and matches the documentation, except that I would say (as does documentation) that transpose changes the environment in which behaviors are evaluated, not sounds themselves. Roger paul beach wrote: > Transpose is a handy instruction to change the frequency in semitones. > Shift an anote up an octave, > (transpose 12 (hzosc 220)) ; 12 semitones = an 8ve > > But it has no Effect on a sinewave. > Generate plugin, or Nyquist prompt: > (transpose 12 s) > does nothing and returns no error message. > 
From: paul beach <sniffyraven@fa...>  20100621 20:57:37

Transpose is a handy instruction to change the frequency in semitones. Shift an anote up an octave, (transpose 12 (hzosc 220)) ; 12 semitones = an 8ve But it has no Effect on a sinewave. Generate plugin, or Nyquist prompt: (transpose 12 s) does nothing and returns no error message.  paul beach sniffyraven@... 
From: edgar <edgarrft@we...>  20100619 19:15:10

> Paul Beach wrote: > > I want to convert a Generate, to an Effect plugin. But fmosc does > not take a signal parameter. It is possible to FM sweep the signal? > > (fmosc c (pwllist bilist)) ; binomial filter Could we have the complete context please? And what are the exact Nyquist error messages? Asks  edgar 
From: edgar <edgarrft@we...>  20100619 17:48:38

There may be another issue I hadn't thought about: Imagine you ask an extremely stupid German to type a commaseparated list of three floatingpoint numbers in German commanotation: 1,1 (first number) 2,2 (second number) 3,3 (third number) Maybe this will endup with the following string: "1,1,2,2,3,3" Okay, this must be a really stupid user, but imagine you are blind and cannot see what you're typing on the screen.  edgar 
From: paul beach <sniffyraven@fa...>  20100619 17:47:01

I want to convert a Generate, to an Effect plugin. But fmosc does not take a signal parameter. It is possible to FM sweep the signal? (fmosc c (pwllist bilist)) ; binomial filter  paul beach sniffyraven@... 
From: edgar <edgarrft@we...>  20100619 15:56:09

Commas and dots with numbers and strings Steve wrote an email with some questions to me (probably because I hadn't much time last week and hadn't answered on the mailing lists), but I think this would be interesting for others too. > Steve wrote: > > I remember a thread on one of the mailing lists about using commas > as decimal separators for certain locale settings. > > I've been working on a Nyquist plugin that uses a string for > inputting a sequence of numerical values which may be integers > or decimals. > > My direct concern is whether I can allow comma separated variables, > or whether that will cause problems for locales that use commas as > decimal separators. General info: the commavsdots issue is a wxwidgets problem. As soon as you have managed to get the value from the Audacity Nyquist interface (wxwidgets code) into the Nyquist interpreter, you have already won. On the Nyquist Lisp level there never existed any commavsdots problems (examples see below), it's only the Audacity GUI code that causes problems. > Steve wrote: > > I've tried running Audacity on a virtual machine that has the > language set to "Nederlands", but although nonNyquist effects > switch to commas as decimal separators, Nyquist still uses > dots (period). Question: in the GUI or in the "internal" plugincode? Nyquist (like nearly all programming languages in international context) internally always uses the "english" dots with floating point numbers (FLONUMS). Otherwise it would be extremely awkward to exchange source code between different countries. In Nyquist, only with characters, strings and symbol names there is a difference between commas and dots. But we must differ between "what you see in the wxwidgets GUI" and "what is really given to Nyquist by the GUI code. The commatodot translation with floating point numbers is managed by wxwidgets inside the Audacity Nyquist interface BEFORE the user input is given to the Nyquist interpreter. To give a better understanding, here's an example: Below are the results of a slidervsstring widget test. In the plugin code (including the header lines) floatingpoint numbers must be written with dots, independent of the locale: ;control number "a floatingpoint number" real "" 1.5 0.5 2.5 ;control text "some text" string "" Here the results with Nyquist in Audacity and "de_DE" locale. On the left is the string I typed into the Audacity widget's text box, on the right is the value that was given from Audacity to the Nyquist interpreter: Slider widget (numbers): "1.23" => 1.23 (floating point number, FLONUM) "1,23" => 1.00 (floating point number, FLONUM) As you can see yourself, the wxwidgets commatodot translation is currently once again broken, only dotfloats work. String widget (strings): "1.23" => "1.23" (string) "1,23" => "1,23" (string) "123" => "123" (string) With strings you always get the characters you have typed in, independent of any locale settings. That's the correct behaviour, at least with "de_DE" locale. The commatodot translation only happens with sliderwidgets and floating point numbers, and happens BEFORE the number is given to the Nyquist interpreter. To answer Steve's original question: With stringwidgets it's always safe to use commas as separators, only with numbers in sliderwidgets a comma gets (theoretically) converted into a dot by the Audacity Nyquist interface. But even at times when the commatodot translation with numbers is clearly broken, commas in strings are never affected and safely can be used as separators.  @Steve: I have also tested the "inputstringtest.ny" plugin, that was attached to the original mail and have noticed no problems with commaseparated lists: Enter list of numbers: "1,2,3" Strip out list separators: "Yes" Character to use as a list separator: "comma" Plugin returnwindow: You entered the following list: (1 2 3)   edgar 
From: edgar <edgarrft@we...>  20100619 13:09:04

Still unanswered question: the Audacity "rate" variable The "rate" variable never was documented because it is a typical Audacity shortbrainer causing more problems than it does any good. The "rate" variable only works only inside the header lines of an Audacity Nyquist plugin, it represents the sample frequency of the first selected Audacity track. The "rate" variable badly messesup things as soon as you apply a Nyquist effect to more than only one selected Audacity tracks, where the Audacity tracks have different sample rates. The "rate" variable is only set once, before the plugin code is applied to the first selected Audacity track, but in contrast to the Nyquist *soundsrate* variable, the Audacity "rate" variable NEVER gets updated with subsequent audio tracks. It works much better if you specify a frequency either directly in Hertz or in "percent" of the track's samplerate and then compute the exact "percents" in Herts out of the Nyquist *soundsrate* variable for each track separately. In one sentence: forget the "rate" variable as fast as you can.  edgar Original message was: I notice that the word "rate" can be used as a parameter with slider widgets; for example, the following plugin will display the current sample rate: ;nyquist plugin ;version 1 ;type generate ;name "ShowSampleRate..." ;action "show ..." ;info "Show Sample Rate" ;control n "Sample Rate" int "Hz" rate 0 1000000 Is this documented anywhere? Are there any other words that can be used in this way? 
From: Roger Dannenberg <rbd@cs...>  20100617 21:18:13

paul beach wrote: > NyquistAudacity impliments some instructions that have a MIDI name. > [rest, pitch = midi number, and so on]. This is limited, for example, > SINE cannot be use like hzosc. > I don't understand your point. Very few functions in Nyquist are identical. How would you expect SINE and HZOSC to be alike and in what way do they fail to meet that expectation? > I am trying rate, [ !rate 50 ] cuts the tempo in half, a half note > should become a quarter note. > This notation comes from Adagio, an ascii notation for music that was introduced in the CMU Midi Toolkit and ported to Nyquist in connection with functions for standard MIDI file reading and writing. The rate notation in Adagio is unrelated to Nyquist or XLISP. > (seq > (rate 50 (sine 60 .2)) > (sine 62 .1) > ) > > > error: unbound function  RATE > if continued: try evaluating symbol again > Function: #<FSubrLET*: #e40bd4> > Arguments: > ((FIRST%SOUND (RATE 50 (SINE 60 0.2))) (S%RATE (GETSRATES > FIRST%SOUND))) > (COND ((ARRAYP FIRST%SOUND) (SNDMULTISEQ (PROG1 FIRST%SOUND (SETF > FIRST%SOUND NIL)) (FUNCTION (LAMBDA (T0) (FORMAT T "MULTISEQ's 2nd > behavior: ~A~%" (QUOTE (SINE 62 0.1))) (WITH%ENVIRONMENT (QUOTE ((0 1 > NIL) 1 1e+021 0 0 1e+021 2205 44100)) (ATABS T0 (FORCESRATES S%RATE > (SINE 62 0.1)))))))) (T (SNDSEQ (PROG1 FIRST%SOUND (SETF FIRST%SOUND > NIL)) (FUNCTION (LAMBDA (T0) (WITH%ENVIRONMENT (QUOTE ((0 1 NIL) 1 > 1e+021 0 0 1e+021 2205 44100)) (ATABS T0 (FORCESRATE S%RATE (SINE > 62 0.1))))))))) > 
From: paul beach <sniffyraven@fa...>  20100617 20:11:15

NyquistAudacity impliments some instructions that have a MIDI name. [rest, pitch = midi number, and so on]. This is limited, for example, SINE cannot be use like hzosc. I am trying rate, [ !rate 50 ] cuts the tempo in half, a half note should become a quarter note. (seq (rate 50 (sine 60 .2)) (sine 62 .1) ) error: unbound function  RATE if continued: try evaluating symbol again Function: #<FSubrLET*: #e40bd4> Arguments: ((FIRST%SOUND (RATE 50 (SINE 60 0.2))) (S%RATE (GETSRATES FIRST%SOUND))) (COND ((ARRAYP FIRST%SOUND) (SNDMULTISEQ (PROG1 FIRST%SOUND (SETF FIRST%SOUND NIL)) (FUNCTION (LAMBDA (T0) (FORMAT T "MULTISEQ's 2nd behavior: ~A~%" (QUOTE (SINE 62 0.1))) (WITH%ENVIRONMENT (QUOTE ((0 1 NIL) 1 1e+021 0 0 1e+021 2205 44100)) (ATABS T0 (FORCESRATES S%RATE (SINE 62 0.1)))))))) (T (SNDSEQ (PROG1 FIRST%SOUND (SETF FIRST%SOUND NIL)) (FUNCTION (LAMBDA (T0) (WITH%ENVIRONMENT (QUOTE ((0 1 NIL) 1 1e+021 0 0 1e+021 2205 44100)) (ATABS T0 (FORCESRATE S%RATE (SINE 62 0.1)))))))))  paul beach sniffyraven@... 
From: Steve the Fiddle <stevethefiddle@gm...>  20100615 18:05:35

From: Stevethefiddle <stevethefiddle@gm...>  20100615 01:17:29

Thanks for your reply Paul, but in this context I do not think that it refers to Adagio. If you run the code that I posted you will see that "rate" when used in a ";control" line is equivalent to the current sample rate. My question is that I can find no documentation about this (I would be happy to write something up on the Audacity wiki if anyone is able to provide definitive information about it). I would also like to know if there are any other "keywords" that are specific to ";control". Perhaps there are some comments in the source code about this, but I don't know what part of the source code is responsible for this. I would have thought that someone must know the answer, but perhaps it was written by someone that is no longer involved with Audacity Nyquist. Any information would be much appreciated. Steve  View this message in context: http://audacity.238276.n2.nabble.com/controlwidgetdocumentationtp5156108p5180023.html Sent from the audacitynyquist mailing list archive at Nabble.com. 
From: paul beach <sniffyraven@fa...>  20100611 18:44:37

Rate, Tempo, seem to be commands for Adagio Midi commands. It is not likely that I would use a plugin for music compostions. Computer music, change key, tempo etc., regarding a theme sounds like so: http://www.proviewlandscape.com/liss/rushes%20and%20swamp.mp3 Rate The !RATE command scales all times including those specified in hundredths of seconds. A rate of 100 means no change, 200 means twice as fast, and 50 means half as fast. For example, to make a piece play 10% faster, you can add the following command at the beginning of the score: !RATE 110 !RATE and !TEMPO commands combine, so !RATE 200 !TEMPO 70 will play 70 beats per minute at double the normal speed, or 140 beats per minute. Like !TEMPO, the time of the !RATE command is added to the time attribute of all following notes up to the next !TEMPO or !RATE command. On Tue, 8 Jun 2010 17:28:32 0700 (PDT), "Stevethefiddle" <stevethefiddle@...> said: > > I notice that the word "rate" can be used as a parameter with slider > widgets; > for example, the following plugin will display the current sample rate: > > ;nyquist plugin > ;version 1 > ;type generate > ;name "ShowSampleRate..." > ;action "show ..." > ;info "Show Sample Rate" > ;control n "Sample Rate" int "Hz" rate 0 1000000 > > Is this documented anywhere? > Are there any other words that can be used in this way? >  > View this message in context: > http://audacity.238276.n2.nabble.com/controlwidgetdocumentationtp5156108p5156108.html > Sent from the audacitynyquist mailing list archive at Nabble.com. > >  > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeekpromo > _______________________________________________ > Audacitynyquist mailing list > Audacitynyquist@... > https://lists.sourceforge.net/lists/listinfo/audacitynyquist  paul beach sniffyraven@... 
From: Stevethefiddle <stevethefiddle@gm...>  20100609 00:28:40

I notice that the word "rate" can be used as a parameter with slider widgets; for example, the following plugin will display the current sample rate: ;nyquist plugin ;version 1 ;type generate ;name "ShowSampleRate..." ;action "show ..." ;info "Show Sample Rate" ;control n "Sample Rate" int "Hz" rate 0 1000000 Is this documented anywhere? Are there any other words that can be used in this way?  View this message in context: http://audacity.238276.n2.nabble.com/controlwidgetdocumentationtp5156108p5156108.html Sent from the audacitynyquist mailing list archive at Nabble.com. 