menno's blog

missing examples from the manual

there are opcodes in the manual that are missing good, simple and/or complete examples. Sometimes there are just plain bugs and the opcodes do not work as they should. This makes that these opcodes like black boxes and make them unusable.
I think an example should clarify immediately why at the time it was necessary to create this particular opcode. Without this, the knowledge can get lost.
If someone knows of an example for an opcode that has been placed in the list below, please let me know.

These are the guidelines for the examples in the manual:

  1. work right-out-of-the-box
  2. run in realtime if possible
  3. sr = 44100 (or 48000 using jack)
  4. ksmps = 32
  5. nchnls = 2
  6. use the "modern" 0dbfs = 1 if possible (as used in Max and PD)
  7. be simple and clear in the purpose of that particular opcode

I'm testing with Ubuntu12.04 and CsoundQt.
I worked my way through the manual from A -Z twice now, but there are still examples for opcodes missing.
I hope that soon this blog can be deleted because all opcodes will have their examples in the manual and my work is done :)

This is the list with unsolved problems with examples
================================================

signs

  • #undef......no example
  • #ifdef......no complete example
  • #ifndef......no example
  • >......no good example
  • >=......no good example
  • <=......no good example
  • =......no good example
  • <<......needs extra example
  • >>......no good example
  • |......no example
  • ¬......no example

B

  • biquada......no example

C

  • chnparams..........no example
  • copy2ftab..........no example
  • copy2fttab..........no example
  • cosh..........no good example
  • cosinv........no good example
  • ctrl14, ctrl21....no example (also initc14,21)

D

  • delay1......no good example

F

  • fareylen....no example
  • FLTKopcodes....did not check examples
  • fin(i)....no example
  • foutk....no example
  • frac....needs better example
  • ftloadk/ftsavek....no example

H

  • hvs3.........no example

I

  • i....no example
  • in32, inz, inh, inx, ino....no example (needed)
  • initc14,21...no examples, together with ctrl14, 21
  • inletf......no example
  • inrg, outrg.........no example
  • insremot, insglobal.........had no success so far

J

  • jacko.csd....works on 32bit computer, not stable on 64bit?? may be a problem on my computer only

K

  • k....no example

L

  • log.......no good example
  • loop_ge, loop_gt.......no example
  • loscilx......plays 16 channel samples but not all is clear. what is iwsize and istrt?
  • Linear Algebra opcodes.....no examples, desperately needed
  • lpsholdp.......no example
  • LPC..........not very stable opcodes (lpslot)

M

  • midic14, 21..no examples
  • midion2, midiout......sends no noteoff messages, note hangs
  • midiremot, midglobal....connection OK, but plays too fast and hangs on final note
  • MixerSetLevel_i.....no complete ex
  • mrtmsg..........no ex

N

  • noteoff, noteon....no example

O

  • outletf....no example
  • outletkid....no example
  • outipat, outkpat......no example
  • outic14, outkc14.........no ex
  • octcps.....no good ex
  • octmidi(b)....no good ex
  • octpch....no good ex

P

  • p5g, p5gdata.......cannot test
  • pchmidi(b)...no examnple
  • pchmidinn...no examnple
  • pop_f.........no ex
  • push_f....no ex
  • ptablew...no examnple
  • pvsdemix.....no ex
  • pvsinit....no ex
  • pvsout, pvsin.........no ex
  • pvstencil........no ex with GEN 43
  • python opcodes......some examples, can be more

R

  • readclock.......not work for me
  • remoteport.......no ex
  • remove...no ex
  • rigoto....no ex

