Csound Csound-dev Csound-tekno Search About

[Csnd] [csnd] Csound6.02.0-OSX10.9-x86_64.dmg and fluid synth opcodes

Date2014-01-13 15:24
FromJacques Leplat
Subject[Csnd] [csnd] Csound6.02.0-OSX10.9-x86_64.dmg and fluid synth opcodes
Hello,

Has anyone had problems with fluid synth opcodes on the latest mac release (Csound6.02.0-OSX10.9-x86_64.dmg)?

I get the following in the console:

STARTING FILE
Creating options
Creating orchestra
Creating score
rtmidi: virtual_keyboard module enabled
rtaudio: PortAudio module enabled ...
using blocking interface
error: syntax error, unexpected T_IDENT (token "fluidEngine") line 16:
>>>giengine fluidEngine <<<
Unexpected untyped word giengine when expecting a variable
Parsing failed due to invalid input!
WARNING: Stopping on parser failure

cannot compile orchestra

I tried all my csd’s and couldn’t get any to work, then I tried the manual’s example, same error. Is the fluidsynth library missing from the mac osx release, or is this a problem on my end?

All the best,

Jacques. 

The manual example I used is below:

<CsoundSynthesizer>
<CsOptions>
; Select audio/midi flags here according to platform
-odac -+rtmidi=virtual -M0 ;;;realtime audio out and realtime midi in
;-iadc ;;;uncomment -iadc if realtime audio input is needed too
; For Non-realtime ouput leave only the line below:
;-o fluidNote.wav -W ;;; for file output any platform
</CsOptions>
<CsInstruments>

sr = 44100
ksmps = 32
nchnls = 2
0dbfs = 1

giengine fluidEngine
; soundfont path to manual/examples
isfnum fluidLoad "/Users/jacques/CVSCode/CSVMozartsMuse/MozartsMuseDesktopUtilities/res/instruments/sfgmbank.sf2", giengine, 1
fluidProgramSelect giengine, 1, isfnum, 0, 56

instr 1

mididefault 60, p3
midinoteonkey p4, p5
ikey init p4
ivel init p5
fluidNote giengine, 1, ikey, ivel

endin

instr 99

imvol init 7
asigl, asigr fluidOut giengine
outs asigl*imvol, asigr*imvol

endin
</CsInstruments>
<CsScore>

i 1 0 2 60 100 ;play one note from score and...
i 99 0 60 ;play virtual keyboard for 60 sec.
e

</CsScore>
</CsoundSynthesizer>

Date2014-01-13 15:37
FromSteven Yi
SubjectRe: [Csnd] [csnd] Csound6.02.0-OSX10.9-x86_64.dmg and fluid synth opcodes
Hi Jacques,

It looks like there was a problem in my build where the fluidsynth
opcodes weren't building. I'm investigating it now, and will post a
new build once it's sorted out.

Thanks for reporting this!
steven

On Mon, Jan 13, 2014 at 10:24 AM, Jacques Leplat  wrote:
> Hello,
>
> Has anyone had problems with fluid synth opcodes on the latest mac release
> (Csound6.02.0-OSX10.9-x86_64.dmg)?
>
> I get the following in the console:
>
> STARTING FILE
> Creating options
> Creating orchestra
> Creating score
> rtmidi: virtual_keyboard module enabled
> rtaudio: PortAudio module enabled ...
> using blocking interface
> error: syntax error, unexpected T_IDENT (token "fluidEngine") line 16:
>>>>giengine fluidEngine <<<
> Unexpected untyped word giengine when expecting a variable
> Parsing failed due to invalid input!
> WARNING: Stopping on parser failure
>
> cannot compile orchestra
>
>
> I tried all my csd’s and couldn’t get any to work, then I tried the manual’s
> example, same error. Is the fluidsynth library missing from the mac osx
> release, or is this a problem on my end?
>
> All the best,
>
> Jacques.
>
> The manual example I used is below:
>
> 
> 
> ; Select audio/midi flags here according to platform
> -odac -+rtmidi=virtual -M0 ;;;realtime audio out and realtime midi in
> ;-iadc ;;;uncomment -iadc if realtime audio input is needed too
> ; For Non-realtime ouput leave only the line below:
> ;-o fluidNote.wav -W ;;; for file output any platform
> 
> 
>
> sr = 44100
> ksmps = 32
> nchnls = 2
> 0dbfs = 1
>
> giengine fluidEngine
> ; soundfont path to manual/examples
> isfnum fluidLoad
> "/Users/jacques/CVSCode/CSVMozartsMuse/MozartsMuseDesktopUtilities/res/instruments/sfgmbank.sf2",
> giengine, 1
> fluidProgramSelect giengine, 1, isfnum, 0, 56
>
> instr 1
>
> mididefault 60, p3
> midinoteonkey p4, p5
> ikey init p4
> ivel init p5
> fluidNote giengine, 1, ikey, ivel
>
> endin
>
> instr 99
>
> imvol init 7
> asigl, asigr fluidOut giengine
> outs asigl*imvol, asigr*imvol
>
> endin
> 
> 
>
> i 1 0 2 60 100 ;play one note from score and...
> i 99 0 60 ;play virtual keyboard for 60 sec.
> e
>
> 
> 


