Csound Csound-dev Csound-tekno Search About

[Cs-dev] prints issue

Date2014-03-29 16:55
FromRory Walsh
Subject[Cs-dev] prints issue
I think Joachim mentioned something about this problem before, but you
can see from the instrument below that the prints opcode is sometimes
truncating strings. Removing the '.wav' part of the string seems to
resolve the issue.


instr 1
iIndex, iDestinationTableLeft, iDestinationTableRight init 0
gSfilepath strcpy
"/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav"

Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
and %d \n", iIndex,
"/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav",
iDestinationTableLeft, iDestinationTableRight
prints Smsg

Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
and %d \n", iIndex, gSfilepath, iDestinationTableLeft,
iDestinationTableRight
prints Smsg
endin

------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-03-29 18:15
FromVictor Lazzarini
SubjectRe: [Cs-dev] prints issue
I wonder if that’s prints or sprintf that is removing the end of the string.
========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 29 Mar 2014, at 16:55, Rory Walsh  wrote:

> I think Joachim mentioned something about this problem before, but you
> can see from the instrument below that the prints opcode is sometimes
> truncating strings. Removing the '.wav' part of the string seems to
> resolve the issue.
> 
> 
> instr 1
> iIndex, iDestinationTableLeft, iDestinationTableRight init 0
> gSfilepath strcpy
> "/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav"
> 
> Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
> and %d \n", iIndex,
> "/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav",
> iDestinationTableLeft, iDestinationTableRight
> prints Smsg
> 
> Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
> and %d \n", iIndex, gSfilepath, iDestinationTableLeft,
> iDestinationTableRight
> prints Smsg
> endin
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-03-29 18:17
FromRory Walsh
SubjectRe: [Cs-dev] prints issue
 Good point. Could well be sprintfk.

On 29 March 2014 18:15, Victor Lazzarini  wrote:
> I wonder if that's prints or sprintf that is removing the end of the string.
> ========================
> Dr Victor Lazzarini
> Senior Lecturer
> NUI Maynooth, Ireland
> victor dot lazzarini at nuim dot ie
>
>
>
>
> On 29 Mar 2014, at 16:55, Rory Walsh  wrote:
>
>> I think Joachim mentioned something about this problem before, but you
>> can see from the instrument below that the prints opcode is sometimes
>> truncating strings. Removing the '.wav' part of the string seems to
>> resolve the issue.
>>
>>
>> instr 1
>> iIndex, iDestinationTableLeft, iDestinationTableRight init 0
>> gSfilepath strcpy
>> "/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav"
>>
>> Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
>> and %d \n", iIndex,
>> "/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav",
>> iDestinationTableLeft, iDestinationTableRight
>> prints Smsg
>>
>> Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
>> and %d \n", iIndex, gSfilepath, iDestinationTableLeft,
>> iDestinationTableRight
>> prints Smsg
>> endin
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-03-29 18:46
FromVictor Lazzarini
SubjectRe: [Cs-dev] prints issue
It does some parsing, maybe it’s getting the size of the string wrong. Did you say it removes .wav, is that so? Does it matter if the name is shorter or
longer? Or is it anything after the dot? 
========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 29 Mar 2014, at 18:17, Rory Walsh  wrote:

> Good point. Could well be sprintfk.
> 
> On 29 March 2014 18:15, Victor Lazzarini  wrote:
>> I wonder if that's prints or sprintf that is removing the end of the string.
>> ========================
>> Dr Victor Lazzarini
>> Senior Lecturer
>> NUI Maynooth, Ireland
>> victor dot lazzarini at nuim dot ie
>> 
>> 
>> 
>> 
>> On 29 Mar 2014, at 16:55, Rory Walsh  wrote:
>> 
>>> I think Joachim mentioned something about this problem before, but you
>>> can see from the instrument below that the prints opcode is sometimes
>>> truncating strings. Removing the '.wav' part of the string seems to
>>> resolve the issue.
>>> 
>>> 
>>> instr 1
>>> iIndex, iDestinationTableLeft, iDestinationTableRight init 0
>>> gSfilepath strcpy
>>> "/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav"
>>> 
>>> Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
>>> and %d \n", iIndex,
>>> "/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav",
>>> iDestinationTableLeft, iDestinationTableRight
>>> prints Smsg
>>> 
>>> Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
>>> and %d \n", iIndex, gSfilepath, iDestinationTableLeft,
>>> iDestinationTableRight
>>> prints Smsg
>>> endin
>>> 
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> 
>> 
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-03-29 19:15
FromRory Walsh
SubjectRe: [Cs-dev] prints issue
It doesn't remove the .wav, it truncates the string after it. Seems to
work Ok if I use shorter strings, but hanging the length of the file
name doesn't seem to make any difference.

