Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ideoforms committed Nov 7, 2023
1 parent 70a1cfc commit 21be90b
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions docs/installation/macos/easy.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
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()
```

0 comments on commit 21be90b

Please sign in to comment.