New UGens for share

View: New views
12 Messages — Rating Filter:   Alert me  

New UGens for share

by Batuhan Bozkurt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello list,

I've managed to make a release of my first UGens.

"Coyote" is an onset detector I made after getting frustrated with
getting the available FFT based detectors(probably because of my lack of
command on their parameters) tracking my guitar properly. I think its a
nice solution for tracking plucked string instruments, percussion and
whatnot. Response is very fast and quite accurate.

"MarkovSynth" is an implementation of a curiosity driven experiment, it
utilizes a first order markov chain on an incoming signal in sample by
sample basis, and synthesizes the probability table back to sound card.
I had pretty interesting results with it.

The other two are little averaging utilities I needed at some time or
another. Grab them here(intel-mac binary, sources, documentation etc):

http://www.batuhanbozkurt.com/home/projects/lab/supercollider/batugens.php

I tried to conform to the standards as best as I could, but since they
are my first UGens, if something looks "out", please tell me so I can
correct it.

Thanks
BB.

_______________________________________________
sc-users mailing list

info (subscribe and unsubscribe): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/

Re: New UGens for share

by thor-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Batuhan

This looks good. I downloaded and installed but I get this:

a SynthDef
exception in GraphDef_Recv: UGen 'Coyote' not installed.

Synth("coyote" : 1000)
*** ERROR: SynthDef coyote not found
FAILURE /s_new SynthDef not found

Synth("temp__1255867026" : 1000)
exception in GraphDef_Recv: UGen 'TrigAvg' not installed.
*** ERROR: SynthDef temp__1255867026 not found
FAILURE /s_new SynthDef not found


when trying to run the examples from the helpfile.

I installed the plugin and classes where I keep all my
extensions and I tested other plugins in the same place.

What could the problem be?
Thor



On 24 Sep 2008, at 01:31, Batuhan Bozkurt wrote:

Hello list,

I've managed to make a release of my first UGens.

"Coyote" is an onset detector I made after getting frustrated with getting the available FFT based detectors(probably because of my lack of command on their parameters) tracking my guitar properly. I think its a nice solution for tracking plucked string instruments, percussion and whatnot. Response is very fast and quite accurate.

"MarkovSynth" is an implementation of a curiosity driven experiment, it utilizes a first order markov chain on an incoming signal in sample by sample basis, and synthesizes the probability table back to sound card. I had pretty interesting results with it.

The other two are little averaging utilities I needed at some time or another. Grab them here(intel-mac binary, sources, documentation etc):


I tried to conform to the standards as best as I could, but since they are my first UGens, if something looks "out", please tell me so I can correct it.

Thanks
BB.

_______________________________________________
sc-users mailing list



Re: New UGens for share

by Sergio Luque :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Thor,


Are you on a PPC?

I think the UGens were compiled for Intel only.



Cheers,

Sergio

--
Sergio Luque
www.sergioluque.com

_______________________________________________
sc-users mailing list

info (subscribe and unsubscribe): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/

Re: New UGens for share

by Andrzej Kopeć :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


The same problem here (MB intel-c2d).
ak

Wiadomość napisana w dniu 2008-09-24, o godz. 11:36, przez thor:


Hi Batuhan

This looks good. I downloaded and installed but I get this:

a SynthDef
exception in GraphDef_Recv: UGen 'Coyote' not installed.

Synth("coyote" : 1000)
*** ERROR: SynthDef coyote not found
FAILURE /s_new SynthDef not found

Synth("temp__1255867026" : 1000)
exception in GraphDef_Recv: UGen 'TrigAvg' not installed.
*** ERROR: SynthDef temp__1255867026 not found
FAILURE /s_new SynthDef not found


when trying to run the examples from the helpfile.

I installed the plugin and classes where I keep all my
extensions and I tested other plugins in the same place.

What could the problem be?
Thor


Re: New UGens for share

by thor-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 24 Sep 2008, at 10:56, Sergio Luque wrote:

> Hi Thor,
>
>
> Are you on a PPC?
>
> I think the UGens were compiled for Intel only.
>

Yes, that's it.

Batuhan, any plans for compiling a UB?

Cheers


_______________________________________________
sc-users mailing list

info (subscribe and unsubscribe): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/

Re: New UGens for share

by Dan Stowell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Batuhan -

Just tried these out, they all work good here, thanks! MarkovSynth
makes some beautiful sounds :)

Dan


2008/9/24 Batuhan Bozkurt <batuhan@...>:

> Hello list,
>
> I've managed to make a release of my first UGens.
>
> "Coyote" is an onset detector I made after getting frustrated with getting
> the available FFT based detectors(probably because of my lack of command on
> their parameters) tracking my guitar properly. I think its a nice solution
> for tracking plucked string instruments, percussion and whatnot. Response is
> very fast and quite accurate.
>
> "MarkovSynth" is an implementation of a curiosity driven experiment, it
> utilizes a first order markov chain on an incoming signal in sample by
> sample basis, and synthesizes the probability table back to sound card. I
> had pretty interesting results with it.
>
> The other two are little averaging utilities I needed at some time or
> another. Grab them here(intel-mac binary, sources, documentation etc):
>
> http://www.batuhanbozkurt.com/home/projects/lab/supercollider/batugens.php
>
> I tried to conform to the standards as best as I could, but since they are
> my first UGens, if something looks "out", please tell me so I can correct
> it.
>
> Thanks
> BB.
>
> _______________________________________________
> sc-users mailing list
>
> info (subscribe and unsubscribe):
> http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
> archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
> search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
>



--
http://www.mcld.co.uk

_______________________________________________
sc-users mailing list

info (subscribe and unsubscribe): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/

Re: New UGens for share - Fixed!

