From 698dee1e732b0a6ec8d3cc64e84769bf6f2d15de Mon Sep 17 00:00:00 2001 From: Yotam Mann Date: Wed, 17 Jul 2019 17:40:47 -0400 Subject: [PATCH] changing
 tags to markdown

---
 Tone/source/oscillator/AMOscillator.ts    | 5 ++---
 Tone/source/oscillator/FMOscillator.ts    | 5 +++--
 Tone/source/oscillator/PulseOscillator.ts | 5 ++---
 3 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/Tone/source/oscillator/AMOscillator.ts b/Tone/source/oscillator/AMOscillator.ts
index 41bb38df..c23ec875 100644
--- a/Tone/source/oscillator/AMOscillator.ts
+++ b/Tone/source/oscillator/AMOscillator.ts
@@ -16,8 +16,7 @@ export interface AMOscillatorOptions extends ToneOscillatorOptions {
  * An amplitude modulated oscillator node. It is implemented with
  * two oscillators, one which modulators the other's amplitude
  * through a gain node.
- *
- * 
+ * ```
  *    +-------------+       +----------+
  *    | Carrier Osc +>------> GainNode |
  *    +-------------+       |          +--->Output
@@ -25,7 +24,7 @@ export interface AMOscillatorOptions extends ToneOscillatorOptions {
  * +---------------+    |   +----------+
  * | Modulator Osc +>---+
  * +---------------+
- * 
+ * ``` * * @param frequency The starting frequency of the oscillator. * @param type The type of the carrier oscillator. diff --git a/Tone/source/oscillator/FMOscillator.ts b/Tone/source/oscillator/FMOscillator.ts index 4d86ef8a..571391c9 100644 --- a/Tone/source/oscillator/FMOscillator.ts +++ b/Tone/source/oscillator/FMOscillator.ts @@ -14,7 +14,7 @@ export interface FMOscillatorOptions extends ToneOscillatorOptions { /** * FMOscillator implements a frequency modulation synthesis - *
+ * ```
  *                                              +-------------+
  * +---------------+        +-------------+     | Carrier Osc |
  * | Modulator Osc +>-------> GainNode    |     |             +--->Output
@@ -24,7 +24,8 @@ export interface FMOscillatorOptions extends ToneOscillatorOptions {
  * +-----------------+   |
  * | modulationIndex +>--+
  * +-----------------+
- * 
+ * ``` + * * @param frequency The starting frequency of the oscillator. * @param type The type of the carrier oscillator. * @param modulationType The type of the modulator oscillator. diff --git a/Tone/source/oscillator/PulseOscillator.ts b/Tone/source/oscillator/PulseOscillator.ts index a0db261b..b5393c42 100644 --- a/Tone/source/oscillator/PulseOscillator.ts +++ b/Tone/source/oscillator/PulseOscillator.ts @@ -17,7 +17,7 @@ export interface PulseOscillatorOptions extends ToneOscillatorOptions { * also known as the duty cycle. At 50% duty cycle (width = 0) the wave is * a square wave. * [Read more](https://wigglewave.wordpress.com/2014/08/16/pulse-waveforms-and-harmonics/). - *
+ * ```
  *    width = -0.25        width = 0.0          width = 0.25
  *
  *   +-----+            +-------+       +    +-------+     +-+
@@ -40,8 +40,7 @@ export interface PulseOscillatorOptions extends ToneOscillatorOptions {
  *       | |                                         | |
  *       | |                                         | |
  * +-----+ +-------+                                 +-+
- *
- * 
+ * ``` * @param frequency The frequency of the oscillator * @param width The width of the pulse * @example