ChucK/FAQ

From CSWiki
Revision as of 16:38, 21 February 2006 by Art (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

ChucK FAQ

(insert stuff here)

Why are the C and the K capitalized?

Because ChucK files have the .ck extension.

Why do ChucK files have the .ck extension?

Because C and K are capitalized in the name.

How does one install (and run) ChucK on OS X?

See ChucK_OSX_Install_and_Run

May I ask you a question?

Yes.

Where else can I ask questions

Good resource are the ChucK and Audicle mailing lists.

  • How does one keep up to date with ChucK releases and progress?

join chuck mailing list

  • Where does one get help on specific ChucK questions?

join chuck-users mailling list

What if my question isn't "frequently asked"?

You can still ask it, but you must ask it more than once.

What time is it?

3:13 PM

What is the most frequently asked question?

It depends.

How to record ChucK audio output to file?

The answer is found in: ChucK_Record

What is the quality of the output file?

Because ChucK is sample-synchronous and data-driven, the output is guaranteed to be sample-accurate to the synthesis, even if the real-time audio breaks up.

If my music has a speed of 120 bpm, how do i let 1 beat of time pass?

If you plan to write something that is dependend on beat lengths, it makes sense to initially declare a few constants such as

125.0 => float bpm;

60::second / bpm => dur t4;
t4 * 4.0 => dur t1;
t4 * 2.0 => dur t2;
t4 / 2.0 => dur t8;
t4 / 4.0 => dur t16;
t4 / 8.0 => dur t32;
t4 / 16.0 => dur t64;

to let e.g. a time of one whole pass, you can use

t1 => now;

How do I find out what the current sample rate is?

second / samp => float sampleRate;