Csound Csound-dev Csound-tekno Search About

[Csnd] Help with Bosendorfer samples

Date1999-11-11 06:32
From"Sherlock_abc"
Subject[Csnd] Help with Bosendorfer samples
I ca't get the Bosendorfer samples working. Here is the orc and sco.
I renamed the samples to bosen*.aif where * is c0 to f4.
;orc
 sr = 22050
 kr = 441
 ksmps = 50
 nchnls = 2

 instr 1
inum notnum
ifno table inum, 10  ;do keyboard mapping to ftables (1-9)
ibasno table ifno, 11 ;get basnot for each ftable
ibasoct =   ibasno/12. + 3.
icps cpsmidi
iamp ampmidi 2000, 9
amp linenr iamp, 0, .2, .03
a1,a2 loscil amp, icps, ifno, cpsoct(ibasoct)  ;read an AIFF-defined sampled instr
 outs a1, a2
 endin


;sco
f1 0 0 1 "/Bosendorfer/BOSENa0.aif" 0 4 0     ;set SSDIR = /ti/sound/bv/Samples
f2 0 0 1 "/Bosendorfer/BOSEND1.aif" 0 4 0
f3 0 0 1 "/Bosendorfer/BOSENC2.aif" 0 4 0
f4 0 0 1 "/Bosendorfer/BOSENF2.aif" 0 4 0
f5 0 0 1 "/Bosendorfer/BOSEND#3.aif" 0 4 0
f6 0 0 1 "/Bosendorfer/BOSENC#4.aif" 0 4 0
f7 0 0 1 "/Bosendorfer/BOSENF#4.aif" 0 4 0
f8 0 0 1 "/Bosendorfer/BOSENB4.aif" 0 4 0

f9 0 128 5 1 128 10 ;for veloc to non-linear amp
f10 0 128 -17  0  1 36  2 43  3 51  4 58 5 68 6 76 7 81 8 ;map notnum to table
f11 0  16  -2  0 33 38 48 53 63 73 78 83   ;map table to basnot
f0 600
e
; autoexec.bat 
@ECHO OFF
SET LMOUSE=C:\COMPAQ\MOUSE
SET BLASTER=A220 I5 D3


LH C:\WINDOWS\COMMAND\DOSKEY.COM
LH C:\COMPAQ\SUPPORT\LLHB.EXE
SET MIDI2CS=c:\csound
SET SFDIR=C:\SONGS
SET SSDIR=E:\samples\


SET TEMP=c:\temp
PATH=c:\windows;c:\windows\COMMAND;c:\CSOUND;c:\progra~1\micros~2\vc98;d:\tc\bin;d:\c

SET PATH=%PATH%;d:\timid\timidity;






I included the autoexec.bat.
II had it working before, but don't remember how i did it
If you can help me, then let me know.
BTW it gives an INIT ERROR on the samples




__________________________________________
NetZero - Defenders of the Free World
Get your FREE Internet Access and Email at
http://www.netzero.net/download/index.html
--