by Batuhan Bozkurt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've compiled them now again as UB, and intel issues should also be
solved now, if you find the time, I'll be grateful if you and Andrzej
can report back to me about if they are working properly or not. Thanks!

And sorry for the confusion, first try is prone to silly mistakes.

BB.

thor wrote:

>
> On 24 Sep 2008, at 10:56, Sergio Luque wrote:
>
>> Hi Thor,
>>
>>
>> Are you on a PPC?
>>
>> I think the UGens were compiled for Intel only.
>>
>
> Yes, that's it.
>
> Batuhan, any plans for compiling a UB?
>
> Cheers
>
>
> _______________________________________________
> sc-users mailing list
>
> info (subscribe and unsubscribe):
> http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
> archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
> search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
>


_______________________________________________
sc-users mailing list

info (subscribe and unsubscribe): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/

Re: New UGens for share

by Dganit Elyakim :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi There,

First, congrats. It sounds great :]
Second and last, where should I keep the 'source' folder?
Yours,
Dganit

Dganit Elyakim
Ranak 17
Tel-Aviv
Israel

Tel:+972 3 529 2287
Mobile: 0544971977


--- On Wed, 9/24/08, Batuhan Bozkurt <batuhan@...> wrote:

> From: Batuhan Bozkurt <batuhan@...>
> Subject: [sc-users] New UGens for share
> To: sc-users@...
> Date: Wednesday, September 24, 2008, 3:31 AM
> Hello list,
>
> I've managed to make a release of my first UGens.
>
> "Coyote" is an onset detector I made after
> getting frustrated with
> getting the available FFT based detectors(probably because
> of my lack of
> command on their parameters) tracking my guitar properly. I
> think its a
> nice solution for tracking plucked string instruments,
> percussion and
> whatnot. Response is very fast and quite accurate.
>
> "MarkovSynth" is an implementation of a curiosity
> driven experiment, it
> utilizes a first order markov chain on an incoming signal
> in sample by
> sample basis, and synthesizes the probability table back to
> sound card.
> I had pretty interesting results with it.
>
> The other two are little averaging utilities I needed at
> some time or
> another. Grab them here(intel-mac binary, sources,
> documentation etc):
>
> http://www.batuhanbozkurt.com/home/projects/lab/supercollider/batugens.php
>
> I tried to conform to the standards as best as I could, but
> since they
> are my first UGens, if something looks "out",
> please tell me so I can
> correct it.
>
> Thanks
> BB.
>
> _______________________________________________
> sc-users mailing list
>
> info (subscribe and unsubscribe):
> http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
> archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
> search:
> http://www.listarc.bham.ac.uk/lists/sc-users/search/


     

_______________________________________________
sc-users mailing list

info (subscribe and unsubscribe): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/

Re: New UGens for share

by Dan Stowell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dganit -

You don't need the "source" folder unless you want to alter and
recompile the plugin

Dan



2008/9/25, Dganit Elyakim <d_elyakim@...>:

> Hi There,
>
> First, congrats. It sounds great :]
> Second and last, where should I keep the 'source' folder?
> Yours,
> Dganit
>
> Dganit Elyakim
> Ranak 17
> Tel-Aviv
> Israel
>
> Tel:+972 3 529 2287
> Mobile: 0544971977
>
>
> --- On Wed, 9/24/08, Batuhan Bozkurt <batuhan@...> wrote:
>
>> From: Batuhan Bozkurt <batuhan@...>
>> Subject: [sc-users] New UGens for share
>> To: sc-users@...
>> Date: Wednesday, September 24, 2008, 3:31 AM
>> Hello list,
>>
>> I've managed to make a release of my first UGens.
>>
>> "Coyote" is an onset detector I made after
>> getting frustrated with
>> getting the available FFT based detectors(probably because
>> of my lack of
>> command on their parameters) tracking my guitar properly. I
>> think its a
>> nice solution for tracking plucked string instruments,
>> percussion and
>> whatnot. Response is very fast and quite accurate.
>>
>> "MarkovSynth" is an implementation of a curiosity
>> driven experiment, it
>> utilizes a first order markov chain on an incoming signal
>> in sample by
>> sample basis, and synthesizes the probability table back to
>> sound card.
>> I had pretty interesting results with it.
>>
>> The other two are little averaging utilities I needed at
>> some time or
>> another. Grab them here(intel-mac binary, sources,
>> documentation etc):
>>
>> http://www.batuhanbozkurt.com/home/projects/lab/supercollider/batugens.php
>>
>> I tried to conform to the standards as best as I could, but
>> since they
>> are my first UGens, if something looks "out",
>> please tell me so I can
>> correct it.
>>
>> Thanks
>> BB.
>>
>> _______________________________________________
>> sc-users mailing list
>>
>> info (subscribe and unsubscribe):
>> http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
>> archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
>> search:
>> http://www.listarc.bham.ac.uk/lists/sc-users/search/
>
>
>
>
> _______________________________________________
> sc-users mailing list
>
> info (subscribe and unsubscribe):
> http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
> archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
> search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
>


--
http://www.mcld.co.uk

_______________________________________________
sc-users mailing list

info (subscribe and unsubscribe): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/

Re: New UGens for share

by Martin . :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Id love to try these out - just started working with onset detection
so this might come in handy :)

This is my first try at compiling a UGen from source on Linux. I
followed the instructions from
http://swiki.hfbk-hamburg.de:8888/MusicTechnology/803#CompilePlugins
...and got the errors below. Am I on the right track?

Has anyone else successfully compiled them from source (on Linux)?

cheers,
martin

