Hi, I've tried a lot of things but can't get playilda to play .ild files.
-In the usage the the argument sent to resample really important?
I noticed the .c file makes references to some plugs in Jack I don't have, for example "out_z" and "out_w." I tried /* */ them out of the code but that didn't help, and I noticed that naturally there's a single line commented out with // in the playilda at the kamal fork, and I deleted the comments but that didn't help. I also added the missing plugs into jack and tried that but to no avail.
When I run it my terminal gives some text and then nothing happens. I get this:
"./playilda /home/finley/Desktop/American_Flag_Float.ild
Playing back at 30000 pps
Got 3D frame, 1635 points
Resampling 30000 -> 30000
the maximum buffer size is now 640"
and I looked in the code that calls that last print message, it's inside
int bufsize (nframes_t nframes, void *arg){ ...}
And since there is only one other 'bufsize' in code, I know where it's getting called, which is this call:
jack_set_buffer_size_callback (client, bufsize, 0);
and immediately after that is this line:
jack_set_sample_rate_callback (client, srate, 0);
Which means that srate should be called, the way bufsize was, but I never see the text that is inside srate:
int srate (nframes_t nframes, void *arg)
{
rate = nframes;
printf ("Playing back at %u pps\n", rate / divider);
return 0;
}
I've also tried a few different ilda's. If I download an .ild
and change it's name to one used in marcan's demo and put it in that folder, it shows up though. But not on playilda. I've tried passing arguments so things are re-sampled at random numbers, and I can start and stop ./simple in another terminal without effecting the nothing going on in the playilda one. Do you happen to know how to fix this or what might be wrong? Thanks. I'm sorry this is such a long question.
(I get this message (with no errors) when I run playilda in jack
22:32:41.563 JACK connection graph change.
22:32:41.650 JACK active patchbay scan...
22:32:41.652 save patchbay: output:out_x -> lasershark:in_x checked.
22:32:41.654 save patchbay: output:out_y -> lasershark:in_y checked.
22:32:41.655 save patchbay: output:out_r -> lasershark:in_g checked.
22:32:41.658 save patchbay: output:out_g -> lasershark:in_r checked.
22:32:41.660 save patchbay: output:out_b -> lasershark:in_b checked.
22:32:41.662 JACK connection change.
22:32:41.864 JACK active patchbay scan...
22:32:41.868 save patchbay: output:out_x -> lasershark:in_x checked.
22:32:41.870 save patchbay: output:out_y -> lasershark:in_y checked.
22:32:41.872 save patchbay: output:out_r -> lasershark:in_g checked.
22:32:41.874 save patchbay: output:out_g -> lasershark:in_r checked.
22:32:41.876 save patchbay: output:out_b -> lasershark:in_b checked.
Thu Apr 3 22:32:41 2014: New client 'playilda' with PID 7906
)