Bug 152 : PSound errors when trying to play more than one sound
Last modified: 2008-10-21 11:49




Status:
RESOLVED
Resolution:
WONTFIX -
Priority:
P3
Severity:
normal

 

Reporter:
fry
Assigned To:
fry

Attachment Type Created Size Actions
PSound problem playing longer wav files text/plain 2005-09-15 01:35 74 bytes

Description:   Opened: 2005-09-14 05:33
PSound soundA;
PSound soundB;

void setup() {

soundA = loadSound("test1.wav");
soundA.loop();

soundB = loadSound("test2.wav");
soundB.loop();

framerate(24);

}

void draw() {
println(soundB.time());
}



Error message:

Couldn't get gain control for this .wav file
Couldn't get gain control for this .wav file

java.lang.IllegalArgumentException: Unsupported control type: Master Gain
java.lang.IllegalArgumentException: Unsupported control type: Master Gain
at com.sun.media.sound.AbstractLine.getControl(Unknown Source)
Additional Comment #1 From marek 2005-09-15 01:35
edit]
PSound problem playing longer wav files

The file is here 12MB
http://interface.fh-potsdam.de:16080/users/marekplichta/PSound_bug-001.zip

As fry suggested I'm posting the archieved sketch of the bug :
http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1126701285;start=0


Though the problem changed as I realised it is not two wav files causing the
problem, it is just the length of the wav file. (see description in the code)

best regards
Marek Plichta
Additional Comment #2 From fry 2008-10-21 11:49
PSound has been removed. Bye bye.