Csound Csound-dev Csound-tekno Search About

[Csnd-dev] orchestras as line events

Date2017-11-11 17:15
FromVictor Lazzarini
Subject[Csnd-dev] orchestras as line events
I have implemented support for sending orchestras as line events in addition to score events. This works
with orchestras enclosed in { } to distinguish them from pure score lines.

So, if we start csound as

$ csound -odac  --daemon -L stdin

it is possible to type instruments straight on to the terminal (inside { }). For example:

$ ./csound -odac --daemon -L stdin
[…]

SECTION 1:
{
::reading orchestra, use '}' to terminate::
instr 1
print p4
endin
}
::compiling orchestra::
i 1 0 1 100
  rtevent:	   T 28.305 TT 28.305 M:      0.0
new alloc for instr 1:
instr 1:  p4 = 100.000


Redirection and pipes are also possible
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ire

Date2017-11-11 17:33
FromGuillermo Senna
SubjectRe: [Csnd-dev] orchestras as line events
That's neat! But what about instruments that contain multi-line strings?

2017-11-11 14:15 GMT-03:00, Victor Lazzarini :
> I have implemented support for sending orchestras as line events in addition
> to score events. This works
> with orchestras enclosed in { } to distinguish them from pure score lines.
>
> So, if we start csound as
>
> $ csound -odac  --daemon -L stdin
>
> it is possible to type instruments straight on to the terminal (inside { }).
> For example:
>
> $ ./csound -odac --daemon -L stdin
> […]
>
> SECTION 1:
> {
> ::reading orchestra, use '}' to terminate::
> instr 1
> print p4
> endin
> }
> ::compiling orchestra::
> i 1 0 1 100
>   rtevent:	   T 28.305 TT 28.305 M:      0.0
> new alloc for instr 1:
> instr 1:  p4 = 100.000
>
>
> Redirection and pipes are also possible
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>

Date2017-11-11 17:44
FromVictor Lazzarini
SubjectRe: [Csnd-dev] orchestras as line events
It should not be a problem. The last } delimits the string and if there is a }}, it’s not seen.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 11 Nov 2017, at 17:33, Guillermo Senna  wrote:
> 
> That's neat! But what about instruments that contain multi-line strings?
> 
> 2017-11-11 14:15 GMT-03:00, Victor Lazzarini :
>> I have implemented support for sending orchestras as line events in addition
>> to score events. This works
>> with orchestras enclosed in { } to distinguish them from pure score lines.
>> 
>> So, if we start csound as
>> 
>> $ csound -odac  --daemon -L stdin
>> 
>> it is possible to type instruments straight on to the terminal (inside { }).
>> For example:
>> 
>> $ ./csound -odac --daemon -L stdin
>> […]
>> 
>> SECTION 1:
>> {
>> ::reading orchestra, use '}' to terminate::
>> instr 1
>> print p4
>> endin
>> }
>> ::compiling orchestra::
>> i 1 0 1 100
>>  rtevent:	   T 28.305 TT 28.305 M:      0.0
>> new alloc for instr 1:
>> instr 1:  p4 = 100.000
>> 
>> 
>> Redirection and pipes are also possible
>> ========================
>> Prof. Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952

Date2017-11-11 17:51
Fromjoachim heintz
SubjectRe: [Csnd-dev] orchestras as line events
hi victor -

very nice ...

i tried and everything works, but i get no audio output (on linux).

is the example working for you, or did i a stupid mistake?

best -
	joachim



jh@lenov2:~/src$ csound -odac --daemon -L stdin
0dBFS level = 32768.0
--Csound version 6.10 (double samples) Nov 11 2017
[commit: 516e102c5829091495ac789af7a8ca0c2836bd37]
libsndfile-1.0.27
scoreless operation
rtaudio: ALSA module enabled
rtmidi: ALSA Raw MIDI module enabled
Elapsed time at end of orchestra compile: real: 0.000s, CPU: 0.000s
sorting score ...
	... done
Elapsed time at end of score sort: real: 0.000s, CPU: 0.000s
graphics suppressed, ascii substituted
0dBFS level = 32768.0
orch now loaded
audio buffered in 256 sample-frame blocks
ALSA output: total buffer size: 1024, period size: 256
writing 256 sample blks of 64-bit floats to dac
SECTION 1:
{
::reading orchestra, use '}' to terminate::
nchnls = 2
0dbfs = 1
ksmps = 32
instr Bla
aSine poscil 0.2, 500
out aSine, aSine
endin
}
WARNING: system constants can only be set once

WARNING: system constants can only be set once

WARNING: system constants can only be set once

instr Bla uses instrument number 1
::compiling orchestra::
i "Bla" 0 3
   rtevent:	   T 78.815 TT 78.815 M:      0.0
new alloc for instr Bla:
WARNING: Excess channels ignored

^C
csound command: Interrupt
inactive allocs returned to freespace
end of score.		   overall amps:      0.2
	   overall samples out of range:        0
0 errors in performance
Elapsed time at end of performance: real: 98.077s, CPU: 8.809s
16901 256 sample blks of 64-bit floats written to dac


On 11/11/17 18:15, Victor Lazzarini wrote:
> I have implemented support for sending orchestras as line events in addition to score events. This works
> with orchestras enclosed in { } to distinguish them from pure score lines.
>
> So, if we start csound as
>
> $ csound -odac  --daemon -L stdin
>
> it is possible to type instruments straight on to the terminal (inside { }). For example:
>
> $ ./csound -odac --daemon -L stdin
> […]
>
> SECTION 1:
> {
> ::reading orchestra, use '}' to terminate::
> instr 1
> print p4
> endin
> }
> ::compiling orchestra::
> i 1 0 1 100
>   rtevent:	   T 28.305 TT 28.305 M:      0.0
> new alloc for instr 1:
> instr 1:  p4 = 100.000
>
>
> Redirection and pipes are also possible
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952

Date2017-11-11 18:03
FromVictor Lazzarini
SubjectRe: [Csnd-dev] orchestras as line events
If you need to supply header constants, do it via a CSD or an orchestra file or through the command-line options.

So the problem here is the amplitude, since 0dbfs=32786.