martin@ubuntu:~/Desktop/sc/batugens/source$ g++ `pkg-config –cflags
libscsynth` -shared -o BatUGens.so BatUGens.cpp
BatUGens.cpp:25:23: error: SC_PlugIn.h: No such file or directory
BatUGens.cpp:523:2: warning: no newline at end of file
BatUGens.cpp:27: error: expected initializer before '*' token
BatUGens.cpp:31: error: expected class-name before '{' token
BatUGens.cpp:39: error: 'float64' does not name a type
BatUGens.cpp:40: error: 'float64' does not name a type
BatUGens.cpp:41: error: 'int64' does not name a type
BatUGens.cpp:50: error: expected class-name before '{' token
BatUGens.cpp:51: error: 'float64' does not name a type
BatUGens.cpp:52: error: 'int64' does not name a type
BatUGens.cpp:58: error: expected class-name before '{' token
BatUGens.cpp:68: error: expected class-name before '{' token
BatUGens.cpp:72: error: 'int64' does not name a type
BatUGens.cpp:73: error: 'int64' does not name a type
BatUGens.cpp:84: error: variable or field 'load' declared void
BatUGens.cpp:84: error: 'InterfaceTable' was not declared in this scope
BatUGens.cpp:84: error: 'inTable' was not declared in this scope
BatUGens.cpp: In function 'void MarkovSynth_Ctor(MarkovSynth*)':
BatUGens.cpp:104: error: 'SETCALC' was not declared in this scope
BatUGens.cpp:106: error: 'ZIN0' was not declared in this scope
BatUGens.cpp:106: error: 'ceil' was not declared in this scope
BatUGens.cpp:108: error: 'malloc' was not declared in this scope
BatUGens.cpp:126: error: 'struct MarkovSynth' has no member named 'waitTime'
BatUGens.cpp:126: error: 'SAMPLERATE' was not declared in this scope
BatUGens.cpp:127: error: 'struct MarkovSynth' has no member named 'currentTick'
BatUGens.cpp:131: error: 'ZOUT0' was not declared in this scope
BatUGens.cpp: In function 'void MarkovSynth_Dtor(MarkovSynth*)':
BatUGens.cpp:138: error: 'free' was not declared in this scope
BatUGens.cpp:141: error: 'free' was not declared in this scope
BatUGens.cpp: In function 'void MarkovSynth_next(MarkovSynth*, int)':
BatUGens.cpp:149: error: 'IN' was not declared in this scope
BatUGens.cpp:150: error: 'OUT' was not declared in this scope
BatUGens.cpp:151: error: 'ZIN0' was not declared in this scope
BatUGens.cpp:192: error: 'struct MarkovSynth' has no member named 'currentTick'
BatUGens.cpp:193: error: 'struct MarkovSynth' has no member named 'currentTick'
BatUGens.cpp:193: error: 'struct MarkovSynth' has no member named 'waitTime'
BatUGens.cpp:203: error: 'struct MarkovSynth' has no member named 'mParent'
BatUGens.cpp: In function 'void Coyote_Ctor(Coyote*)':
BatUGens.cpp:228: error: 'SETCALC' was not declared in this scope
BatUGens.cpp:230: error: 'ZIN0' was not declared in this scope
BatUGens.cpp:237: error: 'log1' was not declared in this scope
BatUGens.cpp:237: error: 'SAMPLERATE' was not declared in this scope
BatUGens.cpp:237: error: 'exp' was not declared in this scope
BatUGens.cpp:240: error: 'log001' was not declared in this scope
BatUGens.cpp:245: error: 'struct Coyote' has no member named 'avgLagPrev'
BatUGens.cpp:250: error: 'struct Coyote' has no member named 'currentAvg'
BatUGens.cpp:251: error: 'struct Coyote' has no member named 'currentIndex'
BatUGens.cpp:254: error: 'ZOUT0' was not declared in this scope
BatUGens.cpp: In function 'void Coyote_next(Coyote*, int)':
BatUGens.cpp:259: error: 'ZIN' was not declared in this scope
BatUGens.cpp:261: error: 'ZIN0' was not declared in this scope
BatUGens.cpp:263: error: 'log1' was not declared in this scope
BatUGens.cpp:263: error: 'SAMPLERATE' was not declared in this scope
BatUGens.cpp:263: error: 'exp' was not declared in this scope
BatUGens.cpp:267: error: 'ZIN0' was not declared in this scope
BatUGens.cpp:269: error: 'log001' was not declared in this scope
BatUGens.cpp:269: error: 'SAMPLERATE' was not declared in this scope
BatUGens.cpp:269: error: 'exp' was not declared in this scope
BatUGens.cpp:273: error: 'ZIN0' was not declared in this scope
BatUGens.cpp:275: error: 'log001' was not declared in this scope
BatUGens.cpp:275: error: 'SAMPLERATE' was not declared in this scope
BatUGens.cpp:275: error: 'exp' was not declared in this scope
BatUGens.cpp:279: error: 'ZIN0' was not declared in this scope
BatUGens.cpp:292: error: 'struct Coyote' has no member named 'currentAvg'
BatUGens.cpp:293: error: 'struct Coyote' has no member named 'currentIndex'
BatUGens.cpp:296: error: 'FULLBUFLENGTH' was not declared in this scope
BatUGens.cpp:297: error: 'ZXP' was not declared in this scope
BatUGens.cpp:297: error: 'fabs' was not declared in this scope
BatUGens.cpp:308: error: 'float64' was not declared in this scope
BatUGens.cpp:308: error: expected `;' before 'divi'
BatUGens.cpp:309: error: 'struct Coyote' has no member named 'currentAvg'
BatUGens.cpp:309: error: 'struct Coyote' has no member named 'currentAvg'
BatUGens.cpp:309: error: 'divi' was not declared in this scope
BatUGens.cpp:310: error: 'struct Coyote' has no member named 'currentIndex'
BatUGens.cpp:313: error: expected primary-expression before ')' token
BatUGens.cpp:313: error: expected `;' before ')' token
BatUGens.cpp:318: error: 'struct Coyote' has no member named 'avgLagPrev'
BatUGens.cpp:318: error: 'struct Coyote' has no member named 'currentAvg'
BatUGens.cpp:318: error: 'struct Coyote' has no member named 'avgLagPrev'
BatUGens.cpp:318: error: 'struct Coyote' has no member named 'currentAvg'
BatUGens.cpp:320: error: 'zapgremlins' was not declared in this scope
BatUGens.cpp:322: error: 'struct Coyote' has no member named 'avgLagPrev'
BatUGens.cpp:322: error: 'struct Coyote' has no member named 'avgLagPrev'
BatUGens.cpp:328: error: 'ZOUT0' was not declared in this scope
BatUGens.cpp:337: error: 'SAMPLERATE' was not declared in this scope
BatUGens.cpp: In function 'void TrigAvg_Ctor(TrigAvg*)':
BatUGens.cpp:353: error: 'INRATE' was not declared in this scope
BatUGens.cpp:353: error: 'calc_FullRate' was not declared in this scope
BatUGens.cpp:355: error: 'SETCALC' was not declared in this scope
BatUGens.cpp:359: error: 'SETCALC' was not declared in this scope
BatUGens.cpp:361: error: 'struct TrigAvg' has no member named 'currentAvg'
BatUGens.cpp:362: error: 'struct TrigAvg' has no member named 'currentIndex'
BatUGens.cpp:365: error: 'ZOUT0' was not declared in this scope
BatUGens.cpp:365: error: 'ZIN0' was not declared in this scope
BatUGens.cpp: In function 'void TrigAvg_next(TrigAvg*, int)':
BatUGens.cpp:370: error: 'ZIN' was not declared in this scope
BatUGens.cpp:372: error: 'ZIN0' was not declared in this scope
BatUGens.cpp:376: error: 'struct TrigAvg' has no member named 'currentAvg'
BatUGens.cpp:377: error: 'struct TrigAvg' has no member named 'currentIndex'
BatUGens.cpp:384: error: 'FULLBUFLENGTH' was not declared in this scope
BatUGens.cpp:385: error: 'ZXP' was not declared in this scope
BatUGens.cpp:385: error: 'fabs' was not declared in this scope
BatUGens.cpp:386: error: 'float64' was not declared in this scope
BatUGens.cpp:386: error: expected `;' before 'divi'
BatUGens.cpp:387: error: 'struct TrigAvg' has no member named 'currentAvg'
BatUGens.cpp:387: error: 'struct TrigAvg' has no member named 'currentAvg'
BatUGens.cpp:387: error: 'divi' was not declared in this scope
BatUGens.cpp:388: error: 'struct TrigAvg' has no member named 'currentIndex'
BatUGens.cpp:390: error: expected primary-expression before ')' token
BatUGens.cpp:390: error: expected `;' before ')' token
BatUGens.cpp:391: error: 'ZOUT0' was not declared in this scope
BatUGens.cpp:391: error: 'struct TrigAvg' has no member named 'currentAvg'
BatUGens.cpp: In function 'void TrigAvg_next_k(TrigAvg*, int)':
BatUGens.cpp:397: error: 'IN0' was not declared in this scope
BatUGens.cpp:397: error: 'fabs' was not declared in this scope
BatUGens.cpp:402: error: 'struct TrigAvg' has no member named 'currentAvg'
BatUGens.cpp:403: error: 'struct TrigAvg' has no member named 'currentIndex'
BatUGens.cpp:407: error: 'FULLBUFLENGTH' was not declared in this scope
BatUGens.cpp:409: error: 'float64' was not declared in this scope
BatUGens.cpp:410: error: 'struct TrigAvg' has no member named 'currentAvg'
BatUGens.cpp:410: error: 'struct TrigAvg' has no member named 'currentAvg'
BatUGens.cpp:410: error: 'divi' was not declared in this scope
BatUGens.cpp:411: error: 'struct TrigAvg' has no member named 'currentIndex'
BatUGens.cpp:413: error: expected primary-expression before ')' token
BatUGens.cpp:413: error: expected `;' before ')' token
BatUGens.cpp:414: error: 'ZOUT0' was not declared in this scope
BatUGens.cpp:414: error: 'struct TrigAvg' has no member named 'currentAvg'
BatUGens.cpp: In function 'void WAmp_Ctor(WAmp*)':
BatUGens.cpp:424: error: 'INRATE' was not declared in this scope
BatUGens.cpp:424: error: 'calc_FullRate' was not declared in this scope
BatUGens.cpp:426: error: 'SETCALC' was not declared in this scope
BatUGens.cpp:430: error: 'SETCALC' was not declared in this scope
BatUGens.cpp:432: error: 'SAMPLERATE' was not declared in this scope
BatUGens.cpp:432: error: 'FULLBUFLENGTH' was not declared in this scope
BatUGens.cpp:432: error: 'ZIN0' was not declared in this scope
BatUGens.cpp:432: error: 'ceil' was not declared in this scope
BatUGens.cpp:435: error: 'struct WAmp' has no member named 'mWorld'
BatUGens.cpp:435: error: 'RTAlloc' was not declared in this scope
BatUGens.cpp:445: error: 'ZOUT0' was not declared in this scope
BatUGens.cpp: In function 'void WAmp_Dtor(WAmp*)':
BatUGens.cpp:451: error: 'struct WAmp' has no member named 'mWorld'
BatUGens.cpp:451: error: 'RTFree' was not declared in this scope
BatUGens.cpp: In function 'void WAmp_next(WAmp*, int)':
BatUGens.cpp:458: error: 'ZIN' was not declared in this scope
BatUGens.cpp:464: error: 'FULLBUFLENGTH' was not declared in this scope
BatUGens.cpp:466: error: 'ZXP' was not declared in this scope
BatUGens.cpp:466: error: 'fabs' was not declared in this scope
BatUGens.cpp:476: error: expected primary-expression before ')' token
BatUGens.cpp:476: error: expected `;' before ')' token
BatUGens.cpp:478: error: 'ZOUT0' was not declared in this scope
BatUGens.cpp: In function 'void WAmp_next_k(WAmp*, int)':
BatUGens.cpp:486: error: 'IN0' was not declared in this scope
BatUGens.cpp:492: error: 'FULLBUFLENGTH' was not declared in this scope
BatUGens.cpp:494: error: 'fabs' was not declared in this scope
BatUGens.cpp:504: error: expected primary-expression before ')' token
BatUGens.cpp:504: error: expected `;' before ')' token
BatUGens.cpp:506: error: 'ZOUT0' was not declared in this scope
BatUGens.cpp: At global scope:
BatUGens.cpp:514: error: variable or field 'load' declared void
BatUGens.cpp:514: error: 'InterfaceTable' was not declared in this scope
BatUGens.cpp:514: error: 'inTable' was not declared in this scope

_______________________________________________
sc-users mailing list

info (subscribe and unsubscribe): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/

Re: New UGens for share

by Dan Stowell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi -

The first error is always the most important one.

> BatUGens.cpp:25:23: error: SC_PlugIn.h: No such file or directory

You need to make sure the compiler can find SC_PlugIn.h (plus it'll
need to see some other header files), best way is to add
/the/path/to/sc/Headers/plugin_interface to the compiler path.

(For compiling plugins on linux, what I always do is take the
"SConscript" file from the sc3-plugins project and copy-and-paste to
add extra lines as needed. Makes things pretty easy, once you get your
head round the SConscript way of describing things.)

Dan


2008/9/25 Martin . <blindmanonacid@...>:

> Hi,
>
> Id love to try these out - just started working with onset detection
> so this might come in handy :)
>
> This is my first try at compiling a UGen from source on Linux. I
> followed the instructions from
> http://swiki.hfbk-hamburg.de:8888/MusicTechnology/803#CompilePlugins
> ...and got the errors below. Am I on the right track?
>
> Has anyone else successfully compiled them from source (on Linux)?
>
> cheers,
> martin
>
> martin@ubuntu:~/Desktop/sc/batugens/source$ g++ `pkg-config –cflags
> libscsynth` -shared -o BatUGens.so BatUGens.cpp
> BatUGens.cpp:25:23: error: SC_PlugIn.h: No such file or directory
> BatUGens.cpp:523:2: warning: no newline at end of file
> BatUGens.cpp:27: error: expected initializer before '*' token
> BatUGens.cpp:31: error: expected class-name before '{' token
> BatUGens.cpp:39: error: 'float64' does not name a type
> BatUGens.cpp:40: error: 'float64' does not name a type
> BatUGens.cpp:41: error: 'int64' does not name a type
> BatUGens.cpp:50: error: expected class-name before '{' token
> BatUGens.cpp:51: error: 'float64' does not name a type
> BatUGens.cpp:52: error: 'int64' does not name a type
> BatUGens.cpp:58: error: expected class-name before '{' token
> BatUGens.cpp:68: error: expected class-name before '{' token
> BatUGens.cpp:72: error: 'int64' does not name a type
> BatUGens.cpp:73: error: 'int64' does not name a type
> BatUGens.cpp:84: error: variable or field 'load' declared void
> BatUGens.cpp:84: error: 'InterfaceTable' was not declared in this scope
> BatUGens.cpp:84: error: 'inTable' was not declared in this scope
> BatUGens.cpp: In function 'void MarkovSynth_Ctor(MarkovSynth*)':
> BatUGens.cpp:104: error: 'SETCALC' was not declared in this scope
> BatUGens.cpp:106: error: 'ZIN0' was not declared in this scope
> BatUGens.cpp:106: error: 'ceil' was not declared in this scope
> BatUGens.cpp:108: error: 'malloc' was not declared in this scope
> BatUGens.cpp:126: error: 'struct MarkovSynth' has no member named 'waitTime'
> BatUGens.cpp:126: error: 'SAMPLERATE' was not declared in this scope
> BatUGens.cpp:127: error: 'struct MarkovSynth' has no member named 'currentTick'
> BatUGens.cpp:131: error: 'ZOUT0' was not declared in this scope
> BatUGens.cpp: In function 'void MarkovSynth_Dtor(MarkovSynth*)':
> BatUGens.cpp:138: error: 'free' was not declared in this scope
> BatUGens.cpp:141: error: 'free' was not declared in this scope
> BatUGens.cpp: In function 'void MarkovSynth_next(MarkovSynth*, int)':
> BatUGens.cpp:149: error: 'IN' was not declared in this scope
> BatUGens.cpp:150: error: 'OUT' was not declared in this scope
> BatUGens.cpp:151: error: 'ZIN0' was not declared in this scope
> BatUGens.cpp:192: error: 'struct MarkovSynth' has no member named 'currentTick'
> BatUGens.cpp:193: error: 'struct MarkovSynth' has no member named 'currentTick'
> BatUGens.cpp:193: error: 'struct MarkovSynth' has no member named 'waitTime'
> BatUGens.cpp:203: error: 'struct MarkovSynth' has no member named 'mParent'
> BatUGens.cpp: In function 'void Coyote_Ctor(Coyote*)':
> BatUGens.cpp:228: error: 'SETCALC' was not declared in this scope
> BatUGens.cpp:230: error: 'ZIN0' was not declared in this scope
> BatUGens.cpp:237: error: 'log1' was not declared in this scope
> BatUGens.cpp:237: error: 'SAMPLERATE' was not declared in this scope
> BatUGens.cpp:237: error: 'exp' was not declared in this scope
> BatUGens.cpp:240: error: 'log001' was not declared in this scope
> BatUGens.cpp:245: error: 'struct Coyote' has no member named 'avgLagPrev'
> BatUGens.cpp:250: error: 'struct Coyote' has no member named 'currentAvg'
> BatUGens.cpp:251: error: 'struct Coyote' has no member named 'currentIndex'
> BatUGens.cpp:254: error: 'ZOUT0' was not declared in this scope
> BatUGens.cpp: In function 'void Coyote_next(Coyote*, int)':
> BatUGens.cpp:259: error: 'ZIN' was not declared in this scope
> BatUGens.cpp:261: error: 'ZIN0' was not declared in this scope
> BatUGens.cpp:263: error: 'log1' was not declared in this scope
> BatUGens.cpp:263: error: 'SAMPLERATE' was not declared in this scope
> BatUGens.cpp:263: error: 'exp' was not declared in this scope
> BatUGens.cpp:267: error: 'ZIN0' was not declared in this scope
> BatUGens.cpp:269: error: 'log001' was not declared in this scope
> BatUGens.cpp:269: error: 'SAMPLERATE' was not declared in this scope
> BatUGens.cpp:269: error: 'exp' was not declared in this scope
> BatUGens.cpp:273: error: 'ZIN0' was not declared in this scope
> BatUGens.cpp:275: error: 'log001' was not declared in this scope
> BatUGens.cpp:275: error: 'SAMPLERATE' was not declared in this scope
> BatUGens.cpp:275: error: 'exp' was not declared in this scope
> BatUGens.cpp:279: error: 'ZIN0' was not declared in this scope
> BatUGens.cpp:292: error: 'struct Coyote' has no member named 'currentAvg'
> BatUGens.cpp:293: error: 'struct Coyote' has no member named 'currentIndex'
> BatUGens.cpp:296: error: 'FULLBUFLENGTH' was not declared in this scope
> BatUGens.cpp:297: error: 'ZXP' was not declared in this scope
> BatUGens.cpp:297: error: 'fabs' was not declared in this scope
> BatUGens.cpp:308: error: 'float64' was not declared in this scope
> BatUGens.cpp:308: error: expected `;' before 'divi'
> BatUGens.cpp:309: error: 'struct Coyote' has no member named 'currentAvg'
> BatUGens.cpp:309: error: 'struct Coyote' has no member named 'currentAvg'
> BatUGens.cpp:309: error: 'divi' was not declared in this scope
> BatUGens.cpp:310: error: 'struct Coyote' has no member named 'currentIndex'
> BatUGens.cpp:313: error: expected primary-expression before ')' token
> BatUGens.cpp:313: error: expected `;' before ')' token
> BatUGens.cpp:318: error: 'struct Coyote' has no member named 'avgLagPrev'
> BatUGens.cpp:318: error: 'struct Coyote' has no member named 'currentAvg'
> BatUGens.cpp:318: error: 'struct Coyote' has no member named 'avgLagPrev'
> BatUGens.cpp:318: error: 'struct Coyote' has no member named 'currentAvg'
> BatUGens.cpp:320: error: 'zapgremlins' was not declared in this scope
> BatUGens.cpp:322: error: 'struct Coyote' has no member named 'avgLagPrev'
> BatUGens.cpp:322: error: 'struct Coyote' has no member named 'avgLagPrev'
> BatUGens.cpp:328: error: 'ZOUT0' was not declared in this scope
> BatUGens.cpp:337: error: 'SAMPLERATE' was not declared in this scope
> BatUGens.cpp: In function 'void TrigAvg_Ctor(TrigAvg*)':
> BatUGens.cpp:353: error: 'INRATE' was not declared in this scope
> BatUGens.cpp:353: error: 'calc_FullRate' was not declared in this scope
> BatUGens.cpp:355: error: 'SETCALC' was not declared in this scope
> BatUGens.cpp:359: error: 'SETCALC' was not declared in this scope
> BatUGens.cpp:361: error: 'struct TrigAvg' has no member named 'currentAvg'
> BatUGens.cpp:362: error: 'struct TrigAvg' has no member named 'currentIndex'
> BatUGens.cpp:365: error: 'ZOUT0' was not declared in this scope
> BatUGens.cpp:365: error: 'ZIN0' was not declared in this scope
> BatUGens.cpp: In function 'void TrigAvg_next(TrigAvg*, int)':
> BatUGens.cpp:370: error: 'ZIN' was not declared in this scope
> BatUGens.cpp:372: error: 'ZIN0' was not declared in this scope
> BatUGens.cpp:376: error: 'struct TrigAvg' has no member named 'currentAvg'
> BatUGens.cpp:377: error: 'struct TrigAvg' has no member named 'currentIndex'
> BatUGens.cpp:384: error: 'FULLBUFLENGTH' was not declared in this scope
> BatUGens.cpp:385: error: 'ZXP' was not declared in this scope
> BatUGens.cpp:385: error: 'fabs' was not declared in this scope
> BatUGens.cpp:386: error: 'float64' was not declared in this scope
> BatUGens.cpp:386: error: expected `;' before 'divi'
> BatUGens.cpp:387: error: 'struct TrigAvg' has no member named 'currentAvg'
> BatUGens.cpp:387: error: 'struct TrigAvg' has no member named 'currentAvg'
> BatUGens.cpp:387: error: 'divi' was not declared in this scope
> BatUGens.cpp:388: error: 'struct TrigAvg' has no member named 'currentIndex'
> BatUGens.cpp:390: error: expected primary-expression before ')' token
> BatUGens.cpp:390: error: expected `;' before ')' token
> BatUGens.cpp:391: error: 'ZOUT0' was not declared in this scope
> BatUGens.cpp:391: error: 'struct TrigAvg' has no member named 'currentAvg'
> BatUGens.cpp: In function 'void TrigAvg_next_k(TrigAvg*, int)':
> BatUGens.cpp:397: error: 'IN0' was not declared in this scope
> BatUGens.cpp:397: error: 'fabs' was not declared in this scope
> BatUGens.cpp:402: error: 'struct TrigAvg' has no member named 'currentAvg'
> BatUGens.cpp:403: error: 'struct TrigAvg' has no member named 'currentIndex'
> BatUGens.cpp:407: error: 'FULLBUFLENGTH' was not declared in this scope
> BatUGens.cpp:409: error: 'float64' was not declared in this scope
> BatUGens.cpp:410: error: 'struct TrigAvg' has no member named 'currentAvg'
> BatUGens.cpp:410: error: 'struct TrigAvg' has no member named 'currentAvg'
> BatUGens.cpp:410: error: 'divi' was not declared in this scope
> BatUGens.cpp:411: error: 'struct TrigAvg' has no member named 'currentIndex'
> BatUGens.cpp:413: error: expected primary-expression before ')' token
> BatUGens.cpp:413: error: expected `;' before ')' token
> BatUGens.cpp:414: error: 'ZOUT0' was not declared in this scope
> BatUGens.cpp:414: error: 'struct TrigAvg' has no member named 'currentAvg'
> BatUGens.cpp: In function 'void WAmp_Ctor(WAmp*)':
> BatUGens.cpp:424: error: 'INRATE' was not declared in this scope
> BatUGens.cpp:424: error: 'calc_FullRate' was not declared in this scope
> BatUGens.cpp:426: error: 'SETCALC' was not declared in this scope
> BatUGens.cpp:430: error: 'SETCALC' was not declared in this scope
> BatUGens.cpp:432: error: 'SAMPLERATE' was not declared in this scope
> BatUGens.cpp:432: error: 'FULLBUFLENGTH' was not declared in this scope
> BatUGens.cpp:432: error: 'ZIN0' was not declared in this scope
> BatUGens.cpp:432: error: 'ceil' was not declared in this scope
> BatUGens.cpp:435: error: 'struct WAmp' has no member named 'mWorld'
> BatUGens.cpp:435: error: 'RTAlloc' was not declared in this scope
> BatUGens.cpp:445: error: 'ZOUT0' was not declared in this scope
> BatUGens.cpp: In function 'void WAmp_Dtor(WAmp*)':
> BatUGens.cpp:451: error: 'struct WAmp' has no member named 'mWorld'
> BatUGens.cpp:451: error: 'RTFree' was not declared in this scope
> BatUGens.cpp: In function 'void WAmp_next(WAmp*, int)':
> BatUGens.cpp:458: error: 'ZIN' was not declared in this scope
> BatUGens.cpp:464: error: 'FULLBUFLENGTH' was not declared in this scope
> BatUGens.cpp:466: error: 'ZXP' was not declared in this scope
> BatUGens.cpp:466: error: 'fabs' was not declared in this scope
> BatUGens.cpp:476: error: expected primary-expression before ')' token
> BatUGens.cpp:476: error: expected `;' before ')' token
> BatUGens.cpp:478: error: 'ZOUT0' was not declared in this scope
> BatUGens.cpp: In function 'void WAmp_next_k(WAmp*, int)':
> BatUGens.cpp:486: error: 'IN0' was not declared in this scope
> BatUGens.cpp:492: error: 'FULLBUFLENGTH' was not declared in this scope
> BatUGens.cpp:494: error: 'fabs' was not declared in this scope
> BatUGens.cpp:504: error: expected primary-expression before ')' token
> BatUGens.cpp:504: error: expected `;' before ')' token
> BatUGens.cpp:506: error: 'ZOUT0' was not declared in this scope
> BatUGens.cpp: At global scope:
> BatUGens.cpp:514: error: variable or field 'load' declared void
> BatUGens.cpp:514: error: 'InterfaceTable' was not declared in this scope
> BatUGens.cpp:514: error: 'inTable' was not declared in this scope
>
> _______________________________________________
> sc-users mailing list
>
> info (subscribe and unsubscribe): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
> archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
> search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
>



