We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › Minum Audio Library
Page Index Toggle Pages: 1
Minum Audio Library (Read 1414 times)
Minum Audio Library
Oct 13th, 2009, 5:29pm
 
I am trying to make a short wav file loop infinitely over and over again. When I run this code

//----------------------------------------------------------------

import ddf.minim.*;
import ddf.minim.signals.*;
import ddf.minim.analysis.*;
import ddf.minim.effects.*;

Minim minim;
AudioPlayer player;

minim = new Minim(this);
player = minim.loadFile("A.WAV", 2048);

player.loop();
//----------------------------------------------------------------------------

I keep receiving the error

==== JavaSound Minim Error ====
==== Couldn't rewind!
Re: Minum Audio Library
Reply #1 - Nov 17th, 2009, 2:02pm
 
Hey men:

ur program works ok so u need to check ur audio music. And other thing, i think u don't need to import;

 import ddf.minim.signals.*;
 import ddf.minim.analysis.*;
 import ddf.minim.effects.*;
cause if u import ddf.minim.*; there is no need of importing all those staf if u just want to play a music or whatever!!!
Page Index Toggle Pages: 1