best regards
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 11 Nov 2017, at 17:51, joachim heintz  wrote:
> 
> hi victor -
> 
> very nice ...
> 
> i tried and everything works, but i get no audio output (on linux).
> 
> is the example working for you, or did i a stupid mistake?
> 
> best -
> 	joachim
> 
> 
> 
> jh@lenov2:~/src$ csound -odac --daemon -L stdin
> 0dBFS level = 32768.0
> --Csound version 6.10 (double samples) Nov 11 2017
> [commit: 516e102c5829091495ac789af7a8ca0c2836bd37]
> libsndfile-1.0.27
> scoreless operation
> rtaudio: ALSA module enabled
> rtmidi: ALSA Raw MIDI module enabled
> Elapsed time at end of orchestra compile: real: 0.000s, CPU: 0.000s
> sorting score ...
> 	... done
> Elapsed time at end of score sort: real: 0.000s, CPU: 0.000s
> graphics suppressed, ascii substituted
> 0dBFS level = 32768.0
> orch now loaded
> audio buffered in 256 sample-frame blocks
> ALSA output: total buffer size: 1024, period size: 256
> writing 256 sample blks of 64-bit floats to dac
> SECTION 1:
> {
> ::reading orchestra, use '}' to terminate::
> nchnls = 2
> 0dbfs = 1
> ksmps = 32
> instr Bla
> aSine poscil 0.2, 500
> out aSine, aSine
> endin
> }
> WARNING: system constants can only be set once
> 
> WARNING: system constants can only be set once
> 
> WARNING: system constants can only be set once
> 
> instr Bla uses instrument number 1
> ::compiling orchestra::
> i "Bla" 0 3
>  rtevent:	   T 78.815 TT 78.815 M:      0.0
> new alloc for instr Bla:
> WARNING: Excess channels ignored
> 
> ^C
> csound command: Interrupt
> inactive allocs returned to freespace
> end of score.		   overall amps:      0.2
> 	   overall samples out of range:        0
> 0 errors in performance
> Elapsed time at end of performance: real: 98.077s, CPU: 8.809s
> 16901 256 sample blks of 64-bit floats written to dac
> 
> 
> On 11/11/17 18:15, Victor Lazzarini wrote:
>> I have implemented support for sending orchestras as line events in addition to score events. This works
>> with orchestras enclosed in { } to distinguish them from pure score lines.
>> 
>> So, if we start csound as
>> 
>> $ csound -odac  --daemon -L stdin
>> 
>> it is possible to type instruments straight on to the terminal (inside { }). For example:
>> 
>> $ ./csound -odac --daemon -L stdin
>> […]
>> 
>> SECTION 1:
>> {
>> ::reading orchestra, use '}' to terminate::
>> instr 1
>> print p4
>> endin
>> }
>> ::compiling orchestra::
>> i 1 0 1 100
>>  rtevent:	   T 28.305 TT 28.305 M:      0.0
>> new alloc for instr 1:
>> instr 1:  p4 = 100.000
>> 
>> 
>> Redirection and pipes are also possible
>> ========================
>> Prof. Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952
>> 

Date2017-11-11 18:10
FromGuillermo Senna
SubjectRe: [Csnd-dev] orchestras as line events
Hi Joachim,

It's because 0dbfs was already defined to be equal to 32767. Is there a
way to leave the header constants up to the user, Victor?

Anyway, change the amplitude of poscil to 10000 and Bla will produce sound.

Cheers.


On 11/11/17 14:51, joachim heintz wrote:
> hi victor -
>
> very nice ...
>
> i tried and everything works, but i get no audio output (on linux).
>
> is the example working for you, or did i a stupid mistake?
>
> best -
>     joachim
>
>
>
> jh@lenov2:~/src$ csound -odac --daemon -L stdin
> 0dBFS level = 32768.0
> --Csound version 6.10 (double samples) Nov 11 2017
> [commit: 516e102c5829091495ac789af7a8ca0c2836bd37]
> libsndfile-1.0.27
> scoreless operation
> rtaudio: ALSA module enabled
> rtmidi: ALSA Raw MIDI module enabled
> Elapsed time at end of orchestra compile: real: 0.000s, CPU: 0.000s
> sorting score ...
>     ... done
> Elapsed time at end of score sort: real: 0.000s, CPU: 0.000s
> graphics suppressed, ascii substituted
> 0dBFS level = 32768.0
> orch now loaded
> audio buffered in 256 sample-frame blocks
> ALSA output: total buffer size: 1024, period size: 256
> writing 256 sample blks of 64-bit floats to dac
> SECTION 1:
> {
> ::reading orchestra, use '}' to terminate::
> nchnls = 2
> 0dbfs = 1
> ksmps = 32
> instr Bla
> aSine poscil 0.2, 500
> out aSine, aSine
> endin
> }
> WARNING: system constants can only be set once
>
> WARNING: system constants can only be set once
>
> WARNING: system constants can only be set once
>
> instr Bla uses instrument number 1
> ::compiling orchestra::
> i "Bla" 0 3
>   rtevent:       T 78.815 TT 78.815 M:      0.0
> new alloc for instr Bla:
> WARNING: Excess channels ignored
>
> ^C
> csound command: Interrupt
> inactive allocs returned to freespace
> end of score.           overall amps:      0.2
>        overall samples out of range:        0
> 0 errors in performance
> Elapsed time at end of performance: real: 98.077s, CPU: 8.809s
> 16901 256 sample blks of 64-bit floats written to dac
>
>
> On 11/11/17 18:15, Victor Lazzarini wrote:
>> I have implemented support for sending orchestras as line events in
>> addition to score events. This works
>> with orchestras enclosed in { } to distinguish them from pure score
>> lines.
>>
>> So, if we start csound as
>>
>> $ csound -odac  --daemon -L stdin
>>
>> it is possible to type instruments straight on to the terminal
>> (inside { }). For example:
>>
>> $ ./csound -odac --daemon -L stdin
>> […]
>>
>> SECTION 1:
>> {
>> ::reading orchestra, use '}' to terminate::
>> instr 1
>> print p4
>> endin
>> }
>> ::compiling orchestra::
>> i 1 0 1 100
>>   rtevent:       T 28.305 TT 28.305 M:      0.0
>> new alloc for instr 1:
>> instr 1:  p4 = 100.000
>>
>>
>> Redirection and pipes are also possible
>> ========================
>> Prof. Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952

Date2017-11-11 18:11
FromGuillermo Senna
SubjectRe: [Csnd-dev] orchestras as line events
That answers my question.


