Csound Csound-dev Csound-tekno Search About

"null opadr" when trying to run new opcode

Date2016-04-06 18:06
FromPeter Burgess
Subject"null opadr" when trying to run new opcode
AttachmentstableWobble.cbp  tableWobble.cpp  tableWobble.h  
Hi there, I'm on the opcode thing again. I've nearly finished this
one, but I'm struggling to get it to run. I'm getting this terminal
printout:

SECTION 1:
end of section 1     sect peak amps:  0.00000  0.00000
SECTION 2:
new alloc for instr 1:
null opadr
Early return from csoundPerform().

what does that mean? I've tried debugging my opcode, and it fails
before it even hits any of my breakpoints, needless to say, it doesn't
help me work out what's up!

I've attached my source and the csd I'm trying to call the opcode
with, cheers in advance for any help!

Pete

-- 
http://algorythmradio.com
https://soundcloud.com/algorythmradio

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

Date2016-04-06 19:19
Fromjpff
SubjectRe: "null opadr" when trying to run new opcode
You have given an opcode the 2 it meaning run at -rate but not supplied a 
perform function -- or 4 bit and a-rate

==John ff

On Wed, 6 Apr 2016, Peter Burgess wrote:

> Hi there, I'm on the opcode thing again. I've nearly finished this
> one, but I'm struggling to get it to run. I'm getting this terminal
> printout:
>
> SECTION 1:
> end of section 1     sect peak amps:  0.00000  0.00000
> SECTION 2:
> new alloc for instr 1:
> null opadr
> Early return from csoundPerform().
>
> what does that mean? I've tried debugging my opcode, and it fails
> before it even hits any of my breakpoints, needless to say, it doesn't
> help me work out what's up!
>
> I've attached my source and the csd I'm trying to call the opcode
> with, cheers in advance for any help!
>
> Pete
>
> -- 
> http://algorythmradio.com
> https://soundcloud.com/algorythmradio
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

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

Date2016-04-06 21:22
FromPeter Burgess
SubjectRe: "null opadr" when trying to run new opcode
Attachmentsmetallizer.csd  metallizerDetuned.csd  
ah right, cheers! I've changed it to 3, and it's working now. At
least, it's running. It's far from working properly it seems, lol! I'm
trying to manipulate fTables, trying to turn some big block of code I
came up with that applies jitter to every sample in a table into an
opcode with the hope I can improve performance.

The sonic results are pretty excellent! I'll attach my experiemental
csd's too... instruments 4 and 5 are the ones to listen to on both.
You need to play with the first 2 sliders on metallizer, and first 3
sliders on metallizerDetuned

I've found FUNC and the declaration of it and it's members, and I've
used this function to acquire the table pointer from it's number:

    if (UNLIKELY((p->fTabPIn  = csound->FTnp2Find(csound,
p->fTabNumIn)) == NULL))
    {   return NOTOK;   }

Is there anything else special I'd have to do when working with ftables?

On Wed, Apr 6, 2016 at 7:19 PM, jpff  wrote:
> You have given an opcode the 2 it meaning run at -rate but not supplied a
> perform function -- or 4 bit and a-rate
>
> ==John ff
>
>
> On Wed, 6 Apr 2016, Peter Burgess wrote:
>
>> Hi there, I'm on the opcode thing again. I've nearly finished this
>> one, but I'm struggling to get it to run. I'm getting this terminal
>> printout:
>>
>> SECTION 1:
>> end of section 1     sect peak amps:  0.00000  0.00000
>> SECTION 2:
>> new alloc for instr 1:
>> null opadr
>> Early return from csoundPerform().
>>
>> what does that mean? I've tried debugging my opcode, and it fails
>> before it even hits any of my breakpoints, needless to say, it doesn't
>> help me work out what's up!
>>
>> I've attached my source and the csd I'm trying to call the opcode
>> with, cheers in advance for any help!
>>
>> Pete
>>
>> --
>> http://algorythmradio.com
>> https://soundcloud.com/algorythmradio
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>        https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>>
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here



-- 
http://algorythmradio.com
https://soundcloud.com/algorythmradio

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

Date2016-04-06 21:30
FromRory Walsh
SubjectRe: "null opadr" when trying to run new opcode
Both of these give me a segmentation fault using Csound 6.07 on Windows? I'll later on Linux.  