S

  • s16b14, s32b14.....will not make examples
  • slider(16)(32)(64)(8)(f)(table(f)......will not make examples
  • scanhammer........no ex
  • serialEnd........no ex
  • serialFlush........no ex
  • serialPrint........no ex
  • serialWrite_i........no ex
  • sliderKAWAI....cannot test - but who can these days?
  • socksend sockrecv.......cannot test
  • sndload.......must be used with loscilx, a mystery
  • specxxx.....no ex
  • sinh(inv)........no ex
  • splitrig........no ex
  • subinstrinit........no ex
  • strchar(k)....no example
  • strcpy....no example
  • strcmp(k)....no example
  • strindex....no example
  • strlen(k)....no example
  • sstrlower(k)....no example
  • strrindex(k)....no example
  • strsubk....no example
  • strtod(k)....no example
  • strtol(k)....no example
  • strtupper(k)....no example

T

  • tb.........no example
  • tabrec / tabplay.....no ex
  • tablefilter........no ex
  • table(i)gpw.........no example
  • table(r)(w)a.........no example
  • tablewkt.........no example
  • tab2pvs.........no example
  • tan(inv).........no good example
  • tempest.........works but weird
  • timeinstk.........no good ex
  • timek.........no good ex
  • turnoff2.........no example
  • turnon.........no example

V

  • vector opcodes....print stuff but don't produce any sound yet--> needs sonification
  • vphaseseg....no ex

Z

  • zfilter2........no example, poor documentation

GEN & statement

  • GEN43........no example
  • GEN31.....no example

============================================

I think there are real problems with:
- LPC: a new set of new and streaming LPC opcodes would be welcome

I am happy with the great help i get from Joachim Heintz on "difficult" examples, and others!
Again, if you know how to use one of the opcodes above, create a working example and post it here. It will then be added to the manual.

Menno Knevel

guide to install CsoundQt from SVN and Loris 1.8 on (K)( X)Ubuntu 11.10

Installing of CsoundQt

CsoundQt - formerly know as Qutecsound - is developing fast.
This is how i got CsoundQt from SVN installed - with help from Andrés Cabrera **thanks**

  1. download CsoundQt from Sourceforge: svn co https://qutecsound.svn.sourceforge.net/svnroot/qutecsound qutecsound
  2. i already have built and installed Csound Double Precision - see another blog entry; http://www.csounds.com/node/1373
  3. install qt4-qmake and libqt4-dev
  4. go to qutecsound/trunk/qutecsound
  5. For Csound double precision use: qmake-qt4 qcs.pro CONFIG+=build64 LIBSNDFILE_LIBRARY_DIR="/usr/lib/x86_64-linux-gnu"
  6. stay at qutecsound/trunk/qutecsound
  7. make

This will produce a working CsoundQt in qutecsound/trunk/qutecsound. Doublclick on "qutecsound" in the qutecsound/trunk/qutecsound/bin and CsoundQt opens.

Installing of Loris

For the Loris opcodes to work in Csound, i've used these instructions:

  1. go to http://sourceforge.net/projects/loris/files/ and get Loris version 1.8.

guide to install Csound5 on Ubuntu 10.04LTS, Ubuntu 11.10 and Ubuntu 12.04LTS

These are the steps i take for installing the most recent Csound install from GIT (using command: git clone git://git.code.sf.net/p/csound/csound5-git) in (K)(X)Ubuntu. The GIT version of Csound still may contain some bugs but i just want to have the most recent version of Csound on my system. After downloading the source package from GIT, these are the steps to take to build the latest version of Csound.

What packages are needed?

Analyze!

I'm working with KxStudio (Kubuntu10.04), Csound and Blue.
I have all my samples in SSDIR and would like to have SADIR with all these samples analyzed by LPANAL, HETRO and all the other analyzing utilities and have them ready to try them out while looping in Blue. Instead of converting them all hand by hand i was looking for a little script that would analyze all the samples at once. So i asked around and now i have i little bash-script that will do the trick.
Here they are.

The bash-script for PVANAL:

Syndicate content
viagra online generic viagra zpack ed drugs cialis uk z pack Canadian pharmacy cialis online Canadian pharmacy viagra staxyn avanafil ed pills z-pak generic cialis kamagra uk pharmacy uk z pak buy viagra uk viagra uk buy zithromax zpak z-pack cheap generic viagra