On 11/11/17 15:03, Victor Lazzarini wrote:
> If you need to supply header constants, do it via a CSD or an orchestra file or through the command-line options.
>
> So the problem here is the amplitude, since 0dbfs=32786.
>
> best regards
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952 
>
>> On 11 Nov 2017, at 17:51, joachim heintz  wrote:
>>
>> hi victor -
>>
>> very nice ...
>>
>> i tried and everything works, but i get no audio output (on linux).
>>
>> is the example working for you, or did i a stupid mistake?
>>
>> best -
>> 	joachim
>>
>>
>>
>> jh@lenov2:~/src$ csound -odac --daemon -L stdin
>> 0dBFS level = 32768.0
>> --Csound version 6.10 (double samples) Nov 11 2017
>> [commit: 516e102c5829091495ac789af7a8ca0c2836bd37]
>> libsndfile-1.0.27
>> scoreless operation
>> rtaudio: ALSA module enabled
>> rtmidi: ALSA Raw MIDI module enabled
>> Elapsed time at end of orchestra compile: real: 0.000s, CPU: 0.000s
>> sorting score ...
>> 	... done
>> Elapsed time at end of score sort: real: 0.000s, CPU: 0.000s
>> graphics suppressed, ascii substituted
>> 0dBFS level = 32768.0
>> orch now loaded
>> audio buffered in 256 sample-frame blocks
>> ALSA output: total buffer size: 1024, period size: 256
>> writing 256 sample blks of 64-bit floats to dac
>> SECTION 1:
>> {
>> ::reading orchestra, use '}' to terminate::
>> nchnls = 2
>> 0dbfs = 1
>> ksmps = 32
>> instr Bla
>> aSine poscil 0.2, 500
>> out aSine, aSine
>> endin
>> }
>> WARNING: system constants can only be set once
>>
>> WARNING: system constants can only be set once
>>
>> WARNING: system constants can only be set once
>>
>> instr Bla uses instrument number 1
>> ::compiling orchestra::
>> i "Bla" 0 3
>>  rtevent:	   T 78.815 TT 78.815 M:      0.0
>> new alloc for instr Bla:
>> WARNING: Excess channels ignored
>>
>> ^C
>> csound command: Interrupt
>> inactive allocs returned to freespace
>> end of score.		   overall amps:      0.2
>> 	   overall samples out of range:        0
>> 0 errors in performance
>> Elapsed time at end of performance: real: 98.077s, CPU: 8.809s
>> 16901 256 sample blks of 64-bit floats written to dac
>>
>>
>> On 11/11/17 18:15, Victor Lazzarini wrote:
>>> I have implemented support for sending orchestras as line events in addition to score events. This works
>>> with orchestras enclosed in { } to distinguish them from pure score lines.
>>>
>>> So, if we start csound as
>>>
>>> $ csound -odac  --daemon -L stdin
>>>
>>> it is possible to type instruments straight on to the terminal (inside { }). For example:
>>>
>>> $ ./csound -odac --daemon -L stdin
>>> […]
>>>
>>> SECTION 1:
>>> {
>>> ::reading orchestra, use '}' to terminate::
>>> instr 1
>>> print p4
>>> endin
>>> }
>>> ::compiling orchestra::
>>> i 1 0 1 100
>>>  rtevent:	   T 28.305 TT 28.305 M:      0.0
>>> new alloc for instr 1:
>>> instr 1:  p4 = 100.000
>>>
>>>
>>> Redirection and pipes are also possible
>>> ========================
>>> Prof. Victor Lazzarini
>>> Dean of Arts, Celtic Studies, and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952

Date2017-11-11 18:20
FromGuillermo Senna
SubjectRe: [Csnd-dev] orchestras as line events
It doesn't seem to be working for me. I get "unexpected $end" and
"unknown opcode }".

Trying with this one:

instr 1
ktrig metro 3                           ;trigger 3 times a second
scoreline {{                            ;so it sounds like an echo
            i "Bla"  0  1
            }}, ktrig
ktrig = 0
endin



On 11/11/17 14:44, Victor Lazzarini wrote:
> It should not be a problem. The last } delimits the string and if there is a }}, it’s not seen.
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952 
>
>> On 11 Nov 2017, at 17:33, Guillermo Senna  wrote:
>>
>> That's neat! But what about instruments that contain multi-line strings?
>>
>> 2017-11-11 14:15 GMT-03:00, Victor Lazzarini :
>>> I have implemented support for sending orchestras as line events in addition
>>> to score events. This works
>>> with orchestras enclosed in { } to distinguish them from pure score lines.
>>>
>>> So, if we start csound as
>>>
>>> $ csound -odac  --daemon -L stdin
>>>
>>> it is possible to type instruments straight on to the terminal (inside { }).
>>> For example:
>>>
>>> $ ./csound -odac --daemon -L stdin
>>> […]
>>>
>>> SECTION 1:
>>> {
>>> ::reading orchestra, use '}' to terminate::
>>> instr 1
>>> print p4
>>> endin
>>> }
>>> ::compiling orchestra::
>>> i 1 0 1 100
>>>  rtevent:	   T 28.305 TT 28.305 M:      0.0
>>> new alloc for instr 1:
>>> instr 1:  p4 = 100.000
>>>
>>>
>>> Redirection and pipes are also possible
>>> ========================
>>> Prof. Victor Lazzarini
>>> Dean of Arts, Celtic Studies, and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952
>>>

Date2017-11-11 18:56
Fromjoachim heintz
SubjectRe: [Csnd-dev] orchestras as line events
ok, now i also understand the warning — i thought i could REset it only 
once ...
yes, works now ---
	j



