Hi,
I need to record a sequence of .wav files from an array. At each bang the array is filled up with the information I want to record. But at each bang I need the file name to change in a way I get in the end something like file1.wav, file2.wav, file3.wav...
I have tried the [makefilename] and it works to build the names but then the [soundfiler] doesnt accept just the file name, it needs a message like 'write -wave file%d.wav array'. I tried also to pack the messages 'write', '-wave', 'file%d.wav' and 'array' but then the soundfile object doesnt recognizes this as a writing message.
Does anyone can help me with that?
Thank you very much for your attention.
- 
				
				
				
				Setting numbered file names to \[soundfiler\] 
 
- 
				
				
				
				number 
 |
 [makefilename file%d.wav]
 |
 "write -wave $1 array"
 |
 [soundfiler]
- 
				
				
				
				it's much easier if you use 1-file.wav, 2-file.wav, 3-file.wav...etc if the variable is at the start, you can just use a message box without the need for [pack] or [makefilename] [write -wave $1-file.wav array( should do the trick. 
- 
				
				
				
				Thank you very much for your help. It did work. 
 
					