Csound Csound-dev Csound-tekno Search About

[Csnd] could not find while it is there

Date2017-11-13 21:40
Fromzappfinger
Subject[Csnd] could not find while it is there
In QtCsound (Windows) i have this initial csd.
Why does it not find the tag ?

;


--midi-key-cps=4, --midi-velocity=5


0dbfs = 1
massign 0, 1
alwayson 1
alwayson vco

instr 1
kfreq = p4  ; From p4 in the score or cps from MIDI note
kamp = p5
; ENV1
katt1 invalue "att1"
kdec1 invalue "dec1"
ksus1 invalue "sus1"
krel1 invalue "rel1"
; ENV2
katt2 invalue "att2"
kdec2 invalue "dec2"
ksus2 invalue "sus2"
krel2 invalue "rel2"
endin

instr vco
koct	invalue "oct"      ; octave
kwave invalue "vcoout"   ; waveform
kwavetrig	changed	kwave
kocttrig	changed	koct
if (kwavetrig ==1 || kocttrig ==1) then
	reinit REINIT_VCO
endif
REINIT_VCO:
if (kwave==1) then
	kwaveform = 0 ;SAW
elseif (kwave==2) then
	kwaveform = 2	; SQUARE
elseif (kwave==3) then
	kwaveform = 12	; TRIANGEL
endif
gavco vco2 kamp, kfreq, i(kwaveform) 
rireturn
outs gavco,gavco
endin




f 0 3600







--
Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-11-13 21:50
FromSteven Yi
SubjectRe: [Csnd] could not find while it is there
Any difference if you take out the ; before  ?
Maybe there's a parsing bug.

Also, what version of CsoundQT and Csound?

On Mon, Nov 13, 2017 at 4:40 PM, zappfinger  wrote:
> In QtCsound (Windows) i have this initial csd.
> Why does it not find the tag ?
>
> ;
> 
> 
> --midi-key-cps=4, --midi-velocity=5
> 
> 
> 0dbfs = 1
> massign 0, 1
> alwayson 1
> alwayson vco
>
> instr 1
> kfreq = p4  ; From p4 in the score or cps from MIDI note
> kamp = p5
> ; ENV1
> katt1 invalue "att1"
> kdec1 invalue "dec1"
> ksus1 invalue "sus1"
> krel1 invalue "rel1"
> ; ENV2
> katt2 invalue "att2"
> kdec2 invalue "dec2"
> ksus2 invalue "sus2"
> krel2 invalue "rel2"
> endin
>
> instr vco
> koct    invalue "oct"      ; octave
> kwave invalue "vcoout"   ; waveform
> kwavetrig       changed kwave
> kocttrig        changed koct
> if (kwavetrig ==1 || kocttrig ==1) then
>         reinit REINIT_VCO
> endif
> REINIT_VCO:
> if (kwave==1) then
>         kwaveform = 0 ;SAW
> elseif (kwave==2) then
>         kwaveform = 2   ; SQUARE
> elseif (kwave==3) then
>         kwaveform = 12  ; TRIANGEL
> endif
> gavco vco2 kamp, kfreq, i(kwaveform)
> rireturn
> outs gavco,gavco
> endin
>
>
> 
> 
> f 0 3600
> 
> 
>
>
>
>
>
> --
> Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-11-13 21:59
FromVictor Lazzarini
SubjectRe: [Csnd] could not find while it is there
The semicolon at the top might have something to do with it.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 13 Nov 2017, at 21:51, Steven Yi <stevenyi@GMAIL.COM> wrote:

Any difference if you take out the ; before <CsoundSynthesizer> ?
Maybe there's a parsing bug.

Also, what version of CsoundQT and Csound?

On Mon, Nov 13, 2017 at 4:40 PM, zappfinger <zappfinger@gmail.com> wrote:
In QtCsound (Windows) i have this initial csd.
Why does it not find the tag <CsoundSynthesizer>?

;
<CsoundSynthesizer>
<CsOptions>
--midi-key-cps=4, --midi-velocity=5
</CsOptions>
<CsInstruments>
0dbfs = 1
massign 0, 1
alwayson 1
alwayson vco

instr 1
kfreq = p4  ; From p4 in the score or cps from MIDI note
kamp = p5
; ENV1
katt1 invalue "att1"
kdec1 invalue "dec1"
ksus1 invalue "sus1"
krel1 invalue "rel1"
; ENV2
katt2 invalue "att2"
kdec2 invalue "dec2"
ksus2 invalue "sus2"
krel2 invalue "rel2"
endin

instr vco
koct    invalue "oct"      ; octave
kwave invalue "vcoout"   ; waveform
kwavetrig       changed kwave
kocttrig        changed koct
if (kwavetrig ==1 || kocttrig ==1) then
       reinit REINIT_VCO
endif
REINIT_VCO:
if (kwave==1) then
       kwaveform = 0 ;SAW
elseif (kwave==2) then
       kwaveform = 2   ; SQUARE
elseif (kwave==3) then
       kwaveform = 12  ; TRIANGEL
endif
gavco vco2 kamp, kfreq, i(kwaveform)
rireturn
outs gavco,gavco
endin


</CsInstruments>
<CsScore>
f 0 3600
</CsScore>
</CsoundSynthesizer>





--
Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-11-14 20:18
FromRichard
SubjectRe: [Csnd] could not find while it is there
It might had to do because I was running very low on disk space on my Mac.
Now my csd and the nice widget I made are blank. Where does QtCsound 
store the widgets? Maybe I can retrieve something...