On 11/11/17 19:03, Victor Lazzarini wrote:
> If you need to supply header constants, do it via a CSD or an orchestra file or through the command-line options.
>
> So the problem here is the amplitude, since 0dbfs=32786.
>
> best regards
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
>> On 11 Nov 2017, at 17:51, joachim heintz  wrote:
>>
>> hi victor -
>>
>> very nice ...
>>
>> i tried and everything works, but i get no audio output (on linux).
>>
>> is the example working for you, or did i a stupid mistake?
>>
>> best -
>> 	joachim
>>
>>
>>
>> jh@lenov2:~/src$ csound -odac --daemon -L stdin
>> 0dBFS level = 32768.0
>> --Csound version 6.10 (double samples) Nov 11 2017
>> [commit: 516e102c5829091495ac789af7a8ca0c2836bd37]
>> libsndfile-1.0.27
>> scoreless operation
>> rtaudio: ALSA module enabled
>> rtmidi: ALSA Raw MIDI module enabled
>> Elapsed time at end of orchestra compile: real: 0.000s, CPU: 0.000s
>> sorting score ...
>> 	... done
>> Elapsed time at end of score sort: real: 0.000s, CPU: 0.000s
>> graphics suppressed, ascii substituted
>> 0dBFS level = 32768.0
>> orch now loaded
>> audio buffered in 256 sample-frame blocks
>> ALSA output: total buffer size: 1024, period size: 256
>> writing 256 sample blks of 64-bit floats to dac
>> SECTION 1:
>> {
>> ::reading orchestra, use '}' to terminate::
>> nchnls = 2
>> 0dbfs = 1
>> ksmps = 32
>> instr Bla
>> aSine poscil 0.2, 500
>> out aSine, aSine
>> endin
>> }
>> WARNING: system constants can only be set once
>>
>> WARNING: system constants can only be set once
>>
>> WARNING: system constants can only be set once
>>
>> instr Bla uses instrument number 1
>> ::compiling orchestra::
>> i "Bla" 0 3
>>  rtevent:	   T 78.815 TT 78.815 M:      0.0
>> new alloc for instr Bla:
>> WARNING: Excess channels ignored
>>
>> ^C
>> csound command: Interrupt
>> inactive allocs returned to freespace
>> end of score.		   overall amps:      0.2
>> 	   overall samples out of range:        0
>> 0 errors in performance
>> Elapsed time at end of performance: real: 98.077s, CPU: 8.809s
>> 16901 256 sample blks of 64-bit floats written to dac
>>
>>
>> On 11/11/17 18:15, Victor Lazzarini wrote:
>>> I have implemented support for sending orchestras as line events in addition to score events. This works
>>> with orchestras enclosed in { } to distinguish them from pure score lines.
>>>
>>> So, if we start csound as
>>>
>>> $ csound -odac  --daemon -L stdin
>>>
>>> it is possible to type instruments straight on to the terminal (inside { }). For example:
>>>
>>> $ ./csound -odac --daemon -L stdin
>>> […]
>>>
>>> SECTION 1:
>>> {
>>> ::reading orchestra, use '}' to terminate::
>>> instr 1
>>> print p4
>>> endin
>>> }
>>> ::compiling orchestra::
>>> i 1 0 1 100
>>>  rtevent:	   T 28.305 TT 28.305 M:      0.0
>>> new alloc for instr 1:
>>> instr 1:  p4 = 100.000
>>>
>>>
>>> Redirection and pipes are also possible
>>> ========================
>>> Prof. Victor Lazzarini
>>> Dean of Arts, Celtic Studies, and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952
>>>

Date2017-11-11 19:19
FromVictor Lazzarini
SubjectRe: [Csnd-dev] orchestras as line events
Do you have the latest code?
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 11 Nov 2017, at 18:20, Guillermo Senna  wrote:
> 
> It doesn't seem to be working for me. I get "unexpected $end" and
> "unknown opcode }".
> 
> Trying with this one:
> 
> instr 1
> ktrig metro 3                           ;trigger 3 times a second
> scoreline {{                            ;so it sounds like an echo
>             i "Bla"  0  1
>             }}, ktrig
> ktrig = 0
> endin
> 
> 
> 
> On 11/11/17 14:44, Victor Lazzarini wrote:
>> It should not be a problem. The last } delimits the string and if there is a }}, it’s not seen.
>> ========================
>> Prof. Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952 
>> 
>>> On 11 Nov 2017, at 17:33, Guillermo Senna  wrote:
>>> 
>>> That's neat! But what about instruments that contain multi-line strings?
>>> 
>>> 2017-11-11 14:15 GMT-03:00, Victor Lazzarini :
>>>> I have implemented support for sending orchestras as line events in addition
>>>> to score events. This works
>>>> with orchestras enclosed in { } to distinguish them from pure score lines.
>>>> 
>>>> So, if we start csound as
>>>> 
>>>> $ csound -odac  --daemon -L stdin
>>>> 
>>>> it is possible to type instruments straight on to the terminal (inside { }).
>>>> For example:
>>>> 
>>>> $ ./csound -odac --daemon -L stdin
>>>> […]
>>>> 
>>>> SECTION 1:
>>>> {
>>>> ::reading orchestra, use '}' to terminate::
>>>> instr 1
>>>> print p4
>>>> endin
>>>> }
>>>> ::compiling orchestra::
>>>> i 1 0 1 100
>>>> rtevent:	   T 28.305 TT 28.305 M:      0.0
>>>> new alloc for instr 1:
>>>> instr 1:  p4 = 100.000
>>>> 
>>>> 
>>>> Redirection and pipes are also possible
>>>> ========================
>>>> Prof. Victor Lazzarini
>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>> Maynooth University,
>>>> Maynooth, Co Kildare, Ireland
>>>> Tel: 00 353 7086936
>>>> Fa

Date2017-11-11 19:30
FromGuillermo Senna
SubjectRe: [Csnd-dev] orchestras as line events
I do. The commit message matches the latest commit hash in Github. Does
it work for you?


On 11/11/17 16:19, Victor Lazzarini wrote:
> Do you have the latest code?
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952 
>
>> On 11 Nov 2017, at 18:20, Guillermo Senna  wrote:
>>
>> It doesn't seem to be working for me. I get "unexpected $end" and
>> "unknown opcode }".
>>
>> Trying with this one:
>>
>> instr 1
>> ktrig metro 3                           ;trigger 3 times a second
>> scoreline {{                            ;so it sounds like an echo
>>             i "Bla"  0  1
>>             }}, ktrig
>> ktrig = 0
>> endin
>>
>>
>>
>> On 11/11/17 14:44, Victor Lazzarini wrote:
>>> It should not be a problem. The last } delimits the string and if there is a }}, it’s not seen.
>>> ========================
>>> Prof. Victor Lazzarini
>>> Dean of Arts, Celtic Studies, and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952 
>>>
>>>> On 11 Nov 2017, at 17:33, Guillermo Senna  wrote:
>>>>
>>>> That's neat! But what about instruments that contain multi-line strings?
>>>>
>>>> 2017-11-11 14:15 GMT-03:00, Victor Lazzarini :
>>>>> I have implemented support for sending orchestras as line events in addition
>>>>> to score events. This works
>>>>> with orchestras enclosed in { } to distinguish them from pure score lines.
>>>>>
>>>>> So, if we start csound as
>>>>>
>>>>> $ csound -odac  --daemon -L stdin
>>>>>
>>>>> it is possible to type instruments straight on to the terminal (inside { }).
>>>>> For example:
>>>>>
>>>>> $ ./csound -odac --daemon -L stdin
>>>>> […]
>>>>>
>>>>> SECTION 1:
>>>>> {
>>>>> ::reading orchestra, use '}' to terminate::
>>>>> instr 1
>>>>> print p4
>>>>> endin
>>>>> }
>>>>> ::compiling orchestra::
>>>>> i 1 0 1 100
>>>>> rtevent:	   T 28.305 TT 28.305 M:      0.0
>>>>> new alloc for instr 1:
>>>>> instr 1:  p4 = 100.000
>>>>>
>>>>>
>>>>> Redirection and pipes are also possible
>>>>> ========================
>>>>> Prof. Victor Lazzarini
>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>> Maynooth University,
>>>>> Maynooth, Co Kildare, Ireland
>>>>> Tel: 00 353 7086936
>>>>> Fax: 00 353 1 7086952
>>>>>