Date2014-01-13 16:39
FromSteven Yi
SubjectRe: [Csnd] [csnd] Csound6.02.0-OSX10.9-x86_64.dmg and fluid synth opcodes
Hi Jacques,

I replaced the dmg that was on Sourceforge with a newer one.  I think
this has the fluid opcodes as well as some other libraries that didn't
get built.  I had some weird quirky behavior when I tried to overwrite
the previous build, but I think the new one online is correct.  Could
you try downloading the new version from Sourceforge and reporting
results?

Thanks!
steven

On Mon, Jan 13, 2014 at 10:37 AM, Steven Yi  wrote:
> Hi Jacques,
>
> It looks like there was a problem in my build where the fluidsynth
> opcodes weren't building. I'm investigating it now, and will post a
> new build once it's sorted out.
>
> Thanks for reporting this!
> steven
>
> On Mon, Jan 13, 2014 at 10:24 AM, Jacques Leplat  wrote:
>> Hello,
>>
>> Has anyone had problems with fluid synth opcodes on the latest mac release
>> (Csound6.02.0-OSX10.9-x86_64.dmg)?
>>
>> I get the following in the console:
>>
>> STARTING FILE
>> Creating options
>> Creating orchestra
>> Creating score
>> rtmidi: virtual_keyboard module enabled
>> rtaudio: PortAudio module enabled ...
>> using blocking interface
>> error: syntax error, unexpected T_IDENT (token "fluidEngine") line 16:
>>>>>giengine fluidEngine <<<
>> Unexpected untyped word giengine when expecting a variable
>> Parsing failed due to invalid input!
>> WARNING: Stopping on parser failure
>>
>> cannot compile orchestra
>>
>>
>> I tried all my csd’s and couldn’t get any to work, then I tried the manual’s
>> example, same error. Is the fluidsynth library missing from the mac osx
>> release, or is this a problem on my end?
>>
>> All the best,
>>
>> Jacques.
>>
>> The manual example I used is below:
>>
>> 
>> 
>> ; Select audio/midi flags here according to platform
>> -odac -+rtmidi=virtual -M0 ;;;realtime audio out and realtime midi in
>> ;-iadc ;;;uncomment -iadc if realtime audio input is needed too
>> ; For Non-realtime ouput leave only the line below:
>> ;-o fluidNote.wav -W ;;; for file output any platform
>> 
>> 
>>
>> sr = 44100
>> ksmps = 32
>> nchnls = 2
>> 0dbfs = 1
>>
>> giengine fluidEngine
>> ; soundfont path to manual/examples
>> isfnum fluidLoad
>> "/Users/jacques/CVSCode/CSVMozartsMuse/MozartsMuseDesktopUtilities/res/instruments/sfgmbank.sf2",
>> giengine, 1
>> fluidProgramSelect giengine, 1, isfnum, 0, 56
>>
>> instr 1
>>
>> mididefault 60, p3
>> midinoteonkey p4, p5
>> ikey init p4
>> ivel init p5
>> fluidNote giengine, 1, ikey, ivel
>>
>> endin
>>
>> instr 99
>>
>> imvol init 7
>> asigl, asigr fluidOut giengine
>> outs asigl*imvol, asigr*imvol
>>
>> endin
>> 
>> 
>>
>> i 1 0 2 60 100 ;play one note from score and...
>> i 99 0 60 ;play virtual keyboard for 60 sec.
>> e
>>
>> 
>> 


Date2014-01-13 20:01
FromJacques Leplat
SubjectRe: [Csnd] [csnd] Csound6.02.0-OSX10.9-x86_64.dmg and fluid synth opcodes
Hello Steven,

Thanks, that fixed it. Works great!

