Csound Csound-dev Csound-tekno Search About

[Csnd] ++SPAM++ OSX and VST/MachFive

Date2008-12-06 20:37
FromLou Cohen
Subject[Csnd] ++SPAM++ OSX and VST/MachFive
I own a copy of MachFive, a commercial softsampler. It runs with no
difficulty as a plugin to Digital Performer (no surprise, both sold by the
same company.)

I¹d like to use MachFive as a plugin to csound. The 5.08 manual suggests
that csound will interface with VST plugins under OSX.

When I use the vstinit opcode, it appears that csound succesfully finds
machfive, but then immediately crashes with this output:

=============================================================
vst4cs version 0.1alpha by Andres Cabrera and Michael Gogins
Using code from Hermann Seib's VstHost and Thomas Grill's vst~ object
VST is a trademark of Steinberg Media Technologies GmbH
VST Plug-In Technology by Steinberg
=============================================================
VSTPlugin::Instance.
Loaded plugin library '/Library/Audio/Plug-Ins/Components/MachFive
AU.component/'.
Failed to find 'main' function.
Csound tidy up: Bus error
inactive allocs returned to freespace
end of score.              overall amps:      0.0
           overall samples out of range:        0
0 errors in performance
Elapsed time at end of performance: real: 3.421s, CPU: 0.730s
0 2048-byte soundblks of shorts written to /Users/loucohen/Music/test.aif
(AIFF)

The only instrument that gets to run in my csd file is instrument #1:

instr 1
    
ginstance    vstinit    "/Library/Audio/Plug-Ins/Components/MachFive
AU.component/", 1

endin



Any suggestions? Do I need 5.09?

Many thanks!

-Lou



Date2008-12-06 20:49
FromRichard Dobson
Subject[Csnd] Re: ++SPAM++ OSX and VST/MachFive
Lou Cohen wrote:
> I own a copy of MachFive, a commercial softsampler. It runs with no
> difficulty as a plugin to Digital Performer (no surprise, both sold by the
> same company.)
> 
> I¹d like to use MachFive as a plugin to csound. The 5.08 manual suggests
> that csound will interface with VST plugins under OSX.
> 
> When I use the vstinit opcode, it appears that csound succesfully finds
> machfive, but then immediately crashes with this output:
> 
> =============================================================
> vst4cs version 0.1alpha by Andres Cabrera and Michael Gogins
> Using code from Hermann Seib's VstHost and Thomas Grill's vst~ object
> VST is a trademark of Steinberg Media Technologies GmbH
> VST Plug-In Technology by Steinberg
> =============================================================
> VSTPlugin::Instance.
> Loaded plugin library '/Library/Audio/Plug-Ins/Components/MachFive
> AU.component/'.
>

You are trying to load an AudioUnit plugin. The VST plugins are in the 
"VST" folder inside Components/.

Richard Dobson


Date2008-12-06 20:52
FromRichard Dobson
Subject[Csnd] Re: Re: ++SPAM++ OSX and VST/MachFive
Oops, make that "inside  Plug-Ins/".

Richard Dobson wrote:
..
> You are trying to load an AudioUnit plugin. The VST plugins are in the 
> "VST" folder inside Components/.
> 


Date2008-12-07 20:37
FromLou Cohen
Subject[Csnd] Re: Re: Re: OSX and VST/MachFive
Attachmentsmidi01.csd  
On 12/6/08 15:52, "    Richard Dobson" 
wrote:

> Oops, make that "inside  Plug-Ins/".
> 
> Richard Dobson wrote:
> ..
>> You are trying to load an AudioUnit plugin. The VST plugins are in the
>> "VST" folder inside Components/.
>> 
> 
> 
> 
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"

Hi, Richard,

I'm making slow progress. Apparently csound likes the pathname I gave,
thanks to you, but I haven't been able to do much useful with machfive as a
plugin yet.

Attached is the csd file, and following is the start of a very lengthy
verbose console output. Note in the csd file, only instr 1 gets used.
Instruments beyond it are never invoked at this point.

Important functions I can't get to work:

1. vstedit seems to do nothing. The elaborate machfive window fails to
appear.
2. The returned sound signal from machfive appears to be zero. (The output
file is zero.)
3. The vstaudio opcode seems to have a different syntax than in the 5.08
manual: the last two parameters, audio-in signals 1 and 2 are supposed to be
optional, but csound gives an error message when they are omitted. I suppose
these are signals for plugins that process the audio; in the case of
machfive (a soft sampler) they would have no purpose during a performance.

-Lou Cohen 
---------------------------------------------------------------------------
loucohen 3% csound midi01.csd
PortMIDI real time MIDI plugin for Csound
PortAudio real-time audio module for Csound
virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 5.08 (float samples) Feb  4 2008
libsndfile-1.0.16
UnifiedCSD:  midi01.csd
STARTING FILE
Creating orchestra
Creating score
orchname:  /tmp/tmp.0.gmnyuR.orc
scorename: /tmp/tmp.1.qva85C.sco
rtaudio: PortAudio module enabled ... using callback interface
rtmidi: PortMIDI module enabled
orch compiler:
53 lines read
        instr   1
        instr   90
        instr   100
Elapsed time at end of orchestra compile: real: 0.012s, CPU: 0.010s
sorting score ...
        ... done