On 29 March 2014 18:46, Victor Lazzarini  wrote:
> It does some parsing, maybe it's getting the size of the string wrong. Did you say it removes .wav, is that so? Does it matter if the name is shorter or
> longer? Or is it anything after the dot?
> ========================
> Dr Victor Lazzarini
> Senior Lecturer
> NUI Maynooth, Ireland
> victor dot lazzarini at nuim dot ie
>
>
>
>
> On 29 Mar 2014, at 18:17, Rory Walsh  wrote:
>
>> Good point. Could well be sprintfk.
>>
>> On 29 March 2014 18:15, Victor Lazzarini  wrote:
>>> I wonder if that's prints or sprintf that is removing the end of the string.
>>> ========================
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> NUI Maynooth, Ireland
>>> victor dot lazzarini at nuim dot ie
>>>
>>>
>>>
>>>
>>> On 29 Mar 2014, at 16:55, Rory Walsh  wrote:
>>>
>>>> I think Joachim mentioned something about this problem before, but you
>>>> can see from the instrument below that the prints opcode is sometimes
>>>> truncating strings. Removing the '.wav' part of the string seems to
>>>> resolve the issue.
>>>>
>>>>
>>>> instr 1
>>>> iIndex, iDestinationTableLeft, iDestinationTableRight init 0
>>>> gSfilepath strcpy
>>>> "/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav"
>>>>
>>>> Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
>>>> and %d \n", iIndex,
>>>> "/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav",
>>>> iDestinationTableLeft, iDestinationTableRight
>>>> prints Smsg
>>>>
>>>> Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
>>>> and %d \n", iIndex, gSfilepath, iDestinationTableLeft,
>>>> iDestinationTableRight
>>>> prints Smsg
>>>> endin
>>>>
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-03-29 20:12
FromVictor Lazzarini
SubjectRe: [Cs-dev] prints issue
So it must be to do with the length and the ‘.’. Can you have a very long filename without an extension? 
========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 29 Mar 2014, at 19:15, Rory Walsh  wrote:

> It doesn't remove the .wav, it truncates the string after it. Seems to
> work Ok if I use shorter strings, but hanging the length of the file
> name doesn't seem to make any difference.
> 
> On 29 March 2014 18:46, Victor Lazzarini  wrote:
>> It does some parsing, maybe it's getting the size of the string wrong. Did you say it removes .wav, is that so? Does it matter if the name is shorter or
>> longer? Or is it anything after the dot?
>> ========================
>> Dr Victor Lazzarini
>> Senior Lecturer
>> NUI Maynooth, Ireland
>> victor dot lazzarini at nuim dot ie
>> 
>> 
>> 
>> 
>> On 29 Mar 2014, at 18:17, Rory Walsh  wrote:
>> 
>>> Good point. Could well be sprintfk.
>>> 
>>> On 29 March 2014 18:15, Victor Lazzarini  wrote:
>>>> I wonder if that's prints or sprintf that is removing the end of the string.
>>>> ========================
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> NUI Maynooth, Ireland
>>>> victor dot lazzarini at nuim dot ie
>>>> 
>>>> 
>>>> 
>>>> 
>>>> On 29 Mar 2014, at 16:55, Rory Walsh  wrote:
>>>> 
>>>>> I think Joachim mentioned something about this problem before, but you
>>>>> can see from the instrument below that the prints opcode is sometimes
>>>>> truncating strings. Removing the '.wav' part of the string seems to
>>>>> resolve the issue.
>>>>> 
>>>>> 
>>>>> instr 1
>>>>> iIndex, iDestinationTableLeft, iDestinationTableRight init 0
>>>>> gSfilepath strcpy
>>>>> "/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav"
>>>>> 
>>>>> Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
>>>>> and %d \n", iIndex,
>>>>> "/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav",
>>>>> iDestinationTableLeft, iDestinationTableRight
>>>>> prints Smsg
>>>>> 
>>>>> Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
>>>>> and %d \n", iIndex, gSfilepath, iDestinationTableLeft,
>>>>> iDestinationTableRight
>>>>> prints Smsg
>>>>> endin
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>> 
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> 
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> 
>> 
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-03-29 20:16
FromRory Walsh
SubjectRe: [Cs-dev] prints issue
I'd say it is most definitely to do with the '.', everything works
fine without it. But if it was being seen as an escape sequence you
would think the string would truncate from there.