Date2017-11-11 19:45
FromVictor Lazzarini
SubjectRe: [Csnd-dev] orchestras as line events
looks like I had changed something that broke. I reverted it now and it seems to work:

SECTION 1:
{   
::reading orchestra, use '}' to terminate::
instr blah
prints "blah"
endin
instr 1
ktrig = 1
scoreline {{
i "blah" 0 1 }}, ktrig
ktrig = 0
endin
}
instr blah uses instrument number 2


========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 11 Nov 2017, at 19:30, Guillermo Senna  wrote:
> 
> I do. The commit message matches the latest commit hash in Github. Does
> it work for you?
> 
> 
> On 11/11/17 16:19, Victor Lazzarini wrote:
>> Do you have the latest code?
>> ========================
>> Prof. Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952 
>> 
>>> On 11 Nov 2017, at 18:20, Guillermo Senna  wrote:
>>> 
>>> It doesn't seem to be working for me. I get "unexpected $end" and
>>> "unknown opcode }".
>>> 
>>> Trying with this one:
>>> 
>>> instr 1
>>> ktrig metro 3                           ;trigger 3 times a second
>>> scoreline {{                            ;so it sounds like an echo
>>>            i "Bla"  0  1
>>>            }}, ktrig
>>> ktrig = 0
>>> endin
>>> 
>>> 
>>> 
>>> On 11/11/17 14:44, Victor Lazzarini wrote:
>>>> It should not be a problem. The last } delimits the string and if there is a }}, it’s not seen.
>>>> ========================
>>>> Prof. Victor Lazzarini
>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>> Maynooth University,
>>>> Maynooth, Co Kildare, Ireland
>>>> Tel: 00 353 7086936
>>>> Fax: 00 353 1 7086952 
>>>> 
>>>>> On 11 Nov 2017, at 17:33, Guillermo Senna  wrote:
>>>>> 
>>>>> That's neat! But what about instruments that contain multi-line strings?
>>>>> 
>>>>> 2017-11-11 14:15 GMT-03:00, Victor Lazzarini :
>>>>>> I have implemented support for sending orchestras as line events in addition
>>>>>> to score events. This works
>>>>>> with orchestras enclosed in { } to distinguish them from pure score lines.
>>>>>> 
>>>>>> So, if we start csound as
>>>>>> 
>>>>>> $ csound -odac  --daemon -L stdin
>>>>>> 
>>>>>> it is possible to type instruments straight on to the terminal (inside { }).
>>>>>> For example:
>>>>>> 
>>>>>> $ ./csound -odac --daemon -L stdin
>>>>>> […]
>>>>>> 
>>>>>> SECTION 1:
>>>>>> {
>>>>>> ::reading orchestra, use '}' to terminate::
>>>>>> instr 1
>>>>>> print p4
>>>>>> endin
>>>>>> }
>>>>>> ::compiling orchestra::
>>>>>> i 1 0 1 100
>>>>>> rtevent:	   T 28.305 TT 28.305 M:      0.0
>>>>>> new alloc for instr 1:
>>>>>> instr 1:  p4 = 100.000
>>>>>> 
>>>>>> 
>>>>>> Redirection and pipes are also possible
>>>>>> ========================
>>>>>> Prof. Victor Lazzarini
>>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>>> Maynooth University,
>>>>>> Maynooth, Co Kildare, Ireland
>>>>>> Tel: 00 353 7086936
>>>>>> Fax: 00 353 1 7086952
>>

Date2017-11-11 20:10
FromGuillermo Senna
SubjectRe: [Csnd-dev] orchestras as line events
It works. Although there cannot be any spaces in the line with the
closing '}}' delimiters, such as:

Svar = {{ Hola!

            }}



On 11/11/17 16:45, Victor Lazzarini wrote:
> looks like I had changed something that broke. I reverted it now and it seems to work:
>
> SECTION 1:
> {   
> ::reading orchestra, use '}' to terminate::
> instr blah
> prints "blah"
> endin
> instr 1
> ktrig = 1
> scoreline {{
> i "blah" 0 1 }}, ktrig
> ktrig = 0
> endin
> }
> instr blah uses instrument number 2
>
>
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952 
>
>> On 11 Nov 2017, at 19:30, Guillermo Senna  wrote:
>>
>> I do. The commit message matches the latest commit hash in Github. Does
>> it work for you?
>>
>>
>> On 11/11/17 16:19, Victor Lazzarini wrote:
>>> Do you have the latest code?
>>> ========================
>>> Prof. Victor Lazzarini
>>> Dean of Arts, Celtic Studies, and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952 
>>>
>>>> On 11 Nov 2017, at 18:20, Guillermo Senna  wrote:
>>>>
>>>> It doesn't seem to be working for me. I get "unexpected $end" and
>>>> "unknown opcode }".
>>>>
>>>> Trying with this one:
>>>>
>>>> instr 1
>>>> ktrig metro 3                           ;trigger 3 times a second
>>>> scoreline {{                            ;so it sounds like an echo
>>>>            i "Bla"  0  1
>>>>            }}, ktrig
>>>> ktrig = 0
>>>> endin
>>>>
>>>>
>>>>
>>>> On 11/11/17 14:44, Victor Lazzarini wrote:
>>>>> It should not be a problem. The last } delimits the string and if there is a }}, it’s not seen.
>>>>> ========================
>>>>> Prof. Victor Lazzarini
>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>> Maynooth University,
>>>>> Maynooth, Co Kildare, Ireland
>>>>> Tel: 00 353 7086936
>>>>> Fax: 00 353 1 7086952 
>>>>>
>>>>>> On 11 Nov 2017, at 17:33, Guillermo Senna  wrote:
>>>>>>
>>>>>> That's neat! But what about instruments that contain multi-line strings?
>>>>>>
>>>>>> 2017-11-11 14:15 GMT-03:00, Victor Lazzarini :
>>>>>>> I have implemented support for sending orchestras as line events in addition
>>>>>>> to score events. This works
>>>>>>> with orchestras enclosed in { } to distinguish them from pure score lines.
>>>>>>>
>>>>>>> So, if we start csound as
>>>>>>>
>>>>>>> $ csound -odac  --daemon -L stdin
>>>>>>>
>>>>>>> it is possible to type instruments straight on to the terminal (inside { }).
>>>>>>> For example:
>>>>>>>
>>>>>>> $ ./csound -odac --daemon -L stdin
>>>>>>> […]
>>>>>>>
>>>>>>> SECTION 1:
>>>>>>> {
>>>>>>> ::reading orchestra, use '}' to terminate::
>>>>>>> instr 1
>>>>>>> print p4
>>>>>>> endin
>>>>>>> }
>>>>>>> ::compiling orchestra::
>>>>>>> i 1 0 1 100
>>>>>>> rtevent:	   T 28.305 TT 28.305 M:      0.0
>>>>>>> new alloc for instr 1:
>>>>>>> instr 1:  p4 = 100.000
>>>>>>>
>>>>>>>
>>>>>>> Redirection and pipes are also possible
>>>>>>> ========================
>>>>>>> Prof. Victor Lazzarini
>>>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>>>> Maynooth University,
>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>> Tel: 00 353 7086936
>>>>>>> Fax: 00 353 1 7086952
>>>>>>>

