Orchestra/Score/csd examples of opcodes implemented in


CONTENTS

Widgets
OpenGL and Video
Generators
Envelope Generators
Score Macros and Loops
Subroutine-Call related
Pixmap (Bitmap) related

DOWNLOAD AREA



GUI Widgets

Here are some FLTK widget examples. Very trivial.

SimpleKnob.csd


simpleSlider.csd


simpleRoller.csd


simpleJoystick.csd


simpleTextField.csd


simpleSlidBnk.csd


simpleButton.csd


simpleScroll.csd


simpleTabs.csd


simpleButtonBank.csd


simpleCounter.csd


SlidBnk&Snap.csd


ShowValues.csd


ModifyApparence.csd


Snapshots.csd


FLprintk.csd


Quit


VUmeter.csd


OpenGL and Video

You may need this file containing textures in order to run some of the following examples:
OpenGLmedia.ZIP (warning: it is about 5MB long)
Unzip all files of this archive in a directory of your choice and set IMGDIR to corresponding path.
You can do this by simply pushing the button "Set Environment directory paths" and fill corresponding field.

gl_SyncTest.csd
(a useful test to measure the degree of synchronization between graphics and sound possible with your platform)


gl_MoreInstances.csd
(a "graphic polyphony" made up of more instances of the same CsoundAV instrument)

gl_t-rate.csd
(the previous example with audio and k-rate to t-rate conversion)


glu_Perspective.csd
(an exaggerated and variant perspective angle applied to a wireframe torus)


gl_lighting.csd

(a simle example of lighting)


gl_text3d.csd

(an example of multiline 3D text)


gl_text3Dmultiline.csd (an example of multiline 3D text)


gl_text2Dbitmap.csd
(an example of bitmapped 2D text)


gl_text2Dvectorial.csd
(an example of vectorial 2D text)


gl_texture.csd       OpenGLmedia.ZIP
(a simple demo using texture mapping)


gl_texSquare.csd     OpenGLmedia.ZIP
(a texture example using GLtexSquare opcode)


gl_texCube.csd       OpenGLmedia.ZIP
(a texture example using GLtexCube opcode)


gl_texCircle.csd       OpenGLmedia.ZIP
(a texture example using GLtexCircle opcode)


gl_infCube.csd       OpenGLmedia.ZIP
(a texture demo using GLtexCube opcode)

 
gl_pix2texGain.csd  OpenGLmedia.ZIP
(an example of imgGain and img2GLtex opcodes)


gl_pix2texConvolve.csd  OpenGLmedia.ZIP 
(an example of imgConvolve and img2GLtex opcodes)


gl_bezier.csd       OpenGLmedia.ZIP
(an example of glMap2, glMapGrid2 and glEvalMesh2 opcodes)


gl_bezierEnvMap.csd       OpenGLmedia.ZIP
(an example of glMap2, glMapGrid2, glEvalMesh2 and glTexGeni opcodes)


gl_nurbs.csd       OpenGLmedia.ZIP
(an example of gluNewNurbsRenderer, gluNurbsProperty, gluBeginSurface, gluNurbsSurface  and gluEndSurface)


gl_EnvMap.csd      OpenGLmedia.ZIP
(a demo of  gluNewQuadric, gluQuadricDrawStyle, glBlendFunc, glTexGeni, gluCylinder, gluSphere)



gl_EyeLinear.csd       OpenGLmedia.ZIP
(a demo of  gluNewQuadric, gluQuadricDrawStyle, glBlendFunc, glTexGeni, gluCylinder, gluSphere)


gl_Model.csd       OpenGLmedia.ZIP
(a demo on how importing and moving/scaling a wavefront model)


gl_ModelenvMap.csd       OpenGLmedia.ZIP
(a demo on how importing and moving/scaling a wavefront model and applying environmental mapping to it)


gl_spectralCubes.csd    
(a demo on how to make graphics interact with an input audio signal)


gl_spectralCubesEnvMap.csd
(another demo on how to make graphics interact with an input audio signal)


gl_VertexArrays.csd
(a demo about vertex arrays usage)


gl_modifyMatrix3.csd       OpenGLmedia.ZIP
(a demo of glMultMatrixv opcode)


gl_modifyMatrix4.csd       OpenGLmedia.ZIP
(another demo of glMultMatrixv opcode)


gl_texVideo.csd    OpenGLmedia.ZIP
(a demo of a an AVI video used as a texture)


gl_simmVideo.csd    OpenGLmedia.ZIP
(another demo of a an AVI video used as a texture)


gl_simmVideo2.csd    OpenGLmedia.ZIP
(another demo of a an AVI video used as a texture)


gl_for1.csd
(an example of for...next loop)


gl_for2.csd
(another example of for...next loop)


gl_for3.csd
(another example of for...next loop)


gl_while.csd
(an example of while...wend loop)


gl_doWhile.csd
(an example of do...while loop)


gl_tessel.csd
(an example of tessellation with gluTessBeginPolygon, gluTessBeginContour, gluTessVertexv, gluTessEndContour and gluTessEndPolygon opcodes)


gl_tessel2.csd       OpenGLmedia.ZIP
(another example of tessellation and loop)


gl_Redraw.csd
(redraw panel "manually" by GLredraw opcode)



gl_clearWhen.csd
(clear the screen only after some redraw actions)


gl_HeightField.csd       OpenGLmedia.ZIP
(a height field example using GLhf opcode)


gl_HeightField2.csd       OpenGLmedia.ZIP
(another height field example)


gle_Extrusion.csd
(an extrusion example using gleExtrusion and gleSetJoinStyle opcodes)


gle_superExtrusion.csd
(an extrusion example using gleSuperExtrusion)


gle_superExtrusionTexture.csd       OpenGLmedia.ZIP
(another extrusion example using gleSuperExtrusion)


gle_Lathe.csd
(an example of gleLathe opcode)


gle_Helicoid.csd
(an example of gleHelicoid opcode)


gle_PolyCone.csd
(an example of glePolyCone opcode)


gle_PolyCylinder.csd
(an example of glePolyCylinder opcode)


gle_twistExtrusion.csd
(an example of gleTwistExtrusion opcode)


gle_taper.csd
(an example of gleTaper opcode)


gle_Toroid.csd
(an example of gleToroid opcode)


gle_Spiral.csd
(an example of gleSpiral opcode)

More examples available soon...!


Generators

resony-loscil2.csd


Envelope Generators

lineto.orc   lineto.sco
loopseg.orc   loopseg.sco
lpshold.orc   lpshold.sco


Score Macro and Loops

A score macro and loop example to be run in deferred time

macro3.orc   macro3.sco


Subroutine-Call related

ShifterSimple2.orc  ShifterSimple2.sco
multipleshifter.orc   multipleshifter.sco


Bitmap related

Some bitmap image example.
You may need the following archive containing tiff images used in the csd examples:
TiffMedia.ZIP (1.4 MB)
Unzip all files of this archive in a directory of your choice and set IMGDIR to corresponding path.
You can do this by simply pushing the button "Set Environment directory paths" and fill corresponding field.


SimpleBmscan.csd



Bmscan.csd

BmscanMIDI.csd


Escati Free Counter
You are Visitor No:

View Counter Stats