Csound Csound-dev Csound-tekno Search About

[Csnd] Editing Opcodes

Date2012-12-11 10:56
FromDave Mooney
Subject[Csnd] Editing Opcodes
Hi I'm wondering if editing parts of existing opcodes is possible? 

I ask because there's been a couple of times over the past year or two where
there's been an opcode that does exactly what I need except for say one or
two things (e.g. Temposcal doesn't use a time pointer). I was thinking it
might be easier to edit the existing opcode rather than find a work around.
Is this really involved or straightforward? is this something that should be
avoided or is this done quite often?

Any thoughts? Thanks a mill!






--
View this message in context: http://csound.1045644.n5.nabble.com/Editing-Opcodes-tp5718724.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2012-12-11 11:16
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] Editing Opcodes
As a general rule if an opcode can me extended to do more with just
optional args then it should be changed in the main sources.
If an opcode can be improved but needs additional args, then a new opcode
with similsar name should be incorporated

At least that has been my guiding principal.

I woud prefer to make improvements available to all, eventually

==John ff

> Hi I'm wondering if editing parts of existing opcodes is possible?
>
> I ask because there's been a couple of times over the past year or two
> where
> there's been an opcode that does exactly what I need except for say one or
> two things (e.g. Temposcal doesn't use a time pointer). I was thinking it
> might be easier to edit the existing opcode rather than find a work
> around.
> Is this really involved or straightforward? is this something that should
> be
> avoided or is this done quite often?
>
> Any thoughts? Thanks a mill!
>
>
>
>
>
>
> --
> View this message in context:
> http://csound.1045644.n5.nabble.com/Editing-Opcodes-tp5718724.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> 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"
>
>
>
>



Date2012-12-11 11:34
FromVictor Lazzarini
SubjectRe: [Csnd] Editing Opcodes
If you need a time pointer, use mincer instead of temposcal.

Victor

On 11 Dec 2012, at 10:56, Dave Mooney wrote:

> Hi I'm wondering if editing parts of existing opcodes is possible? 
> 
> I ask because there's been a couple of times over the past year or two where
> there's been an opcode that does exactly what I need except for say one or
> two things (e.g. Temposcal doesn't use a time pointer). I was thinking it
> might be easier to edit the existing opcode rather than find a work around.
> Is this really involved or straightforward? is this something that should be
> avoided or is this done quite often?
> 
> Any thoughts? Thanks a mill!
> 
> 
> 
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Editing-Opcodes-tp5718724.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> 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





Date2012-12-11 12:05
FromDave Mooney
Subject[Csnd] Re: Editing Opcodes
Cheers John, cheers Victor! Mincer is perfect thank you! 



--
View this message in context: http://csound.1045644.n5.nabble.com/Editing-Opcodes-tp5718724p5718727.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2012-12-11 12:19
FromDave Mooney
Subject[Csnd] Re: Editing Opcodes
Victor, just one question on mincer and tempscal: Is there a huge difference
in the way they work individually and also versus pvoc?

Comparing the three with the same source file they all sound slightly
different. Mincer and Tempscal sound pretty similar (though slightly
different) but both sound different to Pvoc.

Is it possible to reproduce the sound of tempscal and mincer using pvoc and
vice versa? is it just a case of getting the fft size settings right and
using a particular window in pvanal or are they working in different ways?

Thanks a mill!



--
View this message in context: http://csound.1045644.n5.nabble.com/Editing-Opcodes-tp5718724p5718729.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2012-12-11 14:03
FromVictor Lazzarini
SubjectRe: [Csnd] Re: Editing Opcodes
Mincer and temposcal share the same algorithm. It's slighltly different than pvoc, so there will be some small differences in sound.
There is an opcode, pvstanal which shares some elements of mincer/temposcal and could sound closer to it.

Victor

On 11 Dec 2012, at 12:19, Dave Mooney wrote:

> Victor, just one question on mincer and tempscal: Is there a huge difference
> in the way they work individually and also versus pvoc?
> 
> Comparing the three with the same source file they all sound slightly
> different. Mincer and Tempscal sound pretty similar (though slightly
> different) but both sound different to Pvoc.
> 
> Is it possible to reproduce the sound of tempscal and mincer using pvoc and
> vice versa? is it just a case of getting the fft size settings right and
> using a particular window in pvanal or are they working in different ways?
> 
> Thanks a mill!
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Editing-Opcodes-tp5718724p5718729.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> 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





Date2012-12-11 15:10
FromDave Mooney
Subject[Csnd] Re: Editing Opcodes
Thanks a mill Victor!



--
View this message in context: http://csound.1045644.n5.nabble.com/Editing-Opcodes-tp5718724p5718733.html
Sent from the Csound - General mailing list archive at Nabble.com.