All the best,

Jacques

On 13 Jan 2014, at 16:39, Steven Yi  wrote:

> Hi Jacques,
> 
> I replaced the dmg that was on Sourceforge with a newer one.  I think
> this has the fluid opcodes as well as some other libraries that didn't
> get built.  I had some weird quirky behavior when I tried to overwrite
> the previous build, but I think the new one online is correct.  Could
> you try downloading the new version from Sourceforge and reporting
> results?
> 
> Thanks!
> steven
> 
> On Mon, Jan 13, 2014 at 10:37 AM, Steven Yi  wrote:
>> Hi Jacques,
>> 
>> It looks like there was a problem in my build where the fluidsynth
>> opcodes weren't building. I'm investigating it now, and will post a
>> new build once it's sorted out.
>> 
>> Thanks for reporting this!
>> steven
>> 
>> On Mon, Jan 13, 2014 at 10:24 AM, Jacques Leplat  wrote:
>>> Hello,
>>> 
>>> Has anyone had problems with fluid synth opcodes on the latest mac release
>>> (Csound6.02.0-OSX10.9-x86_64.dmg)?
>>> 
>>> I get the following in the console:
>>> 
>>> STARTING FILE
>>> Creating options
>>> Creating orchestra
>>> Creating score
>>> rtmidi: virtual_keyboard module enabled
>>> rtaudio: PortAudio module enabled ...
>>> using blocking interface
>>> error: syntax error, unexpected T_IDENT (token "fluidEngine") line 16:
>>>>>> giengine fluidEngine <<<
>>> Unexpected untyped word giengine when expecting a variable
>>> Parsing failed due to invalid input!
>>> WARNING: Stopping on parser failure
>>> 
>>> cannot compile orchestra
>>> 
>>> 
>>> I tried all my csd’s and couldn’t get any to work, then I tried the manual’s
>>> example, same error. Is the fluidsynth library missing from the mac osx
>>> release, or is this a problem on my end?
>>> 
>>> All the best,
>>> 
>>> Jacques.
>>> 
>>> The manual example I used is below:
>>> 
>>> 
>>> 
>>> ; Select audio/midi flags here according to platform
>>> -odac -+rtmidi=virtual -M0 ;;;realtime audio out and realtime midi in
>>> ;-iadc ;;;uncomment -iadc if realtime audio input is needed too
>>> ; For Non-realtime ouput leave only the line below:
>>> ;-o fluidNote.wav -W ;;; for file output any platform
>>> 
>>> 
>>> 
>>> sr = 44100
>>> ksmps = 32
>>> nchnls = 2
>>> 0dbfs = 1
>>> 
>>> giengine fluidEngine
>>> ; soundfont path to manual/examples
>>> isfnum fluidLoad
>>> "/Users/jacques/CVSCode/CSVMozartsMuse/MozartsMuseDesktopUtilities/res/instruments/sfgmbank.sf2",
>>> giengine, 1
>>> fluidProgramSelect giengine, 1, isfnum, 0, 56
>>> 
>>> instr 1
>>> 
>>> mididefault 60, p3
>>> midinoteonkey p4, p5
>>> ikey init p4
>>> ivel init p5
>>> fluidNote giengine, 1, ikey, ivel
>>> 
>>> endin
>>> 
>>> instr 99
>>> 
>>> imvol init 7
>>> asigl, asigr fluidOut giengine
>>> outs asigl*imvol, asigr*imvol
>>> 
>>> endin
>>> 
>>> 
>>> 
>>> i 1 0 2 60 100 ;play one note from score and...
>>> i 99 0 60 ;play virtual keyboard for 60 sec.
>>> e
>>> 
>>> 
>>> 
> 
> 
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>            https://sourceforge.net/p/csound/tickets/
> csound5:
>            https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 



Date2014-01-13 20:12
FromSteven Yi
SubjectRe: [Csnd] [csnd] Csound6.02.0-OSX10.9-x86_64.dmg and fluid synth opcodes
Fantastic, thanks for raising the issue and verifying it!

