minim library question

Hello, good afternoon:

I'm using the minim library and I want to control a large amount of audio.

I want to not reproduce multiple sounds wing time.

I want until I finished playing a sound, do not start the next.

It can be done with a delay but that does not apply to what I do. Use the system clock for a delay, the code gets too complex.

I want to know if there is any call to the minim library that can prevent parallel reproductions.

Or if it would be possible to put together the sounds I want to play.

For example(I know it not work):

song = minim.loadFile("hello.mp3") + minim.loadFile(a+".mp3");`

Thanks in advance

Think you need to read a book about C/C++ programming as concatenation of char arrays is one of the things you should learn to master.
Kerningham and Ritchies 2nd edition is still worth its weight.

You know how to do?

Why is it a waste of time to read a whole book to write a line of code ....

Thanks

Assumng your strings are character arrays and not String objects, loo up the sprintf() or strcat() functions.

I would also recommens that you read something formal if you want to get into programming. You would never try to learn a language like Russian by just reading "War and Peace" and hoping for the best.

marco_c:
Assumng your strings are character arrays and not String objects, loo up the sprintf() or strcat() functions.

I would also recommens that you read something formal if you want to get into programming. You would never try to learn a language like Russian by just reading "War and Peace" and hoping for the best.

Thanks for help.

"The function strcat(AudioPlayer, AudioPlayer) does not exist"

It might be necessary to include a library.....

I may need, improve my level of programming.

However, there is more than one way to do what I want, so I can keep working ...

The easier is if a function of these works.
The difficult is to use the micro timer to provide standard time for each reproduction. I could do second way, but is less efficient;) That's why I'm asking :smiley:

A greeting

string.h

Did you try googling "strcat arduino"?

Yes, I looked, I saw that library, but have not found any site that include in processing.

#include <String.h>

char* b;
char* a;
strcat(b,a);

logically this code to arduino compile without problems......... :wink:
In procesing I could not do it :S

Thanks