Csound Csound-dev Csound-tekno Search About

[Csnd] Performance on iPhone 4

Date2013-02-06 10:48
FromMartin Huenniger
Subject[Csnd] Performance on iPhone 4
Hi list,

I'm still tinkering around with Csound on an iPhone 4. There, I have the following scenario:
25 Samples get buffered into ftables and may be started by user request. The samples are then played back via flooper. This is running quite well but every time a sample gets started there is an audible click (audio dropout) now i wonder if this performance issue may be resolved on this hardware inside Csound by using other opcodes or a different strategy for playing the samples. I thought if the samples are preloaded into an ftable there should be no big computational overhead when starting their playback.

Best,
Martin
_________________________
Martin Hünniger
a_s_tarantoga@yahoo.de
a-s-tarantoga.tumblr.com
soundcloud.com/a_s_tarantoga






Date2013-02-06 12:48
FromVictor Lazzarini
SubjectRe: [Csnd] Performance on iPhone 4
Do you have an amplitude envelope in your instrument? If the click is at the start of the sound, the reason might be just the lack of one.
On 6 Feb 2013, at 10:48, Martin Huenniger wrote:

> Hi list,
> 
> I'm still tinkering around with Csound on an iPhone 4. There, I have the following scenario:
> 25 Samples get buffered into ftables and may be started by user request. The samples are then played back via flooper. This is running quite well but every time a sample gets started there is an audible click (audio dropout) now i wonder if this performance issue may be resolved on this hardware inside Csound by using other opcodes or a different strategy for playing the samples. I thought if the samples are preloaded into an ftable there should be no big computational overhead when starting their playback.
> 
> Best,
> Martin
> _________________________
> Martin Hünniger
> a_s_tarantoga@yahoo.de
> a-s-tarantoga.tumblr.com
> soundcloud.com/a_s_tarantoga
> 
> 
> 
> 
> 
> 
> 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"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-02-06 13:25
FromSteven Yi
SubjectRe: [Csnd] Performance on iPhone 4
Also, have you tested this on Desktop and are there clicks there?  If
so that may give us some clues on how to optimize.

On Wed, Feb 6, 2013 at 12:48 PM, Victor Lazzarini
 wrote:
> Do you have an amplitude envelope in your instrument? If the click is at the start of the sound, the reason might be just the lack of one.
> On 6 Feb 2013, at 10:48, Martin Huenniger wrote:
>
>> Hi list,
>>
>> I'm still tinkering around with Csound on an iPhone 4. There, I have the following scenario:
>> 25 Samples get buffered into ftables and may be started by user request. The samples are then played back via flooper. This is running quite well but every time a sample gets started there is an audible click (audio dropout) now i wonder if this performance issue may be resolved on this hardware inside Csound by using other opcodes or a different strategy for playing the samples. I thought if the samples are preloaded into an ftable there should be no big computational overhead when starting their playback.
>>
>> Best,
>> Martin
>> _________________________
>> Martin Hünniger
>> a_s_tarantoga@yahoo.de
>> a-s-tarantoga.tumblr.com
>> soundcloud.com/a_s_tarantoga
>>
>>
>>
>>
>>
>>
>> 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"
>>
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
>
> 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"
>


Date2013-02-06 15:07
FromMartin Huenniger
SubjectRe: [Csnd] Performance on iPhone 4
Hi Victor,

sorry, forgot to mention that there is an amplitude envelope on the sample players. I think its an performance issue.

Best,
Martin


Am 06.02.2013 um 13:48 schrieb Victor Lazzarini:

> Do you have an amplitude envelope in your instrument? If the click is at the start of the sound, the reason might be just the lack of one.
> On 6 Feb 2013, at 10:48, Martin Huenniger wrote:
> 
>> Hi list,
>> 
>> I'm still tinkering around with Csound on an iPhone 4. There, I have the following scenario:
>> 25 Samples get buffered into ftables and may be started by user request. The samples are then played back via flooper. This is running quite well but every time a sample gets started there is an audible click (audio dropout) now i wonder if this performance issue may be resolved on this hardware inside Csound by using other opcodes or a different strategy for playing the samples. I thought if the samples are preloaded into an ftable there should be no big computational overhead when starting their playback.
>> 
>> Best,
>> Martin
>> _________________________
>> Martin Hünniger
>> a_s_tarantoga@yahoo.de
>> a-s-tarantoga.tumblr.com
>> soundcloud.com/a_s_tarantoga
>> 
>> 
>> 
>> 
>> 
>> 
>> 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"
>> 
> 
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
> 
> 
> 
> 
> 
> 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"
> 

_________________________
Martin Hünniger
a_s_tarantoga@yahoo.de
a-s-tarantoga.tumblr.com
soundcloud.com/a_s_tarantoga






Date2013-02-06 15:09
FromMartin Huenniger
SubjectRe: [Csnd] Performance on iPhone 4
Hi Steven,

On the desktop there are no clicks. There are plans to test the patch on other iPhone-versions, too. But I thought maybe there's a software solution around this problem.

Best,
Martin

Am 06.02.2013 um 14:25 schrieb Steven Yi:

> Also, have you tested this on Desktop and are there clicks there?  If
> so that may give us some clues on how to optimize.
> 
> On Wed, Feb 6, 2013 at 12:48 PM, Victor Lazzarini
>  wrote:
>> Do you have an amplitude envelope in your instrument? If the click is at the start of the sound, the reason might be just the lack of one.
>> On 6 Feb 2013, at 10:48, Martin Huenniger wrote:
>> 
>>> Hi list,
>>> 
>>> I'm still tinkering around with Csound on an iPhone 4. There, I have the following scenario:
>>> 25 Samples get buffered into ftables and may be started by user request. The samples are then played back via flooper. This is running quite well but every time a sample gets started there is an audible click (audio dropout) now i wonder if this performance issue may be resolved on this hardware inside Csound by using other opcodes or a different strategy for playing the samples. I thought if the samples are preloaded into an ftable there should be no big computational overhead when starting their playback.
>>> 
>>> Best,
>>> Martin
>>> _________________________
>>> Martin Hünniger
>>> a_s_tarantoga@yahoo.de
>>> a-s-tarantoga.tumblr.com
>>> soundcloud.com/a_s_tarantoga
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 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"
>>> 
>> 
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>> 
>> 
>> 
>> 
>> 
>> 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"
> 

_________________________
Martin Hünniger
a_s_tarantoga@yahoo.de
a-s-tarantoga.tumblr.com
soundcloud.com/a_s_tarantoga






Date2013-02-06 15:15
FromVictor Lazzarini
SubjectRe: [Csnd] Performance on iPhone 4
Could you share the CSD here for us to take a look?
On 6 Feb 2013, at 15:07, Martin Huenniger wrote:

> Hi Victor,
> 
> sorry, forgot to mention that there is an amplitude envelope on the sample players. I think its an performance issue.
> 
> Best,
> Martin
> 
> 
> Am 06.02.2013 um 13:48 schrieb Victor Lazzarini:
> 
>> Do you have an amplitude envelope in your instrument? If the click is at the start of the sound, the reason might be just the lack of one.
>> On 6 Feb 2013, at 10:48, Martin Huenniger wrote:
>> 
>>> Hi list,
>>> 
>>> I'm still tinkering around with Csound on an iPhone 4. There, I have the following scenario:
>>> 25 Samples get buffered into ftables and may be started by user request. The samples are then played back via flooper. This is running quite well but every time a sample gets started there is an audible click (audio dropout) now i wonder if this performance issue may be resolved on this hardware inside Csound by using other opcodes or a different strategy for playing the samples. I thought if the samples are preloaded into an ftable there should be no big computational overhead when starting their playback.
>>> 
>>> Best,
>>> Martin
>>> _________________________
>>> Martin Hünniger
>>> a_s_tarantoga@yahoo.de
>>> a-s-tarantoga.tumblr.com
>>> soundcloud.com/a_s_tarantoga
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 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"
>>> 
>> 
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>> 
>> 
>> 
>> 
>> 
>> 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"
>> 
> 
> _________________________
> Martin Hünniger
> a_s_tarantoga@yahoo.de
> a-s-tarantoga.tumblr.com
> soundcloud.com/a_s_tarantoga
> 
> 
> 
> 
> 
> 
> 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"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-02-06 16:38
FromMartin Huenniger
SubjectRe: [Csnd] Performance on iPhone 4
Attachmentsiphone.csd  
Here you are:



I think, everything is pretty much straight forward. The score contains at the end some instructions, that would normally be generated by the GUI on the phone and send to Csound by sendScore instructions.


Am 06.02.2013 um 16:15 schrieb Victor Lazzarini:

> Could you share the CSD here for us to take a look?
> On 6 Feb 2013, at 15:07, Martin Huenniger wrote:
> 
>> Hi Victor,
>> 
>> sorry, forgot to mention that there is an amplitude envelope on the sample players. I think its an performance issue.
>> 
>> Best,
>> Martin
>> 
>> 
>> Am 06.02.2013 um 13:48 schrieb Victor Lazzarini:
>> 
>>> Do you have an amplitude envelope in your instrument? If the click is at the start of the sound, the reason might be just the lack of one.
>>> On 6 Feb 2013, at 10:48, Martin Huenniger wrote:
>>> 
>>>> Hi list,
>>>> 
>>>> I'm still tinkering around with Csound on an iPhone 4. There, I have the following scenario:
>>>> 25 Samples get buffered into ftables and may be started by user request. The samples are then played back via flooper. This is running quite well but every time a sample gets started there is an audible click (audio dropout) now i wonder if this performance issue may be resolved on this hardware inside Csound by using other opcodes or a different strategy for playing the samples. I thought if the samples are preloaded into an ftable there should be no big computational overhead when starting their playback.
>>>> 
>>>> Best,
>>>> Martin
>>>> _________________________
>>>> Martin Hünniger
>>>> a_s_tarantoga@yahoo.de
>>>> a-s-tarantoga.tumblr.com
>>>> soundcloud.com/a_s_tarantoga
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 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"
>>>> 
>>> 
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 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"
>>> 
>> 
>> _________________________
>> Martin Hünniger
>> a_s_tarantoga@yahoo.de
>> a-s-tarantoga.tumblr.com
>> soundcloud.com/a_s_tarantoga
>> 
>> 
>> 
>> 
>> 
>> 
>> 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"
>> 
> 
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
> 
> 
> 
> 
> 
> 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"
> 

_________________________
Martin Hünniger
a_s_tarantoga@yahoo.de
a-s-tarantoga.tumblr.com
soundcloud.com/a_s_tarantoga





Date2013-02-06 16:54
FromVictor Lazzarini
SubjectRe: [Csnd] Performance on iPhone 4
I see you are using diskgrain. That one reads from disk, better to use syncgrain reading from a table instead.
Also, is there any reason not to write a single table for all instances to use?
I'm thinking here of

gihann ftgentmp 1, 0, 8192, 20, 2, 1

which could just be

gihann ftgen 1, 0, 8192, 20, 2, 1

in the header, instead of being into an instrument. Similarly, other uses of ftgentmp might be changed.

I can't see the use of flooper anywhere.

Victor

On 6 Feb 2013, at 16:38, Martin Huenniger wrote:

> Here you are:
> 
> 
> 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"
> 
> 
> 
> I think, everything is pretty much straight forward. The score contains at the end some instructions, that would normally be generated by the GUI on the phone and send to Csound by sendScore instructions.
> 
> 
> Am 06.02.2013 um 16:15 schrieb Victor Lazzarini:
> 
>> Could you share the CSD here for us to take a look?
>> On 6 Feb 2013, at 15:07, Martin Huenniger wrote:
>> 
>>> Hi Victor,
>>> 
>>> sorry, forgot to mention that there is an amplitude envelope on the sample players. I think its an performance issue.
>>> 
>>> Best,
>>> Martin
>>> 
>>> 
>>> Am 06.02.2013 um 13:48 schrieb Victor Lazzarini:
>>> 
>>>> Do you have an amplitude envelope in your instrument? If the click is at the start of the sound, the reason might be just the lack of one.
>>>> On 6 Feb 2013, at 10:48, Martin Huenniger wrote:
>>>> 
>>>>> Hi list,
>>>>> 
>>>>> I'm still tinkering around with Csound on an iPhone 4. There, I have the following scenario:
>>>>> 25 Samples get buffered into ftables and may be started by user request. The samples are then played back via flooper. This is running quite well but every time a sample gets started there is an audible click (audio dropout) now i wonder if this performance issue may be resolved on this hardware inside Csound by using other opcodes or a different strategy for playing the samples. I thought if the samples are preloaded into an ftable there should be no big computational overhead when starting their playback.
>>>>> 
>>>>> Best,
>>>>> Martin
>>>>> _________________________
>>>>> Martin Hünniger
>>>>> a_s_tarantoga@yahoo.de
>>>>> a-s-tarantoga.tumblr.com
>>>>> soundcloud.com/a_s_tarantoga
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 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"
>>>>> 
>>>> 
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> Dept. of Music
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 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"
>>>> 
>>> 
>>> _________________________
>>> Martin Hünniger
>>> a_s_tarantoga@yahoo.de
>>> a-s-tarantoga.tumblr.com
>>> soundcloud.com/a_s_tarantoga
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 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"
>>> 
>> 
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>> 
>> 
>> 
>> 
>> 
>> 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"
>> 
> 
> _________________________
> Martin Hünniger
> a_s_tarantoga@yahoo.de
> a-s-tarantoga.tumblr.com
> soundcloud.com/a_s_tarantoga
> 
> 
> 
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-02-06 17:02
FromMartin Huenniger
SubjectRe: [Csnd] Performance on iPhone 4
Attachmentsiphone.csd  
sorry this was the the wrong file! :-( sorry for that! here is the right one:



Most of the ideas you mentioned i realized already, as you can see in the actual version. 

Best,
Martin

Am 06.02.2013 um 17:54 schrieb Victor Lazzarini:

> I see you are using diskgrain. That one reads from disk, better to use syncgrain reading from a table instead.
> Also, is there any reason not to write a single table for all instances to use?
> I'm thinking here of
> 
> gihann ftgentmp 1, 0, 8192, 20, 2, 1
> 
> which could just be
> 
> gihann ftgen 1, 0, 8192, 20, 2, 1
> 
> in the header, instead of being into an instrument. Similarly, other uses of ftgentmp might be changed.
> 
> I can't see the use of flooper anywhere.
> 
> Victor
> 
> On 6 Feb 2013, at 16:38, Martin Huenniger wrote:
> 
>> Here you are:
>> 
>> 
>> 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"
>> 
>> 
>> 
>> I think, everything is pretty much straight forward. The score contains at the end some instructions, that would normally be generated by the GUI on the phone and send to Csound by sendScore instructions.
>> 
>> 
>> Am 06.02.2013 um 16:15 schrieb Victor Lazzarini:
>> 
>>> Could you share the CSD here for us to take a look?
>>> On 6 Feb 2013, at 15:07, Martin Huenniger wrote:
>>> 
>>>> Hi Victor,
>>>> 
>>>> sorry, forgot to mention that there is an amplitude envelope on the sample players. I think its an performance issue.
>>>> 
>>>> Best,
>>>> Martin
>>>> 
>>>> 
>>>> Am 06.02.2013 um 13:48 schrieb Victor Lazzarini:
>>>> 
>>>>> Do you have an amplitude envelope in your instrument? If the click is at the start of the sound, the reason might be just the lack of one.
>>>>> On 6 Feb 2013, at 10:48, Martin Huenniger wrote:
>>>>> 
>>>>>> Hi list,
>>>>>> 
>>>>>> I'm still tinkering around with Csound on an iPhone 4. There, I have the following scenario:
>>>>>> 25 Samples get buffered into ftables and may be started by user request. The samples are then played back via flooper. This is running quite well but every time a sample gets started there is an audible click (audio dropout) now i wonder if this performance issue may be resolved on this hardware inside Csound by using other opcodes or a different strategy for playing the samples. I thought if the samples are preloaded into an ftable there should be no big computational overhead when starting their playback.
>>>>>> 
>>>>>> Best,
>>>>>> Martin
>>>>>> _________________________
>>>>>> Martin Hünniger
>>>>>> a_s_tarantoga@yahoo.de
>>>>>> a-s-tarantoga.tumblr.com
>>>>>> soundcloud.com/a_s_tarantoga
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 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"
>>>>>> 
>>>>> 
>>>>> Dr Victor Lazzarini
>>>>> Senior Lecturer
>>>>> Dept. of Music
>>>>> NUI Maynooth Ireland
>>>>> tel.: +353 1 708 3545
>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 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"
>>>>> 
>>>> 
>>>> _________________________
>>>> Martin Hünniger
>>>> a_s_tarantoga@yahoo.de
>>>> a-s-tarantoga.tumblr.com
>>>> soundcloud.com/a_s_tarantoga
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 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"
>>>> 
>>> 
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 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"
>>> 
>> 
>> _________________________
>> Martin Hünniger
>> a_s_tarantoga@yahoo.de
>> a-s-tarantoga.tumblr.com
>> soundcloud.com/a_s_tarantoga
>> 
>> 
>> 
>> 
> 
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
> 
> 
> 
> 
> 
> 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"
> 

_________________________
Martin Hünniger
a_s_tarantoga@yahoo.de
a-s-tarantoga.tumblr.com
soundcloud.com/a_s_tarantoga





Date2013-02-06 17:09
FromVictor Lazzarini
SubjectRe: [Csnd] Performance on iPhone 4
Try replacing flooper by flooper2. Flooper copies the tables into its own memory space, that might be the problem.

Victor
On 6 Feb 2013, at 17:02, Martin Huenniger wrote:

> sorry this was the the wrong file! :-( sorry for that! here is the right one:
> 
> 
> 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"
> 
> 
> 
> Most of the ideas you mentioned i realized already, as you can see in the actual version. 
> 
> Best,
> Martin
> 
> Am 06.02.2013 um 17:54 schrieb Victor Lazzarini:
> 
>> I see you are using diskgrain. That one reads from disk, better to use syncgrain reading from a table instead.
>> Also, is there any reason not to write a single table for all instances to use?
>> I'm thinking here of
>> 
>> gihann ftgentmp 1, 0, 8192, 20, 2, 1
>> 
>> which could just be
>> 
>> gihann ftgen 1, 0, 8192, 20, 2, 1
>> 
>> in the header, instead of being into an instrument. Similarly, other uses of ftgentmp might be changed.
>> 
>> I can't see the use of flooper anywhere.
>> 
>> Victor
>> 
>> On 6 Feb 2013, at 16:38, Martin Huenniger wrote:
>> 
>>> Here you are:
>>> 
>>> 
>>> 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"
>>> 
>>> 
>>> 
>>> I think, everything is pretty much straight forward. The score contains at the end some instructions, that would normally be generated by the GUI on the phone and send to Csound by sendScore instructions.
>>> 
>>> 
>>> Am 06.02.2013 um 16:15 schrieb Victor Lazzarini:
>>> 
>>>> Could you share the CSD here for us to take a look?
>>>> On 6 Feb 2013, at 15:07, Martin Huenniger wrote:
>>>> 
>>>>> Hi Victor,
>>>>> 
>>>>> sorry, forgot to mention that there is an amplitude envelope on the sample players. I think its an performance issue.
>>>>> 
>>>>> Best,
>>>>> Martin
>>>>> 
>>>>> 
>>>>> Am 06.02.2013 um 13:48 schrieb Victor Lazzarini:
>>>>> 
>>>>>> Do you have an amplitude envelope in your instrument? If the click is at the start of the sound, the reason might be just the lack of one.
>>>>>> On 6 Feb 2013, at 10:48, Martin Huenniger wrote:
>>>>>> 
>>>>>>> Hi list,
>>>>>>> 
>>>>>>> I'm still tinkering around with Csound on an iPhone 4. There, I have the following scenario:
>>>>>>> 25 Samples get buffered into ftables and may be started by user request. The samples are then played back via flooper. This is running quite well but every time a sample gets started there is an audible click (audio dropout) now i wonder if this performance issue may be resolved on this hardware inside Csound by using other opcodes or a different strategy for playing the samples. I thought if the samples are preloaded into an ftable there should be no big computational overhead when starting their playback.
>>>>>>> 
>>>>>>> Best,
>>>>>>> Martin
>>>>>>> _________________________
>>>>>>> Martin Hünniger
>>>>>>> a_s_tarantoga@yahoo.de
>>>>>>> a-s-tarantoga.tumblr.com
>>>>>>> soundcloud.com/a_s_tarantoga
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 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"
>>>>>>> 
>>>>>> 
>>>>>> Dr Victor Lazzarini
>>>>>> Senior Lecturer
>>>>>> Dept. of Music
>>>>>> NUI Maynooth Ireland
>>>>>> tel.: +353 1 708 3545
>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 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"
>>>>>> 
>>>>> 
>>>>> _________________________
>>>>> Martin Hünniger
>>>>> a_s_tarantoga@yahoo.de
>>>>> a-s-tarantoga.tumblr.com
>>>>> soundcloud.com/a_s_tarantoga
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 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"
>>>>> 
>>>> 
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> Dept. of Music
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 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"
>>>> 
>>> 
>>> _________________________
>>> Martin Hünniger
>>> a_s_tarantoga@yahoo.de
>>> a-s-tarantoga.tumblr.com
>>> soundcloud.com/a_s_tarantoga
>>> 
>>> 
>>> 
>>> 
>> 
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>> 
>> 
>> 
>> 
>> 
>> 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"
>> 
> 
> _________________________
> Martin Hünniger
> a_s_tarantoga@yahoo.de
> a-s-tarantoga.tumblr.com
> soundcloud.com/a_s_tarantoga
> 
> 
> 
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-02-06 18:12
FromMartin Huenniger
SubjectRe: [Csnd] Performance on iPhone 4
Ah!! that might be a good idea. I'll try it out

Thank you, Victor!

Best,
Martin

Am 06.02.2013 um 18:09 schrieb Victor Lazzarini:

> Try replacing flooper by flooper2. Flooper copies the tables into its own memory space, that might be the problem.
> 
> Victor
> On 6 Feb 2013, at 17:02, Martin Huenniger wrote:
> 
>> sorry this was the the wrong file! :-( sorry for that! here is the right one:
>> 
>> 
>> 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"
>> 
>> 
>> 
>> Most of the ideas you mentioned i realized already, as you can see in the actual version. 
>> 
>> Best,
>> Martin
>> 
>> Am 06.02.2013 um 17:54 schrieb Victor Lazzarini:
>> 
>>> I see you are using diskgrain. That one reads from disk, better to use syncgrain reading from a table instead.
>>> Also, is there any reason not to write a single table for all instances to use?
>>> I'm thinking here of
>>> 
>>> gihann ftgentmp 1, 0, 8192, 20, 2, 1
>>> 
>>> which could just be
>>> 
>>> gihann ftgen 1, 0, 8192, 20, 2, 1
>>> 
>>> in the header, instead of being into an instrument. Similarly, other uses of ftgentmp might be changed.
>>> 
>>> I can't see the use of flooper anywhere.
>>> 
>>> Victor
>>> 
>>> On 6 Feb 2013, at 16:38, Martin Huenniger wrote:
>>> 
>>>> Here you are:
>>>> 
>>>> 
>>>> 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"
>>>> 
>>>> 
>>>> 
>>>> I think, everything is pretty much straight forward. The score contains at the end some instructions, that would normally be generated by the GUI on the phone and send to Csound by sendScore instructions.
>>>> 
>>>> 
>>>> Am 06.02.2013 um 16:15 schrieb Victor Lazzarini:
>>>> 
>>>>> Could you share the CSD here for us to take a look?
>>>>> On 6 Feb 2013, at 15:07, Martin Huenniger wrote:
>>>>> 
>>>>>> Hi Victor,
>>>>>> 
>>>>>> sorry, forgot to mention that there is an amplitude envelope on the sample players. I think its an performance issue.
>>>>>> 
>>>>>> Best,
>>>>>> Martin
>>>>>> 
>>>>>> 
>>>>>> Am 06.02.2013 um 13:48 schrieb Victor Lazzarini:
>>>>>> 
>>>>>>> Do you have an amplitude envelope in your instrument? If the click is at the start of the sound, the reason might be just the lack of one.
>>>>>>> On 6 Feb 2013, at 10:48, Martin Huenniger wrote:
>>>>>>> 
>>>>>>>> Hi list,
>>>>>>>> 
>>>>>>>> I'm still tinkering around with Csound on an iPhone 4. There, I have the following scenario:
>>>>>>>> 25 Samples get buffered into ftables and may be started by user request. The samples are then played back via flooper. This is running quite well but every time a sample gets started there is an audible click (audio dropout) now i wonder if this performance issue may be resolved on this hardware inside Csound by using other opcodes or a different strategy for playing the samples. I thought if the samples are preloaded into an ftable there should be no big computational overhead when starting their playback.
>>>>>>>> 
>>>>>>>> Best,
>>>>>>>> Martin
>>>>>>>> _________________________
>>>>>>>> Martin Hünniger
>>>>>>>> a_s_tarantoga@yahoo.de
>>>>>>>> a-s-tarantoga.tumblr.com
>>>>>>>> soundcloud.com/a_s_tarantoga
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 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"
>>>>>>>> 
>>>>>>> 
>>>>>>> Dr Victor Lazzarini
>>>>>>> Senior Lecturer
>>>>>>> Dept. of Music
>>>>>>> NUI Maynooth Ireland
>>>>>>> tel.: +353 1 708 3545
>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 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"
>>>>>>> 
>>>>>> 
>>>>>> _________________________
>>>>>> Martin Hünniger
>>>>>> a_s_tarantoga@yahoo.de
>>>>>> a-s-tarantoga.tumblr.com
>>>>>> soundcloud.com/a_s_tarantoga
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 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"
>>>>>> 
>>>>> 
>>>>> Dr Victor Lazzarini
>>>>> Senior Lecturer
>>>>> Dept. of Music
>>>>> NUI Maynooth Ireland
>>>>> tel.: +353 1 708 3545
>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 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"
>>>>> 
>>>> 
>>>> _________________________
>>>> Martin Hünniger
>>>> a_s_tarantoga@yahoo.de
>>>> a-s-tarantoga.tumblr.com
>>>> soundcloud.com/a_s_tarantoga
>>>> 
>>>> 
>>>> 
>>>> 
>>> 
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 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"
>>> 
>> 
>> _________________________
>> Martin Hünniger
>> a_s_tarantoga@yahoo.de
>> a-s-tarantoga.tumblr.com
>> soundcloud.com/a_s_tarantoga
>> 
>> 
>> 
>> 
> 
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
> 
> 
> 
> 
> 
> 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"
> 

_________________________
Martin Hünniger
a_s_tarantoga@yahoo.de
a-s-tarantoga.tumblr.com
soundcloud.com/a_s_tarantoga






Date2013-02-06 18:27
FromMartin Huenniger
SubjectRe: [Csnd] Performance on iPhone 4
Hi Victor,

it works nicely! Thanks for the help.

Best,
Martin

Am 06.02.2013 um 18:09 schrieb Victor Lazzarini:

> Try replacing flooper by flooper2. Flooper copies the tables into its own memory space, that might be the problem.
> 
> Victor
> On 6 Feb 2013, at 17:02, Martin Huenniger wrote:
> 
>> sorry this was the the wrong file! :-( sorry for that! here is the right one:
>> 
>> 
>> 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"
>> 
>> 
>> 
>> Most of the ideas you mentioned i realized already, as you can see in the actual version. 
>> 
>> Best,
>> Martin
>> 
>> Am 06.02.2013 um 17:54 schrieb Victor Lazzarini:
>> 
>>> I see you are using diskgrain. That one reads from disk, better to use syncgrain reading from a table instead.
>>> Also, is there any reason not to write a single table for all instances to use?
>>> I'm thinking here of
>>> 
>>> gihann ftgentmp 1, 0, 8192, 20, 2, 1
>>> 
>>> which could just be
>>> 
>>> gihann ftgen 1, 0, 8192, 20, 2, 1
>>> 
>>> in the header, instead of being into an instrument. Similarly, other uses of ftgentmp might be changed.
>>> 
>>> I can't see the use of flooper anywhere.
>>> 
>>> Victor
>>> 
>>> On 6 Feb 2013, at 16:38, Martin Huenniger wrote:
>>> 
>>>> Here you are:
>>>> 
>>>> 
>>>> 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"
>>>> 
>>>> 
>>>> 
>>>> I think, everything is pretty much straight forward. The score contains at the end some instructions, that would normally be generated by the GUI on the phone and send to Csound by sendScore instructions.
>>>> 
>>>> 
>>>> Am 06.02.2013 um 16:15 schrieb Victor Lazzarini:
>>>> 
>>>>> Could you share the CSD here for us to take a look?
>>>>> On 6 Feb 2013, at 15:07, Martin Huenniger wrote:
>>>>> 
>>>>>> Hi Victor,
>>>>>> 
>>>>>> sorry, forgot to mention that there is an amplitude envelope on the sample players. I think its an performance issue.
>>>>>> 
>>>>>> Best,
>>>>>> Martin
>>>>>> 
>>>>>> 
>>>>>> Am 06.02.2013 um 13:48 schrieb Victor Lazzarini:
>>>>>> 
>>>>>>> Do you have an amplitude envelope in your instrument? If the click is at the start of the sound, the reason might be just the lack of one.
>>>>>>> On 6 Feb 2013, at 10:48, Martin Huenniger wrote:
>>>>>>> 
>>>>>>>> Hi list,
>>>>>>>> 
>>>>>>>> I'm still tinkering around with Csound on an iPhone 4. There, I have the following scenario:
>>>>>>>> 25 Samples get buffered into ftables and may be started by user request. The samples are then played back via flooper. This is running quite well but every time a sample gets started there is an audible click (audio dropout) now i wonder if this performance issue may be resolved on this hardware inside Csound by using other opcodes or a different strategy for playing the samples. I thought if the samples are preloaded into an ftable there should be no big computational overhead when starting their playback.
>>>>>>>> 
>>>>>>>> Best,
>>>>>>>> Martin
>>>>>>>> _________________________
>>>>>>>> Martin Hünniger
>>>>>>>> a_s_tarantoga@yahoo.de
>>>>>>>> a-s-tarantoga.tumblr.com
>>>>>>>> soundcloud.com/a_s_tarantoga
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 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"
>>>>>>>> 
>>>>>>> 
>>>>>>> Dr Victor Lazzarini
>>>>>>> Senior Lecturer
>>>>>>> Dept. of Music
>>>>>>> NUI Maynooth Ireland
>>>>>>> tel.: +353 1 708 3545
>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 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"
>>>>>>> 
>>>>>> 
>>>>>> _________________________
>>>>>> Martin Hünniger
>>>>>> a_s_tarantoga@yahoo.de
>>>>>> a-s-tarantoga.tumblr.com
>>>>>> soundcloud.com/a_s_tarantoga
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 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"
>>>>>> 
>>>>> 
>>>>> Dr Victor Lazzarini
>>>>> Senior Lecturer
>>>>> Dept. of Music
>>>>> NUI Maynooth Ireland
>>>>> tel.: +353 1 708 3545
>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 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"
>>>>> 
>>>> 
>>>> _________________________
>>>> Martin Hünniger
>>>> a_s_tarantoga@yahoo.de
>>>> a-s-tarantoga.tumblr.com
>>>> soundcloud.com/a_s_tarantoga
>>>> 
>>>> 
>>>> 
>>>> 
>>> 
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 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"
>>> 
>> 
>> _________________________
>> Martin Hünniger
>> a_s_tarantoga@yahoo.de
>> a-s-tarantoga.tumblr.com
>> soundcloud.com/a_s_tarantoga
>> 
>> 
>> 
>> 
> 
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
> 
> 
> 
> 
> 
> 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"
> 

_________________________
Martin Hünniger
a_s_tarantoga@yahoo.de
a-s-tarantoga.tumblr.com
soundcloud.com/a_s_tarantoga






Date2013-02-07 00:54
FromMartin Huenniger
SubjectRe: [Csnd] Performance on iPhone 4
Hi Victor,

flooper2 works fine but it has one dawback: It won't accept negative pitches. Is there some possibility to have the memory management of flooper2 with the functionality of flooper? I'd like to do scratch-effects, so an if statement to distinguish between forward and backward running samples is no option... Would it be necessary to build an opcode to achieve this? 

Best,
Martin

Am 06.02.2013 um 19:27 schrieb Martin Huenniger:

> Hi Victor,
> 
> it works nicely! Thanks for the help.
> 
> Best,
> Martin
> 
> Am 06.02.2013 um 18:09 schrieb Victor Lazzarini:
> 
>> Try replacing flooper by flooper2. Flooper copies the tables into its own memory space, that might be the problem.
>> 
>> Victor
>> On 6 Feb 2013, at 17:02, Martin Huenniger wrote:
>> 
>>> sorry this was the the wrong file! :-( sorry for that! here is the right one:
>>> 
>>> 
>>> 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"
>>> 
>>> 
>>> 
>>> Most of the ideas you mentioned i realized already, as you can see in the actual version. 
>>> 
>>> Best,
>>> Martin
>>> 
>>> Am 06.02.2013 um 17:54 schrieb Victor Lazzarini:
>>> 
>>>> I see you are using diskgrain. That one reads from disk, better to use syncgrain reading from a table instead.
>>>> Also, is there any reason not to write a single table for all instances to use?
>>>> I'm thinking here of
>>>> 
>>>> gihann ftgentmp 1, 0, 8192, 20, 2, 1
>>>> 
>>>> which could just be
>>>> 
>>>> gihann ftgen 1, 0, 8192, 20, 2, 1
>>>> 
>>>> in the header, instead of being into an instrument. Similarly, other uses of ftgentmp might be changed.
>>>> 
>>>> I can't see the use of flooper anywhere.
>>>> 
>>>> Victor
>>>> 
>>>> On 6 Feb 2013, at 16:38, Martin Huenniger wrote:
>>>> 
>>>>> Here you are:
>>>>> 
>>>>> 
>>>>> 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"
>>>>> 
>>>>> 
>>>>> 
>>>>> I think, everything is pretty much straight forward. The score contains at the end some instructions, that would normally be generated by the GUI on the phone and send to Csound by sendScore instructions.
>>>>> 
>>>>> 
>>>>> Am 06.02.2013 um 16:15 schrieb Victor Lazzarini:
>>>>> 
>>>>>> Could you share the CSD here for us to take a look?
>>>>>> On 6 Feb 2013, at 15:07, Martin Huenniger wrote:
>>>>>> 
>>>>>>> Hi Victor,
>>>>>>> 
>>>>>>> sorry, forgot to mention that there is an amplitude envelope on the sample players. I think its an performance issue.
>>>>>>> 
>>>>>>> Best,
>>>>>>> Martin
>>>>>>> 
>>>>>>> 
>>>>>>> Am 06.02.2013 um 13:48 schrieb Victor Lazzarini:
>>>>>>> 
>>>>>>>> Do you have an amplitude envelope in your instrument? If the click is at the start of the sound, the reason might be just the lack of one.
>>>>>>>> On 6 Feb 2013, at 10:48, Martin Huenniger wrote:
>>>>>>>> 
>>>>>>>>> Hi list,
>>>>>>>>> 
>>>>>>>>> I'm still tinkering around with Csound on an iPhone 4. There, I have the following scenario:
>>>>>>>>> 25 Samples get buffered into ftables and may be started by user request. The samples are then played back via flooper. This is running quite well but every time a sample gets started there is an audible click (audio dropout) now i wonder if this performance issue may be resolved on this hardware inside Csound by using other opcodes or a different strategy for playing the samples. I thought if the samples are preloaded into an ftable there should be no big computational overhead when starting their playback.
>>>>>>>>> 
>>>>>>>>> Best,
>>>>>>>>> Martin
>>>>>>>>> _________________________
>>>>>>>>> Martin Hünniger
>>>>>>>>> a_s_tarantoga@yahoo.de
>>>>>>>>> a-s-tarantoga.tumblr.com
>>>>>>>>> soundcloud.com/a_s_tarantoga
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 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"
>>>>>>>>> 
>>>>>>>> 
>>>>>>>> Dr Victor Lazzarini
>>>>>>>> Senior Lecturer
>>>>>>>> Dept. of Music
>>>>>>>> NUI Maynooth Ireland
>>>>>>>> tel.: +353 1 708 3545
>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 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"
>>>>>>>> 
>>>>>>> 
>>>>>>> _________________________
>>>>>>> Martin Hünniger
>>>>>>> a_s_tarantoga@yahoo.de
>>>>>>> a-s-tarantoga.tumblr.com
>>>>>>> soundcloud.com/a_s_tarantoga
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 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"
>>>>>>> 
>>>>>> 
>>>>>> Dr Victor Lazzarini
>>>>>> Senior Lecturer
>>>>>> Dept. of Music
>>>>>> NUI Maynooth Ireland
>>>>>> tel.: +353 1 708 3545
>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 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"
>>>>>> 
>>>>> 
>>>>> _________________________
>>>>> Martin Hünniger
>>>>> a_s_tarantoga@yahoo.de
>>>>> a-s-tarantoga.tumblr.com
>>>>> soundcloud.com/a_s_tarantoga
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>> 
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> Dept. of Music
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 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"
>>>> 
>>> 
>>> _________________________
>>> Martin Hünniger
>>> a_s_tarantoga@yahoo.de
>>> a-s-tarantoga.tumblr.com
>>> soundcloud.com/a_s_tarantoga
>>> 
>>> 
>>> 
>>> 
>> 
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>> 
>> 
>> 
>> 
>> 
>> 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"
>> 
> 
> _________________________
> Martin Hünniger
> a_s_tarantoga@yahoo.de
> a-s-tarantoga.tumblr.com
> soundcloud.com/a_s_tarantoga
> 
> 
> 
> 
> 
> 
> 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"
> 

_________________________
Martin Hünniger
a_s_tarantoga@yahoo.de
a-s-tarantoga.tumblr.com
soundcloud.com/a_s_tarantoga






Date2013-02-07 07:09
FromVictor
SubjectRe: [Csnd] Performance on iPhone 4
I guess flooper2 was not designed for that. Did you try syncgrain or syncloop?

Victor
On 7 Feb 2013, at 00:54, Martin Huenniger  wrote:

> Hi Victor,
> 
> flooper2 works fine but it has one dawback: It won't accept negative pitches. Is there some possibility to have the memory management of flooper2 with the functionality of flooper? I'd like to do scratch-effects, so an if statement to distinguish between forward and backward running samples is no option... Would it be necessary to build an opcode to achieve this? 
> 
> Best,
> Martin
> 
> Am 06.02.2013 um 19:27 schrieb Martin Huenniger:
> 
>> Hi Victor,
>> 
>> it works nicely! Thanks for the help.
>> 
>> Best,
>> Martin
>> 
>> Am 06.02.2013 um 18:09 schrieb Victor Lazzarini:
>> 
>>> Try replacing flooper by flooper2. Flooper copies the tables into its own memory space, that might be the problem.
>>> 
>>> Victor
>>> On 6 Feb 2013, at 17:02, Martin Huenniger wrote:
>>> 
>>>> sorry this was the the wrong file! :-( sorry for that! here is the right one:
>>>> 
>>>> 
>>>> 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"
>>>> 
>>>> 


Date2013-02-07 08:27
Fromjoachim heintz
SubjectRe: [Csnd] Performance on iPhone 4
maybe you can use this UDO ...
http://www.csounds.com/udo/displayOpcode.php?opcode_id=83 (mono)
http://www.csounds.com/udo/displayOpcode.php?opcode_id=84 (stereo)
... or even build a simplified version if this is too complicated?

one of my students worked with it and the performance was fine.

best -

	joachim



Am 07.02.2013 01:54, schrieb Martin Huenniger:
> Hi Victor,
>
> flooper2 works fine but it has one dawback: It won't accept negative pitches. Is there some possibility to have the memory management of flooper2 with the functionality of flooper? I'd like to do scratch-effects, so an if statement to distinguish between forward and backward running samples is no option... Would it be necessary to build an opcode to achieve this?
>
> Best,
> Martin
>
> Am 06.02.2013 um 19:27 schrieb Martin Huenniger:
>
>> Hi Victor,
>>
>> it works nicely! Thanks for the help.
>>
>> Best,
>> Martin
>>
>> Am 06.02.2013 um 18:09 schrieb Victor Lazzarini:
>>
>>> Try replacing flooper by flooper2. Flooper copies the tables into its own memory space, that might be the problem.
>>>
>>> Victor
>>> On 6 Feb 2013, at 17:02, Martin Huenniger wrote:
>>>
>>>> sorry this was the the wrong file! :-( sorry for that! here is the right one:
>>>>
>>>>
>>>> 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"
>>>>
>>>> 
>>>>
>>>> Most of the ideas you mentioned i realized already, as you can see in the actual version.
>>>>
>>>> Best,
>>>> Martin
>>>>
>>>> Am 06.02.2013 um 17:54 schrieb Victor Lazzarini:
>>>>
>>>>> I see you are using diskgrain. That one reads from disk, better to use syncgrain reading from a table instead.
>>>>> Also, is there any reason not to write a single table for all instances to use?
>>>>> I'm thinking here of
>>>>>
>>>>> gihann ftgentmp 1, 0, 8192, 20, 2, 1
>>>>>
>>>>> which could just be
>>>>>
>>>>> gihann ftgen 1, 0, 8192, 20, 2, 1
>>>>>
>>>>> in the header, instead of being into an instrument. Similarly, other uses of ftgentmp might be changed.
>>>>>
>>>>> I can't see the use of flooper anywhere.
>>>>>
>>>>> Victor
>>>>>
>>>>> On 6 Feb 2013, at 16:38, Martin Huenniger wrote:
>>>>>
>>>>>> Here you are:
>>>>>>
>>>>>>
>>>>>> 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"
>>>>>>
>>>>>> 
>>>>>>
>>>>>> I think, everything is pretty much straight forward. The score contains at the end some instructions, that would normally be generated by the GUI on the phone and send to Csound by sendScore instructions.
>>>>>>
>>>>>>
>>>>>> Am 06.02.2013 um 16:15 schrieb Victor Lazzarini:
>>>>>>
>>>>>>> Could you share the CSD here for us to take a look?
>>>>>>> On 6 Feb 2013, at 15:07, Martin Huenniger wrote:
>>>>>>>
>>>>>>>> Hi Victor,
>>>>>>>>
>>>>>>>> sorry, forgot to mention that there is an amplitude envelope on the sample players. I think its an performance issue.
>>>>>>>>
>>>>>>>> Best,
>>>>>>>> Martin
>>>>>>>>
>>>>>>>>
>>>>>>>> Am 06.02.2013 um 13:48 schrieb Victor Lazzarini:
>>>>>>>>
>>>>>>>>> Do you have an amplitude envelope in your instrument? If the click is at the start of the sound, the reason might be just the lack of one.
>>>>>>>>> On 6 Feb 2013, at 10:48, Martin Huenniger wrote:
>>>>>>>>>
>>>>>>>>>> Hi list,
>>>>>>>>>>
>>>>>>>>>> I'm still tinkering around with Csound on an iPhone 4. There, I have the following scenario:
>>>>>>>>>> 25 Samples get buffered into ftables and may be started by user request. The samples are then played back via flooper. This is running quite well but every time a sample gets started there is an audible click (audio dropout) now i wonder if this performance issue may be resolved on this hardware inside Csound by using other opcodes or a different strategy for playing the samples. I thought if the samples are preloaded into an ftable there should be no big computational overhead when starting their playback.
>>>>>>>>>>
>>>>>>>>>> Best,
>>>>>>>>>> Martin
>>>>>>>>>> _________________________
>>>>>>>>>> Martin Hünniger
>>>>>>>>>> a_s_tarantoga@yahoo.de
>>>>>>>>>> a-s-tarantoga.tumblr.com
>>>>>>>>>> soundcloud.com/a_s_tarantoga
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> 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"
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>> Senior Lecturer
>>>>>>>>> Dept. of Music
>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 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"
>>>>>>>>>
>>>>>>>>
>>>>>>>> _________________________
>>>>>>>> Martin Hünniger
>>>>>>>> a_s_tarantoga@yahoo.de
>>>>>>>> a-s-tarantoga.tumblr.com
>>>>>>>> soundcloud.com/a_s_tarantoga
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> 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"
>>>>>>>>
>>>>>>>
>>>>>>> Dr Victor Lazzarini
>>>>>>> Senior Lecturer
>>>>>>> Dept. of Music
>>>>>>> NUI Maynooth Ireland
>>>>>>> tel.: +353 1 708 3545
>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> 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"
>>>>>>>
>>>>>>
>>>>>> _________________________
>>>>>> Martin Hünniger
>>>>>> a_s_tarantoga@yahoo.de
>>>>>> a-s-tarantoga.tumblr.com
>>>>>> soundcloud.com/a_s_tarantoga
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> Dr Victor Lazzarini
>>>>> Senior Lecturer
>>>>> Dept. of Music
>>>>> NUI Maynooth Ireland
>>>>> tel.: +353 1 708 3545
>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> 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"
>>>>>
>>>>
>>>> _________________________
>>>> Martin Hünniger
>>>> a_s_tarantoga@yahoo.de
>>>> a-s-tarantoga.tumblr.com
>>>> soundcloud.com/a_s_tarantoga
>>>>
>>>>
>>>>
>>>>
>>>
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>>
>>>
>>> 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"
>>>
>>
>> _________________________
>> Martin Hünniger
>> a_s_tarantoga@yahoo.de
>> a-s-tarantoga.tumblr.com
>> soundcloud.com/a_s_tarantoga
>>
>>
>>
>>
>>
>>
>> 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"
>>
>
> _________________________
> Martin Hünniger
> a_s_tarantoga@yahoo.de
> a-s-tarantoga.tumblr.com
> soundcloud.com/a_s_tarantoga
>
>
>
>
>
>
> 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"
>
>

Date2013-02-07 13:09
FromMartin Huenniger
SubjectRe: [Csnd] Performance on iPhone 4
I'll try both options, the syncloop and the UDO

Thank you
Martin

Am 07.02.2013 um 09:27 schrieb joachim heintz:

> maybe you can use this UDO ...
> http://www.csounds.com/udo/displayOpcode.php?opcode_id=83 (mono)
> http://www.csounds.com/udo/displayOpcode.php?opcode_id=84 (stereo)
> ... or even build a simplified version if this is too complicated?
> 
> one of my students worked with it and the performance was fine.
> 
> best -
> 
> 	joachim
> 
> 
> 
> Am 07.02.2013 01:54, schrieb Martin Huenniger:
>> Hi Victor,
>> 
>> flooper2 works fine but it has one dawback: It won't accept negative pitches. Is there some possibility to have the memory management of flooper2 with the functionality of flooper? I'd like to do scratch-effects, so an if statement to distinguish between forward and backward running samples is no option... Would it be necessary to build an opcode to achieve this?
>> 
>> Best,
>> Martin
>> 
>> Am 06.02.2013 um 19:27 schrieb Martin Huenniger:
>> 
>>> Hi Victor,
>>> 
>>> it works nicely! Thanks for the help.
>>> 
>>> Best,
>>> Martin
>>> 
>>> Am 06.02.2013 um 18:09 schrieb Victor Lazzarini:
>>> 
>>>> Try replacing flooper by flooper2. Flooper copies the tables into its own memory space, that might be the problem.
>>>> 
>>>> Victor
>>>> On 6 Feb 2013, at 17:02, Martin Huenniger wrote:
>>>> 
>>>>> sorry this was the the wrong file! :-( sorry for that! here is the right one:
>>>>> 
>>>>> 
>>>>> 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"
>>>>> 
>>>>> 
>>>>> 
>>>>> Most of the ideas you mentioned i realized already, as you can see in the actual version.
>>>>> 
>>>>> Best,
>>>>> Martin
>>>>> 
>>>>> Am 06.02.2013 um 17:54 schrieb Victor Lazzarini:
>>>>> 
>>>>>> I see you are using diskgrain. That one reads from disk, better to use syncgrain reading from a table instead.
>>>>>> Also, is there any reason not to write a single table for all instances to use?
>>>>>> I'm thinking here of
>>>>>> 
>>>>>> gihann ftgentmp 1, 0, 8192, 20, 2, 1
>>>>>> 
>>>>>> which could just be
>>>>>> 
>>>>>> gihann ftgen 1, 0, 8192, 20, 2, 1
>>>>>> 
>>>>>> in the header, instead of being into an instrument. Similarly, other uses of ftgentmp might be changed.
>>>>>> 
>>>>>> I can't see the use of flooper anywhere.
>>>>>> 
>>>>>> Victor
>>>>>> 
>>>>>> On 6 Feb 2013, at 16:38, Martin Huenniger wrote:
>>>>>> 
>>>>>>> Here you are:
>>>>>>> 
>>>>>>> 
>>>>>>> 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"
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> I think, everything is pretty much straight forward. The score contains at the end some instructions, that would normally be generated by the GUI on the phone and send to Csound by sendScore instructions.
>>>>>>> 
>>>>>>> 
>>>>>>> Am 06.02.2013 um 16:15 schrieb Victor Lazzarini:
>>>>>>> 
>>>>>>>> Could you share the CSD here for us to take a look?
>>>>>>>> On 6 Feb 2013, at 15:07, Martin Huenniger wrote:
>>>>>>>> 
>>>>>>>>> Hi Victor,
>>>>>>>>> 
>>>>>>>>> sorry, forgot to mention that there is an amplitude envelope on the sample players. I think its an performance issue.
>>>>>>>>> 
>>>>>>>>> Best,
>>>>>>>>> Martin
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> Am 06.02.2013 um 13:48 schrieb Victor Lazzarini:
>>>>>>>>> 
>>>>>>>>>> Do you have an amplitude envelope in your instrument? If the click is at the start of the sound, the reason might be just the lack of one.
>>>>>>>>>> On 6 Feb 2013, at 10:48, Martin Huenniger wrote:
>>>>>>>>>> 
>>>>>>>>>>> Hi list,
>>>>>>>>>>> 
>>>>>>>>>>> I'm still tinkering around with Csound on an iPhone 4. There, I have the following scenario:
>>>>>>>>>>> 25 Samples get buffered into ftables and may be started by user request. The samples are then played back via flooper. This is running quite well but every time a sample gets started there is an audible click (audio dropout) now i wonder if this performance issue may be resolved on this hardware inside Csound by using other opcodes or a different strategy for playing the samples. I thought if the samples are preloaded into an ftable there should be no big computational overhead when starting their playback.
>>>>>>>>>>> 
>>>>>>>>>>> Best,
>>>>>>>>>>> Martin
>>>>>>>>>>> _________________________
>>>>>>>>>>> Martin Hünniger
>>>>>>>>>>> a_s_tarantoga@yahoo.de
>>>>>>>>>>> a-s-tarantoga.tumblr.com
>>>>>>>>>>> soundcloud.com/a_s_tarantoga
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 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"
>>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>> Senior Lecturer
>>>>>>>>>> Dept. of Music
>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 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"
>>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> _________________________
>>>>>>>>> Martin Hünniger
>>>>>>>>> a_s_tarantoga@yahoo.de
>>>>>>>>> a-s-tarantoga.tumblr.com
>>>>>>>>> soundcloud.com/a_s_tarantoga
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 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"
>>>>>>>>> 
>>>>>>>> 
>>>>>>>> Dr Victor Lazzarini
>>>>>>>> Senior Lecturer
>>>>>>>> Dept. of Music
>>>>>>>> NUI Maynooth Ireland
>>>>>>>> tel.: +353 1 708 3545
>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 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"
>>>>>>>> 
>>>>>>> 
>>>>>>> _________________________
>>>>>>> Martin Hünniger
>>>>>>> a_s_tarantoga@yahoo.de
>>>>>>> a-s-tarantoga.tumblr.com
>>>>>>> soundcloud.com/a_s_tarantoga
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>>> Dr Victor Lazzarini
>>>>>> Senior Lecturer
>>>>>> Dept. of Music
>>>>>> NUI Maynooth Ireland
>>>>>> tel.: +353 1 708 3545
>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 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"
>>>>>> 
>>>>> 
>>>>> _________________________
>>>>> Martin Hünniger
>>>>> a_s_tarantoga@yahoo.de
>>>>> a-s-tarantoga.tumblr.com
>>>>> soundcloud.com/a_s_tarantoga
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>> 
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> Dept. of Music
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 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"
>>>> 
>>> 
>>> _________________________
>>> Martin Hünniger
>>> a_s_tarantoga@yahoo.de
>>> a-s-tarantoga.tumblr.com
>>> soundcloud.com/a_s_tarantoga
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 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"
>>> 
>> 
>> _________________________
>> Martin Hünniger
>> a_s_tarantoga@yahoo.de
>> a-s-tarantoga.tumblr.com
>> soundcloud.com/a_s_tarantoga
>> 
>> 
>> 
>> 
>> 
>> 
>> 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"
> 

_________________________
Martin Hünniger
a_s_tarantoga@yahoo.de
a-s-tarantoga.tumblr.com
soundcloud.com/a_s_tarantoga