On 29 March 2014 20:12, Victor Lazzarini  wrote:
> So it must be to do with the length and the '.'. Can you have a very long filename without an extension?
> ========================
> Dr Victor Lazzarini
> Senior Lecturer
> NUI Maynooth, Ireland
> victor dot lazzarini at nuim dot ie
>
>
>
>
> On 29 Mar 2014, at 19:15, Rory Walsh  wrote:
>
>> It doesn't remove the .wav, it truncates the string after it. Seems to
>> work Ok if I use shorter strings, but hanging the length of the file
>> name doesn't seem to make any difference.
>>
>> On 29 March 2014 18:46, Victor Lazzarini  wrote:
>>> It does some parsing, maybe it's getting the size of the string wrong. Did you say it removes .wav, is that so? Does it matter if the name is shorter or
>>> longer? Or is it anything after the dot?
>>> ========================
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> NUI Maynooth, Ireland
>>> victor dot lazzarini at nuim dot ie
>>>
>>>
>>>
>>>
>>> On 29 Mar 2014, at 18:17, Rory Walsh  wrote:
>>>
>>>> Good point. Could well be sprintfk.
>>>>
>>>> On 29 March 2014 18:15, Victor Lazzarini  wrote:
>>>>> I wonder if that's prints or sprintf that is removing the end of the string.
>>>>> ========================
>>>>> Dr Victor Lazzarini
>>>>> Senior Lecturer
>>>>> NUI Maynooth, Ireland
>>>>> victor dot lazzarini at nuim dot ie
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On 29 Mar 2014, at 16:55, Rory Walsh  wrote:
>>>>>
>>>>>> I think Joachim mentioned something about this problem before, but you
>>>>>> can see from the instrument below that the prints opcode is sometimes
>>>>>> truncating strings. Removing the '.wav' part of the string seems to
>>>>>> resolve the issue.
>>>>>>
>>>>>>
>>>>>> instr 1
>>>>>> iIndex, iDestinationTableLeft, iDestinationTableRight init 0
>>>>>> gSfilepath strcpy
>>>>>> "/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav"
>>>>>>
>>>>>> Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
>>>>>> and %d \n", iIndex,
>>>>>> "/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav",
>>>>>> iDestinationTableLeft, iDestinationTableRight
>>>>>> prints Smsg
>>>>>>
>>>>>> Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
>>>>>> and %d \n", iIndex, gSfilepath, iDestinationTableLeft,
>>>>>> iDestinationTableRight
>>>>>> prints Smsg
>>>>>> endin
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-03-29 20:21
FromVictor Lazzarini
SubjectRe: [Cs-dev] prints issue
what about a short string with the extension, does it get truncated?
========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 29 Mar 2014, at 20:16, Rory Walsh  wrote:

> I'd say it is most definitely to do with the '.', everything works
> fine without it. But if it was being seen as an escape sequence you
> would think the string would truncate from there.
> 
> On 29 March 2014 20:12, Victor Lazzarini  wrote:
>> So it must be to do with the length and the '.'. Can you have a very long filename without an extension?
>> ========================
>> Dr Victor Lazzarini
>> Senior Lecturer
>> NUI Maynooth, Ireland
>> victor dot lazzarini at nuim dot ie
>> 
>> 
>> 
>> 
>> On 29 Mar 2014, at 19:15, Rory Walsh  wrote:
>> 
>>> It doesn't remove the .wav, it truncates the string after it. Seems to
>>> work Ok if I use shorter strings, but hanging the length of the file
>>> name doesn't seem to make any difference.
>>> 
>>> On 29 March 2014 18:46, Victor Lazzarini  wrote:
>>>> It does some parsing, maybe it's getting the size of the string wrong. Did you say it removes .wav, is that so? Does it matter if the name is shorter or
>>>> longer? Or is it anything after the dot?
>>>> ========================
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> NUI Maynooth, Ireland
>>>> victor dot lazzarini at nuim dot ie
>>>> 
>>>> 
>>>> 
>>>> 
>>>> On 29 Mar 2014, at 18:17, Rory Walsh  wrote:
>>>> 
>>>>> Good point. Could well be sprintfk.
>>>>> 
>>>>> On 29 March 2014 18:15, Victor Lazzarini  wrote:
>>>>>> I wonder if that's prints or sprintf that is removing the end of the string.
>>>>>> ========================
>>>>>> Dr Victor Lazzarini
>>>>>> Senior Lecturer
>>>>>> NUI Maynooth, Ireland
>>>>>> victor dot lazzarini at nuim dot ie
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> On 29 Mar 2014, at 16:55, Rory Walsh  wrote:
>>>>>> 
>>>>>>> I think Joachim mentioned something about this problem before, but you
>>>>>>> can see from the instrument below that the prints opcode is sometimes
>>>>>>> truncating strings. Removing the '.wav' part of the string seems to
>>>>>>> resolve the issue.
>>>>>>> 
>>>>>>> 
>>>>>>> instr 1
>>>>>>> iIndex, iDestinationTableLeft, iDestinationTableRight init 0
>>>>>>> gSfilepath strcpy
>>>>>>> "/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav"
>>>>>>> 
>>>>>>> Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
>>>>>>> and %d \n", iIndex,
>>>>>>> "/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav",
>>>>>>> iDestinationTableLeft, iDestinationTableRight
>>>>>>> prints Smsg
>>>>>>> 
>>>>>>> Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
>>>>>>> and %d \n", iIndex, gSfilepath, iDestinationTableLeft,
>>>>>>> iDestinationTableRight
>>>>>>> prints Smsg
>>>>>>> endin
>>>>>>> 
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>> 
>>>>>> 
>>>>>> ------------------------------------------------------------------------------
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>> 
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> 
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> 
>> 
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-03-29 20:23
FromRory Walsh
SubjectRe: [Cs-dev] prints issue
No, that seems fine. Let me see when exactly things go south..

On 29 March 2014 20:21, Victor Lazzarini  wrote:
> what about a short string with the extension, does it get truncated?
> ========================
> Dr Victor Lazzarini
> Senior Lecturer
> NUI Maynooth, Ireland
> victor dot lazzarini at nuim dot ie
>
>
>
>
> On 29 Mar 2014, at 20:16, Rory Walsh  wrote:
>
>> I'd say it is most definitely to do with the '.', everything works
>> fine without it. But if it was being seen as an escape sequence you
>> would think the string would truncate from there.
>>
>> On 29 March 2014 20:12, Victor Lazzarini  wrote:
>>> So it must be to do with the length and the '.'. Can you have a very long filename without an extension?
>>> ========================
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> NUI Maynooth, Ireland
>>> victor dot lazzarini at nuim dot ie
>>>
>>>
>>>
>>>
>>> On 29 Mar 2014, at 19:15, Rory Walsh  wrote:
>>>
>>>> It doesn't remove the .wav, it truncates the string after it. Seems to
>>>> work Ok if I use shorter strings, but hanging the length of the file
>>>> name doesn't seem to make any difference.
>>>>
>>>> On 29 March 2014 18:46, Victor Lazzarini  wrote:
>>>>> It does some parsing, maybe it's getting the size of the string wrong. Did you say it removes .wav, is that so? Does it matter if the name is shorter or
>>>>> longer? Or is it anything after the dot?
>>>>> ========================
>>>>> Dr Victor Lazzarini
>>>>> Senior Lecturer
>>>>> NUI Maynooth, Ireland
>>>>> victor dot lazzarini at nuim dot ie
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On 29 Mar 2014, at 18:17, Rory Walsh  wrote:
>>>>>
>>>>>> Good point. Could well be sprintfk.
>>>>>>
>>>>>> On 29 March 2014 18:15, Victor Lazzarini  wrote:
>>>>>>> I wonder if that's prints or sprintf that is removing the end of the string.
>>>>>>> ========================
>>>>>>> Dr Victor Lazzarini
>>>>>>> Senior Lecturer
>>>>>>> NUI Maynooth, Ireland
>>>>>>> victor dot lazzarini at nuim dot ie
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 29 Mar 2014, at 16:55, Rory Walsh  wrote:
>>>>>>>
>>>>>>>> I think Joachim mentioned something about this problem before, but you
>>>>>>>> can see from the instrument below that the prints opcode is sometimes
>>>>>>>> truncating strings. Removing the '.wav' part of the string seems to
>>>>>>>> resolve the issue.
>>>>>>>>
>>>>>>>>
>>>>>>>> instr 1
>>>>>>>> iIndex, iDestinationTableLeft, iDestinationTableRight init 0
>>>>>>>> gSfilepath strcpy
>>>>>>>> "/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav"
>>>>>>>>
>>>>>>>> Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
>>>>>>>> and %d \n", iIndex,
>>>>>>>> "/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav",
>>>>>>>> iDestinationTableLeft, iDestinationTableRight
>>>>>>>> prints Smsg
>>>>>>>>
>>>>>>>> Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
>>>>>>>> and %d \n", iIndex, gSfilepath, iDestinationTableLeft,
>>>>>>>> iDestinationTableRight
>>>>>>>> prints Smsg
>>>>>>>> endin
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-03-29 20:25
FromVictor Lazzarini
SubjectRe: [Cs-dev] prints issue
can you also try with sprintfk+printf just to rule out prints?
========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 29 Mar 2014, at 20:12, Victor Lazzarini  wrote:

> So it must be to do with the length and the ‘.’. Can you have a very long filename without an extension? 
> ========================
> Dr Victor Lazzarini
> Senior Lecturer
> NUI Maynooth, Ireland
> victor dot lazzarini at nuim dot ie
> 
> 
> 
> 
> On 29 Mar 2014, at 19:15, Rory Walsh  wrote:
> 
>> It doesn't remove the .wav, it truncates the string after it. Seems to
>> work Ok if I use shorter strings, but hanging the length of the file
>> name doesn't seem to make any difference.
>> 
>> On 29 March 2014 18:46, Victor Lazzarini  wrote:
>>> It does some parsing, maybe it's getting the size of the string wrong. Did you say it removes .wav, is that so? Does it matter if the name is shorter or
>>> longer? Or is it anything after the dot?
>>> ========================
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> NUI Maynooth, Ireland
>>> victor dot lazzarini at nuim dot ie
>>> 
>>> 
>>> 
>>> 
>>> On 29 Mar 2014, at 18:17, Rory Walsh  wrote:
>>> 
>>>> Good point. Could well be sprintfk.
>>>> 
>>>> On 29 March 2014 18:15, Victor Lazzarini  wrote:
>>>>> I wonder if that's prints or sprintf that is removing the end of the string.
>>>>> ========================
>>>>> Dr Victor Lazzarini
>>>>> Senior Lecturer
>>>>> NUI Maynooth, Ireland
>>>>> victor dot lazzarini at nuim dot ie
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> On 29 Mar 2014, at 16:55, Rory Walsh  wrote:
>>>>> 
>>>>>> I think Joachim mentioned something about this problem before, but you
>>>>>> can see from the instrument below that the prints opcode is sometimes
>>>>>> truncating strings. Removing the '.wav' part of the string seems to
>>>>>> resolve the issue.
>>>>>> 
>>>>>> 
>>>>>> instr 1
>>>>>> iIndex, iDestinationTableLeft, iDestinationTableRight init 0
>>>>>> gSfilepath strcpy
>>>>>> "/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav"
>>>>>> 
>>>>>> Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
>>>>>> and %d \n", iIndex,
>>>>>> "/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav",
>>>>>> iDestinationTableLeft, iDestinationTableRight
>>>>>> prints Smsg
>>>>>> 
>>>>>> Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
>>>>>> and %d \n", iIndex, gSfilepath, iDestinationTableLeft,
>>>>>> iDestinationTableRight
>>>>>> prints Smsg
>>>>>> endin
>>>>>> 
>>>>>> ------------------------------------------------------------------------------
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> 
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> 
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-03-29 20:31
FromRory Walsh
SubjectRe: [Cs-dev] prints issue
They work as expected. It's an odd one. If I put in another string the
same length as the my file path it works. Something in my file path
seems to be causing problems. I thought it might be the /t but
changing that doesn't seem to help.

