Send the frequency of a note and how long to play the note for. The module can only play frequencies up to 3000 hZ. Time is in milliseconds (1 second = 1000 milliseconds).
What ports can I use it on?
All of them!
Code
using Magic;
public class Demo : MonoBehaviour
{
// create a reference to the module
public Magic.Modules.ToneModule tone;
void Start()
{
}
void Update()
{
// call the module's function
tone.SetTone(1000, 1000);
}
}