Class: Csound

Inherits:
Object
  • Object
show all
Defined in:
lib/csound.rb

Instance Method Summary collapse

Constructor Details

#initialize(flags = 0, host_data = nil) ⇒ Csound

Returns a new instance of Csound.



252
253
254
# File 'lib/csound.rb', line 252

def initialize(flags=0, host_data=nil)
	@csound = CsoundModule.csoundCreate(host_data)
end

Instance Method Details

#AddSpinSample(frame, channel, sample) ⇒ Object



784
785
786
# File 'lib/csound.rb', line 784

def AddSpinSample(frame, channel, sample)
	CsoundModule.csoundAddSpinSample(@csound,frame,channel,sample)
end

#CleanupObject



332
333
334
# File 'lib/csound.rb', line 332

def Cleanup()
	 return CsoundModule.csoundCleanup(@csound) 
end

#ClearSpinObject



440
441
442
# File 'lib/csound.rb', line 440

def ClearSpin()
	 return CsoundModule.csoundClearSpin(@csound) 
end

#CloseLibrary(library) ⇒ Object



728
729
730
# File 'lib/csound.rb', line 728

def CloseLibrary(library)
	 return CsoundModule.csoundCloseLibrary(library) 
end

#Compile(argc, argv) ⇒ Object



304
305
306
# File 'lib/csound.rb', line 304

def Compile(argc, argv)
	 return CsoundModule.csoundCompile(argc, argv) 
end

#CompileArgs(argc, argv) ⇒ Object



296
297
298
# File 'lib/csound.rb', line 296

def CompileArgs(argc, argv)
	 return CsoundModule.csoundCompileArgs(argc, argv) 
end

#CompileCsd(csd) ⇒ Object



308
309
310
# File 'lib/csound.rb', line 308

def CompileCsd(csd)
	 return CsoundModule.csoundCompileCsd(@csound, csd) 
end

#CompileCsdText(csd) ⇒ Object



312
313
314
# File 'lib/csound.rb', line 312

def CompileCsdText(csd)
	 return CsoundModule.csoundCompileCsdText(@csound, csd) 
end

#CompileOrc(str) ⇒ Object



280
281
282
# File 'lib/csound.rb', line 280

def CompileOrc(str)
	 return CsoundModule.csoundCompileOrc(@csound, str) 
end

#CompileOrcAsync(str) ⇒ Object



284
285
286
# File 'lib/csound.rb', line 284

def CompileOrcAsync(str)
	 return CsoundModule.csoundCompileOrcAsync(@csound, str) 
end

#CompileTree(root) ⇒ Object



268
269
270
# File 'lib/csound.rb', line 268

def CompileTree(root)
	 return CsoundModule.csoundCompileTree(@csound, root) 
end

#CompileTreeAsync(root) ⇒ Object



272
273
274
# File 'lib/csound.rb', line 272

def CompileTreeAsync(root)
	 return CsoundModule.csoundCompileTreeAsync(@csound, root) 
end

#CondSignal(condVar) ⇒ Object



656
657
658
# File 'lib/csound.rb', line 656

def CondSignal(condVar)
	 return CsoundModule.csoundCondSignal(condVar) 
end

#CondWait(condVar, mutex) ⇒ Object



652
653
654
# File 'lib/csound.rb', line 652

def CondWait(condVar, mutex)
	 return CsoundModule.csoundCondWait(condVar, mutex) 
end

#CreateCircularBuffer(numelem, elemsize) ⇒ Object



820
821
822
# File 'lib/csound.rb', line 820

def CreateCircularBuffer(numelem, elemsize)
	return CsoundModule.csoundCreateCircularBuffer(@csound,numelem,elemsize)
end

#CreateGlobalVariable(name, nbytes) ⇒ Object



796
797
798
# File 'lib/csound.rb', line 796

def CreateGlobalVariable(name, nbytes)
	return CsoundModule.csoundCreateGlobalVariable(@csound, name, nbytes)
