excellent it's working.  some answers below.

> I haven't run any straight sc code, its all been hsc3 so far.

i'm a little worried that's a hard way to learn supercollider?

as of 3.6 supercollider under debian (scide) is pretty straightforward,
and the help system is easy to use.

and the sc-users list is pretty helpful.

> I'm trying to play an mp3 from my phone into audio input on my laptop
> but I don't hear anything.  Does it pass through non-looped audio by
> default?

no, but you could add that, and a gain control.

> Speculating on the controls here:
>
> to start recording?
>      set "t_reset" 1.0

no, that resets the phasor (buffer index), see
http://doc.sccode.org/Classes/Phasor.html

> to stop recording?
>      set "oct" 0.0

no, that's an octave control, ie. phasor rate scalar, ie. 1 = unit, 2 =
octave up 0.5 = octave down

>      set "dir" 0.0

that'd be direction, 1 = forward, -1 = backward

> any way to stop playback of the loop, or start playback?  not sure
> about that.

there's a mute control, 1 = true = mute.

> Thus far I haven't seen how those are distinguished in the api.  Bus 0
> and 1 both appear to be output, and I haven't done any processing with
> audio input yet.  I changed to using bus (numOutputBuses +
> numInputBuses + 2), but that doesn't seem to work either.

see http://doc.sccode.org/Reference/Server-Architecture.html

but in general, Out.ar(0) is the first output bus, SoundIn.ar(0) is the
first input bus.  but the input & output bus counts don't have to
correspond to the interface inputs and output counts.  (defaults at
scsynth are 8 channels in and out)

> If I have a ugen writing out to a bus, and then I delete that ugen,
> what happens to the value in that bus?  does it persist or does it
> immediately revert to zero?  I'm inferring that it reverts to zero
> since my playback synth doesn't work.  It depends on a value written
> to a bus by the record synth.

see http://doc.sccode.org/Classes/Out.html and
http://doc.sccode.org/Classes/ReplaceOut.html

but note that control buses have different semantics to audio buses.

best,
rohan

-- 

Read the whole topic here: Haskell Art:
http://lurk.org/r/topic/2M65U35cQahS7AAyTVaOux

To leave Haskell Art, email haskell-...@group.lurk.org with the following email 
subject: unsubscribe

Reply via email to