Date2017-11-11 20:16
FromPablo Frank
Subject[Csnd-dev] Introduction of float-version.h difficults the compilation in windows7 (at least)

Hello, to whoever is/are the responsible/s of the windows installer:

the introduction of  float-version.h difficults/avoids the compilation in windows7 (at least). When running a plugin opcode, this happens:

WARNING: could not open library 'C:\Program Files\Csound6_x64\plugins64\\csound_poscil.dll' (-1)

STARTING FILE

Creating options

Creating orchestra

Creating score

Loading command-line libraries:

rtaudio: PortAudio module enabled ...

using blocking interface

error: syntax error, unexpected T_IDENT (token "csound_poscil") from file C:/MinGW/bin/csound_poscil.csd (1)

line 15:

>>>asig csound_poscil <<<

Unexpected untyped word asig when expecting a variable

Parsing failed due to invalid input!

Stopping on parser failure

cannot compile orchestra


Thanks in advance for repairing this in any future version/s



Date2017-11-11 20:44
FromVictor Lazzarini
SubjectRe: [Csnd-dev] orchestras as line events
indeed, fixed now.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 11 Nov 2017, at 20:10, Guillermo Senna  wrote:
> 
> It works. Although there cannot be any spaces in the line with the
> closing '}}' delimiters, such as:
> 
> Svar = {{ Hola!
> 
>             }}
> 
> 
> 
> On 11/11/17 16:45, Victor Lazzarini wrote:
>> looks like I had changed something that broke. I reverted it now and it seems to work:
>> 
>> SECTION 1:
>> {   
>> ::reading orchestra, use '}' to terminate::
>> instr blah
>> prints "blah"
>> endin
>> instr 1
>> ktrig = 1
>> scoreline {{
>> i "blah" 0 1 }}, ktrig
>> ktrig = 0
>> endin
>> }
>> instr blah uses instrument number 2
>> 
>> 
>> ========================
>> Prof. Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952 
>> 
>>> On 11 Nov 2017, at 19:30, Guillermo Senna  wrote:
>>> 
>>> I do. The commit message matches the latest commit hash in Github. Does
>>> it work for you?
>>> 
>>> 
>>> On 11/11/17 16:19, Victor Lazzarini wrote:
>>>> Do you have the latest code?
>>>> ========================
>>>> Prof. Victor Lazzarini
>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>> Maynooth University,
>>>> Maynooth, Co Kildare, Ireland
>>>> Tel: 00 353 7086936
>>>> Fax: 00 353 1 7086952 
>>>> 
>>>>> On 11 Nov 2017, at 18:20, Guillermo Senna  wrote:
>>>>> 
>>>>> It doesn't seem to be working for me. I get "unexpected $end" and
>>>>> "unknown opcode }".
>>>>> 
>>>>> Trying with this one:
>>>>> 
>>>>> instr 1
>>>>> ktrig metro 3                           ;trigger 3 times a second
>>>>> scoreline {{                            ;so it sounds like an echo
>>>>>           i "Bla"  0  1
>>>>>           }}, ktrig
>>>>> ktrig = 0
>>>>> endin
>>>>> 
>>>>> 
>>>>> 
>>>>> On 11/11/17 14:44, Victor Lazzarini wrote:
>>>>>> It should not be a problem. The last } delimits the string and if there is a }}, it’s not seen.
>>>>>> ========================
>>>>>> Prof. Victor Lazzarini
>>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>>> Maynooth University,
>>>>>> Maynooth, Co Kildare, Ireland
>>>>>> Tel: 00 353 7086936
>>>>>> Fax: 00 353 1 7086952 
>>>>>> 
>>>>>>> On 11 Nov 2017, at 17:33, Guillermo Senna  wrote:
>>>>>>> 
>>>>>>> That's neat! But what about instruments that contain multi-line strings?
>>>>>>> 
>>>>>>> 2017-11-11 14:15 GMT-03:00, Victor Lazzarini :
>>>>>>>> I have implemented support for sending orchestras as line events in addition
>>>>>>>> to score events. This works
>>>>>>>> with orchestras enclosed in { } to distinguish them from pure score lines.
>>>>>>>> 
>>>>>>>> So, if we start csound as
>>>>>>>> 
>>>>>>>> $ csound -odac  --daemon -L stdin
>>>>>>>> 
>>>>>>>> it is possible to type instruments straight on to the terminal (inside { }).
>>>>>>>> For example:
>>>>>>>> 
>>>>>>>> $ ./csound -odac --daemon -L stdin
>>>>>>>> […]
>>>>>>>> 
>>>>>>>> SECTION 1:
>>>>>>>> {
>>>>>>>> ::reading orchestra, use '}' to terminate::
>>>>>>>> instr 1
>>>>>>>> print p4
>>>>>>>> endin
>>>>>>>> }
>>>>>>>> ::compiling orchestra::
>>>>>>>> i 1 0 1 100
>>>>>>>> rtevent:	   T 28.305 TT 28.305 M:      0.0
>>>>>>>> new alloc for instr 1:
>>>>>>>> instr 1:  p4 = 100.000
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Redirection and pipes are also possible
>>>>>>>> ========================
>>>>>>>> Prof. Victor Lazzarini
>>>>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>>>>> Maynooth University,
>>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>>> Tel: 00 353 7086936
>>>>>>>> Fax: 00 353 1 708695

