From 21be90b6a4895cf799dfa0cfc0a632460d338ef9 Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Tue, 7 Nov 2023 09:09:39 +0000 Subject: [PATCH] Update docs --- docs/installation/macos/easy.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/installation/macos/easy.md b/docs/installation/macos/easy.md index 783ccb68..e021fd53 100644 --- a/docs/installation/macos/easy.md +++ b/docs/installation/macos/easy.md @@ -25,9 +25,12 @@ In Visual Studio code, create a new folder to contain your new SignalFlow projec - Select `File → Open Folder...` - Select `New Folder`, and pick a name for your new project folder -!!! info +!!! info "Where to put your workspace" You can store your project workspace anywhere on your drive. The workspace can hold multiple notebooks, audio files, etc. +!!! warning "Trusted workspaces" + If Visual Studio asks "Do you trust the authors of the files in this folder?", select "Yes, I trust the authors". This is a security mechanism to protect you against untrusted third-party code. + ## 4. Install the Python and Jupyter extensions Visual Studio Code requires extensions to be installed to handle Python and Jupyter files. @@ -96,4 +99,10 @@ sine = SineOscillator(440) * 0.1 sine.play() ``` -This will create a sine oscillator, attenuate it, and play it from the system. Hopefully you should now hear a tone playing from your speaker or headphones. \ No newline at end of file +This will create a sine oscillator, attenuate it, and play it from the system. Hopefully you should now hear a tone playing from your speaker or headphones. + +To stop the playback, create a new cell and run: + +```python +sine.stop() +``` \ No newline at end of file