On 6 April 2016 at 21:22, Peter Burgess <pete.soundtechnician@gmail.com> wrote:
ah right, cheers! I've changed it to 3, and it's working now. At
least, it's running. It's far from working properly it seems, lol! I'm
trying to manipulate fTables, trying to turn some big block of code I
came up with that applies jitter to every sample in a table into an
opcode with the hope I can improve performance.

The sonic results are pretty excellent! I'll attach my experiemental
csd's too... instruments 4 and 5 are the ones to listen to on both.
You need to play with the first 2 sliders on metallizer, and first 3
sliders on metallizerDetuned

I've found FUNC and the declaration of it and it's members, and I've
used this function to acquire the table pointer from it's number:

    if (UNLIKELY((p->fTabPIn  = csound->FTnp2Find(csound,
p->fTabNumIn)) == NULL))
    {   return NOTOK;   }

Is there anything else special I'd have to do when working with ftables?

On Wed, Apr 6, 2016 at 7:19 PM, jpff <jpff@codemist.co.uk> wrote:
> You have given an opcode the 2 it meaning run at -rate but not supplied a
> perform function -- or 4 bit and a-rate
>
> ==John ff
>
>
> On Wed, 6 Apr 2016, Peter Burgess wrote:
>
>> Hi there, I'm on the opcode thing again. I've nearly finished this
>> one, but I'm struggling to get it to run. I'm getting this terminal
>> printout:
>>
>> SECTION 1:
>> end of section 1     sect peak amps:  0.00000  0.00000
>> SECTION 2:
>> new alloc for instr 1:
>> null opadr
>> Early return from csoundPerform().
>>
>> what does that mean? I've tried debugging my opcode, and it fails
>> before it even hits any of my breakpoints, needless to say, it doesn't
>> help me work out what's up!
>>
>> I've attached my source and the csd I'm trying to call the opcode
>> with, cheers in advance for any help!
>>
>> Pete
>>
>> --
>> http://algorythmradio.com
>> https://soundcloud.com/algorythmradio
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>        https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>>
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here



--
http://algorythmradio.com
https://soundcloud.com/algorythmradio

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

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

Date2016-04-06 21:49
FromRory Walsh
SubjectRe: "null opadr" when trying to run new opcode
Seems that the latest Windows installer does not run fltk at all.So don't worry, it should run fine on other platforms. 

On 6 April 2016 at 21:30, Rory Walsh <rorywalsh@ear.ie> wrote:
Both of these give me a segmentation fault using Csound 6.07 on Windows? I'll later on Linux.  

On 6 April 2016 at 21:22, Peter Burgess <pete.soundtechnician@gmail.com> wrote:
ah right, cheers! I've changed it to 3, and it's working now. At
least, it's running. It's far from working properly it seems, lol! I'm
trying to manipulate fTables, trying to turn some big block of code I
came up with that applies jitter to every sample in a table into an
opcode with the hope I can improve performance.

The sonic results are pretty excellent! I'll attach my experiemental
csd's too... instruments 4 and 5 are the ones to listen to on both.
You need to play with the first 2 sliders on metallizer, and first 3
sliders on metallizerDetuned

I've found FUNC and the declaration of it and it's members, and I've
used this function to acquire the table pointer from it's number:

    if (UNLIKELY((p->fTabPIn  = csound->FTnp2Find(csound,
p->fTabNumIn)) == NULL))
    {   return NOTOK;   }

Is there anything else special I'd have to do when working with ftables?

On Wed, Apr 6, 2016 at 7:19 PM, jpff <jpff@codemist.co.uk> wrote:
> You have given an opcode the 2 it meaning run at -rate but not supplied a
> perform function -- or 4 bit and a-rate
>
> ==John ff
>
>
> On Wed, 6 Apr 2016, Peter Burgess wrote:
>
>> Hi there, I'm on the opcode thing again. I've nearly finished this
>> one, but I'm struggling to get it to run. I'm getting this terminal
>> printout:
>>
>> SECTION 1:
>> end of section 1     sect peak amps:  0.00000  0.00000
>> SECTION 2:
>> new alloc for instr 1:
>> null opadr
>> Early return from csoundPerform().
>>
>> what does that mean? I've tried debugging my opcode, and it fails
>> before it even hits any of my breakpoints, needless to say, it doesn't
>> help me work out what's up!
>>
>> I've attached my source and the csd I'm trying to call the opcode
>> with, cheers in advance for any help!
>>
>> Pete
>>
>> --
>> http://algorythmradio.com
>> https://soundcloud.com/algorythmradio
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>        https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>>
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here