--
http://www.mcld.co.uk

_______________________________________________
sc-users mailing list

info (subscribe and unsubscribe): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/

Re: New UGens for share

by Martin . :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Dan, I'll dig my head into SConscript :]

On Thu, Sep 25, 2008 at 5:17 PM, Dan Stowell <danstowell@...> wrote:

> Hi -
>
> The first error is always the most important one.
>
>> BatUGens.cpp:25:23: error: SC_PlugIn.h: No such file or directory
>
> You need to make sure the compiler can find SC_PlugIn.h (plus it'll
> need to see some other header files), best way is to add
> /the/path/to/sc/Headers/plugin_interface to the compiler path.
>
> (For compiling plugins on linux, what I always do is take the
> "SConscript" file from the sc3-plugins project and copy-and-paste to
> add extra lines as needed. Makes things pretty easy, once you get your
> head round the SConscript way of describing things.)
>
> Dan
>
>
> 2008/9/25 Martin . <blindmanonacid@...>:
>> Hi,
>>
>> Id love to try these out - just started working with onset detection
>> so this might come in handy :)
>>
>> This is my first try at compiling a UGen from source on Linux. I
>> followed the instructions from
>> http://swiki.hfbk-hamburg.de:8888/MusicTechnology/803#CompilePlugins
>> ...and got the errors below. Am I on the right track?
>>
>> Has anyone else successfully compiled them from source (on Linux)?
>>
>> cheers,
>> martin
>>
>> martin@ubuntu:~/Desktop/sc/batugens/source$ g++ `pkg-config –cflags
>> libscsynth` -shared -o BatUGens.so BatUGens.cpp
>> BatUGens.cpp:25:23: error: SC_PlugIn.h: No such file or directory
>> BatUGens.cpp:523:2: warning: no newline at end of file
>> BatUGens.cpp:27: error: expected initializer before '*' token
>> BatUGens.cpp:31: error: expected class-name before '{' token
>> BatUGens.cpp:39: error: 'float64' does not name a type
>> BatUGens.cpp:40: error: 'float64' does not name a type
>> BatUGens.cpp:41: error: 'int64' does not name a type
>> BatUGens.cpp:50: error: expected class-name before '{' token
>> BatUGens.cpp:51: error: 'float64' does not name a type
>> BatUGens.cpp:52: error: 'int64' does not name a type
>> BatUGens.cpp:58: error: expected class-name before '{' token
>> BatUGens.cpp:68: error: expected class-name before '{' token
>> BatUGens.cpp:72: error: 'int64' does not name a type
>> BatUGens.cpp:73: error: 'int64' does not name a type
>> BatUGens.cpp:84: error: variable or field 'load' declared void
>> BatUGens.cpp:84: error: 'InterfaceTable' was not declared in this scope
>> BatUGens.cpp:84: error: 'inTable' was not declared in this scope
>> BatUGens.cpp: In function 'void MarkovSynth_Ctor(MarkovSynth*)':
>> BatUGens.cpp:104: error: 'SETCALC' was not declared in this scope
>> BatUGens.cpp:106: error: 'ZIN0' was not declared in this scope
>> BatUGens.cpp:106: error: 'ceil' was not declared in this scope
>> BatUGens.cpp:108: error: 'malloc' was not declared in this scope
>> BatUGens.cpp:126: error: 'struct MarkovSynth' has no member named 'waitTime'
>> BatUGens.cpp:126: error: 'SAMPLERATE' was not declared in this scope
>> BatUGens.cpp:127: error: 'struct MarkovSynth' has no member named 'currentTick'
>> BatUGens.cpp:131: error: 'ZOUT0' was not declared in this scope
>> BatUGens.cpp: In function 'void MarkovSynth_Dtor(MarkovSynth*)':
>> BatUGens.cpp:138: error: 'free' was not declared in this scope
>> BatUGens.cpp:141: error: 'free' was not declared in this scope
>> BatUGens.cpp: In function 'void MarkovSynth_next(MarkovSynth*, int)':
>> BatUGens.cpp:149: error: 'IN' was not declared in this scope
>> BatUGens.cpp:150: error: 'OUT' was not declared in this scope
>> BatUGens.cpp:151: error: 'ZIN0' was not declared in this scope
>> BatUGens.cpp:192: error: 'struct MarkovSynth' has no member named 'currentTick'
>> BatUGens.cpp:193: error: 'struct MarkovSynth' has no member named 'currentTick'
>> BatUGens.cpp:193: error: 'struct MarkovSynth' has no member named 'waitTime'
>> BatUGens.cpp:203: error: 'struct MarkovSynth' has no member named 'mParent'
>> BatUGens.cpp: In function 'void Coyote_Ctor(Coyote*)':
>> BatUGens.cpp:228: error: 'SETCALC' was not declared in this scope
>> BatUGens.cpp:230: error: 'ZIN0' was not declared in this scope
>> BatUGens.cpp:237: error: 'log1' was not declared in this scope
>> BatUGens.cpp:237: error: 'SAMPLERATE' was not declared in this scope
>> BatUGens.cpp:237: error: 'exp' was not declared in this scope
>> BatUGens.cpp:240: error: 'log001' was not declared in this scope
>> BatUGens.cpp:245: error: 'struct Coyote' has no member named 'avgLagPrev'
>> BatUGens.cpp:250: error: 'struct Coyote' has no member named 'currentAvg'
>> BatUGens.cpp:251: error: 'struct Coyote' has no member named 'currentIndex'
>> BatUGens.cpp:254: error: 'ZOUT0' was not declared in this scope
>> BatUGens.cpp: In function 'void Coyote_next(Coyote*, int)':
>> BatUGens.cpp:259: error: 'ZIN' was not declared in this scope
>> BatUGens.cpp:261: error: 'ZIN0' was not declared in this scope
>> BatUGens.cpp:263: error: 'log1' was not declared in this scope
>> BatUGens.cpp:263: error: 'SAMPLERATE' was not declared in this scope
>> BatUGens.cpp:263: error: 'exp' was not declared in this scope
>> BatUGens.cpp:267: error: 'ZIN0' was not declared in this scope
>> BatUGens.cpp:269: error: 'log001' was not declared in this scope
>> BatUGens.cpp:269: error: 'SAMPLERATE' was not declared in this scope
>> BatUGens.cpp:269: error: 'exp' was not declared in this scope
>> BatUGens.cpp:273: error: 'ZIN0' was not declared in this scope
>> BatUGens.cpp:275: error: 'log001' was not declared in this scope
>> BatUGens.cpp:275: error: 'SAMPLERATE' was not declared in this scope
>> BatUGens.cpp:275: error: 'exp' was not declared in this scope
>> BatUGens.cpp:279: error: 'ZIN0' was not declared in this scope
>> BatUGens.cpp:292: error: 'struct Coyote' has no member named 'cu