Page 2 of 2

Re: How to play frequencies in a row

Posted: Fri May 24, 2013 10:10 am
by PhilN
Yes, it worked quite well so far and it was interesting to them seeing the 'scientific side' of music...
It was not very user-friendly to copy/paste <freqs><duration><silence> from spreadsheet to Nyquist Prompt and changing the french decimal separator " , " into " . " .
I'm gonna work now on a small program doing this work for them.
By the way, my colleagues decided to use my (I should say our!) work for their next Physic session concerning "waves and sounds". So, thank you again for your help!

PS: The only way I found for Timbre changing is using the Equalization effect.

Re: How to play frequencies in a row

Posted: Fri May 24, 2013 10:53 am
by Damienb
I thought the singing/motor frog ring tone was the only one!!

Welcome to 2001.

Damien

Re: How to play frequencies in a row

Posted: Fri May 24, 2013 1:13 pm
by Robert J. H.
Ehm, I guess the EQ has not much timbre changing aspects on a sine wave...
Your students can try other waveforms by simply writing *tri-table* or saw-table* after the Duration Parameter in the osc function, e.g.

Code: Select all

(osc <pitch> <Duration> *tri-table*)
Square waves Need another function (osc-pulse) or the Expression

Code: Select all

(maketable *step-shape*)
Nyquist has also some physical models built-in like sax, clarinet, mandolin and so on. However, the Parameter handling is a Little more difficult (because of the envelopes used to simulate breath, pressure etc).
The comma as separator is a frequently upcoming issue throughout Audacity's Interfaces.
The Nyquist prompt could of course be expanded to a ordinary generate plug-in, where you can simply copy the data from the spread sheet into a text field.
These values remain there as Long as Audacity is executed. The read-out Routine can take care of the commas too, if desired.