end

#CreateMessageBuffer(toStdOut) ⇒ Object



504
505
506
# File 'lib/csound.rb', line 504

def CreateMessageBuffer(toStdOut)
	 return CsoundModule.csoundCreateMessageBuffer(@csound, toStdOut) 
end

#DeleteChannelList(lst) ⇒ Object



528
529
530
# File 'lib/csound.rb', line 528

def DeleteChannelList(lst)
	 return CsoundModule.csoundDeleteChannelList(lst) 
end

#DeleteTree(tree) ⇒ Object



276
277
278
# File 'lib/csound.rb', line 276

def DeleteTree(tree)
	 return CsoundModule.csoundDeleteTree(@csound, tree) 
end

#DeleteUtilityList(lst) ⇒ Object



708
709
710
# File 'lib/csound.rb', line 708

def DeleteUtilityList(lst)
	 return CsoundModule.csoundDeleteUtilityList(lst) 
end

#DestroyObject



256
257
258
# File 'lib/csound.rb', line 256

def Destroy()
	 return CsoundModule.csoundDestroy(@csound) 
end

#DestroyBarrier(barrier) ⇒ Object



644
645
646
# File 'lib/csound.rb', line 644

def DestroyBarrier(barrier)
	 return CsoundModule.csoundDestroyBarrier(barrier) 
end

#DestroyCircularBuffer(circularbuffer) ⇒ Object



720
721
722
# File 'lib/csound.rb', line 720

def DestroyCircularBuffer(circularbuffer)
	 return CsoundModule.csoundDestroyCircularBuffer(@csound, circularbuffer) 
end

#DestroyGlobalVariable(name) ⇒ Object



704
705
706
# File 'lib/csound.rb', line 704

def DestroyGlobalVariable(name)
	 return CsoundModule.csoundDestroyGlobalVariable(name) 
end

#DestroyMessageBufferObject



520
521
522
# File 'lib/csound.rb', line 520

def DestroyMessageBuffer()
	 return CsoundModule.csoundDestroyMessageBuffer(@csound) 
end

#DestroyMutex(mutex) ⇒ Object



640
641
642
# File 'lib/csound.rb', line 640

def DestroyMutex(mutex)
	 return CsoundModule.csoundDestroyMutex(mutex) 
end

#DestroyThreadLock(lock) ⇒ Object



624
625
626
# File 'lib/csound.rb', line 624

def DestroyThreadLock(lock)
	 return CsoundModule.csoundDestroyThreadLock(lock) 
end

#DisposeOpcodeList(opcodelist) ⇒ Object



600
601
602
# File 'lib/csound.rb', line 600

def DisposeOpcodeList(opcodelist)
	 return CsoundModule.csoundDisposeOpcodeList(opcodelist) 
end

#EvalCode(str) ⇒ Object



288
289
290
# File 'lib/csound.rb', line 288

def EvalCode(str)
	 return CsoundModule.csoundEvalCode(@csound, str) 
end

#FlushCircularBuffer(p) ⇒ Object



716
717
718
# File 'lib/csound.rb', line 716

def FlushCircularBuffer(p)
	 return CsoundModule.csoundFlushCircularBuffer(@csound, p) 
end

#GetAPIVersionObject



264
265
266
# File 'lib/csound.rb', line 264

def GetAPIVersion()
	 return CsoundModule.csoundGetAPIVersion() 
end

#GetChannelDatasize(name) ⇒ Object



532
533
534
# File 'lib/csound.rb', line 532

def GetChannelDatasize(name)
	 return CsoundModule.csoundGetChannelDatasize(@csound, name) 
end

#GetControlChannel(channel_name) ⇒ Object



738
739
740
# File 'lib/csound.rb', line 738

def GetControlChannel(channel_name)
  return CsoundModule.csoundGetControlChannel(@csound, channel_name, nil)
end

#GetCPUTime(arg_pointer) ⇒ Object