Date2017-11-12 00:48
FromSteven Yi
SubjectRe: [Csnd-dev] Introduction of float-version.h difficults the compilation in windows7 (at least)
I wonder if you are compiling for 32-bit CPU but using 64-bit CPU
Csound.  What do you get when you run gcc -v? For example, I get:

$ gcc -v
Using built-in specs.
COLLECT_GCC=C:\msys64\mingw64\bin\gcc.exe
COLLECT_LTO_WRAPPER=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../gcc-7.2.0/configure --prefix=/mingw64
--with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32
--host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32
--with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include
--libexecdir=/mingw64/lib --enable-bootstrap --with-arch=x86-64
--with-tune=generic
--enable-languages=c,lto,c++,objc,obj-c++,fortran,ada --enable-shared
--enable-static --enable-libatomic --enable-threads=posix
--enable-graphite --enable-fully-dynamic-string
--enable-libstdcxx-time=yes --disable-libstdcxx-pch
--disable-libstdcxx-debug --disable-isl-version-check --enable-lto
--enable-libgomp --disable-multilib --enable-checking=release
--disable-rpath --disable-win32-registry --disable-nls
--disable-werror --disable-symvers --with-libiconv --with-system-zlib
--with-gmp=/mingw64 --with-mpfr=/mingw64 --with-mpc=/mingw64
--with-isl=/mingw64 --with-pkgversion='Rev1, Built by MSYS2 project'
--with-bugurl=https://sourceforge.net/projects/msys2 --with-gnu-as
--with-gnu-ld
Thread model: posix
gcc version 7.2.0 (Rev1, Built by MSYS2 project)

And what do you get when you run csound --version? I get:

--Csound version 6.10 (double samples) Nov 10 2017


On Sat, Nov 11, 2017 at 3:16 PM, Pablo Frank  wrote:
> Hello, to whoever is/are the responsible/s of the windows installer:
>
> the introduction of  float-version.h difficults/avoids the compilation in
> windows7 (at least). When running a plugin opcode, this happens:
>
> WARNING: could not open library 'C:\Program
> Files\Csound6_x64\plugins64\\csound_poscil.dll' (-1)
>
> STARTING FILE
>
> Creating options
>
> Creating orchestra
>
> Creating score
>
> Loading command-line libraries:
>
> rtaudio: PortAudio module enabled ...
>
> using blocking interface
>
> error: syntax error, unexpected T_IDENT (token "csound_poscil") from file
> C:/MinGW/bin/csound_poscil.csd (1)
>
> line 15:
>
>>>>asig csound_poscil <<<
>
> Unexpected untyped word asig when expecting a variable
>
> Parsing failed due to invalid input!
>
> Stopping on parser failure
>
> cannot compile orchestra
>
>
> Thanks in advance for repairing this in any future version/s
>

Date2017-11-12 01:23
FromPablo Frank
SubjectRe: [Csnd-dev] Introduction of float-version.h difficults the compilation in windows7 (at least)

when i run  C:\MinGW\bin>gcc -v 

i get:


Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/6.3.0/lto-wrapper.exe
Target: mingw32
Configured with: ../src/gcc-6.3.0/configure --build=x86_64-pc-linux-gnu --host=mingw32 --target=ming
w32 --with-gmp=/mingw --with-mpfr --with-mpc=/mingw --with-isl=/mingw --prefix=/mingw --disable-win3
2-registry --with-arch=i586 --with-tune=generic --enable-languages=c,c++,objc,obj-c++,fortran,ada --
with-pkgversion='MinGW.org GCC-6.3.0-1' --enable-static --enable-shared --enable-threads --with-dwar
f2 --disable-sjlj-exceptions --enable-version-specific-runtime-libs --with-libiconv-prefix=/mingw --
with-libintl-prefix=/mingw --enable-libstdcxx-debug --enable-libgomp --disable-libvtv --enable-nls
Thread model: win32
gcc version 6.3.0 (MinGW.org GCC-6.3.0-1)

--------------------------------------------------------------------


and when i run csound --version,  i get:


virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
--Csound version 6.09 (double samples) Jun 21 2017
[commit: 0b64fd3748fab638b29d0a0eca70896bdf4b0066]
libsndfile-1.0.27
end of score.              overall amps:      0.0
           overall samples out of range:        0
0 errors in performance
Elapsed time at end of performance: real: 0.062s, CPU: 0.061s




From: Csound-developers <CSOUND-DEV@LISTSERV.HEANET.IE> on behalf of Steven Yi <stevenyi@GMAIL.COM>
Sent: Sunday, November 12, 2017 12:48 AM
To: CSOUND-DEV@LISTSERV.HEANET.IE
Subject: Re: [Csnd-dev] Introduction of float-version.h difficults the compilation in windows7 (at least)
 
I wonder if you are compiling for 32-bit CPU but using 64-bit CPU
Csound.  What do you get when you run gcc -v? For example, I get:

$ gcc -v
Using built-in specs.
COLLECT_GCC=C:\msys64\mingw64\bin\gcc.exe
COLLECT_LTO_WRAPPER=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../gcc-7.2.0/configure --prefix=/mingw64
--with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32
--host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32
--with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include
--libexecdir=/mingw64/lib --enable-bootstrap --with-arch=x86-64
--with-tune=generic
--enable-languages=c,lto,c++,objc,obj-c++,fortran,ada --enable-shared
--enable-static --enable-libatomic --enable-threads=posix
--enable-graphite --enable-fully-dynamic-string
--enable-libstdcxx-time=yes --disable-libstdcxx-pch
--disable-libstdcxx-debug --disable-isl-version-check --enable-lto
--enable-libgomp --disable-multilib --enable-checking=release
--disable-rpath --disable-win32-registry --disable-nls
--disable-werror --disable-symvers --with-libiconv --with-system-zlib
--with-gmp=/mingw64 --with-mpfr=/mingw64 --with-mpc=/mingw64
--with-isl=/mingw64 --with-pkgversion='Rev1, Built by MSYS2 project'
--with-bugurl=https://sourceforge.net/projects/msys2 --with-gnu-as
--with-gnu-ld
Thread model: posix
gcc version 7.2.0 (Rev1, Built by MSYS2 project)

