Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - landshark

Pages: 1 [2] 3
16
OpenLase Discussion / Trouble working with playilda
« on: April 04, 2014, 01:44:31 AM »
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
)

17
Thanks again Macpod that worked!

I wanted to post some additional info here that might help somebody trying to run the openlase demo. It might be obvious, but just in case. It's about fixing a symbolic link if you have that. For these examples:
http://www.pouet.net/prod.php?which=55697
https://www.scene.org/file.php?file=/parties/2010/euskal18/wild/marcan_pope-lase.zip

you will get a zip file with a folder called wild_lase. Putting it in the openlase folder worked for me. Inside wild_lase is an executable called lase_demo. The first time you try to run it you might get an error ending in:
“libmodplug.so.0: cannot open shared object file: No such file or directory”
Which means that there is a symbolic link that needs to be made to fix this. Here's what worked for me, but as always it's a good idea to back up your settings first.
If in the file browser you go to the filesystem then usr then lib, you can scroll down until you see a file (or more) that begins with libmodplug. Find the libmodplug that has the highest number prefix at the end, for example: libmodplug.so.1. I'm not sure exactly how this works, but we're going to create a symbolic link so that when the computer tries to use libmodplug.so.0, it will use libmodplug.so.1, by making libmodplug.so.0 point to that.
Go to back to the last folder, and right click on lib and select to open in terminal. From here run,
sudo ln -sf libmodplug.so.1 libmodplug.so.0
except,
if you have a libmodplug.so. with a prefix greater than that in lib probably update libmodplug.so.1 to match that instead, but keep libmodplug.so.0

Restart the openlace applications and it should work!

18
Ok, thank you!

19
Hi. I've been trying to find out how to load a song into jack so that it shows up in the circlescope example. Is there a simple way to do this or to run all system audio through jack?

Also, I'm sorry if this repetitive, but did marcan release any of these examples in his demo, like the stars or the tunnel?
https://www.youtube.com/watch?v=m_CHXwXvWvs

Lastly, I don't think Linux Mint runs on ARM, but would openlase run on a distro of linux supported by Raspberry Pi?

Thanks!
-f

20
Thank you so much! I sent out an email now. And thank you for those resources!

21
Hi,
I'm planning on putting this laser projector in a school art show, and to do so I will have to convince faculty that's it's very safe. Right now I have it against a space heater because the metals panels behind the mesh outside are kind of reflective, they were made to reflect heat and the lasers look really great there behind the image. There's also two quartz tubes there that the heater uses. Is this safe?

I've been looking at laser safety at laserpointerforums.com. But is there any literature I could show the school that shows my laser projector is safe as long as nobody looks into the projector? I would guess there's not an easy way to measure the reflection off the space heater but are there safety guidelines out there that would permit a 532nm 5mw-75mw laser? I'm using a 6 volt power adapter, if I used more would that make the laser brighter/ more dangerous?

Thanks,
Finley

22
OpenLase Discussion / Re: more examples
« on: March 26, 2014, 04:07:11 PM »
Great! I might make a simple one for display text on an imaginary grid that's the laser projection space.

23
OpenLase Discussion / Re: more examples
« on: March 25, 2014, 09:13:47 PM »
Ok, that's something to think about. Thanks!

24
LaserShark Support / Re: Questions using lasershark
« on: March 25, 2014, 09:13:09 PM »
Ok, that sounds good. Thanks!

25
OpenLase Discussion / more examples
« on: March 25, 2014, 07:06:42 AM »
Are there more examples like ./simple out there? Thanks.

26
OpenLase Discussion / Re: TTYL vs Analog
« on: March 25, 2014, 07:05:47 AM »
That makes sense. Thanks!

27
Thanks! I'm powering the laser with a radio shack power supply, just a small brick. The alligator clips get loose sometimes but it works for now.






28
OpenLase Discussion / TTYL vs Analog
« on: March 23, 2014, 09:57:06 PM »
Are there real benefits to using a laser via Analog rather than TTYL?

29
It's very informal and rushed so far but...

30
LaserShark Discussion / Re: Galvo Chips Hot?
« on: March 23, 2014, 08:54:11 PM »
Alright, thank you! It's really cool!

Pages: 1 [2] 3