Csound Csound-dev Csound-tekno Search About

[Csnd] csoundapi~ newbie question

Date2011-07-31 22:52
FromDave Seidel
Subject[Csnd] csoundapi~ newbie question
Attachmentscontrol.pd  
So, I'm going through the examples at
http://en.flossmanuals.net/csound/ch052_csound-in-pd/. I'm pretty much
completely new to PD.

I set up the first CSD and patch. When I change the values sent to the
"control amp $1" and "control amp $2" messages, I see "channel not
found" in the PD console.

I'm sure I'm missing something very basic. I *think* I've put the
correct types of objects and hooked up outlets to inlets, but I have no
real prior experience in this environment to draw on.

The patch is attached. Thanks for any help.

- Dave

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"


Date2011-07-31 23:03
FromDave Seidel
SubjectRe: [Csnd] csoundapi~ newbie question
I should add that csoundapi~ is loading with no apparent errors and is
compile the CSD, also without apparent errors.

On 7/31/2011 5:52 PM, Dave Seidel wrote:
> So, I'm going through the examples at
> http://en.flossmanuals.net/csound/ch052_csound-in-pd/. I'm pretty much
> completely new to PD.
> 
> I set up the first CSD and patch. When I change the values sent to the
> "control amp $1" and "control amp $2" messages, I see "channel not
> found" in the PD console.
> 
> I'm sure I'm missing something very basic. I *think* I've put the
> correct types of objects and hooked up outlets to inlets, but I have no
> real prior experience in this environment to draw on.
> 
> The patch is attached. Thanks for any help.
> 
> - Dave
> 
> 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"

Date2011-07-31 23:11
Fromjoachim heintz
SubjectRe: [Csnd] csoundapi~ newbie question
the message "channel not found" usually means that you did not register
the channels via a message box including "set   <...>".
see the example in 09A01 (you must press the message box first, before
sending control data).
hope this helps -
	joachim


Am 01.08.2011 00:03, schrieb Dave Seidel:
> I should add that csoundapi~ is loading with no apparent errors and is
> compile the CSD, also without apparent errors.
> 
> On 7/31/2011 5:52 PM, Dave Seidel wrote:
>> So, I'm going through the examples at
>> http://en.flossmanuals.net/csound/ch052_csound-in-pd/. I'm pretty much
>> completely new to PD.
>>
>> I set up the first CSD and patch. When I change the values sent to the
>> "control amp $1" and "control amp $2" messages, I see "channel not
>> found" in the PD console.
>>
>> I'm sure I'm missing something very basic. I *think* I've put the
>> correct types of objects and hooked up outlets to inlets, but I have no
>> real prior experience in this environment to draw on.
>>
>> The patch is attached. Thanks for any help.
>>
>> - Dave
>>
>> 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"
> 
> 


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"

Date2011-07-31 23:28
FromDave Seidel
SubjectRe: [Csnd] csoundapi~ newbie question
Thanks, Joachim! I have a "set ..." message, but didn't realize I needed
to click it to send it. That did the trick.

- Dave

On 7/31/2011 6:11 PM, joachim heintz wrote:
> the message "channel not found" usually means that you did not register
> the channels via a message box including "set   <...>".
> see the example in 09A01 (you must press the message box first, before
> sending control data).
> hope this helps -
> 	joachim
> 
> 
> Am 01.08.2011 00:03, schrieb Dave Seidel:
>> I should add that csoundapi~ is loading with no apparent errors and is
>> compile the CSD, also without apparent errors.
>>
>> On 7/31/2011 5:52 PM, Dave Seidel wrote:
>>> So, I'm going through the examples at
>>> http://en.flossmanuals.net/csound/ch052_csound-in-pd/. I'm pretty much
>>> completely new to PD.
>>>
>>> I set up the first CSD and patch. When I change the values sent to the
>>> "control amp $1" and "control amp $2" messages, I see "channel not
>>> found" in the PD console.
>>>
>>> I'm sure I'm missing something very basic. I *think* I've put the
>>> correct types of objects and hooked up outlets to inlets, but I have no
>>> real prior experience in this environment to draw on.
>>>
>>> The patch is attached. Thanks for any help.
>>>
>>> - Dave
>>>
>>> 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"
>>
>>
> 
> 
> 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"

Date2011-08-01 02:01
FromJim Aikin
Subject[Csnd] Re: csoundapi~ newbie question
I couldn't even get that far. I need to do a little research on this topic,
so I'm hoping someone can help.

I'm in Windows 7 here. The floss manual gives an example from MacOS, which
is not as applicable as perhaps it might be. When I search for files whose
names include "csoundapi", I find a file in the Csound distribution called
csound_tilde.c, which I'm guessing would provide an appropriate file if I
were compiling Csound myself, but I'm not. There's also a file called
csoundapi.pd.

I tried putting them both in the Pd folder anyway, but of course that didn't
work. I didn't expect it to.

