Quantcast
Channel: Processing Forum
Browsing all 1768 articles
Browse latest View live
↧

Constructor is undefined - Minim AudioInput

Hello,      I've patched together some of the minim examples to achieve what I thought would be real-time audio reactive animation. I have the "kick, snare, hat" example (beatListener) open that I've...

View Article


Re : Constructor is undefined - Minim AudioInput

Can you show the BeatDetect class ?

View Article


Re : Constructor is undefined - Minim AudioInput

Ummm... Hmm. I'm having difficulty finding it at the moment...The examples came from the modes\java\libraries\minim\examples\BeatDetect\FrequencyEnergy\ BeatListener directory.They all execture...

View Article

Re : OpenGL: beginGL() does not exist

BUMP

View Article

Re : Constructor is undefined - Minim AudioInput

Right... and there are two tabs in that file. Frequency Energy and BeatListener. BeatListener is it's own class. You have to include it with any modified examples you make. It looks like this: class...

View Article


Re : Constructor is undefined - Minim AudioInput

Correct. That is my main question. How do I change it to accept a LineIn instead of AudioPlayer?

View Article

Re : Constructor is undefined - Minim AudioInput

Change the Declaration and the Argument in the Constructor... ie.   private BeatDetect beat;  private AudioPlayer source;    BeatListener(BeatDetect beat, AudioPlayer source)... becomes  private...

View Article

Re : Need to post a response to an HTTP request or something

Try sending: "HTTP/1.1 200 OK\r\n"

View Article


Re : Need to post a response to an HTTP request or something

Thanks, that worked!But now I am trying to send a Bad Request response (400).I tried sending "HTTP/1.1 400 Bad Request\r\n"But the Client is getting an error:"end of file error"Any idea how to get that...

View Article


Re : Minim and Real Memory / Memory

Thanks.Well the sample is always closed:      if(voiceSampleSingle.isPlaying() == false){           stopMinim();      }....void stopMinim(){      voiceSampleSingle.close();      minim.stop();...

View Article

Re : Minim and Real Memory / Memory

I am not a specialist of Minim, but I find strange that you close Minim and the sketch itself (!) after each sample is played...

View Article

Re : Minim and Real Memory / Memory

Well, I'm not an expert either :) , just following the minim docs, where it says that this is the only way to close / stop after playing. I also found it strange.Would you say,...

View Article

Re : Minim and Real Memory / Memory

As PhiLho said. Perhaps you need some println()'s cause there are two options and both are no good. Either you don't close samples as I assumed (because each sample never stops playing, in fact it's...

View Article


Re : Minim and Real Memory / Memory

I see you are on a PC, I'm on a Mac (10.8.4). Could that be the problem. Since I did the same sketch and it stops playing after No. 32, even though it list the other mp3s and says "true" to them...

View Article

Re : Problem with com.sun.opengl.util

Hi All, I am sorry if I am asking again or missing some of the info that was already said. But I think I was confuse when the conversation went to a more deep level.I am trying to execute the example...

View Article


Re : Minim and Real Memory / Memory

That is really weird.It could be mac or it could be soundcard-related, like the maximum of active audiostreams or something.At least we know it's not built into minim as such, because I can't reproduce...

View Article

Re : Minim and Real Memory / Memory

It simple doesn't play no. 33 and following in the array. Even if I try to play no. 33 as the first it doesn't do so.Yet, it doesn't give an error but it behaves as if it would play the file (saying in...

View Article


Re : Minim and Real Memory / Memory

Perhaps when Minim creates an AudioPlayer it reserves some kind of audio channel / output with the OS. However your OS somehow is limited to 32 output channels, so when you go over that it creates...

View Article

Re : Problem with com.sun.opengl.util

Try it with 1.5.1?

View Article

Using the Video library on IntelliJ - NoClassDefFoundError

Hi guys,I'm developing a Processing sketch with IntelliJ IDEA. I love this IDE and I really recommend it, but for some reason my sketch works fine in the Processing IDE, but I get a...

View Article
Browsing all 1768 articles
Browse latest View live