Elapsed time at end of score sort: real: 0.061s, CPU: 0.040s
Csound version 5.08 (float samples) Feb  4 2008
0dBFS level = 32768.0
=============================================================
vst4cs version 0.1alpha by Andres Cabrera and Michael Gogins
Using code from Hermann Seib's VstHost and Thomas Grill's vst~ object
VST is a trademark of Steinberg Media Technologies GmbH
VST Plug-In Technology by Steinberg
=============================================================
VSTPlugin::Instance.
Loaded plugin library '/Library/Audio/Plug-Ins/VST/MachFive VST OSX
5.1.vst'.
Found 'main' function at 0x22a8000.
Created effect '63e714'.
VSTPlugin::Init.
VSTPlugin::getNumInputs.
VSTPlugin::getNumOutputs.
VSTPlugin::Init framesPerSecond 0 framesPerBlock 0 channels 0 in / 14 out.
VSTPlugin::getNumInputs.
VSTPlugin::getNumOutputs.
VSTPlugin::Master(AEffect 0x63e714, opcode 4 audioMasterPinConnected, index
1, value 1, ptr 0x0, opt 0.000000)
VSTPlugin::Master(AEffect 0x63e714, opcode 4 audioMasterPinConnected, index
2, value 1, ptr 0x0, opt 0.000000)
VSTPlugin::Master(AEffect 0x63e714, opcode 4 audioMasterPinConnected, index
3, value 1, ptr 0x0, opt 0.000000)
VSTPlugin::Master(AEffect 0x63e714, opcode 4 audioMasterPinConnected, index
4, value 1, ptr 0x0, opt 0.000000)
VSTPlugin::Master(AEffect 0x63e714, opcode 4 audioMasterPinConnected, index
5, value 1, ptr 0x0, opt 0.000000)
VSTPlugin::Master(AEffect 0x63e714, opcode 4 audioMasterPinConnected, index
6, value 1, ptr 0x0, opt 0.000000)
VSTPlugin::Master(AEffect 0x63e714, opcode 4 audioMasterPinConnected, index
7, value 1, ptr 0x0, opt 0.000000)
VSTPlugin::Master(AEffect 0x63e714, opcode 4 audioMasterPinConnected, index
8, value 1, ptr 0x0, opt 0.000000)
VSTPlugin::Master(AEffect 0x63e714, opcode 4 audioMasterPinConnected, index
9, value 1, ptr 0x0, opt 0.000000)
VSTPlugin::Master(AEffect 0x63e714, opcode 4 audioMasterPinConnected, index
10, value 1, ptr 0x0, opt 0.000000)
VSTPlugin::Master(AEffect 0x63e714, opcode 4 audioMasterPinConnected, index
11, value 1, ptr 0x0, opt 0.000000)
VSTPlugin::Master(AEffect 0x63e714, opcode 4 audioMasterPinConnected, index
12, value 1, ptr 0x0, opt 0.000000)
VSTPlugin::Master(AEffect 0x63e714, opcode 4 audioMasterPinConnected, index
13, value 1, ptr 0x0, opt 0.000000)
VSTPlugin::Master(AEffect 0x63e714, opcode 6 audioMasterWantMidi, index 0,
value 0, ptr 0x1, opt 0.000000)
====================================================
Loaded plugin: 
Vendor name: Unknown vendor
Version: 2200 
Is synthesizer? Yes
VSTPlugin::getNumInputs.
Number of inputs: 0
VSTPlugin::getNumOutputs.
Number of outputs: 14
Number of parameters: 73
Number of programs: 1
----------------------------------------------------
orch now loaded
audio buffered in 1024 sample-frame blocks
writing 2048-byte blks of shorts to /Users/loucohen/Music/test.aif (AIFF)
SECTION 1:
ftable 1:
new alloc for instr 1:
WARNING: instr 1 uses 3 p-fields but is given 5
vstmidiout_init.
vstaudio_init.
VSTPlugin::getNumInputs.
VSTPlugin::getNumOutputs.
vstmidiout. kstatus = 144 kdata1 = 64 kdata2 = 64--- mididata = 4210833
VSTPlugin::SendMidi(queue size 1 status -111 data1 64 data2 64 detune 0
delta 0
VSTPlugin::Master(AEffect 0x63e714, opcode 7 audioMasterGetTime, index 0,
value 44547, ptr 0x0, opt 0.000000)
VSGPlugin::GetTime().
&vstTimeInfo 0x1811e04 sampleRate 0.000000 samplePos
-553194564272999749579224153065596225333623921778672078357457482248268953870
3560810322395276623414565390802659579419285510927924599785473103380935597479
6743294704789147731720607526625328427831794611030989305974594286834289980605
549139733465042967892975238543524235799691264.000000.
VSTPlugin::Master(AEffect 0x63e714, opcode 7 audioMasterGetTime, index 0,
value 44547, ptr 0x0, opt 0.000000)
VSGPlugin::GetTime().
&vstTimeInfo 0x1811e04 sampleRate 0.000000 samplePos
-553194564364881094889896781206116636482729602616384953083880565242184359796
1558084218800044585924720472215379889674247992063450406804242046728868680864
9601316983290197087620719554882174921883093649660715337080393091302762220591
969222283091181316844798047823044642556870656.000000.
VSTPlugin::Master(AEffect 0x63e714, opcode 7 audioMasterGetTime, index 0,
value 44547, ptr 0x0, opt 0.000000)
VSGPlugin::GetTime().
&vstTimeInfo 0x1811e04 sampleRate 0.000000 samplePos
-553194564414092867702711591213577575176792781342283537219597560925107990302
6048583148490683041877458989156101904296963949620893481491667419904980726673
4238941285748029493661717313218814366042977001995533112827130961487933664755
506466073857702994799201133379314754472902656.000000.
VSTPlugin::Master(AEffect 0x63e714, opcode 7 audioMasterGetTime, index 0,
value 44547, ptr 0x0, opt 0.000000)
VSGPlugin::GetTime().
&vstTimeInfo 0x1811e04 sampleRate 0.000000 samplePos
-553194564456762440200569409346637047631835283454097827810303648236099765721
9555358115204812548434875553628100199929210473198976213823010990076801764250
2459339261791246443520831583139021415934392688290441368186191895771234460578
389304832717319665796620857102565049314050048.000000.
VSTPlugin::Master(AEffect 0x63e714, opcode 7 audioMasterGetTime, index 0,
value 44547, ptr 0x0, opt 0.000000)
VSGPlugin::GetTime().
&vstTimeInfo 0x1811e04 sampleRate 0.000000 samplePos
-553194564484639426764455310287568250098377211124089266650667600263527508518
7292469561538386251108905788332823066735803168967377922344764578167003291270
2986764576227470374632272206515557335148568197477805016253399298814755506830
485129244054033008252314080797210013809508352.000000.
VSTPlugin::Master(AEffect 0x63e714, opcode 7 audioMasterGetTime, index 0,
value 44547, ptr 0x0, opt 0.000000)
VSGPlugin::GetTime().
&vstTimeInfo 0x1811e04 sampleRate 0.000000 samplePos
-553194564505974288088552507401100286037475417272565025063616579414058763007
3984933308051712927558408811588680247690011286158337759056698281521980440283
0358725025155718754721869068398251762671612668975148289345249745724323807368
080878962528525960870288556546074758896156672.000000.
VSTPlugin::Master(AEffect 0x63e714, opcode 7 audioMasterGetTime, index 0,
value 44547, ptr 0x0, opt 0.000000)
VSGPlugin::GetTime().
&vstTimeInfo 0x1811e04 sampleRate 0.000000 samplePos
-553194564527309074337481416467630022264996668328472170358969623069554650717
0738320791408777680837117093824679395506134547947379125222370066607890959071
4468924013177327229651426203358355287617320512122602417024780212865974205279
522298341958334296368998418407699906316730368.000000.
VSTPlugin::Master(AEffect 0x63e714, opcode 7 audioMasterGetTime, index 0,
value 44547, ptr 0x0, opt 0.000000)
VSGPlugin::GetTime().
&vstTimeInfo 0x1811e04 sampleRate 0.000000 samplePos
-553194564548643860586410325534159758492517919384379315654322666725050538426
7491708274765842434115825376060678543322257809736420491388041851693801477859
8579123001198935704580983338318458812563028355270056544704310680007624603190
963717721388142631867708280269325053737304064.000000.
VSTPlugin::Master(AEffect 0x63e714, opcode 7 audioMasterGetTime, index 0,
value 44547, ptr 0x0, opt 0.000000)
VSGPlugin::GetTime().
&vstTimeInfo 0x1811e04 sampleRate 0.000000 samplePos
-553194564565853341413079339871322643277933788887564262170616193682177287200
1943511584686490875394309358117614786513661591507423811007566669837447800149
2158806630264395540487585803831056615438345000358859410813272879828443596548
107336934442924880895149652202298048023363584.000000.
VSTPlugin::Master(AEffect 0x63e714, opcode 7 audioMasterGetTime, index 0,
value 44547, ptr 0x0, opt 0.000000)
VSGPlugin::GetTime().
&vstTimeInfo 0x1811e04 sampleRate 0.000000 samplePos
-553194564576520772075127938428088661247482891961802141377090683257442914444
5289743457943154213619060869745543376990765650102903729363533521514936374655
5844786854728519730532384234772403829199867236107531047359198103283227746816
905211793680171357204136890076730420566687744.000000.
VSTPlugin::Master(AEffect 0x63e714, opcode 7 audioMasterGetTime, index 0,
value 44547, ptr 0x0, opt 0.000000)
VSGPlugin::GetTime().
&vstTimeInfo 0x1811e04 sampleRate 0.000000 samplePos
-553194564587188202737176536984854679217031995036040020583565172832708541688
8635975331199817551843812381373471967467869708698383647719500373192424949161
9530767079192643920577182665713751042961389471856202683905123326738011897085
703086652917417833513124127951162793110011904.000000.
VSTPlugin::Master(AEffect 0x63e714, opcode 7 audioMasterGetTime, index 0,
value 44547, ptr 0x0, opt 0.000000)
VSGPlugin::GetTime().
&vstTimeInfo 0x1811e04 sampleRate 0.000000 samplePos
-553194564597855633399225135541620697186581098110277899790039662407974168933
1982207204456480890068563893001400557944973767293863566075467224869913523668
3216747303656768110621981096655098256722911707604874320451048550192796047354
500961512154664309822111365825595165653336064.000000.
VSTPlugin::Master(AEffect 0x63e714, opcode 7 audioMasterGetTime, index 0,
value 44547, ptr 0x0, opt 0.000000)
VSGPlugin::GetTime().


Date2008-12-07 22:30
FromRichard Boulanger
Subject[Csnd] Re: Re: Re: Re: OSX and VST/MachFive
I would love to know how to get vst plugins to work on the Mac?

no legal opcode

I get the following error message with Lou's .csd from QuteCsound or from the terminal.

Last login: Sun Dec  7 15:47:20 on console
dB: csound -odac -+rtmidi=virtual /Users/db/Desktop/midi01.csd 
PortMIDI real time MIDI plugin for Csound
PortAudio real-time audio module for Csound
virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 5.09 (float samples) Sep 22 2008
libsndfile-1.0.17
UnifiedCSD:  /Users/db/Desktop/midi01.csd
STARTING FILE
Creating orchestra
Creating score
orchname:  /tmp/tmp.0.333cO8.orc
scorename: /tmp/tmp.1.5sjvKl.sco
rtmidi: virtual_keyboard module enabled
rtaudio: PortAudio module enabled ... using callback interface
orch compiler:
40 lines read
error:  no legal opcode, line 7:
ginstance vstinit "/Library/Audio/Plug-Ins/VST/KontaktPlayer2.vst", 0
error:  no legal opcode, line 8:
vstedit ginstance
instr 1
error:  no legal opcode, line 20:
vstmidiout ginstance, kstatusnoteon, kchan, knotenumber, knotevelocity
error:  no legal opcode, line 23:
aout1,aout2 vstaudio ginstance, ain1, ain2
instr 90
instr 100
4 syntax errors in orchestra.  compilation invalid
dB: 


On Dec 7, 2008, at 3:37 PM, Lou Cohen wrote:

On 12/6/08 15:52, "    Richard Dobson" <richarddobson@blueyonder.co.uk>
wrote:

Oops, make that "inside  Plug-Ins/".

Richard Dobson wrote:
..
You are trying to load an AudioUnit plugin. The VST plugins are in the
"VST" folder inside Components/.




Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
csound"

Hi, Richard,

I'm making slow progress. Apparently csound likes the pathname I gave,
thanks to you, but I haven't been able to do much useful with machfive as a
plugin yet.

Attached is the csd file, and following is the start of a very lengthy
verbose console output. Note in the csd file, only instr 1 gets used.
Instruments beyond it are never invoked at this point.

Important functions I can't get to work:

1. vstedit seems to do nothing. The elaborate machfive window fails to
appear.
2. The returned sound signal from machfive appears to be zero. (The output
file is zero.)
3. The vstaudio opcode seems to have a different syntax than in the 5.08
manual: the last two parameters, audio-in signals 1 and 2 are supposed to be
optional, but csound gives an error message when they are omitted. I suppose
these are signals for plugins that process the audio; in the case of
machfive (a soft sampler) they would have no purpose during a performance.

-Lou Cohen
---------------------------------------------------------------------------
loucohen 3% csound midi01.csd
PortMIDI real time MIDI plugin for Csound
PortAudio real-time audio module for Csound
virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 5.08 (float samples) Feb  4 2008
libsndfile-1.0.16
UnifiedCSD:  midi01.csd
STARTING FILE
Creating orchestra
Creating score
orchname:  /tmp/tmp.0.gmnyuR.orc
scorename: /tmp/tmp.1.qva85C.sco
rtaudio: PortAudio module enabled ... using callback interface
rtmidi: PortMIDI module enabled
orch compiler:
53 lines read
       instr   1
       instr   90
       instr   100
Elapsed time at end of orchestra compile: real: 0.012s, CPU: 0.010s
sorting score ...
       ... done
Elapsed time at end of score sort: real: 0.061s, CPU: 0.040s
Csound version 5.08 (float samples) Feb  4 2008
0dBFS level = 32768.0
=============================================================
vst4cs version 0.1alpha by Andres Cabrera and Michael Gogins
Using code from Hermann Seib's VstHost and Thomas Grill's vst~ object
VST is a trademark of Steinberg Media Technologies GmbH
VST Plug-In Technology by Steinberg
=============================================================
VSTPlugin::Instance.
Loaded plugin library '/Library/Audio/Plug-Ins/VST/MachFive VST OSX
5.1.vst'.
Found 'main' function at 0x22a8000.
Created effect '63e714'.
VSTPlugin::Init.
VSTPlugin::getNumInputs.
VSTPlugin::getNumOutputs.
VSTPlugin::Init framesPerSecond 0 framesPerBlock 0 channels 0 in / 14 out.
VSTPlugin::getNumInputs.
VSTPlugin::getNumOutputs.
VSTPlugin::Master(AEffect 0x63e714, opcode 4 audioMasterPinConnected, index
1, value 1, ptr 0x0, opt 0.000000)
VSTPlugin::Master(AEffect 0x63e714, opcode 4 audioMasterPinConnected, index
2, value 1, ptr 0x0, opt 0.000000)
VSTPlugin::Master(AEffect 0x63e714, opcode 4 audioMasterPinConnected, index
3, value 1, ptr 0x0, opt 0.000000)
VSTPlugin::Master(AEffect 0x63e714, opcode 4 audioMasterPinConnected, index
4, value 1, ptr 0x0, opt 0.000000)
VSTPlugin::Master(AEffect 0x63e714, opcode 4 audioMasterPinConnected, index
5, value 1, ptr 0x0, opt 0.000000)
VSTPlugin::Master(AEffect 0x63e714, opcode 4 audioMasterPinConnected, index
6, value 1, ptr 0x0, opt 0.000000)
VSTPlugin::Master(AEffect 0x63e714, opcode 4 audioMasterPinConnected, index
7, value 1, ptr 0x0, opt 0.000000)
VSTPlugin::Master(AEffect 0x63e714, opcode 4 audioMasterPinConnected, index
8, value 1, ptr 0x0, opt 0.000000)
VSTPlugin::Master(AEffect 0x63e714, opcode 4 audioMasterPinConnected, index
9, value 1, ptr 0x0, opt 0.000000)
VSTPlugin::Master(AEffect 0x63e714, opcode 4 audioMasterPinConnected, index
10, value 1, ptr 0x0, opt 0.000000)
VSTPlugin::Master(AEffect 0x63e714, opcode 4 audioMasterPinConnected, index
11, value 1, ptr 0x0, opt 0.000000)
VSTPlugin::Master(AEffect 0x63e714, opcode 4 audioMasterPinConnected, index
12, value 1, ptr 0x0, opt 0.000000)
VSTPlugin::Master(AEffect 0x63e714, opcode 4 audioMasterPinConnected, index
13, value 1, ptr 0x0, opt 0.000000)
VSTPlugin::Master(AEffect 0x63e714, opcode 6 audioMasterWantMidi, index 0,
value 0, ptr 0x1, opt 0.000000)
====================================================
Loaded plugin:
Vendor name: Unknown vendor
Version: 2200
Is synthesizer? Yes
VSTPlugin::getNumInputs.
Number of inputs: 0
VSTPlugin::getNumOutputs.
Number of outputs: 14
Number of parameters: 73
Number of programs: 1
----------------------------------------------------
orch now loaded
audio buffered in 1024 sample-frame blocks
writing 2048-byte blks of shorts to /Users/loucohen/Music/test.aif (AIFF)
SECTION 1:
ftable 1:
new alloc for instr 1:
WARNING: instr 1 uses 3 p-fields but is given 5
vstmidiout_init.
vstaudio_init.
VSTPlugin::getNumInputs.
VSTPlugin::getNumOutputs.
vstmidiout. kstatus = 144 kdata1 = 64 kdata2 = 64--- mididata = 4210833
VSTPlugin::SendMidi(queue size 1 status -111 data1 64 data2 64 detune 0
delta 0
VSTPlugin::Master(AEffect 0x63e714, opcode 7 audioMasterGetTime, index 0,
value 44547, ptr 0x0, opt 0.000000)
VSGPlugin::GetTime().
&vstTimeInfo 0x1811e04 sampleRate 0.000000 samplePos
-553194564272999749579224153065596225333623921778672078357457482248268953870
3560810322395276623414565390802659579419285510927924599785473103380935597479
6743294704789147731720607526625328427831794611030989305974594286834289980605
549139733465042967892975238543524235799691264.000000.
VSTPlugin::Master(AEffect 0x63e714, opcode 7 audioMasterGetTime, index 0,
value 44547, ptr 0x0, opt 0.000000)
VSGPlugin::GetTime().
&vstTimeInfo 0x1811e04 sampleRate 0.000000 samplePos
-553194564364881094889896781206116636482729602616384953083880565242184359796
1558084218800044585924720472215379889674247992063450406804242046728868680864
9601316983290197087620719554882174921883093649660715337080393091302762220591
969222283091181316844798047823044642556870656.000000.
VSTPlugin::Master(AEffect 0x63e714, opcode 7 audioMasterGetTime, index 0,
value 44547, ptr 0x0, opt 0.000000)
VSGPlugin::GetTime().
&vstTimeInfo 0x1811e04 sampleRate 0.000000 samplePos
-553194564414092867702711591213577575176792781342283537219597560925107990302
6048583148490683041877458989156101904296963949620893481491667419904980726673
4238941285748029493661717313218814366042977001995533112827130961487933664755
506466073857702994799201133379314754472902656.000000.
VSTPlugin::Master(AEffect 0x63e714, opcode 7 audioMasterGetTime, index 0,
value 44547, ptr 0x0, opt 0.000000)
VSGPlugin::GetTime().
&vstTimeInfo 0x1811e04 sampleRate 0.000000 samplePos
-553194564456762440200569409346637047631835283454097827810303648236099765721
9555358115204812548434875553628100199929210473198976213823010990076801764250
2459339261791246443520831583139021415934392688290441368186191895771234460578
389304832717319665796620857102565049314050048.000000.
VSTPlugin::Master(AEffect 0x63e714, opcode 7 audioMasterGetTime, index 0,
value 44547, ptr 0x0, opt 0.000000)
VSGPlugin::GetTime().
&vstTimeInfo 0x1811e04 sampleRate 0.000000 samplePos
-553194564484639426764455310287568250098377211124089266650667600263527508518
7292469561538386251108905788332823066735803168967377922344764578167003291270
2986764576227470374632272206515557335148568197477805016253399298814755506830
485129244054033008252314080797210013809508352.000000.
VSTPlugin::Master(AEffect 0x63e714, opcode 7 audioMasterGetTime, index 0,
value 44547, ptr 0x0, opt 0.000000)
VSGPlugin::GetTime().
&vstTimeInfo 0x1811e04 sampleRate 0.000000 samplePos
-553194564505974288088552507401100286037475417272565025063616579414058763007
3984933308051712927558408811588680247690011286158337759056698281521980440283
0358725025155718754721869068398251762671612668975148289345249745724323807368
080878962528525960870288556546074758896156672.000000.
VSTPlugin::Master(AEffect 0x63e714, opcode 7 audioMasterGetTime, index 0,
value 44547, ptr 0x0, opt 0.000000)
VSGPlugin::GetTime().
&vstTimeInfo 0x1811e04 sampleRate 0.000000 samplePos
-553194564527309074337481416467630022264996668328472170358969623069554650717
0738320791408777680837117093824679395506134547947379125222370066607890959071
4468924013177327229651426203358355287617320512122602417024780212865974205279
522298341958334296368998418407699906316730368.000000.
VSTPlugin::Master(AEffect 0x63e714, opcode 7 audioMasterGetTime, index 0,
value 44547, ptr 0x0, opt 0.000000)
VSGPlugin::GetTime().
&vstTimeInfo 0x1811e04 sampleRate 0.000000 samplePos
-553194564548643860586410325534159758492517919384379315654322666725050538426
7491708274765842434115825376060678543322257809736420491388041851693801477859
8579123001198935704580983338318458812563028355270056544704310680007624603190
963717721388142631867708280269325053737304064.000000.
VSTPlugin::Master(AEffect 0x63e714, opcode 7 audioMasterGetTime, index 0,
value 44547, ptr 0x0, opt 0.000000)
VSGPlugin::GetTime().
&vstTimeInfo 0x1811e04 sampleRate 0.000000 samplePos
-553194564565853341413079339871322643277933788887564262170616193682177287200
1943511584686490875394309358117614786513661591507423811007566669837447800149
2158806630264395540487585803831056615438345000358859410813272879828443596548
107336934442924880895149652202298048023363584.000000.
VSTPlugin::Master(AEffect 0x63e714, opcode 7 audioMasterGetTime, index 0,
value 44547, ptr 0x0, opt 0.000000)
VSGPlugin::GetTime().
&vstTimeInfo 0x1811e04 sampleRate 0.000000 samplePos
-553194564576520772075127938428088661247482891961802141377090683257442914444
5289743457943154213619060869745543376990765650102903729363533521514936374655
5844786854728519730532384234772403829199867236107531047359198103283227746816
905211793680171357204136890076730420566687744.000000.
VSTPlugin::Master(AEffect 0x63e714, opcode 7 audioMasterGetTime, index 0,
value 44547, ptr 0x0, opt 0.000000)
VSGPlugin::GetTime().
&vstTimeInfo 0x1811e04 sampleRate 0.000000 samplePos
-553194564587188202737176536984854679217031995036040020583565172832708541688
8635975331199817551843812381373471967467869708698383647719500373192424949161
9530767079192643920577182665713751042961389471856202683905123326738011897085
703086652917417833513124127951162793110011904.000000.
VSTPlugin::Master(AEffect 0x63e714, opcode 7 audioMasterGetTime, index 0,
value 44547, ptr 0x0, opt 0.000000)
VSGPlugin::GetTime().
&vstTimeInfo 0x1811e04 sampleRate 0.000000 samplePos
-553194564597855633399225135541620697186581098110277899790039662407974168933
1982207204456480890068563893001400557944973767293863566075467224869913523668
3216747303656768110621981096655098256722911707604874320451048550192796047354
500961512154664309822111365825595165653336064.000000.
VSTPlugin::Master(AEffect 0x63e714, opcode 7 audioMasterGetTime, index 0,
value 44547, ptr 0x0, opt 0.000000)
VSGPlugin::GetTime().


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"<midi01.csd>


Date2008-12-08 13:09
FromLou Cohen
Subject[Csnd] ++SPAM++ Re: Re: Re: Re: Re: OSX and VST/MachFive
Re: [Csnd] Re: Re: Re: Re: OSX and VST/MachFive Richard,

The only possible differences between your experience and mine would appear to be in the environment.

I’m using csound 5.08 on a PPC Mac, OSX v.10.4.11, and I ran the csd file from two platforms: first from MacCsound, which crashed before I could capture the console output, and then from Terminal.

I notice that you’re running csound 5.09, and I’m guessing you have a newer Mac. I doubt that QuteCsound would give any different experience than running from Terminal.

-Lou

On 12/7/08 17:30, "    Richard Boulanger" <richardboulanger@comcast.net> wrote:

I would love to know how to get vst plugins to work on the Mac?

no legal opcode

I get the following error message with Lou's .csd from QuteCsound or from the terminal.

Last login: Sun Dec  7 15:47:20 on console
dB: csound -odac -+rtmidi=virtual /Users/db/Desktop/midi01.csd
PortMIDI real time MIDI plugin for Csound
PortAudio real-time audio module for Csound
virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 5.09 (float samples) Sep 22 2008
libsndfile-1.0.17
UnifiedCSD:  /Users/db/Desktop/midi01.csd
STARTING FILE
Creating orchestra
Creating score
orchname:  /tmp/tmp.0.333cO8.orc
scorename: /tmp/tmp.1.5sjvKl.sco
rtmidi: virtual_keyboard module enabled
rtaudio: PortAudio module enabled ... using callback interface
orch compiler:
40 lines read
error:  no legal opcode, line 7:
ginstance vstinit "/Library/Audio/Plug-Ins/VST/KontaktPlayer2.vst", 0
error:  no legal opcode, line 8:
vstedit ginstance
instr 1
error:  no legal opcode, line 20:
vstmidiout ginstance, kstatusnoteon, kchan, knotenumber, knotevelocity
error:  no legal opcode, line 23:
aout1,aout2 vstaudio ginstance, ain1, ain2
instr 90
instr 100
4 syntax errors in orchestra.  compilation invalid
dB:


---------------------------
Permanent email:           loucohen@jolc.net
Music and video:            http://ruccas.org/wiki.pl/Lou_Cohen
More music and video:   http://www.youtube.com/loucohen
Astronomy:                    http://www.jolc.net
Open Sound:                 http://www.opensound.org
QFD:              
http://www.pearsonhighered.com/educator/academic/product/0,3110,0201633302,00.html
----------------------------


Date2008-12-08 13:34
From"Andres Cabrera"
Subject[Csnd] Re: ++SPAM++ Re: Re: Re: Re: Re: OSX and VST/MachFive
AttachmentsNone  

Date2008-12-08 14:11
From"Dr. Richard Boulanger"
Subject[Csnd] Re: OSX and VST/MachFive
Hello Lou,

Happy that Andres is testing your fantastic improvisation program with QuteCsound!
Also - happy that you are pushing some on this VST stuff with the Mac.  It seems to 
me that the opcodes are not installed in version 5.09 for the Mac?  Hopefully they
will be there in Version 5.10?

Richard

On Dec 8, 2008, at 8:09 AM, Lou Cohen wrote:

Richard,

The only possible differences between your experience and mine would appear to be in the environment.

I’m using csound 5.08 on a PPC Mac, OSX v.10.4.11, and I ran the csd file from two platforms: first from MacCsound, which crashed before I could capture the console output, and then from Terminal.

I notice that you’re running csound 5.09, and I’m guessing you have a newer Mac. I doubt that QuteCsound would give any different experience than running from Terminal.

-Lou

On 12/7/08 17:30, "    Richard Boulanger" <richardboulanger@comcast.net> wrote:

I would love to know how to get vst plugins to work on the Mac?

no legal opcode

I get the following error message with Lou's .csd from QuteCsound or from the terminal.

Last login: Sun Dec  7 15:47:20 on console
dB: csound -odac -+rtmidi=virtual /Users/db/Desktop/midi01.csd
PortMIDI real time MIDI plugin for Csound
PortAudio real-time audio module for Csound
virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 5.09 (float samples) Sep 22 2008
libsndfile-1.0.17
UnifiedCSD:  /Users/db/Desktop/midi01.csd
STARTING FILE
Creating orchestra
Creating score
orchname:  /tmp/tmp.0.333cO8.orc
scorename: /tmp/tmp.1.5sjvKl.sco
rtmidi: virtual_keyboard module enabled
rtaudio: PortAudio module enabled ... using callback interface
orch compiler:
40 lines read
error:  no legal opcode, line 7:
ginstance vstinit "/Library/Audio/Plug-Ins/VST/KontaktPlayer2.vst", 0
error:  no legal opcode, line 8:
vstedit ginstance
instr 1
error:  no legal opcode, line 20:
vstmidiout ginstance, kstatusnoteon, kchan, knotenumber, knotevelocity
error:  no legal opcode, line 23:
aout1,aout2 vstaudio ginstance, ain1, ain2
instr 90
instr 100
4 syntax errors in orchestra.  compilation invalid
dB:


---------------------------
Permanent email:           loucohen@jolc.net
Music and video:            http://ruccas.org/wiki.pl/Lou_Cohen
More music and video:   http://www.youtube.com/loucohen
Astronomy:                    http://www.jolc.net
Open Sound:                 http://www.opensound.org
QFD:              
http://www.pearsonhighered.com/educator/academic/product/0,3110,0201633302,00.html
----------------------------



Date2008-12-08 14:53
From"Andres Cabrera"
Subject[Csnd] Re: Re: Re: Re: OSX and VST/MachFive
AttachmentsNone  

Date2008-12-08 15:46
FromVictor Lazzarini
Subject[Csnd] Re: ++SPAM++ Re: Re: Re: Re: Re: OSX and VST/MachFive
The VST opcodes are not in the official distro, for the same reason that
csoundVST is not.  We can't distribute binaries using non-Open Source
code and VST headers are not Open Source.

We can possibly offer a plugin package, hosted elsewhere. This is one of
the reasons for having plugins.

Victor

At 13:09 08/12/2008, you wrote:
>Richard,
>
>The only possible differences between your experience and mine would 
>appear to be in the environment.
>
>I'm using csound 5.08 on a PPC Mac, OSX v.10.4.11, and I ran the csd 
>file from two platforms: first from MacCsound, which crashed before 
>I could capture the console output, and then from Terminal.
>
>I notice that you're running csound 5.09, and I'm guessing you have 
>a newer Mac. I doubt that QuteCsound would give any different 
>experience than running from Terminal.
>
>-Lou
>
>On 12/7/08 17:30, "    Richard Boulanger" 
> wrote:
>
>I would love to know how to get vst plugins to work on the Mac?
>
>no legal opcode
>
>I get the following error message with Lou's .csd from QuteCsound or 
>from the terminal.
>
>Last login: Sun Dec  7 15:47:20 on console
>dB: csound -odac -+rtmidi=virtual /Users/db/Desktop/midi01.csd
>PortMIDI real time MIDI plugin for Csound
>PortAudio real-time audio module for Csound
>virtual_keyboard real time MIDI plugin for Csound
>0dBFS level = 32768.0
>Csound version 5.09 (float samples) Sep 22 2008
>libsndfile-1.0.17
>UnifiedCSD:  /Users/db/Desktop/midi01.csd
>STARTING FILE
>Creating orchestra
>Creating score
>orchname:  /tmp/tmp.0.333cO8.orc
>scorename: /tmp/tmp.1.5sjvKl.sco
>rtmidi: virtual_keyboard module enabled
>rtaudio: PortAudio module enabled ... using callback interface
>orch compiler:
>40 lines read
>error:  no legal opcode, line 7:
>ginstance vstinit "/Library/Audio/Plug-Ins/VST/KontaktPlayer2.vst", 0
>error:  no legal opcode, line 8:
>vstedit ginstance
>instr 1
>error:  no legal opcode, line 20:
>vstmidiout ginstance, kstatusnoteon, kchan, knotenumber, knotevelocity
>error:  no legal opcode, line 23:
>aout1,aout2 vstaudio ginstance, ain1, ain2
>instr 90
>instr 100
>4 syntax errors in orchestra.  compilation invalid
>dB:
>
>
>
>---------------------------
>Permanent email:           loucohen@jolc.net
>Music and 
>video: 
>http://ruccas.org/wiki.pl/Lou_Cohen
>More music and 
>video:   http://www.youtube.com/loucohen
>Astronomy:                    http://www.jolc.net
>Open Sound:                 http://www.opensound.org
>QFD: 
>http://www.pearsonhighered.com/educator/academic/product/0,3110,0201633302,00.html
>----------------------------

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 


Date2008-12-08 16:55
From"Dr. Richard Boulanger"
Subject[Csnd] Re: OSX and VST/MachFive
Victor,

With your recommendation and assistance, I would be happy to host the  
plugin package at cSounds.com

Regards,

Rick

On Dec 8, 2008, at 10:46 AM, Victor Lazzarini wrote:

> The VST opcodes are not in the official distro, for the same reason  
> that
> csoundVST is not.  We can't distribute binaries using non-Open Source
> code and VST headers are not Open Source.
>
> We can possibly offer a plugin package, hosted elsewhere. This is  
> one of
> the reasons for having plugins.
>
> Victor
>
> At 13:09 08/12/2008, you wrote:
>> Richard,
>>
>> The only possible differences between your experience and mine  
>> would appear to be in the environment.
>>
>> I'm using csound 5.08 on a PPC Mac, OSX v.10.4.11, and I ran the  
>> csd file from two platforms: first from MacCsound, which crashed  
>> before I could capture the console output, and then from Terminal.
>>
>> I notice that you're running csound 5.09, and I'm guessing you have  
>> a newer Mac. I doubt that QuteCsound would give any different  
>> experience than running from Terminal.
>>
>> -Lou
>>
>> On 12/7/08 17:30, "    Richard Boulanger" > > wrote:
>>
>> I would love to know how to get vst plugins to work on the Mac?
>>
>> no legal opcode
>>
>> I get the following error message with Lou's .csd from QuteCsound  
>> or from the terminal.
>>
>> Last login: Sun Dec  7 15:47:20 on console
>> dB: csound -odac -+rtmidi=virtual /Users/db/Desktop/midi01.csd
>> PortMIDI real time MIDI plugin for Csound
>> PortAudio real-time audio module for Csound
>> virtual_keyboard real time MIDI plugin for Csound
>> 0dBFS level = 32768.0
>> Csound version 5.09 (float samples) Sep 22 2008
>> libsndfile-1.0.17
>> UnifiedCSD:  /Users/db/Desktop/midi01.csd
>> STARTING FILE
>> Creating orchestra
>> Creating score
>> orchname:  /tmp/tmp.0.333cO8.orc
>> scorename: /tmp/tmp.1.5sjvKl.sco
>> rtmidi: virtual_keyboard module enabled
>> rtaudio: PortAudio module enabled ... using callback interface
>> orch compiler:
>> 40 lines read
>> error:  no legal opcode, line 7:
>> ginstance vstinit "/Library/Audio/Plug-Ins/VST/KontaktPlayer2.vst", 0
>> error:  no legal opcode, line 8:
>> vstedit ginstance
>> instr 1
>> error:  no legal opcode, line 20:
>> vstmidiout ginstance, kstatusnoteon, kchan, knotenumber,  
>> knotevelocity
>> error:  no legal opcode, line 23:
>> aout1,aout2 vstaudio ginstance, ain1, ain2
>> instr 90
>> instr 100
>> 4 syntax errors in orchestra.  compilation invalid
>> dB:
>>
>>
>>
>> ---------------------------
>> Permanent email:           loucohen@jolc.net
>> Music and video: http://ruccas.org/wiki.pl/Lou_Cohen
>> More music and video:   http://www.youtube.com/loucohen
>> Astronomy:                    http:// 
>> www.jolc.net
>> Open Sound:                 http://www.opensound.org
>> QFD: > >http://www.pearsonhighered.com/educator/academic/product/0,3110,0201633302,00.html
>> ----------------------------
>
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"