As far as I can see, there's no file called "csoundapi~", with or without a
filename extension, anywhere in the 5.12 or 5.13 distribution for Windows.
Most likely I'm just making some sort of silly, unwarranted assumption --
but what would it be?

Suggestions would be very welcome.

--Jim Aikin

--
View this message in context: http://csound.1045644.n5.nabble.com/csoundapi-newbie-question-tp4653368p4653657.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"

Date2011-08-01 02:19
FromMartin Peach
SubjectRe: [Csnd] Re: csoundapi~ newbie question
It should be called csoundapi~.dll and it should be in csound/bin of 
your program files. You need to copy it into your pd patch folder.

Martin


On 2011-07-31 21:01, Jim Aikin wrote:
> I couldn't even get that far. I need to do a little research on this topic,
> so I'm hoping someone can help.
>
> I'm in Windows 7 here. The floss manual gives an example from MacOS, which
> is not as applicable as perhaps it might be. When I search for files whose
> names include "csoundapi", I find a file in the Csound distribution called
> csound_tilde.c, which I'm guessing would provide an appropriate file if I
> were compiling Csound myself, but I'm not. There's also a file called
> csoundapi.pd.
>
> I tried putting them both in the Pd folder anyway, but of course that didn't
> work. I didn't expect it to.
>
> As far as I can see, there's no file called "csoundapi~", with or without a
> filename extension, anywhere in the 5.12 or 5.13 distribution for Windows.
> Most likely I'm just making some sort of silly, unwarranted assumption --
> but what would it be?
>
> Suggestions would be very welcome.
>
> --Jim Aikin
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/csoundapi-newbie-question-tp4653368p4653657.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"
>
>
>



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"

Date2011-08-01 02:20
FromDave Seidel
SubjectRe: [Csnd] Re: csoundapi~ newbie question
Hi Jim,

On Windows 7, the file is called csoundapi~.dll and it's located in the
Csound bin directory (for me, "C:\Program Files (x86)\Csound\bin"). I
copied the file to PD's "extras" directory (for me, "C:\Program Files
(x86)\pd\extra"). Once I did this, I was able to load the csoundapi~
object in PD.

However, csoundapi~.dll is not necessarily installed by default, I seem
to remember that it's one of the optional components. If this is true,
it's possible that you don;t have it one your system yet, but in that
case you could just re-run the Csound installer and select the option.

The documentation should indeed include both Windows and Linux
directions as well as OSX.

- Dave

On 7/31/2011 9:01 PM, Jim Aikin wrote:
> I couldn't even get that far. I need to do a little research on this topic,
> so I'm hoping someone can help.
> 
> I'm in Windows 7 here. The floss manual gives an example from MacOS, which
> is not as applicable as perhaps it might be. When I search for files whose
> names include "csoundapi", I find a file in the Csound distribution called
> csound_tilde.c, which I'm guessing would provide an appropriate file if I
> were compiling Csound myself, but I'm not. There's also a file called
> csoundapi.pd.
> 
> I tried putting them both in the Pd folder anyway, but of course that didn't
> work. I didn't expect it to.
> 
> As far as I can see, there's no file called "csoundapi~", with or without a
> filename extension, anywhere in the 5.12 or 5.13 distribution for Windows.
> Most likely I'm just making some sort of silly, unwarranted assumption --
> but what would it be?
> 
> Suggestions would be very welcome.
> 
> --Jim Aikin
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/csoundapi-newbie-question-tp4653368p4653657.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"
> 
> 


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"

Date2011-08-01 03:57
FromJim Aikin
Subject[Csnd] Re: csoundapi~ newbie question
Thanks, Dave. I re-ran the installer. I don't know why I wouldn't have
installed the Pd .dll the first time, but obviously I didn't. Now at least I
can start playing around with it.

I also have a file called csoundapi.pd. Don't know where I got it, but it
will run a file called csapi_demo.csd. This file must, however, be "in the
canvas directory or should be given a full-path relative to the canvas
directory," according to the comments in the .pd file. I have, at this
moment, not the foggiest idea what "the canvas directory" is. There seems to
be no such directory in the Pd installation.

Possibly this is a quaint way of referring to "the directory where this .pd
file is located." I'll try that next.

--JA


--
View this message in context: http://csound.1045644.n5.nabble.com/csoundapi-newbie-question-tp4653368p4653855.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"

Date2011-08-01 09:22
Fromjoachim heintz
SubjectRe: [Csnd] Re: csoundapi~ newbie question
please, if someone can find the time to add these information for
windows users: just go to
http://booki.flossmanuals.net/accounts/login/?next=/csound/_edit/

let me know if you have any problems with the access. i can add the
information for linux.
thanks in advance -

	joachim