Richard


On 13/11/17 22:50, Steven Yi wrote:
> Any difference if you take out the ; before  ?
> Maybe there's a parsing bug.
>
> Also, what version of CsoundQT and Csound?
>
> On Mon, Nov 13, 2017 at 4:40 PM, zappfinger  wrote:
>> In QtCsound (Windows) i have this initial csd.
>> Why does it not find the tag ?
>>
>> ;
>> 
>> 
>> --midi-key-cps=4, --midi-velocity=5
>> 
>> 
>> 0dbfs = 1
>> massign 0, 1
>> alwayson 1
>> alwayson vco
>>
>> instr 1
>> kfreq = p4  ; From p4 in the score or cps from MIDI note
>> kamp = p5
>> ; ENV1
>> katt1 invalue "att1"
>> kdec1 invalue "dec1"
>> ksus1 invalue "sus1"
>> krel1 invalue "rel1"
>> ; ENV2
>> katt2 invalue "att2"
>> kdec2 invalue "dec2"
>> ksus2 invalue "sus2"
>> krel2 invalue "rel2"
>> endin
>>
>> instr vco
>> koct    invalue "oct"      ; octave
>> kwave invalue "vcoout"   ; waveform
>> kwavetrig       changed kwave
>> kocttrig        changed koct
>> if (kwavetrig ==1 || kocttrig ==1) then
>>          reinit REINIT_VCO
>> endif
>> REINIT_VCO:
>> if (kwave==1) then
>>          kwaveform = 0 ;SAW
>> elseif (kwave==2) then
>>          kwaveform = 2   ; SQUARE
>> elseif (kwave==3) then
>>          kwaveform = 12  ; TRIANGEL
>> endif
>> gavco vco2 kamp, kfreq, i(kwaveform)
>> rireturn
>> outs gavco,gavco
>> endin
>>
>>
>> 
>> 
>> f 0 3600
>> 
>> 
>>
>>
>>
>>
>>
>> --
>> Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>          https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>          https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-11-14 20:46
FromTarmo Johannes
SubjectRe: [Csnd] could not find while it is there
Hi,

The widgets are stored in the same csd file between  tags.

Open the csd with another text editor to see if it in place. If it is ruined, 
it is gone. 

Do you know that you can copy widgets from one open file to another when you 
activate the widget's edit mode (Ctrl-E) and select the widgets you want to 
copy and paste? If you have another similar file or an older copy, it might 
save some part of work.

greetings,
tarmo

On Tuesday, November 14, 2017 10:18:21 PM EET you wrote:
> It might had to do because I was running very low on disk space on my Mac.
> Now my csd and the nice widget I made are blank. Where does QtCsound
> store the widgets? Maybe I can retrieve something...
> 
> Richard
> 
> On 13/11/17 22:50, Steven Yi wrote:
> > Any difference if you take out the ; before  ?
> > Maybe there's a parsing bug.
> > 
> > Also, what version of CsoundQT and Csound?
> > 
> > On Mon, Nov 13, 2017 at 4:40 PM, zappfinger  wrote:
> >> In QtCsound (Windows) i have this initial csd.
> >> Why does it not find the tag ?
> >> 
> >> ;
> >> 
> >> 
> >> --midi-key-cps=4, --midi-velocity=5
> >> 
> >> 
> >> 0dbfs = 1
> >> massign 0, 1
> >> alwayson 1
> >> alwayson vco
> >> 
> >> instr 1
> >> kfreq = p4  ; From p4 in the score or cps from MIDI note
> >> kamp = p5
> >> ; ENV1
> >> katt1 invalue "att1"
> >> kdec1 invalue "dec1"
> >> ksus1 invalue "sus1"
> >> krel1 invalue "rel1"
> >> ; ENV2
> >> katt2 invalue "att2"
> >> kdec2 invalue "dec2"
> >> ksus2 invalue "sus2"
> >> krel2 invalue "rel2"
> >> endin
> >> 
> >> instr vco
> >> koct    invalue "oct"      ; octave
> >> kwave invalue "vcoout"   ; waveform
> >> kwavetrig       changed kwave
> >> kocttrig        changed koct
> >> if (kwavetrig ==1 || kocttrig ==1) then
> >> 
> >>          reinit REINIT_VCO
> >> 
> >> endif
> >> REINIT_VCO:
> >> if (kwave==1) then
> >> 
> >>          kwaveform = 0 ;SAW
> >> 
> >> elseif (kwave==2) then
> >> 
> >>          kwaveform = 2   ; SQUARE
> >> 
> >> elseif (kwave==3) then
> >> 
> >>          kwaveform = 12  ; TRIANGEL
> >> 
> >> endif
> >> gavco vco2 kamp, kfreq, i(kwaveform)
> >> rireturn
> >> outs gavco,gavco
> >> endin
> >> 
> >> 
> >> 
> >> 
> >> f 0 3600
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> --
> >> Sent from:
> >> http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html
> >> 
> >> Csound mailing list
> >> Csound@listserv.heanet.ie
> >> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> >> Send bugs reports to
> >> 
> >>          https://github.com/csound/csound/issues
> >> 
> >> Discussions of bugs and features can be posted here
> > 
> > Csound mailing list
> > Csound@listserv.heanet.ie
> > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> > Send bugs reports to
> > 
> >          https://github.com/csound/csound/issues
> > 
> > Discussions of bugs and features can be posted here
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here