~ubuntu-branches/ubuntu/precise/csound/precise

« back to all changes in this revision

Viewing changes to Opcodes/bilbar.c

  • Committer: Package Import Robot
  • Author(s): Felipe Sateler
  • Date: 2012-04-19 09:26:46 UTC
  • mfrom: (3.2.19 sid)
  • Revision ID: package-import@ubuntu.com-20120419092646-96xbj1n6atuqosk2
Tags: 1:5.17.6~dfsg-1
* New upstream release
 - Do not build the wiimote opcodes (we need wiiuse).
* Add new API function to symbols file
* Disable lua opcodes, they were broken. Requires OpenMP to be enabled.
* Backport fixes from upstream:
  - Link dssi4cs with dl. Backport
  - Fix building of CsoundAC

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
    02111-1307 USA
22
22
*/
23
23
 
24
 
#include "csdl.h"
 
24
//#include "csdl.h"
 
25
#include "csoundCore.h"
25
26
#include <math.h>
26
27
 
27
28
/* %% bar sound synthesis translated from Mathlab and much changed */
547
548
 
548
549
#define S(x)    sizeof(x)
549
550
 
550
 
static OENTRY localops[] = {
 
551
static OENTRY bilbar_localops[] = {
551
552
    {"barmodel", S(BAR), 5, "a", "kkiikiiii", (SUBR) bar_init, NULL,
552
553
     (SUBR) bar_run},
553
554
    { "prepiano", S(CSPP), 5, "mm", "iiiiiikkiiiiiiioo",
554
 
     (SUBR)init_pp, NULL, (SUBR)play_pp }
 
555
      (SUBR)init_pp, NULL, (SUBR)play_pp },
555
556
};
556
557
 
557
 
LINKAGE
 
558
LINKAGE1(bilbar_localops)
558
559