Am 01.08.2011 04:57, schrieb Jim Aikin:
> Thanks, Dave. I re-ran the installer. I don't know why I wouldn't have
> installed the Pd .dll the first time, but obviously I didn't. Now at least I
> can start playing around with it.
> 
> I also have a file called csoundapi.pd. Don't know where I got it, but it
> will run a file called csapi_demo.csd. This file must, however, be "in the
> canvas directory or should be given a full-path relative to the canvas
> directory," according to the comments in the .pd file. I have, at this
> moment, not the foggiest idea what "the canvas directory" is. There seems to
> be no such directory in the Pd installation.
> 
> Possibly this is a quaint way of referring to "the directory where this .pd
> file is located." I'll try that next.
> 
> --JA
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/csoundapi-newbie-question-tp4653368p4653855.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"
> 
> 


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"

Date2011-08-01 11:56
FromDave Seidel
SubjectRe: [Csnd] Re: csoundapi~ newbie question
I don't know about that file, but I believe that in the PD world a .pd
file is referred to variously as a "patch" or a "canvas", so in a more
generic sense one's canvas directory is just where your project is. So
if you need to include a file just in one project you copy it to your
project location, but if you want to be able to include it in multiple
projects, you need to put it on a directory that's on PD's search path.

- Dave

On 7/31/2011 10:57 PM, Jim Aikin wrote:
> Thanks, Dave. I re-ran the installer. I don't know why I wouldn't have
> installed the Pd .dll the first time, but obviously I didn't. Now at least I
> can start playing around with it.
> 
> I also have a file called csoundapi.pd. Don't know where I got it, but it
> will run a file called csapi_demo.csd. This file must, however, be "in the
> canvas directory or should be given a full-path relative to the canvas
> directory," according to the comments in the .pd file. I have, at this
> moment, not the foggiest idea what "the canvas directory" is. There seems to
> be no such directory in the Pd installation.
> 
> Possibly this is a quaint way of referring to "the directory where this .pd
> file is located." I'll try that next.
> 
> --JA
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/csoundapi-newbie-question-tp4653368p4653855.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"
> 
> 


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"

Date2011-08-01 18:11
FromJim Aikin
Subject[Csnd] Re: csoundapi~ newbie question
I used the interface on that web page of the Floss Manual to add a comment,
but when I clicked the Submit button, all I got on Firefox was a blank
window. I have no way of knowing whether the comment arrived safely, or got
deleted. Please let me know.

--JA

--
View this message in context: http://csound.1045644.n5.nabble.com/csoundapi-newbie-question-tp4653368p4655678.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"

Date2011-08-02 03:36
FromDave Seidel
SubjectRe: [Csnd] Re: csoundapi~ newbie question
I tried to comment too, same problem (with Google Chrome).

On 8/1/2011 1:11 PM, Jim Aikin wrote:
> I used the interface on that web page of the Floss Manual to add a comment,
> but when I clicked the Submit button, all I got on Firefox was a blank
> window. I have no way of knowing whether the comment arrived safely, or got
> deleted. Please let me know.
> 
> --JA


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"

Date2011-08-02 09:49
Fromjoachim heintz
SubjectRe: [Csnd] Re: csoundapi~ newbie question
no, a comment is not what i meant.
please
1) go to
http://booki.flossmanuals.net/accounts/login/?next=/csound/_edit/ and
sign in. if you don't have an account, you must register first.
2) now you are in the write section of the csound floss manual. go to
the appropriate chapter and click on the "edit" button. when you
finished your insertions, click "save". it will not be visible
immediately at the "read" page, but it will be there in the next release.
thanks -
	joachim



Am 02.08.2011 04:36, schrieb Dave Seidel:
> I tried to comment too, same problem (with Google Chrome).
> 
> On 8/1/2011 1:11 PM, Jim Aikin wrote:
>> I used the interface on that web page of the Floss Manual to add a comment,
>> but when I clicked the Submit button, all I got on Firefox was a blank
>> window. I have no way of knowing whether the comment arrived safely, or got
>> deleted. Please let me know.
>>
>> --JA
> 
> 
> 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"

Date2011-08-04 23:00
Fromjoachim heintz
SubjectRe: [Csnd] Re: csoundapi~ newbie question
just to note, i have committed now a short description for ubuntu/linux
and prepared a place for the windows description ... =)
best -
	joachim


Am 02.08.2011 10:49, schrieb joachim heintz:
> no, a comment is not what i meant.
> please
> 1) go to
> http://booki.flossmanuals.net/accounts/login/?next=/csound/_edit/ and
> sign in. if you don't have an account, you must register first.
> 2) now you are in the write section of the csound floss manual. go to
> the appropriate chapter and click on the "edit" button. when you
> finished your insertions, click "save". it will not be visible
> immediately at the "read" page, but it will be there in the next release.
> thanks -
> 	joachim
> 
> 
> 
> Am 02.08.2011 04:36, schrieb Dave Seidel:
>> I tried to comment too, same problem (with Google Chrome).
>>
>> On 8/1/2011 1:11 PM, Jim Aikin wrote:
>>> I used the interface on that web page of the Floss Manual to add a comment,
>>> but when I clicked the Submit button, all I got on Firefox was a blank
>>> window. I have no way of knowing whether the comment arrived safely, or got
>>> deleted. Please let me know.
>>>
>>> --JA
>>
>>
>> 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"
> 
> 


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"