--
http://algorythmradio.com
https://soundcloud.com/algorythmradio

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


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

Date2016-04-06 21:51
FromPeter Burgess
SubjectRe: "null opadr" when trying to run new opcode
what's fltk?

On Wed, Apr 6, 2016 at 9:49 PM, Rory Walsh  wrote:
> Seems that the latest Windows installer does not run fltk at all.So don't
> worry, it should run fine on other platforms.
>
> On 6 April 2016 at 21:30, Rory Walsh  wrote:
>>
>> Both of these give me a segmentation fault using Csound 6.07 on Windows?
>> I'll later on Linux.
>>
>> On 6 April 2016 at 21:22, Peter Burgess 
>> wrote:
>>>
>>> ah right, cheers! I've changed it to 3, and it's working now. At
>>> least, it's running. It's far from working properly it seems, lol! I'm
>>> trying to manipulate fTables, trying to turn some big block of code I
>>> came up with that applies jitter to every sample in a table into an
>>> opcode with the hope I can improve performance.
>>>
>>> The sonic results are pretty excellent! I'll attach my experiemental
>>> csd's too... instruments 4 and 5 are the ones to listen to on both.
>>> You need to play with the first 2 sliders on metallizer, and first 3
>>> sliders on metallizerDetuned
>>>
>>> I've found FUNC and the declaration of it and it's members, and I've
>>> used this function to acquire the table pointer from it's number:
>>>
>>>     if (UNLIKELY((p->fTabPIn  = csound->FTnp2Find(csound,
>>> p->fTabNumIn)) == NULL))
>>>     {   return NOTOK;   }
>>>
>>> Is there anything else special I'd have to do when working with ftables?
>>>
>>> On Wed, Apr 6, 2016 at 7:19 PM, jpff  wrote:
>>> > You have given an opcode the 2 it meaning run at -rate but not supplied
>>> > a
>>> > perform function -- or 4 bit and a-rate
>>> >
>>> > ==John ff
>>> >
>>> >
>>> > On Wed, 6 Apr 2016, Peter Burgess wrote:
>>> >
>>> >> Hi there, I'm on the opcode thing again. I've nearly finished this
>>> >> one, but I'm struggling to get it to run. I'm getting this terminal
>>> >> printout:
>>> >>
>>> >> SECTION 1:
>>> >> end of section 1     sect peak amps:  0.00000  0.00000
>>> >> SECTION 2:
>>> >> new alloc for instr 1:
>>> >> null opadr
>>> >> Early return from csoundPerform().
>>> >>
>>> >> what does that mean? I've tried debugging my opcode, and it fails
>>> >> before it even hits any of my breakpoints, needless to say, it doesn't
>>> >> help me work out what's up!
>>> >>
>>> >> I've attached my source and the csd I'm trying to call the opcode
>>> >> with, cheers in advance for any help!
>>> >>
>>> >> Pete
>>> >>
>>> >> --
>>> >> http://algorythmradio.com
>>> >> https://soundcloud.com/algorythmradio
>>> >>
>>> >> Csound mailing list
>>> >> Csound@listserv.heanet.ie
>>> >> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>> >> Send bugs reports to
>>> >>        https://github.com/csound/csound/issues
>>> >> Discussions of bugs and features can be posted here
>>> >>
>>> >
>>> > Csound mailing list
>>> > Csound@listserv.heanet.ie
>>> > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>> > Send bugs reports to
>>> >        https://github.com/csound/csound/issues
>>> > Discussions of bugs and features can be posted here
>>>
>>>
>>>
>>> --
>>> http://algorythmradio.com
>>> https://soundcloud.com/algorythmradio
>>>
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>> Send bugs reports to
>>>         https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>>
>>
>
> Csound mailing list Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> https://github.com/csound/csound/issues Discussions of bugs and features can
> be posted here


Date2016-04-06 22:25
FromPeter Burgess
SubjectRe: "null opadr" when trying to run new opcode
my mistake, my opcode is working! I just hadn't scaled the wobble,
boom! I'll make it a bit more sleak and controllable and I'll post it
again