On Mon, Jan 13, 2014 at 3:01 PM, Jacques Leplat  wrote:
> Hello Steven,
>
> Thanks, that fixed it. Works great!
>
> All the best,
>
> Jacques
>
> On 13 Jan 2014, at 16:39, Steven Yi  wrote:
>
>> Hi Jacques,
>>
>> I replaced the dmg that was on Sourceforge with a newer one.  I think
>> this has the fluid opcodes as well as some other libraries that didn't
>> get built.  I had some weird quirky behavior when I tried to overwrite
>> the previous build, but I think the new one online is correct.  Could
>> you try downloading the new version from Sourceforge and reporting
>> results?
>>
>> Thanks!
>> steven
>>
>> On Mon, Jan 13, 2014 at 10:37 AM, Steven Yi  wrote:
>>> Hi Jacques,
>>>
>>> It looks like there was a problem in my build where the fluidsynth
>>> opcodes weren't building. I'm investigating it now, and will post a
>>> new build once it's sorted out.
>>>
>>> Thanks for reporting this!
>>> steven
>>>
>>> On Mon, Jan 13, 2014 at 10:24 AM, Jacques Leplat  wrote:
>>>> Hello,
>>>>
>>>> Has anyone had problems with fluid synth opcodes on the latest mac release
>>>> (Csound6.02.0-OSX10.9-x86_64.dmg)?
>>>>
>>>> I get the following in the console:
>>>>
>>>> STARTING FILE
>>>> Creating options
>>>> Creating orchestra
>>>> Creating score
>>>> rtmidi: virtual_keyboard module enabled
>>>> rtaudio: PortAudio module enabled ...
>>>> using blocking interface
>>>> error: syntax error, unexpected T_IDENT (token "fluidEngine") line 16:
>>>>>>> giengine fluidEngine <<<
>>>> Unexpected untyped word giengine when expecting a variable
>>>> Parsing failed due to invalid input!
>>>> WARNING: Stopping on parser failure
>>>>
>>>> cannot compile orchestra
>>>>
>>>>
>>>> I tried all my csd’s and couldn’t get any to work, then I tried the manual’s
>>>> example, same error. Is the fluidsynth library missing from the mac osx
>>>> release, or is this a problem on my end?
>>>>
>>>> All the best,
>>>>
>>>> Jacques.
>>>>
>>>> The manual example I used is below:
>>>>
>>>> 
>>>> 
>>>> ; Select audio/midi flags here according to platform
>>>> -odac -+rtmidi=virtual -M0 ;;;realtime audio out and realtime midi in
>>>> ;-iadc ;;;uncomment -iadc if realtime audio input is needed too
>>>> ; For Non-realtime ouput leave only the line below:
>>>> ;-o fluidNote.wav -W ;;; for file output any platform
>>>> 
>>>> 
>>>>
>>>> sr = 44100
>>>> ksmps = 32
>>>> nchnls = 2
>>>> 0dbfs = 1
>>>>
>>>> giengine fluidEngine
>>>> ; soundfont path to manual/examples
>>>> isfnum fluidLoad
>>>> "/Users/jacques/CVSCode/CSVMozartsMuse/MozartsMuseDesktopUtilities/res/instruments/sfgmbank.sf2",
>>>> giengine, 1
>>>> fluidProgramSelect giengine, 1, isfnum, 0, 56
>>>>
>>>> instr 1
>>>>
>>>> mididefault 60, p3
>>>> midinoteonkey p4, p5
>>>> ikey init p4
>>>> ivel init p5
>>>> fluidNote giengine, 1, ikey, ivel
>>>>
>>>> endin
>>>>
>>>> instr 99
>>>>
>>>> imvol init 7
>>>> asigl, asigr fluidOut giengine
>>>> outs asigl*imvol, asigr*imvol
>>>>
>>>> endin
>>>> 
>>>> 
>>>>
>>>> i 1 0 2 60 100 ;play one note from score and...
>>>> i 99 0 60 ;play virtual keyboard for 60 sec.
>>>> e
>>>>
>>>> 
>>>> 
>>
>>
>> Send bugs reports to the Sourceforge bug trackers
>> csound6:
>>            https://sourceforge.net/p/csound/tickets/
>> csound5:
>>            https://sourceforge.net/p/csound/bugs/
>> 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 trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>


Date2014-01-14 01:01
Frompeiman khosravi
SubjectRe: [Csnd] [csnd] Csound6.02.0-OSX10.9-x86_64.dmg and fluid synth opcodes
Ah, this might also explain some of the issue I was having with the cabbage examples. 



On 13 January 2014 20:12, Steven Yi <stevenyi@gmail.com> wrote:
Fantastic, thanks for raising the issue and verifying it!

