[linux-audio-user] lv2dynparam

Nedko Arnaudov nedko at arnaudov.name
Sun Feb 18 18:22:21 EST 2007


Atte André Jensen <atte.jensen at gmail.com> writes:

> Now it seems that I'm through
> building (see below) but then how do I actually run the thing? Tried
> what you suggested "<pathto>/zynjacku.py
> http://home.gna.org/zyn/zynadd/0", but:
>
> atte at ajstrup:~/software/zynjacku/zynjacku$ ./zynjacku.py
> http://home.gna.org/zyn/zynadd/0
> Traceback (most recent call last):
>    File "./zynjacku.py", line 22, in ?
>      import zynjacku
>    File "/home/atte/software/zynjacku/zynjacku/zynjacku.py", line 26, in ?
>      import phat
> ImportError: No module named phat
>
> If that's the same phat as used in specimen, I do have it installed,
> since I build specimen from source, but it seems I'm missing a python
> module, right? My phat is installed through apt-get:
>
> ajstrup:~# apt-get install libphat0-dev
> Reading package lists... Done
> Building dependency tree... Done
> libphat0-dev is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 52 not upgraded.

yes, it is same PHAT. Chances are that you have python bindings for PHAT
as separate package.

> Anyways, here's what I did when building lv2dynparam:
>
> in directory "lv2dynparam"
> "bootstrap; ./configure; make; sudo make install"
>
> in directory "zyn":
> "make", which produced a zyn.so, should I do something with that?
>
> in directory "zynjacku":
> nothing since I figured the supplied .py might work. I tried "make",
> but that failed like this (only the end):
>
> engine.c:132: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'zynjacku_engine_get_type'
> engine.c:151: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'zynjacku_engine_start_jack'
> engine.c:228: error: expected ')' before '*' token
> engine.c: In function 'jackmidi2lv2midi':
> engine.c:269: error: 'jack_midi_event_t' undeclared (first use in this
> function)
> engine.c:269: error: (Each undeclared identifier is reported only once
> engine.c:269: error: for each function it appears in.)
> engine.c:269: error: expected ';' before 'input_event'
> cc1: warnings being treated as errors
> engine.c:278: warning: implicit declaration of function
> 'jack_midi_get_event_count'
> engine.c:285: warning: implicit declaration of function
> 'jack_midi_event_get'
> engine.c:285: error: 'input_event' undeclared (first use in this function)
> engine.c: In function 'jack_process_cb':
> engine.c:324: error: 'struct zynjacku_engine' has no member named
> 'jack_midi_in'
> engine.c:324: error: 'struct zynjacku_engine' has no member named
> 'lv2_midi_buffer'
> engine.c:327: error: 'struct zynjacku_engine' has no member named 'plugins'
> engine.c:327: error: 'struct zynjacku_engine' has no member named 'plugins'
> engine.c:329: error: 'struct zynjacku_synth' has no member named 'siblings'
> engine.c:329: warning: type defaults to 'int' in declaration of '__mptr'
> engine.c:329: warning: initialization from incompatible pointer type
> engine.c:329: error: 'struct zynjacku_synth' has no member named 'siblings'
> engine.c:331: error: 'struct zynjacku_synth' has no member named 'dynparams'
> engine.c:333: warning: implicit declaration of function
> 'lv2dynparam_host_realtime_run'
> engine.c:333: error: 'struct zynjacku_synth' has no member named 'dynparams'
> engine.c:337: error: 'struct zynjacku_synth' has no member named
> 'audio_out_left_port'
> engine.c:339: warning: implicit declaration of function
> 'slv2_instance_connect_port'
> engine.c:340: error: 'struct zynjacku_synth' has no member named 'instance'
> engine.c:341: error: 'struct zynjacku_synth' has no member named
> 'audio_out_left_port'
> engine.c:342: error: 'struct zynjacku_synth' has no member named
> 'audio_out_left_port'
> engine.c:346: error: 'struct zynjacku_synth' has no member named
> 'audio_out_right_port'
> engine.c:349: error: 'struct zynjacku_synth' has no member named 'instance'
> engine.c:350: error: 'struct zynjacku_synth' has no member named
> 'audio_out_right_port'
> engine.c:351: error: 'struct zynjacku_synth' has no member named
> 'audio_out_right_port'
> engine.c:355: warning: implicit declaration of function 'slv2_instance_run'
> engine.c:355: error: 'struct zynjacku_synth' has no member named 'instance'
> engine.c: At top level:
> engine.c:365: error: expected ')' before '*' token
> engine.c:384: error: expected ')' before '*' token
> engine.c:398: error: expected ')' before '*' token
> engine.c:421: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'zynjacku_engine_get_sample_rate'
> make: *** [engine.o] Error 1

What version of gobject library are you using? Is

engine.c:132: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'zynjacku_engine_get_type'

the first error you got? Any errors about "unable to include header"?

You cannot run zynjacku without first building the C engine that does
the realtime work.

-- 
Nedko Arnaudov <GnuPG KeyID: DE1716B0>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20070219/d5f56c3b/attachment.pgp 


More information about the Linux-audio-user mailing list