Asked — Edited

Playing A Sound

Hi,

I'm trying to make a plugin that could play some specific sound on my Ez-Robot. I used the following tutorial : https://synthiam.com/Tutorial/How-To-Make-An-EZ-Builder-Plugin-16328/25

I'm stuck at the point where I compress the PCM Data with GZip :

                using (MemoryStream ms = new MemoryStream())
                {
                    using (GZipStream gz = new GZipStream(ms, CompressionMode.Compress))
                        pcm.CopyTo(gz);
                    _cf.STORAGE[ConfigTitles.COMPRESSED_AUDIO_DATA] = ms.ToArray();
                }

Where is the ConfigTitles.COMPRESSED_AUDIO_DATA is coming from ? What should be the value ?

Unfortunately the link to the source code is dead : OutputAudioFromEZ-BSource.zip

Regards


Related Hardware Six Hexapod

ARC Pro

Upgrade to ARC Pro

Take control of your robot's destiny by subscribing to Synthiam ARC Pro, and watch it evolve into a versatile and responsive machine.

#1  

UPDATE, the following link works : https://ez-robot.com/uploads/user/DB763BE15E695777689418BE7364E0A3/OutputAudioFromEZ-BSource-636324426680074757.zip

And the value of ConfigTitles.COMPRESSED_AUDIO_DATA :

namespace Output_Audio_From_EZ_B {

  public class ConfigTitles {

    public static readonly string COMPRESSED_AUDIO_DATA = "COMPRESSED_AUDIO_DATA";
  }
}