Hi list,
im running pd-extended 42.5 on linux mint 11 amd64. its a clean installation and after some searching , hacking and stuff i got define_loudspeakers compiled against amd64. the define_loudspeakers object turned from red to normal and the vbap object now has its 4 in- and outlets.
but when i want to use define_loudspeakers with a vbap module, pd complains:
error: vbap: no method for 'loudspeaker-matrices'
why?
i tried to place vbap.pd_linux and define_loudspeakers.pd_linux in /usr/lib/pdextended/extra/vbap as well as in my workspace folder... same effect...
regards Ck
On Tue, Feb 14, 2012 at 4:05 PM, Christoph Kuhr christoph.kuhr@web.de wrote:
but when i want to use define_loudspeakers with a vbap module, pd complains:
error: vbap: no method for 'loudspeaker-matrices'
In vbap.c method 'vbap_matrix' is called via message 'loudspeaker-matrices', yet the method is not recognized. Possibly because the method expects a Symbol argument as well. From the help patches I can't understand what it really needs. The C-code speaks of 'lsset', loudspeaker set I assume.
Katja
On Feb 14, 2012, at 11:26 AM, katja wrote:
On Tue, Feb 14, 2012 at 4:05 PM, Christoph Kuhr christoph.kuhr@web.de wrote:
but when i want to use define_loudspeakers with a vbap module, pd complains:
error: vbap: no method for 'loudspeaker-matrices'
In vbap.c method 'vbap_matrix' is called via message 'loudspeaker-matrices', yet the method is not recognized. Possibly because the method expects a Symbol argument as well. From the help patches I can't understand what it really needs. The C-code speaks of 'lsset', loudspeaker set I assume.
I think there is a bug in that version. To workaround it, you need to load [vbap] first, then [define_loudspeaker]
.hc
"[T]he greatest purveyor of violence in the world today [is] my own government." - Martin Luther King, Jr.
I don't think this solves the problem, I load them in order [t b b]->[import vbap] ->[import define_loudspeakers] and still get that "error: vbap: no method for 'loudspeaker-matrices'"error.I made sure vbap is not in the list of binaries to load. ggee is, not sure whether it loads it.I also get the warning "vbap: Could not open loudspeaker data file .../ls_setup"By the way, [vbap] is so poorly doccumented... :( The whole sequence of warning I get when loading a simple example is: define_loudspeakers - v1.0.3 - 12 Aug 2006 - (c) Ville Pulkki 1999-2006vbap: already loadeddefine_loudspeakers: already loadedvbap: Using default loudspeaker setupvbap: Could not open loudspeaker data file .../ls_setup
So, what functional version should I use? We need vbap working for our piece. Thanks!Josep M
From: hans@at.or.at Date: Tue, 14 Feb 2012 12:51:27 -0500 To: katjavetter@gmail.com CC: pd-list@iem.at Subject: Re: [PD] error: vbap: no method for 'loudspeaker-matrices'
On Feb 14, 2012, at 11:26 AM, katja wrote:
On Tue, Feb 14, 2012 at 4:05 PM, Christoph Kuhr christoph.kuhr@web.de wrote:
but when i want to use define_loudspeakers with a vbap module, pd complains:
error: vbap: no method for 'loudspeaker-matrices'
In vbap.c method 'vbap_matrix' is called via message 'loudspeaker-matrices', yet the method is not recognized. Possibly because the method expects a Symbol argument as well. From the help patches I can't understand what it really needs. The C-code speaks of 'lsset', loudspeaker set I assume.
I think there is a bug in that version. To workaround it, you need to load [vbap] first, then [define_loudspeaker]
.hc
"[T]he greatest purveyor of violence in the world today [is] my own government." - Martin Luther King, Jr.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Wed, Feb 15, 2012 at 12:32 PM, Jeppi Jeppi jeppiot@hotmail.com wrote:
I also get the warning "vbap: Could not open loudspeaker data file .../ls_setup" By the way, [vbap] is so poorly doccumented... :(
Anyway [vbap~] does listen to message 'define_loudspeakers' from a message box, as shown in vbap-help. So maybe you can replace symbol 'loudspeaker-matrices' from [define_loudspeakers] with symbol 'define_loudspeakers' using some tricks from the list-abs library?
Katja
On Feb 15, 2012, at 8:48 AM, katja wrote:
On Wed, Feb 15, 2012 at 12:32 PM, Jeppi Jeppi jeppiot@hotmail.com wrote:
I also get the warning "vbap: Could not open loudspeaker data file .../ls_setup" By the way, [vbap] is so poorly doccumented... :(
Anyway [vbap~] does listen to message 'define_loudspeakers' from a message box, as shown in vbap-help. So maybe you can replace symbol 'loudspeaker-matrices' from [define_loudspeakers] with symbol 'define_loudspeakers' using some tricks from the list-abs library?
This is what works for me, starting with a blank canvas:
.hc
Looking at things from a more basic level, you can come up with a more direct solution... It may sound small in theory, but it in practice, it can change entire economies. - Amy Smith
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-02-15 15:31, Hans-Christoph Steiner wrote:
This is what works for me, starting with a blank canvas:
- create [import vbap]
- create [vbap/vbap]
- create [vbap/define_loudspeakers]
i'm not sure, but i think the original problem is that one object sends a message to another object, which the receiver does not understand, rather than objects that fail to create (which i think is what you are trying to solve here) - at least that how i read the question and that is how katja tried to answer it.
or do you mean to say, that if you instantiate [vbap/vbap] before [vbap/define_louspeakers], the former will magically get a method for "loudspeaker-matrices", whereas it will refuse to do so if you create them in the wrong order?
mfgasdr IOhannes
On Feb 15, 2012, at 11:19 AM, IOhannes m zmoelnig wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-02-15 15:31, Hans-Christoph Steiner wrote:
This is what works for me, starting with a blank canvas:
- create [import vbap]
- create [vbap/vbap]
- create [vbap/define_loudspeakers]
i'm not sure, but i think the original problem is that one object sends a message to another object, which the receiver does not understand, rather than objects that fail to create (which i think is what you are trying to solve here) - at least that how i read the question and that is how katja tried to answer it.
or do you mean to say, that if you instantiate [vbap/vbap] before [vbap/define_louspeakers], the former will magically get a method for "loudspeaker-matrices", whereas it will refuse to do so if you create them in the wrong order?
Ah right, Pd-extended used to include ggee/vbap, so if you load [vbap] it'll load ggee/vbap as [vbap], and ggee/vbap is broken and doesn't respond to [loudspeaker-matrices(. Therefore, either upgrade to Pd-extended 0.43, or always use
[vbap/vbap] [vbap/define_loudspeakers]
.hc
Programs should be written for people to read, and only incidentally for machines to execute.
On Thu, Feb 16, 2012 at 3:05 AM, Hans-Christoph Steiner hans@at.or.at wrote:
Ah right, Pd-extended used to include ggee/vbap, so if you load [vbap] it'll load ggee/vbap as [vbap], and ggee/vbap is broken and doesn't respond to [loudspeaker-matrices(. Therefore, either upgrade to Pd-extended 0.43, or always use
[vbap/vbap] [vbap/define_loudspeakers]
In 0.43, [vbap] (this is [vbap/vbap] indeed) responds like this when loading the help file for [define_loudspeakers]:
vbap: Using default loudspeaker setup vbap: Could not open loudspeaker data file /Applications/Pd-0.43.1-extended-20111221.app/Contents/Resources/extra/vbap/ls_setup
And when you bang [define_loudspeakers]:
vbap: no method for 'loudspeaker-matrices'
But! The file ls_setup is in ggee/other (in svn, that is).
Katja
On Feb 15, 2012, at 9:31 PM, katja wrote:
On Thu, Feb 16, 2012 at 3:05 AM, Hans-Christoph Steiner hans@at.or.at wrote:
Ah right, Pd-extended used to include ggee/vbap, so if you load [vbap] it'll load ggee/vbap as [vbap], and ggee/vbap is broken and doesn't respond to [loudspeaker-matrices(. Therefore, either upgrade to Pd-extended 0.43, or always use
[vbap/vbap] [vbap/define_loudspeakers]
In 0.43, [vbap] (this is [vbap/vbap] indeed) responds like this when loading the help file for [define_loudspeakers]:
vbap: Using default loudspeaker setup vbap: Could not open loudspeaker data file /Applications/Pd-0.43.1-extended-20111221.app/Contents/Resources/extra/vbap/ls_setup
And when you bang [define_loudspeakers]:
vbap: no method for 'loudspeaker-matrices'
But! The file ls_setup is in ggee/other (in svn, that is).
I can't reproduce that. [vbap/define_loudspeakers] works fine for me in 0.43.1-2012-02-15. If [vbap/vbap] is loaded and you are getting "no method for 'loudspeaker-matrices'", then I think you have ggee/vbap somewhere in your path.
.hc
'You people have such restrictive dress for women,’ she said, hobbling away in three inch heels and panty hose to finish out another pink-collar temp pool day. - “Hijab Scene #2", by Mohja Kahf
On Thu, Feb 16, 2012 at 3:43 AM, Hans-Christoph Steiner hans@at.or.at wrote:
I can't reproduce that. [vbap/define_loudspeakers] works fine for me in 0.43.1-2012-02-15. If [vbap/vbap] is loaded and you are getting "no method for 'loudspeaker-matrices'", then I think you have ggee/vbap somewhere in your path.
Hans, you're right. The help patches don't use the namespace and moreover they do not illustrate a complete setup with [define_loudspeakers], [vbap] and parameter settings. But if you combine elements of the two help patches in a new patch, and type namespace vbap in the relevant objects, it seems to work. That is, it gives output values, can't verify if they're correct at first glance. This is in 0.43.
Someone doing a project with this library should make new help patches, really.
Katja