Basics-scope

This example demonstrates the scope feature of the IDE.

 

The scope is instantiated at the top of the file via `Scope scope;` In `setup()` we define how many channels the scope should have and the sample rate that it should run at via `scope.setup(3, context->audioSampleRate)`.

In `render()` we choose what the scope log via `scope.log(out, out2, out3)`. In this example the scope is logging three sine waves with different phases. To see the output click on the <b>Open Scope</b> button.

An additional option is to set the trigger of the oscilloscope from within `render()`. In this example we are triggering the scope when oscillator 1 becomes less than oscillator 2 via `scope.trigger()`. Note that this functionality only takes effect when the triggering mode is set to custom in the scope UI.

3 comments on “Basics-scope
  • richard_racette on said:

    Writing, like modular synthesis, is all about structure and clarity. Just as a scope helps visualize waveforms in sound design, strong writing techniques help organize thoughts and communicate ideas effectively. Whether you’re crafting an academic paper, a creative piece, or technical documentation, the ability to structure information in a clear and engaging way is key. I’ve found that refining my writing process makes a huge difference in delivering well-structured content https://99papers.com/essay-writing/ If you’re ever stuck, using resources like this can help organize ideas—just like a good scope helps shape sound. Writing, after all, is about making complex ideas easy to follow!

  • elenaalexander on said:

    Thanks for this example. Looking for a reliable essay writing service review to ensure quality work? Many students seek expert assistance for academic success. If you need specialized help, you can buy nursing papers from trusted providers. Always check reviews and guarantees to get the best value and professionally written content tailored to your needs.

  • Leave a Reply

    • Platform:
    • Category: Other Utility Video
    • Revision: 0.0.1
    • License: GNU Lesser General Public License (LGPL 3.0)
    • Modified: 8 years ago
    • Views: 258
      Likes: 2
      Downloads: 19
    Download
    Chat