692
693
694
# File 'lib/csound.rb', line 692

def GetCPUTime(arg_pointer)
	 return CsoundModule.csoundGetCPUTime(arg_pointer) 
end

#GetCurrentTimeSamplesObject



372
373
374
# File 'lib/csound.rb', line 372

def GetCurrentTimeSamples()
	 return CsoundModule.csoundGetCurrentTimeSamples(@csound) 
end

#GetDebugObject



396
397
398
# File 'lib/csound.rb', line 396

def GetDebug()
	 return CsoundModule.csoundGetDebug(@csound) 
end

#GetEnv(name) ⇒ Object



792
793
794
# File 'lib/csound.rb', line 792

def GetEnv(name)
	return CsoundModule.csoundGetEnv(@csound,name)
end

#GetFirstMessageObject



760
761
762
# File 'lib/csound.rb', line 760

def GetFirstMessage()
	return CsoundModule.csoundGetFirstMessage(@csound)
end

#GetFirstMessageAttrObject



508
509
510
# File 'lib/csound.rb', line 508

def GetFirstMessageAttr()
	 return CsoundModule.csoundGetFirstMessageAttr(@csound) 
end

#GetInputBufferSizeObject



432
433
434
# File 'lib/csound.rb', line 432

def GetInputBufferSize()
	 return CsoundModule.csoundGetInputBufferSize(@csound) 
end

#GetKrObject



356
357
358
# File 'lib/csound.rb', line 356

def GetKr()
	 return CsoundModule.csoundGetKr(@csound) 
end

#GetKsmpsObject



360
361
362
# File 'lib/csound.rb', line 360

def GetKsmps()
	 return CsoundModule.csoundGetKsmps(@csound) 
end

#GetMessageCntObject



516
517
518
# File 'lib/csound.rb', line 516

def GetMessageCnt()
	 return CsoundModule.csoundGetMessageCnt(@csound) 
end

#GetMessageLevelObject



496
497
498
# File 'lib/csound.rb', line 496

def GetMessageLevel()
	 return CsoundModule.csoundGetMessageLevel(@csound) 
end

#GetNamedGEN(num, name, len) ⇒ Object



588
589
590
# File 'lib/csound.rb', line 588

def GetNamedGEN(num, name, len)
	 return CsoundModule.csoundGetNamedGEN(@csound, num, name, len) 
end

#GetNchnlsObject



364
365
366
# File 'lib/csound.rb', line 364

def GetNchnls()
	 return CsoundModule.csoundGetNchnls(@csound) 
end

#GetNchnlsInputObject



368
369
370
# File 'lib/csound.rb', line 368

def GetNchnlsInput()
	 return CsoundModule.csoundGetNchnlsInput(@csound) 
end

#GetOutputBufferSizeObject



436
437
438
# File 'lib/csound.rb', line 436

def GetOutputBufferSize()
	 return CsoundModule.csoundGetOutputBufferSize(@csound) 
end

#GetParams(p) ⇒ Object



392
393
394
# File 'lib/csound.rb', line 392

def GetParams(p)
	 return CsoundModule.csoundGetParams(@csound, p) 
end

#GetRandomSeedFromTimeObject



696
697
698
# File 'lib/csound.rb', line 696

def GetRandomSeedFromTime()
	 return CsoundModule.csoundGetRandomSeedFromTime() 
end

#GetRealTime(arg_pointer) ⇒ Object



688
689
690
# File 'lib/csound.rb', line 688

def GetRealTime(arg_pointer)
	 return CsoundModule.csoundGetRealTime(arg_pointer) 
end

#GetScoreOffsetSecondsObject



476
477
478
# File 'lib/csound.rb', line 476

def GetScoreOffsetSeconds()
	 return CsoundModule.csoundGetScoreOffsetSeconds(@csound) 
end

#GetScoreTimeObject



464
465
466
# File 'lib/csound.rb', line 464

def GetScoreTime()
	 return CsoundModule.csoundGetScoreTime(@csound) 