And what do you get when you run csound --version? I get:

--Csound version 6.10 (double samples) Nov 10 2017


On Sat, Nov 11, 2017 at 3:16 PM, Pablo Frank <frank_pablo@hotmail.com> wrote:
> Hello, to whoever is/are the responsible/s of the windows installer:
>
> the introduction of  float-version.h difficults/avoids the compilation in
> windows7 (at least). When running a plugin opcode, this happens:
>
> WARNING: could not open library 'C:\Program
> Files\Csound6_x64\plugins64\\csound_poscil.dll' (-1)
>
> STARTING FILE
>
> Creating options
>
> Creating orchestra
>
> Creating score
>
> Loading command-line libraries:
>
> rtaudio: PortAudio module enabled ...
>
> using blocking interface
>
> error: syntax error, unexpected T_IDENT (token "csound_poscil") from file
> C:/MinGW/bin/csound_poscil.csd (1)
>
> line 15:
>
>>>>asig csound_poscil <<<
>
> Unexpected untyped word asig when expecting a variable
>
> Parsing failed due to invalid input!
>
> Stopping on parser failure
>
> cannot compile orchestra
>
>
> Thanks in advance for repairing this in any future version/s
>
>

Date2017-11-12 03:57
FromSteven Yi
SubjectRe: [Csnd-dev] Introduction of float-version.h difficults the compilation in windows7 (at least)

Yes you are using a 32-bit compiler, building i586 but using x86_64 csound. Try installing mingw64 64-bit gcc.


On Sat, Nov 11, 2017, 20:23 Pablo Frank <frank_pablo@hotmail.com> wrote:

when i run  C:\MinGW\bin>gcc -v 

i get:


Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/6.3.0/lto-wrapper.exe
Target: mingw32
Configured with: ../src/gcc-6.3.0/configure --build=x86_64-pc-linux-gnu --host=mingw32 --target=ming
w32 --with-gmp=/mingw --with-mpfr --with-mpc=/mingw --with-isl=/mingw --prefix=/mingw --disable-win3
2-registry --with-arch=i586 --with-tune=generic --enable-languages=c,c++,objc,obj-c++,fortran,ada --
with-pkgversion='MinGW.org GCC-6.3.0-1' --enable-static --enable-shared --enable-threads --with-dwar
f2 --disable-sjlj-exceptions --enable-version-specific-runtime-libs --with-libiconv-prefix=/mingw --
with-libintl-prefix=/mingw --enable-libstdcxx-debug --enable-libgomp --disable-libvtv --enable-nls
Thread model: win32
gcc version 6.3.0 (MinGW.org GCC-6.3.0-1)

--------------------------------------------------------------------


and when i run csound --version,  i get:


virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
--Csound version 6.09 (double samples) Jun 21 2017
[commit: 0b64fd3748fab638b29d0a0eca70896bdf4b0066]
libsndfile-1.0.27
end of score.              overall amps:      0.0
           overall samples out of range:        0
0 errors in performance
Elapsed time at end of performance: real: 0.062s, CPU: 0.061s




From: Csound-developers <CSOUND-DEV@LISTSERV.HEANET.IE> on behalf of Steven Yi <stevenyi@GMAIL.COM>
Sent: Sunday, November 12, 2017 12:48 AM
To: CSOUND-DEV@LISTSERV.HEANET.IE
Subject: Re: [Csnd-dev] Introduction of float-version.h difficults the compilation in windows7 (at least)
 
I wonder if you are compiling for 32-bit CPU but using 64-bit CPU
Csound.  What do you get when you run gcc -v? For example, I get:

$ gcc -v
Using built-in specs.
COLLECT_GCC=C:\msys64\mingw64\bin\gcc.exe
COLLECT_LTO_WRAPPER=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../gcc-7.2.0/configure --prefix=/mingw64
--with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32
--host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32
--with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include
--libexecdir=/mingw64/lib --enable-bootstrap --with-arch=x86-64
--with-tune=generic
--enable-languages=c,lto,c++,objc,obj-c++,fortran,ada --enable-shared
--enable-static --enable-libatomic --enable-threads=posix
--enable-graphite --enable-fully-dynamic-string
--enable-libstdcxx-time=yes --disable-libstdcxx-pch
--disable-libstdcxx-debug --disable-isl-version-check --enable-lto
--enable-libgomp --disable-multilib --enable-checking=release
--disable-rpath --disable-win32-registry --disable-nls
--disable-werror --disable-symvers --with-libiconv --with-system-zlib
--with-gmp=/mingw64 --with-mpfr=/mingw64 --with-mpc=/mingw64
--with-isl=/mingw64 --with-pkgversion='Rev1, Built by MSYS2 project'
--with-bugurl=https://sourceforge.net/projects/msys2 --with-gnu-as
--with-gnu-ld
Thread model: posix
gcc version 7.2.0 (Rev1, Built by MSYS2 project)

And what do you get when you run csound --version? I get:

--Csound version 6.10 (double samples) Nov 10 2017


On Sat, Nov 11, 2017 at 3:16 PM, Pablo Frank <frank_pablo@hotmail.com> wrote:
> Hello, to whoever is/are the responsible/s of the windows installer:
>
> the introduction of  float-version.h difficults/avoids the compilation in
> windows7 (at least). When running a plugin opcode, this happens:
>
> WARNING: could not open library 'C:\Program
> Files\Csound6_x64\plugins64\\csound_poscil.dll' (-1)
>
> STARTING FILE
>
> Creating options
>
> Creating orchestra
>
> Creating score
>
> Loading command-line libraries:
>
> rtaudio: PortAudio module enabled ...
>
> using blocking interface
>
> error: syntax error, unexpected T_IDENT (token "csound_poscil") from file
> C:/MinGW/bin/csound_poscil.csd (1)
>
> line 15:
>
>>>>asig csound_poscil <<<
>
> Unexpected untyped word asig when expecting a variable
>
> Parsing failed due to invalid input!
>
> Stopping on parser failure
>
> cannot compile orchestra
>
>
> Thanks in advance for repairing this in any future version/s
>
>