| That SF2 bank does not work. Maybe we should include a more useful
one, such as the GM ones DrB. has released.
Victor
On 8 Aug 2010, at 19:53, menno wrote:
>
> Hello people,
>
> i am struggling with the difference between sfplay and sfinstr. I
> don't get
> it. Maybe there is someone who is experienced in the subject.
> This is the example i try:
>
>
>
> ; Select audio/midi flags here according to platform
> ; Audio out Audio in No messages
> -odac -iadc -d -M0 ;;;RT audio I/O, midi in
> ; For Non-realtime ouput leave only the line below:
> ; -o sfinstrm.wav -W ;;; for file output any platform
>
>
>
> sr = 44100
> ksmps = 100
> nchnls = 2
>
> isf sfload "/media/LAC/VintageDreamsWaves-v2.sf2"
> ; sfilist isf
> sfplist 1
> ; sfpassign 0, isf
>
> instr 1
> ; play from score and midi keyboard
> mididefault 60, p3
> midinoteonkey p4, p5
> inum init p4
> ivel init p5
> print ivel
>
> ivel init 3*(ivel/127) ; pre-amplify
> kamp linsegr 1,1,1,.1,0
> kfreq init 1 ;do not change freq from sf
> a1, a2 sfinstr3 ivel, inum, kamp*ivel, kfreq, 1, 0
> outs a1, a2
>
> endin
>
>
>
> f0 60 ; stay active for 1 minute
>
> i1 0 1 60 100
> i1 + 1 62 <
> i1 + 1 65 <
> i1 + 1 69 10
>
>
>
>
> and this is what i get back:
>
>
> SoundFont file "/media/LAC/VintageDreamsWaves-v2.sf2" contains ROM
> samples !
> At present time only RAM samples are allowed by sfload.
> Session aborted !
>
> What is this?
> And when does one use sfplay and sfinstr ?
>
> thank you,
> Menno
> --
> View this message in context: http://csound.1045644.n5.nabble.com/sfinstr3-tp2268186p2268186.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug tracker
> https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body
> "unsubscribe csound"
>
Send bugs reports to the Sourceforge bug tracker
https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
|