end

#GetSizeOfMYFLTObject



376
377
378
# File 'lib/csound.rb', line 376

def GetSizeOfMYFLT()
	 return CsoundModule.csoundGetSizeOfMYFLT() 
end

#GetSpinObject



776
777
778
# File 'lib/csound.rb', line 776

def GetSpin
	return CsoundModule.csoundGetSpin(@csound)
end

#GetSpoutObject



768
769
770
# File 'lib/csound.rb', line 768

def GetSpout
	return CsoundModule.csoundGetSpout(@csound)
end

#GetSpoutSample(frame, channel) ⇒ Object



444
445
446
# File 'lib/csound.rb', line 444

def GetSpoutSample(frame, channel)
	 return CsoundModule.csoundGetSpoutSample(@csound, frame, channel) 
end

#GetSrObject



764
765
766
# File 'lib/csound.rb', line 764

def GetSr
	return CsoundModule.csoundGetSr(@csound)
end

#GetTable(tablePtr, tableNum) ⇒ Object



576
577
578
# File 'lib/csound.rb', line 576

def GetTable(tablePtr, tableNum)
	 return CsoundModule.csoundGetTable(tablePtr, tableNum) 
end

#GetTableArgs(argsPtr, tableNum) ⇒ Object



580
581
582
# File 'lib/csound.rb', line 580

def GetTableArgs(argsPtr, tableNum)
	 return CsoundModule.csoundGetTableArgs(@csound, argsPtr, tableNum) 
end

#GetUtilityDescription(name) ⇒ Object



816
817
818
# File 'lib/csound.rb', line 816

def GetUtilityDescription(name)
	return CsoundModule.csoundGetUtilityDescription(@csound,name)
end

#GetVersionObject



260
261
262
# File 'lib/csound.rb', line 260

def GetVersion()
	 return CsoundModule.csoundGetVersion() 
end

#InitializeCscore(insco, outsco) ⇒ Object



292
293
294
# File 'lib/csound.rb', line 292

def InitializeCscore(insco, outsco)
	 return CsoundModule.csoundInitializeCscore(insco, outsco) 
end

#InitTimerStruct(arg_pointer) ⇒ Object



684
685
686
# File 'lib/csound.rb', line 684

def InitTimerStruct(arg_pointer)
	 return CsoundModule.csoundInitTimerStruct(arg_pointer) 
end

#InputMessage(message) ⇒ Object



536
537
538
# File 'lib/csound.rb', line 536

def InputMessage(message)
	 return CsoundModule.csoundInputMessage(message) 
end

#InputMessageAsync(message) ⇒ Object



540
541
542
# File 'lib/csound.rb', line 540

def InputMessageAsync(message)
	 return CsoundModule.csoundInputMessageAsync(message) 
end

#IsNamedGEN(num) ⇒ Object



584
585
586
# File 'lib/csound.rb', line 584

def IsNamedGEN(num)
	 return CsoundModule.csoundIsNamedGEN(@csound, num) 
end

#IsScorePendingObject



468
469
470
# File 'lib/csound.rb', line 468

def IsScorePending()
	 return CsoundModule.csoundIsScorePending(@csound) 
end

#JoinThread(thread) ⇒ Object



608
609
610
# File 'lib/csound.rb', line 608

def JoinThread(thread)
	 return CsoundModule.csoundJoinThread(thread) 
end

#KeyPress(c) ⇒ Object



544
545
546
# File 'lib/csound.rb', line 544

def KeyPress(c)
	 return CsoundModule.csoundKeyPress(c) 
end

#ListChannels(lst) ⇒ Object



524
525
526
# File 'lib/csound.rb', line 524

def ListChannels(lst)
	 return CsoundModule.csoundListChannels(@csound,lst) 
end

#ListUtilitiesObject



812
813
814
# File 'lib/csound.rb', line 812

def ListUtilities
	return CsoundModule.csoundListUtilities(@csound)
end

