b = audio_name.save(audio_filename);
The
Audio.save function saves the audio recording in an
Audio object to the file specified by
audio_filename. If the audio file already exists, the recording will be appended to the existing audio.
Audio recorded using the functions
Audio.record and
Audio.recordInteractive is stored in m4a format (AAC encoded in an MPEG-4 container). Audio in this format should be saved with the extension .m4a so that it will be recognized by media players.
The function returns a logical value of 1 (true) if the file was successfully saved or 0 (false) otherwise.