On 29 March 2014 20:25, Victor Lazzarini  wrote:
> can you also try with sprintfk+printf just to rule out prints?
> ========================
> Dr Victor Lazzarini
> Senior Lecturer
> NUI Maynooth, Ireland
> victor dot lazzarini at nuim dot ie
>
>
>
>
> On 29 Mar 2014, at 20:12, Victor Lazzarini  wrote:
>
>> So it must be to do with the length and the '.'. Can you have a very long filename without an extension?
>> ========================
>> Dr Victor Lazzarini
>> Senior Lecturer
>> NUI Maynooth, Ireland
>> victor dot lazzarini at nuim dot ie
>>
>>
>>
>>
>> On 29 Mar 2014, at 19:15, Rory Walsh  wrote:
>>
>>> It doesn't remove the .wav, it truncates the string after it. Seems to
>>> work Ok if I use shorter strings, but hanging the length of the file
>>> name doesn't seem to make any difference.
>>>
>>> On 29 March 2014 18:46, Victor Lazzarini  wrote:
>>>> It does some parsing, maybe it's getting the size of the string wrong. Did you say it removes .wav, is that so? Does it matter if the name is shorter or
>>>> longer? Or is it anything after the dot?
>>>> ========================
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> NUI Maynooth, Ireland
>>>> victor dot lazzarini at nuim dot ie
>>>>
>>>>
>>>>
>>>>
>>>> On 29 Mar 2014, at 18:17, Rory Walsh  wrote:
>>>>
>>>>> Good point. Could well be sprintfk.
>>>>>
>>>>> On 29 March 2014 18:15, Victor Lazzarini  wrote:
>>>>>> I wonder if that's prints or sprintf that is removing the end of the string.
>>>>>> ========================
>>>>>> Dr Victor Lazzarini
>>>>>> Senior Lecturer
>>>>>> NUI Maynooth, Ireland
>>>>>> victor dot lazzarini at nuim dot ie
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 29 Mar 2014, at 16:55, Rory Walsh  wrote:
>>>>>>
>>>>>>> I think Joachim mentioned something about this problem before, but you
>>>>>>> can see from the instrument below that the prints opcode is sometimes
>>>>>>> truncating strings. Removing the '.wav' part of the string seems to
>>>>>>> resolve the issue.
>>>>>>>
>>>>>>>
>>>>>>> instr 1
>>>>>>> iIndex, iDestinationTableLeft, iDestinationTableRight init 0
>>>>>>> gSfilepath strcpy
>>>>>>> "/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav"
>>>>>>>
>>>>>>> Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
>>>>>>> and %d \n", iIndex,
>>>>>>> "/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav",
>>>>>>> iDestinationTableLeft, iDestinationTableRight
>>>>>>> prints Smsg
>>>>>>>
>>>>>>> Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
>>>>>>> and %d \n", iIndex, gSfilepath, iDestinationTableLeft,
>>>>>>> iDestinationTableRight
>>>>>>> prints Smsg
>>>>>>> endin
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-03-29 20:51
FromVictor Lazzarini
SubjectRe: [Cs-dev] prints issue
Is it prints then?
========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 29 Mar 2014, at 20:31, Rory Walsh  wrote:

> They work as expected. It's an odd one. If I put in another string the
> same length as the my file path it works. Something in my file path
> seems to be causing problems. I thought it might be the /t but
> changing that doesn't seem to help.
> 
> On 29 March 2014 20:25, Victor Lazzarini  wrote:
>> can you also try with sprintfk+printf just to rule out prints?
>> ========================
>> Dr Victor Lazzarini
>> Senior Lecturer
>> NUI Maynooth, Ireland
>> victor dot lazzarini at nuim dot ie
>> 
>> 
>> 
>> 
>> On 29 Mar 2014, at 20:12, Victor Lazzarini  wrote:
>> 
>>> So it must be to do with the length and the '.'. Can you have a very long filename without an extension?
>>> ========================
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> NUI Maynooth, Ireland
>>> victor dot lazzarini at nuim dot ie
>>> 
>>> 
>>> 
>>> 
>>> On 29 Mar 2014, at 19:15, Rory Walsh  wrote:
>>> 
>>>> It doesn't remove the .wav, it truncates the string after it. Seems to
>>>> work Ok if I use shorter strings, but hanging the length of the file
>>>> name doesn't seem to make any difference.
>>>> 
>>>> On 29 March 2014 18:46, Victor Lazzarini  wrote:
>>>>> It does some parsing, maybe it's getting the size of the string wrong. Did you say it removes .wav, is that so? Does it matter if the name is shorter or
>>>>> longer? Or is it anything after the dot?
>>>>> ========================
>>>>> Dr Victor Lazzarini
>>>>> Senior Lecturer
>>>>> NUI Maynooth, Ireland
>>>>> victor dot lazzarini at nuim dot ie
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> On 29 Mar 2014, at 18:17, Rory Walsh  wrote:
>>>>> 
>>>>>> Good point. Could well be sprintfk.
>>>>>> 
>>>>>> On 29 March 2014 18:15, Victor Lazzarini  wrote:
>>>>>>> I wonder if that's prints or sprintf that is removing the end of the string.
>>>>>>> ========================
>>>>>>> Dr Victor Lazzarini
>>>>>>> Senior Lecturer
>>>>>>> NUI Maynooth, Ireland
>>>>>>> victor dot lazzarini at nuim dot ie
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> On 29 Mar 2014, at 16:55, Rory Walsh  wrote:
>>>>>>> 
>>>>>>>> I think Joachim mentioned something about this problem before, but you
>>>>>>>> can see from the instrument below that the prints opcode is sometimes
>>>>>>>> truncating strings. Removing the '.wav' part of the string seems to
>>>>>>>> resolve the issue.
>>>>>>>> 
>>>>>>>> 
>>>>>>>> instr 1
>>>>>>>> iIndex, iDestinationTableLeft, iDestinationTableRight init 0
>>>>>>>> gSfilepath strcpy
>>>>>>>> "/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav"
>>>>>>>> 
>>>>>>>> Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
>>>>>>>> and %d \n", iIndex,
>>>>>>>> "/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav",
>>>>>>>> iDestinationTableLeft, iDestinationTableRight
>>>>>>>> prints Smsg
>>>>>>>> 
>>>>>>>> Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
>>>>>>>> and %d \n", iIndex, gSfilepath, iDestinationTableLeft,
>>>>>>>> iDestinationTableRight
>>>>>>>> prints Smsg
>>>>>>>> endin
>>>>>>>> 
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>> 
>>>>>>> 
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>> 
>>>>>> ------------------------------------------------------------------------------
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> 
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> 
>> 
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-03-30 13:00
Fromjpff
SubjectRe: [Cs-dev] prints issue
Fixed in git
==John ff

On Sat, 29 Mar 2014, Rory Walsh wrote:

> I think Joachim mentioned something about this problem before, but you
> can see from the instrument below that the prints opcode is sometimes
> truncating strings. Removing the '.wav' part of the string seems to
> resolve the issue.
>
>
> instr 1
> iIndex, iDestinationTableLeft, iDestinationTableRight init 0
> gSfilepath strcpy
> "/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav"
>
> Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
> and %d \n", iIndex,
> "/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav",
> iDestinationTableLeft, iDestinationTableRight
> prints Smsg
>
> Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
> and %d \n", iIndex, gSfilepath, iDestinationTableLeft,
> iDestinationTableRight
> prints Smsg
> endin
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-03-30 13:05
FromRory Walsh
SubjectRe: [Cs-dev] prints issue
Nice one John. I was just about to look at it again. Thanks. What was
causing the problem?

On 30 March 2014 13:00, jpff  wrote:
> Fixed in git
> ==John ff
>
> On Sat, 29 Mar 2014, Rory Walsh wrote:
>
>> I think Joachim mentioned something about this problem before, but you
>> can see from the instrument below that the prints opcode is sometimes
>> truncating strings. Removing the '.wav' part of the string seems to
>> resolve the issue.
>>
>>
>> instr 1
>> iIndex, iDestinationTableLeft, iDestinationTableRight init 0
>> gSfilepath strcpy
>> "/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav"
>>
>> Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
>> and %d \n", iIndex,
>> "/home/rory/sourcecode/cabbageaudio/CodeLiteCabbage/Standalone/temp.wav",
>> iDestinationTableLeft, iDestinationTableRight
>> prints Smsg
>>
>> Smsg sprintfk "\nSoundfiler %d is opening %s into function tables %d
>> and %d \n", iIndex, gSfilepath, iDestinationTableLeft,
>> iDestinationTableRight
>> prints Smsg
>> endin
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-03-30 14:03
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] prints issue
AttachmentsNone