#LockMutex(mutex) ⇒ Object



628
629
630
# File 'lib/csound.rb', line 628

def LockMutex(mutex)
	 return CsoundModule.csoundLockMutex(mutex) 
end

#LockMutexNoWait(mutex) ⇒ Object



632
633
634
# File 'lib/csound.rb', line 632

def LockMutexNoWait(mutex)
	 return CsoundModule.csoundLockMutexNoWait(mutex) 
end

#Message(format) ⇒ Object



492
493
494
# File 'lib/csound.rb', line 492

def Message(format)
	 return CsoundModule.csoundMessage(format) 
end

#NewOpcodeList(opcodelist) ⇒ Object



596
597
598
# File 'lib/csound.rb', line 596

def NewOpcodeList(opcodelist)
	 return CsoundModule.csoundNewOpcodeList(opcodelist) 
end

#NotifyThreadLock(lock) ⇒ Object



620
621
622
# File 'lib/csound.rb', line 620

def NotifyThreadLock(lock)
	 return CsoundModule.csoundNotifyThreadLock(lock) 
end

#OpenLibrary(library, libraryPath) ⇒ Object



724
725
726
# File 'lib/csound.rb', line 724

def OpenLibrary(library, libraryPath)
	 return CsoundModule.csoundOpenLibrary(library, libraryPath) 
end

#PeekCircularBuffer(buffer, out, items) ⇒ Object



828
829
830
# File 'lib/csound.rb', line 828

def PeekCircularBuffer(buffer, out, items)
	return CsoundModule.csoundPeekCircularBuffer(@csound, buffer, out, items)
end

#PerformObject



316
317
318
# File 'lib/csound.rb', line 316

def Perform()
	 return CsoundModule.csoundPerform(@csound) 
end

#PerformBufferObject



324
325
326
# File 'lib/csound.rb', line 324

def PerformBuffer()
	 return CsoundModule.csoundPerformBuffer(@csound) 
end

#PerformKsmpsObject



320
321
322
# File 'lib/csound.rb', line 320

def PerformKsmps()
	 return CsoundModule.csoundPerformKsmps(@csound) 
end

#PopFirstMessageObject



512
513
514
# File 'lib/csound.rb', line 512

def PopFirstMessage()
	 CsoundModule.csoundPopFirstMessage(@csound) 
end

#QueryGlobalVariable(name) ⇒ Object



800
801
802
# File 'lib/csound.rb', line 800

def QueryGlobalVariable(name)
	return CsoundModule.csoundQueryGlobalVariable(@csound, name)
end

#QueryGlobalVariableNoCheck(name) ⇒ Object



804
805
806
# File 'lib/csound.rb', line 804

def QueryGlobalVariableNoCheck(name)
	return CsoundModule.csoundQueryGlobalVariableNoCheck(@csound, name)
end

#RandMT(p) ⇒ Object



712
713
714
# File 'lib/csound.rb', line 712

def RandMT(p)
	 return CsoundModule.csoundRandMT(p) 
end

#ReadCircularBuffer(buffer, out, items) ⇒ Object



824
825
826
# File 'lib/csound.rb', line 824

def ReadCircularBuffer(buffer, out, items)
	return CsoundModule.csoundReadCircularBuffer(@csound,buffer,out,items)
end

#ReadScore(str) ⇒ Object



456
457
458
# File 'lib/csound.rb', line 456

def ReadScore(str)
	 return CsoundModule.csoundReadScore(@csound, str) 
end

#ReadScoreAsync(str) ⇒ Object



460
461
462
# File 'lib/csound.rb', line 460

def ReadScoreAsync(str)
	 return CsoundModule.csoundReadScoreAsync(@csound, str) 
end

#ResetObject



336
337
338
# File 'lib/csound.rb', line 336

def Reset()
	 return CsoundModule.csoundReset(@csound) 
end

#RewindScoreObject



484
485
486
# File 'lib/csound.rb', line 484

