[CM] CM + SC rts
herbstmondwind@web.de
herbstmondwind@web.de
Sun, 01 Apr 2007 02:07:44 +0200
------=_Part_74909_16843796.1175386065427
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: quoted-printable
> -----Urspr=FCngliche Nachricht-----
> Von: Rick Taube <taube@uiuc.edu>
> Gesendet: 31.03.07 23:38:49
> An: daniel mayer <herbstmondwind@web.de>
> CC: cmdist@ccrma.Stanford.EDU
> Betreff: Re: [CM] CM + SC rts
> >
> > Would it be possible to combine CM control of MIDI output and SC =20
> > realtime (or near realtime)?
> >
> > (progn
> > (events (midi-simple 80 0.2 30 50 0.5) "midi-port.ms")
> > (sprout (sc-simple 80 0.2 500 1500 0.1)))
> >
> > To exchange information between the two actions:
> > Is there a possibility to define them in one process?
>=20
> yes, but dont mix (events) with (rts).
> Assuming you have the connection streams in variables, ie:
>=20
> (setq *sc* (sc-open))
> (setq *qt* (midishare-open))
>=20
> then you can have one process write to whatever rt streams you have =20
> open using output's 'to' option:
>=20
> (defun multi-fun ()
> (process ...
> OUTPUT (new midi ...) TO *qt*
> OUTPUT (new sc-simple ...) TO *sc*
> ...))
>=20
> that is, process dont care about what streams are open, oly output does.
>=20
> also, if you are using more than one stream its pribably best to open =20
> rts with NO default streeam and then handle the streams yourself =20
> using code like above
>=20
> (rts NIL)
>=20
>=20
That's the point! I just didn't see how to mean both streams with rts ...
> > Is double RTS (MIDI + SC stream) possible or necessary for this?
> > SC in NRT mode means writing an OSC file (and then writing an audio =20
> > file),
> > but is there a possibility of double NRTS:
> > streaming MIDI + OSC output with a little latency?
> > Would also be fine, thanks for any hint.
>=20
> sorry not sure what you are asking here, but you should be able to =20
> open up multiple realtime streams (sc, portmidi, midihare etc) and =20
> then have one process write to one or all of them.
>=20
In the docs it's said that rather low level midi objects should be
used in real time mode, so i thought that -
in order to define all in one process with midi objects - i would have to u=
se
(events) and therefore wouldn't have simultanous output,
as then OSC output would be written to a file.
But if all works in realtime mode, it doesn't matter anyway.
Thanks,=20
Daniel
_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=3D021192
------=_Part_74909_16843796.1175386065427
Content-Type: application/pkcs7-signature; name=smime.p7s; smime-type=signed-data
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExDjAMBggqhkiG9w0CBQUAMIAGCSqGSIb3DQEHAQAAoIID5zCC
A+MwggLLoAMCAQICBAQuh/MwDQYJKoZIhvcNAQEEBQAwgaAxCzAJBgNVBAYTAkRFMRIwEAYDVQQK
EwlXRUIuREUgQUcxFTATBgNVBAsTDFRydXN0IENlbnRlcjEaMBgGA1UEBxMRRC03NjIyNyBLYXJs
c3J1aGUxLTArBgNVBAMTJFdFQi5ERSBUcnVzdENlbnRlciBFTWFpbC1aZXJ0aWZpa2F0ZTEbMBkG
CSqGSIb3DQEJARYMdHJ1c3RAd2ViLmRlMB4XDTA2MDUwNTAwNDUyM1oXDTA3MDUwNTAwNDUyM1ow
WDEKMAgGA1UEBhMBQTENMAsGA1UEBxMEZ3JhejEVMBMGA1UEAxMMZGFuaWVsIG1heWVyMSQwIgYJ
KoZIhvcNAQkBFhVoZXJic3Rtb25kd2luZEB3ZWIuZGUwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJ
AoGBAIbG9BXfTtpGIevgK75GWILjpMpBrksHxLGmy+fOSYj7jGBr3uA9RlnDdC/sBwDVzdkCHJsP
AzcZ/xHP/ASq1qVFsyLz45L3w6bTP916ZUOQRGVL5FqK02toawWvbPbH1/5YgOYIm03tMNZYqd60
V9YnU2yslT1MSfX0QRdHtPG3AgMBAAGjge8wgewwHQYDVR0OBBYEFGxcT9F1lPSVMj7OYkS3ADvB
gQOZMB8GA1UdIwQYMBaAFFpkzNcIjXxhAsbLkgPXwrr53rzUMAwGA1UdEwEB/wQCMAAwEQYJYIZI
AYb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