| Dear friends,
I was dabbling with the image opcodes yesterday but with no success. I was not able to run the examples and I tried writing my own .csd ( a tweaked version of one of the examples) and it still didnt work...I had my .png file in the same directory as the .csd and the error is the following..
error: syntax error, unexpected T_IDENT_I, expecting T_OPCODE or ',' (token "imageload") line 10: >>>giimage imageload <<< Parsing failed due to invalid input!
I am not able to understand the exact error, as I have pretty much taken the code from the exampls provided in the manual..
Attached is my .csd (if you are trying to run this .csd, you might need put in a .png file of your own and changed the image file name, I believe)
Any help would be appreciated...
Thank you very much
Deepak.
On Sat, Oct 6, 2012 at 4:25 AM, peiman khosravi <peimankhosravi@gmail.com> wrote:
I can confirm that additive synth in Version 0.6.1 is working fine. So
the new changes must have fixed the issue.
Thanks
Peiman
On 5 October 2012 08:42, peiman khosravi <peimankhosravi@gmail.com> wrote:
> I forgot to mention the grain issue.
>
> 1- Select a file with the browser.
> 2- Start the performance. Note the error in the console:
>
> "soundin cannot open /home/moi/Samples/ClassicalGuitar.wav
>
> ftable 111: Failed to open file
>
> f111 0.00 0.00 1.00 "/home/moi/Samples/ClassicalGuitar.wav" ...
>
> INIT ERROR in instr 10: ftgen error
>
> ifnTemp ftgentmp 0 0 0 1 Sfile 0 0 1"
>
> Why is it trying to open 'ClassicalGuitar.wav' when I've selected a
> different file?
>
> Also note that the file-name text field now shows 'ClassicalGuitar.wav'.
>
> Best,
> Peiman
>
> On 5 October 2012 08:26, peiman khosravi <peimankhosravi@gmail.com> wrote:
>>
>> Thanks Andres. The problem with additive synth is this and it's really
>> irritates me (as I use it all the time for teaching).
>>
>> Start the performance and change the menu to 'all harmonics' (the default
>> seems to be 'even harmonics' which is strange). Then stop the performance
>> and start it again. The frequency rations are changed to an inharmonic one
>> but the menu remains on 'all harmonics'. This is a bug in the CSD design
>> right?
>>
>> Another thing I noticed yesterday is that the menu item that says 'even
>> harmonics' should say 'odd harmonics' instead!
>>
>> Thanks
>> Peiman
>>
>>
>> On 5 October 2012 04:37, Andres Cabrera <mantaraya36@gmail.com> wrote:
>>>
>>> Thanks, I've now added your corrections to pipe synth and Sruti, but
>>> I've left Additive synth as it is in the current sources, as it seems
>>> to be working fine (it's had some changes since last release).
>>>
>>> What exactly was the problem with the grain example?
>>>
>>> Cheers,
>>> Andres
>>>
>>> On Tue, Oct 2, 2012 at 7:15 AM, peiman khosravi
>>> <peimankhosravi@gmail.com> wrote:
>>> > And there was a typo in pipe_synth.
>>> >
>>> > P
>>> >
>>> >
>>> > On 2 October 2012 15:11, peiman khosravi <peimankhosravi@gmail.com>
>>> > wrote:
>>> >>
>>> >> OK found the missing comma in Sruti-Drone_Box, attached.
>>> >>
>>> >> P
>>> >>
>>> >>
>>> >> On 2 October 2012 15:08, peiman khosravi <peimankhosravi@gmail.com>
>>> >> wrote:
>>> >>>
>>> >>> Great, thanks.
>>> >>>
>>> >>> I'll look into the other examples.
>>> >>>
>>> >>> Best,
>>> >>> Peiman
>>> >>>
>>> >>> On 2 October 2012 12:58, joachim heintz <jh@joachimheintz.de> wrote:
>>> >>>>
>>> >>>> ok, found it. it seems that csound 5.18 does not allow any more
>>> >>>> non-pow-of-two tables as source tables for gen34.
>>> >>>> i will try to make a simple example and then file this as a bug.
>>> >>>>
>>> >>>> j
>>> >>>>
>>> >>>>
>>> >>>> Am 02.10.2012 13:03, schrieb peiman khosravi:
>>> >>>>>
>>> >>>>> Sure will do.
>>> >>>>> Best,
>>> >>>>> Peiman
>>> >>>>>
>>> >>>>> On 2 October 2012 11:55, joachim heintz <jh@joachimheintz.de
>>> >>>>> <mailto:jh@joachimheintz.de>> wrote:
>>> >>>>>
>>> >>>>> i found out that it (the waveform_mix example) works with
>>> >>>>> csound
>>> >>>>> 5.17, but not with 5.18.03 (OSX 10.6).
>>> >>>>> i will see if i can find the reason. if you find some minutes:
>>> >>>>> can
>>> >>>>> you test csound 5.17 and the CsoundQt version there? the table
>>> >>>>> display will be corrupted, but it should work anyway.
>>> >>>>> best -
>>> >>>>> j
>>> >>>>>
>>> >>>>>
>>> >>>>> Am 02.10.2012 12:47, schrieb peiman khosravi:
>>> >>>>>
>>> >>>>> Thanks for looking into this Joachim. I'm hoping we can
>>> >>>>> make
>>> >>>>> CsoundQT
>>> >>>>> and examples really stable soon!
>>> >>>>>
>>> >>>>> Best,
>>> >>>>> Peiman
>>> >>>>>
>>> >>>>> On 2 October 2012 11:37, joachim heintz
>>> >>>>> <jh@joachimheintz.de
>>> >>>>> <mailto:jh@joachimheintz.de>
>>> >>>>> <mailto:jh@joachimheintz.de <mailto:jh@joachimheintz.de>>>
>>> >>>>> wrote:
>>> >>>>>
>>> >>>>> thanks peiman -
>>> >>>>>
>>> >>>>> this is very helpful, and there are definitely too few
>>> >>>>> reports like
>>> >>>>> yours.
>>> >>>>>
>>> >>>>> i had a look at waveform_mix. i get the same errors
>>> >>>>> like
>>> >>>>> you on
>>> >>>>> ubuntu linux. it works with an older version of csound
>>> >>>>> and
>>> >>>>> csoundqt
>>> >>>>> on my mac (osx 10.6). the code has not changed (as far
>>> >>>>> as
>>> >>>>> i
>>> >>>>> see).
>>> >>>>>
>>> >>>>> i will try to find the error and then get back to you.
>>> >>>>>
>>> >>>>> best -
>>> >>>>>
>>> >>>>> joachim
>>> >>>>>
>>> >>>>> Am 02.10.2012 01:12, schrieb peiman khosravi:
>>> >>>>>
>>> >>>>> Dear all,
>>> >>>>>
>>> >>>>> So my first testing of CsoundQT shows quite a few
>>> >>>>> problems with the
>>> >>>>> Synth examples (so far). I'm on OSX 10.7.5. Some
>>> >>>>> of
>>> >>>>> these look like
>>> >>>>> Csound errors though.
>>> >>>>>
>>> >>>>> Best,
>>> >>>>> Peiman
>>> >>>>>
>>> >>>>>
>>> >>>>> *Additive Synthesizer
>>> >>>>> *Preset changes (without visual feedback) each
>>> >>>>> time
>>> >>>>> performance is
>>> >>>>> stopped and started again.
>>> >>>>>
>>> >>>>> *Sruti-Drone_Box
>>> >>>>> *error: syntax error, unexpected INTEGER_TOKEN,
>>> >>>>> expecting
>>> >>>>> NEWLINE or ','
>>> >>>>>
>>> >>>>> (token "144") line 105:
>>> >>>>> >>>giFn8 ftgen 8, 0, giTblSz, 9, 1,1,0,
>>> >>>>> 2,.5,0,
>>> >>>>> 3,.3333,0,
>>> >>>>> 5,.2,0, 8,.125,0, 13,.0769,0, 21,.0476,0,
>>> >>>>> 34,.0294,0,
>>> >>>>> 55,.0182,0, 89,.0112,0 144 <<<
>>> >>>>> Parsing failed due to invalid input!
>>> >>>>> Stopping on parser failure
>>> >>>>>
>>> >>>>> *Pipe_Synth
>>> >>>>> *error: syntax error, unexpected T_OPCODE (token
>>> >>>>> "xin") line 22:
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>> >>> >>>iPitch,iAtt_ENV,iDec_ENV,____iSus_ENV,iRel_ENV,iVel_ENV,____iScaling_ENV,kDC_Noise_GEN,____kCut_GEN,kRes_GEN,kK_Track_____GEN,kV_Track_GEN,k1_Pole_GEN,____kCtr_MW,kPolarity,kTune_DT,____kFine_DT,kSREC_DT,kMW_DT,kRT_____FB,kK_TrackFB,kDamp_FB,kTune_____AP,kFine_AP,kSREC_AP,kMW_AP,____kDffs_AP,kPower_AP,kOffset,____kPush,kSoftHard,kSym,kHP0,____kHP1,kK_TrackH,kLP0,kLP1,kK_____TrackL,
>>> >>>>> xin <<<
>>> >>>>>
>>> >>>>>
>>> >>>>> Parsing failed due to invalid input!
>>> >>>>> Stopping on parser failure
>>> >>>>>
>>> >>>>> *Waveform_Mix
>>> >>>>> *Doesn't work. The visual table viewers don't seem
>>> >>>>> to
>>> >>>>> display
>>> >>>>> anything
>>> >>>>>
>>> >>>>> other than the sine wave. Errors below.
>>> >>>>>
>>> >>>>> writing 2048 sample blks of 32-bit floats to dac
>>> >>>>> SECTION 1:
>>> >>>>> INIT ERROR in instr 1 (opcode SinesToSSTI):
>>> >>>>> illegal
>>> >>>>> table length
>>> >>>>> 24 in
>>> >>>>> table 101.000000
>>> >>>>> iftout ftgen ifno 0 itabsiz 34 iftemp inparts 1
>>> >>>>> INIT ERROR in instr 1 (opcode SinesToSSTI): ftgen
>>> >>>>> error
>>> >>>>> iftout ftgen ifno 0 itabsiz 34 iftemp inparts 1
>>> >>>>> INIT ERROR in instr 1 (opcode SinesToSSTI):
>>> >>>>> illegal
>>> >>>>> table length
>>> >>>>> 18 in
>>> >>>>> table 101.000000
>>> >>>>> iftout ftgen ifno 0 itabsiz 34 iftemp inparts 1
>>> >>>>> INIT ERROR in instr 1 (opcode SinesToSSTI): ftgen
>>> >>>>> error
>>> >>>>> iftout ftgen ifno 0 itabsiz 34 iftemp inparts 1
>>> >>>>> ftable 101: illegal table length
>>> >>>>> f101 0.00 117.00 -2.00 0.00 ...
>>> >>>>> INIT ERROR in instr 1 (opcode SinesToSSTI): ftgen
>>> >>>>> error
>>> >>>>> iftemp ftgen 0 0 #i3 -2.000000 0
>>> >>>>> INIT ERROR in instr 1 (opcode SinesToSSTI):
>>> >>>>> Invalid
>>> >>>>> ftable no.
>>> >>>>> 0.000000
>>> >>>>> tabw_i istr #i34 iftemp 0
>>> >>>>> INIT ERROR in instr 1 (opcode SinesToSSTI):
>>> >>>>> tabw_i:
>>> >>>>> incorrect
>>> >>>>> table number
>>> >>>>> tabw_i istr #i34 iftemp 0
>>> >>>>> INIT ERROR in instr 1 (opcode SinesToSSTI):
>>> >>>>> Invalid
>>> >>>>> ftable no.
>>> >>>>> 0.000000
>>> >>>>> tabw_i #i36 #i39 iftemp 0
>>> >>>>> INIT ERROR in instr 1 (opcode SinesToSSTI):
>>> >>>>> tabw_i:
>>> >>>>> incorrect
>>> >>>>> table number
>>> >>>>> tabw_i #i36 #i39 iftemp 0
>>> >>>>> INIT ERROR in instr 1 (opcode SinesToSSTI):
>>> >>>>> Invalid
>>> >>>>> ftable no.
>>> >>>>> 0.000000
>>> >>>>> iftout ftgen ifno 0 itabsiz 34 iftemp inparts 1
>>> >>>>> INIT ERROR in instr 1 (opcode SinesToSSTI): ftgen
>>> >>>>> error
>>> >>>>> iftout ftgen ifno 0 itabsiz 34 iftemp inparts 1
>>> >>>>> INIT ERROR in instr 1 (opcode SinesToSSTI):
>>> >>>>> Invalid
>>> >>>>> table number: 0
>>> >>>>> ftfree iftemp 0
>>> >>>>> INIT ERROR in instr 1 (opcode SinesToSSTI):
>>> >>>>> illegal
>>> >>>>> table length
>>> >>>>> 24 in
>>> >>>>> table 101.000000
>>> >>>>> iftout ftgen ifno 0 itabsiz 34 iftemp inparts 1
>>> >>>>> INIT ERROR in instr 1 (opcode SinesToSSTI): ftgen
>>> >>>>> error
>>> >>>>> iftout ftgen ifno 0 itabsiz 34 iftemp inparts 1
>>> >>>>> B 0.000 - note deleted. i1 had 14 init errors
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>> Send bugs reports to the Sourceforge bug tracker
>>> >>>>>
>>> >>>>> https://sourceforge.net/____tracker/?group_id=81968&atid=____564599
>>> >>>>>
>>> >>>>> <https://sourceforge.net/__tracker/?group_id=81968&atid=__564599>
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>> <https://sourceforge.net/__tracker/?group_id=81968&atid=__564599
>>> >>>>>
>>> >>>>> <https://sourceforge.net/tracker/?group_id=81968&atid=564599>>
>>> >>>>> Discussions of bugs and features can be posted here
>>> >>>>> To unsubscribe, send email sympa@lists.bath.ac.uk
>>> >>>>> <mailto:sympa@lists.bath.ac.uk>
>>> >>>>> <mailto:sympa@lists.bath.ac.uk
>>> >>>>> <mailto:sympa@lists.bath.ac.uk>__> with body "unsubscribe
>>> >>>>> csound"
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>> Send bugs reports to the Sourceforge bug tracker
>>> >>>>> https://sourceforge.net/__tracker/?group_id=81968&atid=__564599
>>> >>>>> <https://sourceforge.net/tracker/?group_id=81968&atid=564599>
>>> >>>>> Discussions of bugs and features can be posted here
>>> >>>>> To unsubscribe, send email sympa@lists.bath.ac.uk
>>> >>>>> <mailto:sympa@lists.bath.ac.uk> with body "unsubscribe csound"
>>> >>>>>
>>> >>>>>
>>> >>>>
>>> >>>>
>>> >>>> Send bugs reports to the Sourceforge bug tracker
>>> >>>>
>>> >>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> >>>> Discussions of bugs and features can be posted here
>>> >>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>> >>>> "unsubscribe
>>> >>>> csound"
>>> >>>>
>>> >>>
>>> >>
>>> >
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>
>
Send bugs reports to the Sourceforge bug tracker
https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
-- www.myspace.com/dcompanymusic www.myspace.com/thewoodshedmusicians
|