OOP definition clarification.was(Dysfunctional Messages/Message Help)

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

OOP definition clarification.was(Dysfunctional Messages/Message Help)

by Nik Francis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

_______________
www.innerv8.com
I think I may have confused two terms...in the Cottle  tutorial, for the ugen, SinOsc.ar(440,0,0.4), the message is, ar.  What then is a method? Or are these definitions interchangeable in some situations?

Nik

----- Original Message -----
From: Martin . [mailto:blindmanonacid@...]
To: sc-users@...
Sent: Thu, 26 Jun 2008 01:08:29 +0100
Subject: Re: [sc-users] Dysfunctional Messages/Message Help

Check the JSpeech helpfile too. Seems to use FreeTTS stuff from
http://sourceforge.net/projects/freetts . Havent tried it though so
don't know if it works..

On messages, could you be a bit more specific - what would receive the
messages? Helpfiles list quite a few ways to use the object and if you
open the class (definition) you can see all.

martin

On Wed, Jun 25, 2008 at 1:24 PM, James Harkins <jamshark70@...> wrote:

> On Jun 24, 2008, at 7:05 PM, Nik Francis wrote:
>
> While following various tutorials, I have found that the .speak and .draw
> messages do not work.  I am using SC 3 in Linux via gedit with SwingOSC. Am
> I missing some kind of library?
> Along the same lines, are there help files for messages?  I know I can
> search for help on various objects, but how does one learn what messages can
> be sent to a given object?
>
> In addition to the class browser (which I use a lot), these are also good
> options:
> // list all methods in ASCII order (including methods inherited from
> superclasses)
> SomeClass.dumpMethodList;
> // list methods defined within the class (not including methods inherited
> from superclasses)
> // arbitrary order
> SomeClass.dumpInterface;
> // list all methods (including inherited), broken down by the defining class
> SomeClass.dumpFullInterface;
> See also the Internal Snooping helpfile.
> hjh
>
> : H. James Harkins
>
> : jamshark70@...
>
> : http://www.dewdrop-world.net
>
> .::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:
>
> "Come said the Muse,
>
> Sing me a song no poet has yet chanted,
>
> Sing me the universal."  -- Whitman
>
_______________________________________________
sc-users mailing list


info (subscribe and unsubscribe): http://swiki.hfbk-hamburg.de:8888/MusicTechnology/880
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/


Re: OOP definition clarification.was(Dysfunctional Messages/Message Help)

by Stephan Wittwer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Am 28.06.2008 um 16:40 schrieb Nik Francis:

> I think I may have confused two terms...in the Cottle  tutorial, for  
> the ugen, SinOsc.ar(440,0,0.4), the message is, ar.  What then is a  
> method? Or are these definitions interchangeable in some situations?

Look at the help file called 'Intro-to-Objects':

[...]
        A method is a description of the operations necessary to implement a  
message for a particular class. The methods in a class tell how to  
implement messages sent to its instances. A class contains a method  
definition for each message to which its instances respond.
[...]

_______________________________________________
sc-users mailing list


info (subscribe and unsubscribe): http://swiki.hfbk-hamburg.de:8888/MusicTechnology/880
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/