Gracias por las respuestas.
Estos son los errores que se producen:
Código:
java.lang.OutOfMemoryError: Java heap space
at ddf.minim.javasound.JSBaseAudioRecordingStream.<init>(Unknown Source)
at ddf.minim.javasound.JSPCMAudioRecordingStream.<init>(Unknown Source)
at ddf.minim.javasound.JSBufferedSampleRecorder.save(Unknown Source)
at ddf.minim.AudioRecorder.save(Unknown Source)
at com.getflourish.stt.STT.startListening(STT.java:435)
at com.getflourish.stt.STT.handleAuto(STT.java:314)
at com.getflourish.stt.STT.draw(STT.java:194)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at processing.core.PApplet$RegisteredMethods.handle(PApplet.java:1159)
at processing.core.PApplet$RegisteredMethods.handle(PApplet.java:1152)
at processing.core.PApplet.handleMethods(PApplet.java:1346)
at processing.core.PApplet.handleDraw(PApplet.java:2320)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:243)
at processing.core.PApplet.run(PApplet.java:2176)
at java.lang.Thread.run(Thread.java:662)
java.lang.OutOfMemoryError: Java heap space
at ddf.minim.javasound.JSBaseAudioRecordingStream.<init>(Unknown Source)
at ddf.minim.javasound.JSPCMAudioRecordingStream.<init>(Unknown Source)
at ddf.minim.javasound.JSBufferedSampleRecorder.save(Unknown Source)
at ddf.minim.AudioRecorder.save(Unknown Source)
at com.getflourish.stt.STT.startListening(STT.java:435)
at com.getflourish.stt.STT.handleAuto(STT.java:314)
at com.getflourish.stt.STT.draw(STT.java:194)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at processing.core.PApplet$RegisteredMethods.handle(PApplet.java:1159)
at processing.core.PApplet$RegisteredMethods.handle(PApplet.java:1152)
at processing.core.PApplet.handleMethods(PApplet.java:1346)
at processing.core.PApplet.handleDraw(PApplet.java:2320)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:243)
at processing.core.PApplet.run(PApplet.java:2176)
at java.lang.Thread.run(Thread.java:662)
?
java.lang.OutOfMemoryError: Java heap space
at ddf.minim.javasound.JSBaseAudioRecordingStream.<init>(Unknown Source)
at ddf.minim.javasound.JSPCMAudioRecordingStream.<init>(Unknown Source)
at ddf.minim.javasound.JSBufferedSampleRecorder.save(Unknown Source)
at ddf.minim.AudioRecorder.save(Unknown Source)
at com.getflourish.stt.STT.startListening(STT.java:435)
at com.getflourish.stt.STT.handleAuto(STT.java:314)
at com.getflourish.stt.STT.draw(STT.java:194)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at processing.core.PApplet$RegisteredMethods.handle(PApplet.java:1159)
at processing.core.PApplet$RegisteredMethods.handle(PApplet.java:1152)
at processing.core.PApplet.handleMethods(PApplet.java:1346)
at processing.core.PApplet.handleDraw(PApplet.java:2320)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:243)
at processing.core.PApplet.run(PApplet.java:2176)
at java.lang.Thread.run(Thread.java:662)
java.lang.OutOfMemoryError: Java heap space
at ddf.minim.javasound.JSBaseAudioRecordingStream.<init>(Unknown Source)
at ddf.minim.javasound.JSPCMAudioRecordingStream.<init>(Unknown Source)
at ddf.minim.javasound.JSBufferedSampleRecorder.save(Unknown Source)
at ddf.minim.AudioRecorder.save(Unknown Source)
at com.getflourish.stt.STT.startListening(STT.java:435)
at com.getflourish.stt.STT.handleAuto(STT.java:314)
at com.getflourish.stt.STT.draw(STT.java:194)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at processing.core.PApplet$RegisteredMethods.handle(PApplet.java:1159)
at processing.core.PApplet$RegisteredMethods.handle(PApplet.java:1152)
at processing.core.PApplet.handleMethods(PApplet.java:1346)
at processing.core.PApplet.handleDraw(PApplet.java:2320)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:243)
at processing.core.PApplet.run(PApplet.java:2176)
at java.lang.Thread.run(Thread.java:662)
?
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
?
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
?
EL código es demasiado extenso, aún así voy a intentar editarlo y colgarlo.
Un saludo