Class: Csound
- Inherits:
-
Object
- Object
- Csound
- Defined in:
- lib/csound.rb
Instance Method Summary collapse
- #Cleanup ⇒ Object
- #ClearSpin ⇒ Object
- #CloseLibrary(library) ⇒ Object
- #Compile(argc, argv) ⇒ Object
- #CompileArgs(argc, argv) ⇒ Object
- #CompileCsd(csd) ⇒ Object
- #CompileCsdText(csd) ⇒ Object
- #CompileOrc(str) ⇒ Object
- #CompileOrcAsync(str) ⇒ Object
- #CompileTree(root) ⇒ Object
- #CompileTreeAsync(root) ⇒ Object
- #CondSignal(condVar) ⇒ Object
- #CondWait(condVar, mutex) ⇒ Object
- #CreateMessageBuffer(toStdOut) ⇒ Object
- #DeleteChannelList(lst) ⇒ Object
- #DeleteTree(tree) ⇒ Object
- #DeleteUtilityList(lst) ⇒ Object
- #Destroy ⇒ Object
- #DestroyBarrier(barrier) ⇒ Object
- #DestroyCircularBuffer(circularbuffer) ⇒ Object
- #DestroyGlobalVariable(name) ⇒ Object
- #DestroyMessageBuffer ⇒ Object
- #DestroyMutex(mutex) ⇒ Object
- #DestroyThreadLock(lock) ⇒ Object
- #DisposeOpcodeList(opcodelist) ⇒ Object
- #EvalCode(str) ⇒ Object
- #FlushCircularBuffer(p) ⇒ Object
- #GetAPIVersion ⇒ Object
- #GetChannelDatasize(name) ⇒ Object
- #GetCPUTime(arg_pointer) ⇒ Object
- #GetCurrentTimeSamples ⇒ Object
- #GetDebug ⇒ Object
- #GetFirstMessage ⇒ Object
- #GetFirstMessageAttr ⇒ Object
- #GetInputBufferSize ⇒ Object
- #GetKr ⇒ Object
- #GetKsmps ⇒ Object
- #GetMessageCnt ⇒ Object
- #GetMessageLevel ⇒ Object
- #GetNamedGEN(num, name, len) ⇒ Object
- #GetNchnls ⇒ Object
- #GetNchnlsInput ⇒ Object
- #GetOutputBufferSize ⇒ Object
- #GetParams(p) ⇒ Object
- #GetRandomSeedFromTime ⇒ Object
- #GetRealTime(arg_pointer) ⇒ Object
- #GetScoreOffsetSeconds ⇒ Object
- #GetScoreTime ⇒ Object
- #GetSizeOfMYFLT ⇒ Object
- #GetSpoutSample(frame, channel) ⇒ Object
- #GetTable(tablePtr, tableNum) ⇒ Object
- #GetTableArgs(argsPtr, tableNum) ⇒ Object
- #GetVersion ⇒ Object
-
#initialize(flags = 0, host_data = nil) ⇒ Csound
constructor
A new instance of Csound.
- #InitializeCscore(insco, outsco) ⇒ Object
- #InitTimerStruct(arg_pointer) ⇒ Object
- #InputMessage(message) ⇒ Object
- #InputMessageAsync(message) ⇒ Object
- #IsNamedGEN(num) ⇒ Object
- #IsScorePending ⇒ Object
- #JoinThread(thread) ⇒ Object
- #KeyPress(c) ⇒ Object
- #ListChannels(lst) ⇒ Object
- #LockMutex(mutex) ⇒ Object
- #LockMutexNoWait(mutex) ⇒ Object
- #Message(format) ⇒ Object
- #NewOpcodeList(opcodelist) ⇒ Object
- #NotifyThreadLock(lock) ⇒ Object
- #OpenLibrary(library, libraryPath) ⇒ Object
- #Perform ⇒ Object
- #PerformBuffer ⇒ Object
- #PerformKsmps ⇒ Object
- #PopFirstMessage ⇒ Object
- #RandMT(p) ⇒ Object
- #ReadScore(str) ⇒ Object
- #ReadScoreAsync(str) ⇒ Object
- #Reset ⇒ Object
- #RewindScore ⇒ Object
- #RunCommand(argv, noWait) ⇒ Object
- #ScoreSort(inFile, outFile) ⇒ Object
-
#SetControlChannel(channel_name, value) ⇒ Object
Handwritten.
- #SetDebug(debug) ⇒ Object
- #SetGlobalEnv(name, value) ⇒ Object
- #SetHostData(hostData) ⇒ Object
- #SetInput(name) ⇒ Object
- #SetIsGraphable(isGraphable) ⇒ Object
- #SetMessageLevel(messageLevel) ⇒ Object
- #SetMIDIFileInput(name) ⇒ Object
- #SetMIDIFileOutput(name) ⇒ Object
- #SetMIDIInput(name) ⇒ Object
- #SetMIDIModule(rtmodule) ⇒ Object
- #SetMIDIOutput(name) ⇒ Object
- #SetOption(option) ⇒ Object
- #SetParams(p) ⇒ Object
- #SetRTAudioModule(rtmodule) ⇒ Object
- #SetRtcloseCallback(arg_void) ⇒ Object
- #SetScoreOffsetSeconds(time) ⇒ Object
- #SetScorePending(pending) ⇒ Object
- #SetYieldCallback(arg_int) ⇒ Object
- #Sleep(milliseconds) ⇒ Object
- #SpinLock(spinlock) ⇒ Object
- #SpinLockInit(spinlock) ⇒ Object
- #SpinTryLock(spinlock) ⇒ Object
- #SpinUnLock(spinlock) ⇒ Object
- #Start ⇒ Object
- #Stop ⇒ Object
- #StopUDPConsole ⇒ Object
- #SystemSr(val) ⇒ Object
- #TableCopyIn(table, src) ⇒ Object
- #TableCopyInAsync(table, src) ⇒ Object
- #TableCopyOut(table, dest) ⇒ Object
- #TableCopyOutAsync(table, dest) ⇒ Object
- #TableGet(table, index) ⇒ Object
- #TableLength(table) ⇒ Object
- #TableSet(table, index, value) ⇒ Object
- #UDPServerClose ⇒ Object
- #UDPServerStart(port) ⇒ Object
- #UDPServerStatus ⇒ Object
- #UnlockMutex(mutex) ⇒ Object
- #WaitBarrier(barrier) ⇒ Object
- #WaitThreadLock(lock, milliseconds) ⇒ Object
- #WaitThreadLockNoTimeout(lock) ⇒ Object
Constructor Details
#initialize(flags = 0, host_data = nil) ⇒ Csound
Returns a new instance of Csound.
183 184 185 |
# File 'lib/csound.rb', line 183 def initialize(flags=0, host_data=nil) @csound = CsoundModule.csoundCreate(host_data) end |
Instance Method Details
#Cleanup ⇒ Object
263 264 265 |
# File 'lib/csound.rb', line 263 def Cleanup() return CsoundModule.csoundCleanup(@csound) end |
#ClearSpin ⇒ Object
371 372 373 |
# File 'lib/csound.rb', line 371 def ClearSpin() return CsoundModule.csoundClearSpin(@csound) end |
#CloseLibrary(library) ⇒ Object
659 660 661 |
# File 'lib/csound.rb', line 659 def CloseLibrary(library) return CsoundModule.csoundCloseLibrary(library) end |
#Compile(argc, argv) ⇒ Object
235 236 237 |
# File 'lib/csound.rb', line 235 def Compile(argc, argv) return CsoundModule.csoundCompile(argc, argv) end |
#CompileArgs(argc, argv) ⇒ Object
227 228 229 |
# File 'lib/csound.rb', line 227 def CompileArgs(argc, argv) return CsoundModule.csoundCompileArgs(argc, argv) end |
#CompileCsd(csd) ⇒ Object
239 240 241 |
# File 'lib/csound.rb', line 239 def CompileCsd(csd) return CsoundModule.csoundCompileCsd(@csound, csd) end |
#CompileCsdText(csd) ⇒ Object
243 244 245 |
# File 'lib/csound.rb', line 243 def CompileCsdText(csd) return CsoundModule.csoundCompileCsdText(@csound, csd) end |
#CompileOrc(str) ⇒ Object
211 212 213 |
# File 'lib/csound.rb', line 211 def CompileOrc(str) return CsoundModule.csoundCompileOrc(@csound, str) end |
#CompileOrcAsync(str) ⇒ Object
215 216 217 |
# File 'lib/csound.rb', line 215 def CompileOrcAsync(str) return CsoundModule.csoundCompileOrcAsync(@csound, str) end |
#CompileTree(root) ⇒ Object
199 200 201 |
# File 'lib/csound.rb', line 199 def CompileTree(root) return CsoundModule.csoundCompileTree(@csound, root) end |
#CompileTreeAsync(root) ⇒ Object
203 204 205 |
# File 'lib/csound.rb', line 203 def CompileTreeAsync(root) return CsoundModule.csoundCompileTreeAsync(@csound, root) end |
#CondSignal(condVar) ⇒ Object
587 588 589 |
# File 'lib/csound.rb', line 587 def CondSignal(condVar) return CsoundModule.csoundCondSignal(condVar) end |
#CondWait(condVar, mutex) ⇒ Object
583 584 585 |
# File 'lib/csound.rb', line 583 def CondWait(condVar, mutex) return CsoundModule.csoundCondWait(condVar, mutex) end |
#CreateMessageBuffer(toStdOut) ⇒ Object
435 436 437 |
# File 'lib/csound.rb', line 435 def CreateMessageBuffer(toStdOut) return CsoundModule.csoundCreateMessageBuffer(@csound, toStdOut) end |
#DeleteChannelList(lst) ⇒ Object
459 460 461 |
# File 'lib/csound.rb', line 459 def DeleteChannelList(lst) return CsoundModule.csoundDeleteChannelList(lst) end |
#DeleteTree(tree) ⇒ Object
207 208 209 |
# File 'lib/csound.rb', line 207 def DeleteTree(tree) return CsoundModule.csoundDeleteTree(@csound, tree) end |
#DeleteUtilityList(lst) ⇒ Object
639 640 641 |
# File 'lib/csound.rb', line 639 def DeleteUtilityList(lst) return CsoundModule.csoundDeleteUtilityList(lst) end |
#Destroy ⇒ Object
187 188 189 |
# File 'lib/csound.rb', line 187 def Destroy() return CsoundModule.csoundDestroy(@csound) end |
#DestroyBarrier(barrier) ⇒ Object
575 576 577 |
# File 'lib/csound.rb', line 575 def DestroyBarrier() return CsoundModule.csoundDestroyBarrier() end |
#DestroyCircularBuffer(circularbuffer) ⇒ Object
651 652 653 |
# File 'lib/csound.rb', line 651 def DestroyCircularBuffer(circularbuffer) return CsoundModule.csoundDestroyCircularBuffer(@csound, circularbuffer) end |
#DestroyGlobalVariable(name) ⇒ Object
635 636 637 |
# File 'lib/csound.rb', line 635 def DestroyGlobalVariable(name) return CsoundModule.csoundDestroyGlobalVariable(name) end |
#DestroyMessageBuffer ⇒ Object
451 452 453 |
# File 'lib/csound.rb', line 451 def DestroyMessageBuffer() return CsoundModule.csoundDestroyMessageBuffer(@csound) end |
#DestroyMutex(mutex) ⇒ Object
571 572 573 |
# File 'lib/csound.rb', line 571 def DestroyMutex(mutex) return CsoundModule.csoundDestroyMutex(mutex) end |
#DestroyThreadLock(lock) ⇒ Object
555 556 557 |
# File 'lib/csound.rb', line 555 def DestroyThreadLock(lock) return CsoundModule.csoundDestroyThreadLock(lock) end |
#DisposeOpcodeList(opcodelist) ⇒ Object
531 532 533 |
# File 'lib/csound.rb', line 531 def DisposeOpcodeList(opcodelist) return CsoundModule.csoundDisposeOpcodeList(opcodelist) end |
#EvalCode(str) ⇒ Object
219 220 221 |
# File 'lib/csound.rb', line 219 def EvalCode(str) return CsoundModule.csoundEvalCode(@csound, str) end |
#FlushCircularBuffer(p) ⇒ Object
647 648 649 |
# File 'lib/csound.rb', line 647 def FlushCircularBuffer(p) return CsoundModule.csoundFlushCircularBuffer(@csound, p) end |
#GetAPIVersion ⇒ Object
195 196 197 |
# File 'lib/csound.rb', line 195 def GetAPIVersion() return CsoundModule.csoundGetAPIVersion() end |
#GetChannelDatasize(name) ⇒ Object
463 464 465 |
# File 'lib/csound.rb', line 463 def GetChannelDatasize(name) return CsoundModule.csoundGetChannelDatasize(@csound, name) end |
#GetCPUTime(arg_pointer) ⇒ Object
623 624 625 |
# File 'lib/csound.rb', line 623 def GetCPUTime(arg_pointer) return CsoundModule.csoundGetCPUTime(arg_pointer) end |
#GetCurrentTimeSamples ⇒ Object
303 304 305 |
# File 'lib/csound.rb', line 303 def GetCurrentTimeSamples() return CsoundModule.csoundGetCurrentTimeSamples(@csound) end |
#GetDebug ⇒ Object
327 328 329 |
# File 'lib/csound.rb', line 327 def GetDebug() return CsoundModule.csoundGetDebug(@csound) end |
#GetFirstMessage ⇒ Object
669 670 671 |
# File 'lib/csound.rb', line 669 def GetFirstMessage() return CsoundModule.csoundGetFirstMessage(@csound) end |
#GetFirstMessageAttr ⇒ Object
439 440 441 |
# File 'lib/csound.rb', line 439 def GetFirstMessageAttr() return CsoundModule.csoundGetFirstMessageAttr(@csound) end |
#GetInputBufferSize ⇒ Object
363 364 365 |
# File 'lib/csound.rb', line 363 def GetInputBufferSize() return CsoundModule.csoundGetInputBufferSize(@csound) end |
#GetKr ⇒ Object
287 288 289 |
# File 'lib/csound.rb', line 287 def GetKr() return CsoundModule.csoundGetKr(@csound) end |
#GetKsmps ⇒ Object
291 292 293 |
# File 'lib/csound.rb', line 291 def GetKsmps() return CsoundModule.csoundGetKsmps(@csound) end |
#GetMessageCnt ⇒ Object
447 448 449 |
# File 'lib/csound.rb', line 447 def GetMessageCnt() return CsoundModule.csoundGetMessageCnt(@csound) end |
#GetMessageLevel ⇒ Object
427 428 429 |
# File 'lib/csound.rb', line 427 def GetMessageLevel() return CsoundModule.csoundGetMessageLevel(@csound) end |
#GetNamedGEN(num, name, len) ⇒ Object
519 520 521 |
# File 'lib/csound.rb', line 519 def GetNamedGEN(num, name, len) return CsoundModule.csoundGetNamedGEN(@csound, num, name, len) end |
#GetNchnls ⇒ Object
295 296 297 |
# File 'lib/csound.rb', line 295 def GetNchnls() return CsoundModule.csoundGetNchnls(@csound) end |
#GetNchnlsInput ⇒ Object
299 300 301 |
# File 'lib/csound.rb', line 299 def GetNchnlsInput() return CsoundModule.csoundGetNchnlsInput(@csound) end |
#GetOutputBufferSize ⇒ Object
367 368 369 |
# File 'lib/csound.rb', line 367 def GetOutputBufferSize() return CsoundModule.csoundGetOutputBufferSize(@csound) end |
#GetParams(p) ⇒ Object
323 324 325 |
# File 'lib/csound.rb', line 323 def GetParams(p) return CsoundModule.csoundGetParams(@csound, p) end |
#GetRandomSeedFromTime ⇒ Object
627 628 629 |
# File 'lib/csound.rb', line 627 def GetRandomSeedFromTime() return CsoundModule.csoundGetRandomSeedFromTime() end |
#GetRealTime(arg_pointer) ⇒ Object
619 620 621 |
# File 'lib/csound.rb', line 619 def GetRealTime(arg_pointer) return CsoundModule.csoundGetRealTime(arg_pointer) end |
#GetScoreOffsetSeconds ⇒ Object
407 408 409 |
# File 'lib/csound.rb', line 407 def GetScoreOffsetSeconds() return CsoundModule.csoundGetScoreOffsetSeconds(@csound) end |
#GetScoreTime ⇒ Object
395 396 397 |
# File 'lib/csound.rb', line 395 def GetScoreTime() return CsoundModule.csoundGetScoreTime(@csound) end |
#GetSizeOfMYFLT ⇒ Object
307 308 309 |
# File 'lib/csound.rb', line 307 def GetSizeOfMYFLT() return CsoundModule.csoundGetSizeOfMYFLT() end |
#GetSpoutSample(frame, channel) ⇒ Object
375 376 377 |
# File 'lib/csound.rb', line 375 def GetSpoutSample(frame, channel) return CsoundModule.csoundGetSpoutSample(@csound, frame, channel) end |
#GetTable(tablePtr, tableNum) ⇒ Object
507 508 509 |
# File 'lib/csound.rb', line 507 def GetTable(tablePtr, tableNum) return CsoundModule.csoundGetTable(tablePtr, tableNum) end |
#GetTableArgs(argsPtr, tableNum) ⇒ Object
511 512 513 |
# File 'lib/csound.rb', line 511 def GetTableArgs(argsPtr, tableNum) return CsoundModule.csoundGetTableArgs(@csound, argsPtr, tableNum) end |
#GetVersion ⇒ Object
191 192 193 |
# File 'lib/csound.rb', line 191 def GetVersion() return CsoundModule.csoundGetVersion() end |
#InitializeCscore(insco, outsco) ⇒ Object
223 224 225 |
# File 'lib/csound.rb', line 223 def InitializeCscore(insco, outsco) return CsoundModule.csoundInitializeCscore(insco, outsco) end |
#InitTimerStruct(arg_pointer) ⇒ Object
615 616 617 |
# File 'lib/csound.rb', line 615 def InitTimerStruct(arg_pointer) return CsoundModule.csoundInitTimerStruct(arg_pointer) end |
#InputMessage(message) ⇒ Object
467 468 469 |
# File 'lib/csound.rb', line 467 def InputMessage() return CsoundModule.csoundInputMessage() end |
#InputMessageAsync(message) ⇒ Object
471 472 473 |
# File 'lib/csound.rb', line 471 def InputMessageAsync() return CsoundModule.csoundInputMessageAsync() end |
#IsNamedGEN(num) ⇒ Object
515 516 517 |
# File 'lib/csound.rb', line 515 def IsNamedGEN(num) return CsoundModule.csoundIsNamedGEN(@csound, num) end |
#IsScorePending ⇒ Object
399 400 401 |
# File 'lib/csound.rb', line 399 def IsScorePending() return CsoundModule.csoundIsScorePending(@csound) end |
#JoinThread(thread) ⇒ Object
539 540 541 |
# File 'lib/csound.rb', line 539 def JoinThread(thread) return CsoundModule.csoundJoinThread(thread) end |
#KeyPress(c) ⇒ Object
475 476 477 |
# File 'lib/csound.rb', line 475 def KeyPress(c) return CsoundModule.csoundKeyPress(c) end |
#ListChannels(lst) ⇒ Object
455 456 457 |
# File 'lib/csound.rb', line 455 def ListChannels(lst) return CsoundModule.csoundListChannels(@csound,lst) end |
#LockMutex(mutex) ⇒ Object
559 560 561 |
# File 'lib/csound.rb', line 559 def LockMutex(mutex) return CsoundModule.csoundLockMutex(mutex) end |
#LockMutexNoWait(mutex) ⇒ Object
563 564 565 |
# File 'lib/csound.rb', line 563 def LockMutexNoWait(mutex) return CsoundModule.csoundLockMutexNoWait(mutex) end |
#Message(format) ⇒ Object
423 424 425 |
# File 'lib/csound.rb', line 423 def Message(format) return CsoundModule.csoundMessage(format) end |
#NewOpcodeList(opcodelist) ⇒ Object
527 528 529 |
# File 'lib/csound.rb', line 527 def NewOpcodeList(opcodelist) return CsoundModule.csoundNewOpcodeList(opcodelist) end |
#NotifyThreadLock(lock) ⇒ Object
551 552 553 |
# File 'lib/csound.rb', line 551 def NotifyThreadLock(lock) return CsoundModule.csoundNotifyThreadLock(lock) end |
#OpenLibrary(library, libraryPath) ⇒ Object
655 656 657 |
# File 'lib/csound.rb', line 655 def OpenLibrary(library, libraryPath) return CsoundModule.csoundOpenLibrary(library, libraryPath) end |
#Perform ⇒ Object
247 248 249 |
# File 'lib/csound.rb', line 247 def Perform() return CsoundModule.csoundPerform(@csound) end |
#PerformBuffer ⇒ Object
255 256 257 |
# File 'lib/csound.rb', line 255 def PerformBuffer() return CsoundModule.csoundPerformBuffer(@csound) end |
#PerformKsmps ⇒ Object
251 252 253 |
# File 'lib/csound.rb', line 251 def PerformKsmps() return CsoundModule.csoundPerformKsmps(@csound) end |
#PopFirstMessage ⇒ Object
443 444 445 |
# File 'lib/csound.rb', line 443 def PopFirstMessage() CsoundModule.csoundPopFirstMessage(@csound) end |
#RandMT(p) ⇒ Object
643 644 645 |
# File 'lib/csound.rb', line 643 def RandMT(p) return CsoundModule.csoundRandMT(p) end |
#ReadScore(str) ⇒ Object
387 388 389 |
# File 'lib/csound.rb', line 387 def ReadScore(str) return CsoundModule.csoundReadScore(@csound, str) end |
#ReadScoreAsync(str) ⇒ Object
391 392 393 |
# File 'lib/csound.rb', line 391 def ReadScoreAsync(str) return CsoundModule.csoundReadScoreAsync(@csound, str) end |
#Reset ⇒ Object
267 268 269 |
# File 'lib/csound.rb', line 267 def Reset() return CsoundModule.csoundReset(@csound) end |
#RewindScore ⇒ Object
415 416 417 |
# File 'lib/csound.rb', line 415 def RewindScore() return CsoundModule.csoundRewindScore(@csound) end |
#RunCommand(argv, noWait) ⇒ Object
611 612 613 |
# File 'lib/csound.rb', line 611 def RunCommand(argv, noWait) return CsoundModule.csoundRunCommand(argv, noWait) end |
#ScoreSort(inFile, outFile) ⇒ Object
419 420 421 |
# File 'lib/csound.rb', line 419 def ScoreSort(inFile, outFile) return CsoundModule.csoundScoreSort(inFile, outFile) end |
#SetControlChannel(channel_name, value) ⇒ Object
Handwritten
665 666 667 |
# File 'lib/csound.rb', line 665 def SetControlChannel(channel_name, value) CsoundModule.csoundSetControlChannel(@csound, channel_name, value) end |
#SetDebug(debug) ⇒ Object
331 332 333 |
# File 'lib/csound.rb', line 331 def SetDebug(debug) return CsoundModule.csoundSetDebug(debug) end |
#SetGlobalEnv(name, value) ⇒ Object
631 632 633 |
# File 'lib/csound.rb', line 631 def SetGlobalEnv(name, value) return CsoundModule.csoundSetGlobalEnv(name, value) end |
#SetHostData(hostData) ⇒ Object
311 312 313 |
# File 'lib/csound.rb', line 311 def SetHostData(hostData) return CsoundModule.csoundSetHostData(hostData) end |
#SetInput(name) ⇒ Object
339 340 341 |
# File 'lib/csound.rb', line 339 def SetInput(name) return CsoundModule.csoundSetInput(@csound, name) end |
#SetIsGraphable(isGraphable) ⇒ Object
523 524 525 |
# File 'lib/csound.rb', line 523 def SetIsGraphable(isGraphable) return CsoundModule.csoundSetIsGraphable(isGraphable) end |
#SetMessageLevel(messageLevel) ⇒ Object
431 432 433 |
# File 'lib/csound.rb', line 431 def SetMessageLevel() CsoundModule.csoundSetMessageLevel() end |
#SetMIDIFileInput(name) ⇒ Object
347 348 349 |
# File 'lib/csound.rb', line 347 def SetMIDIFileInput(name) return CsoundModule.csoundSetMIDIFileInput(@csound, name) end |
#SetMIDIFileOutput(name) ⇒ Object
355 356 357 |
# File 'lib/csound.rb', line 355 def SetMIDIFileOutput(name) return CsoundModule.csoundSetMIDIFileOutput(@csound, name) end |
#SetMIDIInput(name) ⇒ Object
343 344 345 |
# File 'lib/csound.rb', line 343 def SetMIDIInput(name) return CsoundModule.csoundSetMIDIInput(@csound, name) end |
#SetMIDIModule(rtmodule) ⇒ Object
383 384 385 |
# File 'lib/csound.rb', line 383 def SetMIDIModule(rtmodule) return CsoundModule.csoundSetMIDIModule(@csound, rtmodule) end |
#SetMIDIOutput(name) ⇒ Object
351 352 353 |
# File 'lib/csound.rb', line 351 def SetMIDIOutput(name) return CsoundModule.csoundSetMIDIOutput(@csound, name) end |
#SetOption(option) ⇒ Object
315 316 317 |
# File 'lib/csound.rb', line 315 def SetOption(option) return CsoundModule.csoundSetOption(@csound, option) end |
#SetParams(p) ⇒ Object
319 320 321 |
# File 'lib/csound.rb', line 319 def SetParams(p) return CsoundModule.csoundSetParams(@csound, p) end |
#SetRTAudioModule(rtmodule) ⇒ Object
359 360 361 |
# File 'lib/csound.rb', line 359 def SetRTAudioModule(rtmodule) return CsoundModule.csoundSetRTAudioModule(@csound, rtmodule) end |
#SetRtcloseCallback(arg_void) ⇒ Object
379 380 381 |
# File 'lib/csound.rb', line 379 def SetRtcloseCallback(arg_void) return CsoundModule.csoundSetRtcloseCallback(arg_void) end |
#SetScoreOffsetSeconds(time) ⇒ Object
411 412 413 |
# File 'lib/csound.rb', line 411 def SetScoreOffsetSeconds(time) return CsoundModule.csoundSetScoreOffsetSeconds(time) end |
#SetScorePending(pending) ⇒ Object
403 404 405 |
# File 'lib/csound.rb', line 403 def SetScorePending(pending) return CsoundModule.csoundSetScorePending(pending) end |
#SetYieldCallback(arg_int) ⇒ Object
535 536 537 |
# File 'lib/csound.rb', line 535 def SetYieldCallback(arg_int) return CsoundModule.csoundSetYieldCallback(arg_int) end |
#Sleep(milliseconds) ⇒ Object
591 592 593 |
# File 'lib/csound.rb', line 591 def Sleep(milliseconds) return CsoundModule.csoundSleep(milliseconds) end |
#SpinLock(spinlock) ⇒ Object
599 600 601 |
# File 'lib/csound.rb', line 599 def SpinLock(spinlock) return CsoundModule.csoundSpinLock(spinlock) end |
#SpinLockInit(spinlock) ⇒ Object
595 596 597 |
# File 'lib/csound.rb', line 595 def SpinLockInit(spinlock) return CsoundModule.csoundSpinLockInit(spinlock) end |
#SpinTryLock(spinlock) ⇒ Object
603 604 605 |
# File 'lib/csound.rb', line 603 def SpinTryLock(spinlock) return CsoundModule.csoundSpinTryLock(spinlock) end |
#SpinUnLock(spinlock) ⇒ Object
607 608 609 |
# File 'lib/csound.rb', line 607 def SpinUnLock(spinlock) return CsoundModule.csoundSpinUnLock(spinlock) end |
#Start ⇒ Object
231 232 233 |
# File 'lib/csound.rb', line 231 def Start() return CsoundModule.csoundStart(@csound) end |
#Stop ⇒ Object
259 260 261 |
# File 'lib/csound.rb', line 259 def Stop() return CsoundModule.csoundStop(@csound) end |
#StopUDPConsole ⇒ Object
283 284 285 |
# File 'lib/csound.rb', line 283 def StopUDPConsole() return CsoundModule.csoundStopUDPConsole(@csound) end |
#SystemSr(val) ⇒ Object
335 336 337 |
# File 'lib/csound.rb', line 335 def SystemSr(val) return CsoundModule.csoundSystemSr(@csound, val) end |
#TableCopyIn(table, src) ⇒ Object
499 500 501 |
# File 'lib/csound.rb', line 499 def TableCopyIn(table, src) return CsoundModule.csoundTableCopyIn(@csound, table, src) end |
#TableCopyInAsync(table, src) ⇒ Object
503 504 505 |
# File 'lib/csound.rb', line 503 def TableCopyInAsync(table, src) return CsoundModule.csoundTableCopyInAsync(@csound, table, src) end |
#TableCopyOut(table, dest) ⇒ Object
491 492 493 |
# File 'lib/csound.rb', line 491 def TableCopyOut(table, dest) return CsoundModule.csoundTableCopyOut(@csound, table, dest) end |
#TableCopyOutAsync(table, dest) ⇒ Object
495 496 497 |
# File 'lib/csound.rb', line 495 def TableCopyOutAsync(table, dest) return CsoundModule.csoundTableCopyOutAsync(@csound, table, dest) end |
#TableGet(table, index) ⇒ Object
483 484 485 |
# File 'lib/csound.rb', line 483 def TableGet(table, index) return CsoundModule.csoundTableGet(table, index) end |
#TableLength(table) ⇒ Object
479 480 481 |
# File 'lib/csound.rb', line 479 def TableLength(table) return CsoundModule.csoundTableLength(table) end |
#TableSet(table, index, value) ⇒ Object
487 488 489 |
# File 'lib/csound.rb', line 487 def TableSet(table, index, value) return CsoundModule.csoundTableSet(table, index, value) end |
#UDPServerClose ⇒ Object
279 280 281 |
# File 'lib/csound.rb', line 279 def UDPServerClose() return CsoundModule.csoundUDPServerClose(@csound) end |
#UDPServerStart(port) ⇒ Object
271 272 273 |
# File 'lib/csound.rb', line 271 def UDPServerStart(port) return CsoundModule.csoundUDPServerStart(@csound, port) end |
#UDPServerStatus ⇒ Object
275 276 277 |
# File 'lib/csound.rb', line 275 def UDPServerStatus() return CsoundModule.csoundUDPServerStatus(@csound) end |
#UnlockMutex(mutex) ⇒ Object
567 568 569 |
# File 'lib/csound.rb', line 567 def UnlockMutex(mutex) return CsoundModule.csoundUnlockMutex(mutex) end |
#WaitBarrier(barrier) ⇒ Object
579 580 581 |
# File 'lib/csound.rb', line 579 def WaitBarrier() return CsoundModule.csoundWaitBarrier() end |
#WaitThreadLock(lock, milliseconds) ⇒ Object
543 544 545 |
# File 'lib/csound.rb', line 543 def WaitThreadLock(lock, milliseconds) return CsoundModule.csoundWaitThreadLock(lock, milliseconds) end |
#WaitThreadLockNoTimeout(lock) ⇒ Object
547 548 549 |
# File 'lib/csound.rb', line 547 def WaitThreadLockNoTimeout(lock) return CsoundModule.csoundWaitThreadLockNoTimeout(lock) end |