def RewindScore()
	 return CsoundModule.csoundRewindScore(@csound) 
end

#RunCommand(argv, noWait) ⇒ Object



680
681
682
# File 'lib/csound.rb', line 680

def RunCommand(argv, noWait)
	 return CsoundModule.csoundRunCommand(argv, noWait) 
end

#RunUtility(name, argc, argv) ⇒ Object



808
809
810
# File 'lib/csound.rb', line 808

def RunUtility(name, argc, argv)
	return CsoundModule.csoundRunUtility(@csound, argc, argv)
end

#ScoreSort(inFile, outFile) ⇒ Object



488
489
490
# File 'lib/csound.rb', line 488

def ScoreSort(inFile, outFile)
	 return CsoundModule.csoundScoreSort(inFile, outFile) 
end

#SetControlChannel(channel_name, value) ⇒ Object

Handwritten



734
735
736
# File 'lib/csound.rb', line 734

def SetControlChannel(channel_name, value)
	CsoundModule.csoundSetControlChannel(@csound, channel_name, value)
end

#SetDebug(debug) ⇒ Object



400
401
402
# File 'lib/csound.rb', line 400

def SetDebug(debug)
	 return CsoundModule.csoundSetDebug(debug) 
end

#SetGlobalEnv(name, value) ⇒ Object



700
701
702
# File 'lib/csound.rb', line 700

def SetGlobalEnv(name, value)
	 return CsoundModule.csoundSetGlobalEnv(name, value) 
end

#SetHostData(hostData) ⇒ Object



380
381
382
# File 'lib/csound.rb', line 380

def SetHostData(hostData)
	 return CsoundModule.csoundSetHostData(hostData) 
end

#SetInput(name) ⇒ Object



408
409
410
# File 'lib/csound.rb', line 408

def SetInput(name)
	 return CsoundModule.csoundSetInput(@csound, name) 
end

#SetInputChannelCallback(cbk) ⇒ Object



754
755
756
757
758
# File 'lib/csound.rb', line 754

def SetInputChannelCallback(cbk)
  c_cbk = FFI::Function.new(:void, [:pointer,:string,:pointer,CS_TYPE.by_ref]) do |csound,channel_name,valueptr, channel_type|
  end
  CsoundModule.csoundSetInputChannelCallback(@csound, c_cbk)
end

#SetIsGraphable(isGraphable) ⇒ Object



592
593
594
# File 'lib/csound.rb', line 592

def SetIsGraphable(isGraphable)
	 return CsoundModule.csoundSetIsGraphable(isGraphable) 
end

#SetMessageLevel(messageLevel) ⇒ Object



500
501
502
# File 'lib/csound.rb', line 500

def SetMessageLevel(messageLevel)
	 CsoundModule.csoundSetMessageLevel(messageLevel) 
end

#SetMIDIFileInput(name) ⇒ Object



416
417
418
# File 'lib/csound.rb', line 416

def SetMIDIFileInput(name)
	 return CsoundModule.csoundSetMIDIFileInput(@csound, name) 
end

#SetMIDIFileOutput(name) ⇒ Object



424
425
426
# File 'lib/csound.rb', line 424

def SetMIDIFileOutput(name)
	 return CsoundModule.csoundSetMIDIFileOutput(@csound, name) 
end

#SetMIDIInput(name) ⇒ Object



412
413
414
# File 'lib/csound.rb', line 412

def SetMIDIInput(name)
	 return CsoundModule.csoundSetMIDIInput(@csound, name) 
end

#SetMIDIModule(rtmodule) ⇒ Object



452
453
454
# File 'lib/csound.rb', line 452

def SetMIDIModule(rtmodule)
	 return CsoundModule.csoundSetMIDIModule(@csound, rtmodule) 
end

#SetMIDIOutput(name) ⇒ Object



420
421
422
# File 'lib/csound.rb', line 420

def SetMIDIOutput(name)
	 return CsoundModule.csoundSetMIDIOutput(@csound, name) 