On Mon, Jan 13, 2014 at 3:01 PM, Jacques Leplat <jleplat@j3ltd.com> wrote:
> Hello Steven,
>
> Thanks, that fixed it. Works great!
>
> All the best,
>
> Jacques
>
> On 13 Jan 2014, at 16:39, Steven Yi <stevenyi@gmail.com> wrote:
>
>> Hi Jacques,
>>
>> I replaced the dmg that was on Sourceforge with a newer one.  I think
>> this has the fluid opcodes as well as some other libraries that didn't
>> get built.  I had some weird quirky behavior when I tried to overwrite
>> the previous build, but I think the new one online is correct.  Could
>> you try downloading the new version from Sourceforge and reporting
>> results?
>>
>> Thanks!
>> steven
>>
>> On Mon, Jan 13, 2014 at 10:37 AM, Steven Yi <stevenyi@gmail.com> wrote:
>>> Hi Jacques,
>>>
>>> It looks like there was a problem in my build where the fluidsynth
>>> opcodes weren't building. I'm investigating it now, and will post a
>>> new build once it's sorted out.
>>>
>>> Thanks for reporting this!
>>> steven
>>>
>>> On Mon, Jan 13, 2014 at 10:24 AM, Jacques Leplat <jleplat@j3ltd.com> wrote:
>>>> Hello,
>>>>
>>>> Has anyone had problems with fluid synth opcodes on the latest mac release
>>>> (Csound6.02.0-OSX10.9-x86_64.dmg)?
>>>>
>>>> I get the following in the console:
>>>>
>>>> STARTING FILE
>>>> Creating options
>>>> Creating orchestra
>>>> Creating score
>>>> rtmidi: virtual_keyboard module enabled
>>>> rtaudio: PortAudio module enabled ...
>>>> using blocking interface
>>>> error: syntax error, unexpected T_IDENT (token "fluidEngine") line 16:
>>>>>>> giengine fluidEngine <<<
>>>> Unexpected untyped word giengine when expecting a variable
>>>> Parsing failed due to invalid input!
>>>> WARNING: Stopping on parser failure
>>>>
>>>> cannot compile orchestra
>>>>
>>>>
>>>> I tried all my csd’s and couldn’t get any to work, then I tried the manual’s
>>>> example, same error. Is the fluidsynth library missing from the mac osx
>>>> release, or is this a problem on my end?
>>>>
>>>> All the best,
>>>>
>>>> Jacques.
>>>>
>>>> The manual example I used is below:
>>>>
>>>> <CsoundSynthesizer>
>>>> <CsOptions>
>>>> ; Select audio/midi flags here according to platform
>>>> -odac -+rtmidi=virtual -M0 ;;;realtime audio out and realtime midi in
>>>> ;-iadc ;;;uncomment -iadc if realtime audio input is needed too
>>>> ; For Non-realtime ouput leave only the line below:
>>>> ;-o fluidNote.wav -W ;;; for file output any platform
>>>> </CsOptions>
>>>> <CsInstruments>
>>>>
>>>> sr = 44100
>>>> ksmps = 32
>>>> nchnls = 2
>>>> 0dbfs = 1
>>>>
>>>> giengine fluidEngine
>>>> ; soundfont path to manual/examples
>>>> isfnum fluidLoad
>>>> "/Users/jacques/CVSCode/CSVMozartsMuse/MozartsMuseDesktopUtilities/res/instruments/sfgmbank.sf2",
>>>> giengine, 1
>>>> fluidProgramSelect giengine, 1, isfnum, 0, 56
>>>>
>>>> instr 1
>>>>
>>>> mididefault 60, p3
>>>> midinoteonkey p4, p5
>>>> ikey init p4
>>>> ivel init p5
>>>> fluidNote giengine, 1, ikey, ivel
>>>>
>>>> endin
>>>>
>>>> instr 99
>>>>
>>>> imvol init 7
>>>> asigl, asigr fluidOut giengine
>>>> outs asigl*imvol, asigr*imvol
>>>>
>>>> endin
>>>> </CsInstruments>
>>>> <CsScore>
>>>>
>>>> i 1 0 2 60 100 ;play one note from score and...
>>>> i 99 0 60 ;play virtual keyboard for 60 sec.
>>>> e
>>>>
>>>> </CsScore>
>>>> </CsoundSynthesizer>
>>
>>
>> Send bugs reports to the Sourceforge bug trackers
>> csound6:
>>            https://sourceforge.net/p/csound/tickets/
>> csound5:
>>            https://sourceforge.net/p/csound/bugs/
>> 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 trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> 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 trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"