On Wed, Apr 6, 2016 at 9:51 PM, Peter Burgess
 wrote:
> what's fltk?
>
> On Wed, Apr 6, 2016 at 9:49 PM, Rory Walsh  wrote:
>> Seems that the latest Windows installer does not run fltk at all.So don't
>> worry, it should run fine on other platforms.
>>
>> On 6 April 2016 at 21:30, Rory Walsh  wrote:
>>>
>>> Both of these give me a segmentation fault using Csound 6.07 on Windows?
>>> I'll later on Linux.
>>>
>>> On 6 April 2016 at 21:22, Peter Burgess 
>>> wrote:
>>>>
>>>> ah right, cheers! I've changed it to 3, and it's working now. At
>>>> least, it's running. It's far from working properly it seems, lol! I'm
>>>> trying to manipulate fTables, trying to turn some big block of code I
>>>> came up with that applies jitter to every sample in a table into an
>>>> opcode with the hope I can improve performance.
>>>>
>>>> The sonic results are pretty excellent! I'll attach my experiemental
>>>> csd's too... instruments 4 and 5 are the ones to listen to on both.
>>>> You need to play with the first 2 sliders on metallizer, and first 3
>>>> sliders on metallizerDetuned
>>>>
>>>> I've found FUNC and the declaration of it and it's members, and I've
>>>> used this function to acquire the table pointer from it's number:
>>>>
>>>>     if (UNLIKELY((p->fTabPIn  = csound->FTnp2Find(csound,
>>>> p->fTabNumIn)) == NULL))
>>>>     {   return NOTOK;   }
>>>>
>>>> Is there anything else special I'd have to do when working with ftables?
>>>>
>>>> On Wed, Apr 6, 2016 at 7:19 PM, jpff  wrote:
>>>> > You have given an opcode the 2 it meaning run at -rate but not supplied
>>>> > a
>>>> > perform function -- or 4 bit and a-rate
>>>> >
>>>> > ==John ff
>>>> >
>>>> >
>>>> > On Wed, 6 Apr 2016, Peter Burgess wrote:
>>>> >
>>>> >> Hi there, I'm on the opcode thing again. I've nearly finished this
>>>> >> one, but I'm struggling to get it to run. I'm getting this terminal
>>>> >> printout:
>>>> >>
>>>> >> SECTION 1:
>>>> >> end of section 1     sect peak amps:  0.00000  0.00000
>>>> >> SECTION 2:
>>>> >> new alloc for instr 1:
>>>> >> null opadr
>>>> >> Early return from csoundPerform().
>>>> >>
>>>> >> what does that mean? I've tried debugging my opcode, and it fails
>>>> >> before it even hits any of my breakpoints, needless to say, it doesn't
>>>> >> help me work out what's up!
>>>> >>
>>>> >> I've attached my source and the csd I'm trying to call the opcode
>>>> >> with, cheers in advance for any help!
>>>> >>
>>>> >> Pete
>>>> >>
>>>> >> --
>>>> >> http://algorythmradio.com
>>>> >> https://soundcloud.com/algorythmradio
>>>> >>
>>>> >> Csound mailing list
>>>> >> Csound@listserv.heanet.ie
>>>> >> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>>> >> Send bugs reports to
>>>> >>        https://github.com/csound/csound/issues
>>>> >> Discussions of bugs and features can be posted here
>>>> >>
>>>> >
>>>> > Csound mailing list
>>>> > Csound@listserv.heanet.ie
>>>> > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>>> > Send bugs reports to
>>>> >        https://github.com/csound/csound/issues
>>>> > Discussions of bugs and features can be posted here
>>>>
>>>>
>>>>
>>>> --
>>>> http://algorythmradio.com
>>>> https://soundcloud.com/algorythmradio
>>>>
>>>> Csound mailing list
>>>> Csound@listserv.heanet.ie
>>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>>> Send bugs reports to
>>>>         https://github.com/csound/csound/issues
>>>> Discussions of bugs and features can be posted here
>>>
>>>
>>
>> Csound mailing list Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>> https://github.com/csound/csound/issues Discussions of bugs and features can
>> be posted here
>
>
>
> --
> http://algorythmradio.com
> https://soundcloud.com/algorythmradio