tell me, is this possible
|
|
Caden Lynagh
Registered User
Join date: 13 Sep 2007
Posts: 13
|
10-23-2007 10:34
Is there a way that a script that could listen to music being streamed at a location and return a frequency histogram of that stream? For example, the script would return a value every time a sound between 20-200Hz is heard?
Could this be possible? Any ideas?
|
|
Okiphia Rayna
DemonEye Benefactor
Join date: 22 Sep 2007
Posts: 2,103
|
10-23-2007 11:07
From: Caden Lynagh Is there a way that a script that could listen to music being streamed at a location and return a frequency histogram of that stream? For example, the script would return a value every time a sound between 20-200Hz is heard?
Could this be possible? Any ideas? I dont think you could do it in-client... I could be wrong, but I'm sure there are ways to do it with out-of-world programs/equipment
|
|
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
|
10-23-2007 11:51
I can think of a roundabout hack... Script gets the url for the music stream, and sends it to some outside web site. Outside web-site listens to the stream. When it detects the trigger, it sends it to a script in world. Details left as an exercise for the student 
|
|
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
|
10-23-2007 11:53
Another hack...
Compile your own version of the client. Add a component that detects the signal you care about, and then simulates some reaction, such as chat on a private channel or touching some prim in world.
|
|
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
|
10-23-2007 19:58
From: Lee Ponzu Another hack...
Compile your own version of the client. Add a component that detects the signal you care about, and then simulates some reaction, such as chat on a private channel or touching some prim in world. then get everyone to use your client every time they hear your stream ...
|
|
Day Oh
Registered User
Join date: 3 Feb 2007
Posts: 1,257
|
10-24-2007 01:01
From: Lee Ponzu Compile your own version of the client. Add a component that detects the signal you care about, and then simulates some reaction, such as chat on a private channel or touching some prim in world. If I may, I believe what Lee means is to use an automated client to communicate with the scripted object that will provide the feedback. That seems like the best solution for how quickly you'd probably want the thing to work, considering the options available for sending cues directly to the script from a webserver are email (unreliable) and xml-rpc (unofficially deprecated?), and the only way to send messages directly to a simulator is connecting as an agent, if I understand correctly.
|
|
Caden Lynagh
Registered User
Join date: 13 Sep 2007
Posts: 13
|
10-30-2007 10:03
Thanks for the info. I'm still not sure how to proceed. I'm still relatively new to SL and LSL.
What I had in mind was lighting that could be tuned to react to a live music stream (given sound spectrum and intensity). This would have to be happening REALLY fast. If that can't be done in world, I don't really see how it could be done outside and sent to the client and still be synchronized with the incoming music stream.
Anyone have any thoughts? Would this be too complex? Impossible? Lag-o-rama? Cheers.
|
|
DanielFox Abernathy
Registered User
Join date: 20 Oct 2006
Posts: 212
|
10-31-2007 04:19
Caden, currently impossible.
|