end

#SetOption(option) ⇒ Object



384
385
386
# File 'lib/csound.rb', line 384

def SetOption(option)
	 return CsoundModule.csoundSetOption(@csound, option) 
end

#SetOutputChannelCallback(cbk) ⇒ Object



742
743
744
745
746
747
748
749
750
751
752
# File 'lib/csound.rb', line 742

def SetOutputChannelCallback(cbk)
  # Is this function destroyed someday ?
  c_cbk = FFI::Function.new(:void, [:pointer,:string,:pointer,CS_TYPE.by_ref]) do |csound,channel_name,valueptr, channel_type|
    if(channel_type[:varTypeName] == "k") then 
      cbk(channel_name, valueptr.read(FFI::Type::DOUBLE), channel_type[:varTypeName])
    elsif(channel_type[:varTypeName] == "S") then 
      cbk(channel_name, valueptr.read_string, channel_type[:varTypeName])
    end
  end
  CsoundModule.csoundSetOutputChannelCallback(@csound, c_cbk)
end

#SetParams(p) ⇒ Object



388
389
390
# File 'lib/csound.rb', line 388

def SetParams(p)
	 return CsoundModule.csoundSetParams(@csound, p) 
end

#SetRTAudioModule(rtmodule) ⇒ Object



428
429
430
# File 'lib/csound.rb', line 428

def SetRTAudioModule(rtmodule)
	 return CsoundModule.csoundSetRTAudioModule(@csound, rtmodule) 
end

#SetRtcloseCallback(arg_void) ⇒ Object



448
449
450
# File 'lib/csound.rb', line 448

def SetRtcloseCallback(arg_void)
	 return CsoundModule.csoundSetRtcloseCallback(arg_void) 
end

#SetScoreOffsetSeconds(time) ⇒ Object



480
481
482
# File 'lib/csound.rb', line 480

def SetScoreOffsetSeconds(time)
	 return CsoundModule.csoundSetScoreOffsetSeconds(time) 
end

#SetScorePending(pending) ⇒ Object



472
473
474
# File 'lib/csound.rb', line 472

def SetScorePending(pending)
	 return CsoundModule.csoundSetScorePending(pending) 
end

#SetSpinSample(frame, channel, sample) ⇒ Object



788
789
790
# File 'lib/csound.rb', line 788

def SetSpinSample(frame, channel, sample)
	CsoundModule.csoundSetSpinSample(@csound, frame, channel, sample)
end

#SetYieldCallback(arg_int) ⇒ Object



604
605
606
# File 'lib/csound.rb', line 604

def SetYieldCallback(arg_int)
	 return CsoundModule.csoundSetYieldCallback(arg_int) 
end

#Sleep(milliseconds) ⇒ Object



660
661
662
# File 'lib/csound.rb', line 660

def Sleep(milliseconds)
	 return CsoundModule.csoundSleep(milliseconds) 
end

#SpinLock(spinlock) ⇒ Object



668
669
670
# File 'lib/csound.rb', line 668

def SpinLock(spinlock)
	 return CsoundModule.csoundSpinLock(spinlock) 
end

#SpinLockInit(spinlock) ⇒ Object



664
665
666
# File 'lib/csound.rb', line 664

def SpinLockInit(spinlock)
	 return CsoundModule.csoundSpinLockInit(spinlock) 
end

#SpinTryLock(spinlock) ⇒ Object



672
673
674
# File 'lib/csound.rb', line 672

def SpinTryLock(spinlock)
	 return CsoundModule.csoundSpinTryLock(spinlock) 
end

#SpinUnLock(spinlock) ⇒ Object



676
677
678
# File 'lib/csound.rb', line 676

def SpinUnLock(spinlock)
	 return CsoundModule.csoundSpinUnLock(spinlock) 
end

#StartObject



300
301
302
# File 'lib/csound.rb', line 300

def Start()
	 return CsoundModule.csoundStart(@csound) 
end

#StopObject



328
329
330
# File 'lib/csound.rb', line 328

def Stop()
	 return CsoundModule.csoundStop(@csound) 
end

#StopUDPConsoleObject



352
353
354
# File 'lib/csound.rb', line 352

def StopUDPConsole()
	 return CsoundModule.csoundStopUDPConsole(@csound) 
end

#SystemSr(val) ⇒ Object



404
405
406
# File 'lib/csound.rb', line 404

def SystemSr(val)
	 return CsoundModule.csoundSystemSr(@csound, val) 
end

#TableCopyIn(table, src) ⇒ Object



568
569
570
# File 'lib/csound.rb', line 568

def TableCopyIn(table, src)
	 return CsoundModule.csoundTableCopyIn(@csound, table, src) 
end

#TableCopyInAsync(table, src) ⇒ Object



572
573
574
# File 'lib/csound.rb', line 572

def TableCopyInAsync(table, src)
	 return CsoundModule.csoundTableCopyInAsync(@csound, table, src) 
end

#TableCopyOut(table, dest) ⇒ Object



560
561
562
# File 'lib/csound.rb', line 560

def TableCopyOut(table, dest)
	 return CsoundModule.csoundTableCopyOut(@csound, table, dest) 
end

#TableCopyOutAsync(table, dest) ⇒ Object



564
565
566
# File 'lib/csound.rb', line 564

def TableCopyOutAsync(table, dest)
	 return CsoundModule.csoundTableCopyOutAsync(@csound, table, dest) 
end

#TableGet(table, index) ⇒ Object



552
553
554
# File 'lib/csound.rb', line 552

def TableGet(table, index)
	 return CsoundModule.csoundTableGet(table, index) 
end

#TableLength(table) ⇒ Object



548
549
550
# File 'lib/csound.rb', line 548

def TableLength(table)
	 return CsoundModule.csoundTableLength(table) 
end

#TableSet(table, index, value) ⇒ Object



556
557
558
# File 'lib/csound.rb', line 556

def TableSet(table, index, value)
	 return CsoundModule.csoundTableSet(table, index, value) 
end

#UDPServerCloseObject



348
349
350
# File 'lib/csound.rb', line 348

def UDPServerClose()
	 return CsoundModule.csoundUDPServerClose(@csound) 
end

#UDPServerStart(port) ⇒ Object



340
341
342
# File 'lib/csound.rb', line 340

def UDPServerStart(port)
	 return CsoundModule.csoundUDPServerStart(@csound, port) 
end

#UDPServerStatusObject



344
345
346
# File 'lib/csound.rb', line 344

def UDPServerStatus()
	 return CsoundModule.csoundUDPServerStatus(@csound) 
end

#UnlockMutex(mutex) ⇒ Object



636
637
638
# File 'lib/csound.rb', line 636

def UnlockMutex(mutex)
	 return CsoundModule.csoundUnlockMutex(mutex) 
end

#WaitBarrier(barrier) ⇒ Object



648
649
650
# File 'lib/csound.rb', line 648

def WaitBarrier(barrier)
	 return CsoundModule.csoundWaitBarrier(barrier) 
end

#WaitThreadLock(lock, milliseconds) ⇒ Object



612
613
614
# File 'lib/csound.rb', line 612

def WaitThreadLock(lock, milliseconds)
	 return CsoundModule.csoundWaitThreadLock(lock, milliseconds) 
end

#WaitThreadLockNoTimeout(lock) ⇒ Object



616
617
618
# File 'lib/csound.rb', line 616

def WaitThreadLockNoTimeout(lock)
	 return CsoundModule.csoundWaitThreadLockNoTimeout(lock) 
end

#WriteCirularBuffer(p, inp, items) ⇒ Object



832
833
834
# File 'lib/csound.rb', line 832

def WriteCirularBuffer(p,inp,items)
	return CsoundModule.csoundWriteCircularBuffer(@csound,p,inp,items)
end