From a4177c1ef41107e2f9e1cd785cf12e0a2c1b3de5 Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Tue, 7 Nov 2023 08:41:46 +0000 Subject: [PATCH] Move Python examples to top-level examples directory --- README.md | 2 +- docs/examples.md | 4 ++-- docs/getting-started.md | 2 +- docs/index.md | 2 +- docs/installation/linux.md | 2 +- docs/installation/macos/command-line.md | 2 +- examples/{python => }/audio-through-example.py | 0 examples/{python => }/buffer-play-example.py | 0 examples/{python => }/chaotic-feedback-example.py | 0 examples/{python => }/euclidean-rhythm-example.py | 0 examples/{python => }/granulation-example.py | 0 examples/{python => }/hello-world-example.py | 0 examples/{python => }/karplus-strong-example.py | 0 examples/{python => }/list-output-devices.py | 0 examples/{python => }/midi-fm-voicer-example.py | 0 examples/{python => }/midi-keyboard-example.py | 0 examples/{python => }/modulation-example.py | 0 examples/{python => }/sequencing-example.py | 0 examples/{python => }/wavetable-2d-example.py | 0 19 files changed, 7 insertions(+), 7 deletions(-) rename examples/{python => }/audio-through-example.py (100%) rename examples/{python => }/buffer-play-example.py (100%) rename examples/{python => }/chaotic-feedback-example.py (100%) rename examples/{python => }/euclidean-rhythm-example.py (100%) rename examples/{python => }/granulation-example.py (100%) rename examples/{python => }/hello-world-example.py (100%) rename examples/{python => }/karplus-strong-example.py (100%) rename examples/{python => }/list-output-devices.py (100%) rename examples/{python => }/midi-fm-voicer-example.py (100%) rename examples/{python => }/midi-keyboard-example.py (100%) rename examples/{python => }/modulation-example.py (100%) rename examples/{python => }/sequencing-example.py (100%) rename examples/{python => }/wavetable-2d-example.py (100%) diff --git a/README.md b/README.md index f7d8a7f8..a51fec3c 100644 --- a/README.md +++ b/README.md @@ -147,7 +147,7 @@ make -j8 ## Examples -See [examples/python](examples/python) for a number of example scripts. +See [examples](examples) for a number of example scripts. ## Documentation diff --git a/docs/examples.md b/docs/examples.md index c2135561..9d275725 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -1,5 +1,5 @@ # Examples -For various code examples using SignalFlow, see `examples/python` in GitHub: +For various code examples using SignalFlow, see `examples` in GitHub: -[https://github.com/ideoforms/signalflow/tree/master/examples/python](https://github.com/ideoforms/signalflow/tree/master/examples/python) +[https://github.com/ideoforms/signalflow/tree/master/examples](https://github.com/ideoforms/signalflow/tree/master/examples) diff --git a/docs/getting-started.md b/docs/getting-started.md index db8fb078..18f8ffaf 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -18,4 +18,4 @@ If you're new to Python or getting started from scratch: ## Examples -[Several example scripts](https://github.com/ideoforms/signalflow/tree/master/examples/python) are included within the repo, covering simple control and modulation, FM synthesis, sample granulation, MIDI control, chaotic functions, etc. +[Several example scripts](https://github.com/ideoforms/signalflow/tree/master/examples) are included within the repo, covering simple control and modulation, FM synthesis, sample granulation, MIDI control, chaotic functions, etc. diff --git a/docs/index.md b/docs/index.md index f046a692..9c84559c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -57,4 +57,4 @@ In subsequent examples, we will skip the `import` line and assume you have alrea ## Documentation - [Installation](getting-started.md) -- [Example code](http://github.com/ideoforms/signalflow/tree/master/examples/python) +- [Example code](http://github.com/ideoforms/signalflow/tree/master/examples) diff --git a/docs/installation/linux.md b/docs/installation/linux.md index f3dfffee..6f3a811d 100644 --- a/docs/installation/linux.md +++ b/docs/installation/linux.md @@ -24,4 +24,4 @@ For more detailed installation information, including Windows install and compil ## Examples -[Several example scripts](https://github.com/ideoforms/signalflow/tree/master/examples/python) are included within the repo, covering simple control and modulation, FM synthesis, sample granulation, MIDI control, chaotic functions, etc. +[Several example scripts](https://github.com/ideoforms/signalflow/tree/master/examples) are included within the repo, covering simple control and modulation, FM synthesis, sample granulation, MIDI control, chaotic functions, etc. diff --git a/docs/installation/macos/command-line.md b/docs/installation/macos/command-line.md index ab14fdb5..c78f9375 100644 --- a/docs/installation/macos/command-line.md +++ b/docs/installation/macos/command-line.md @@ -34,4 +34,4 @@ signalflow test ## Examples -[Several example scripts](https://github.com/ideoforms/signalflow/tree/master/examples/python) are included within the repo, covering simple control and modulation, FM synthesis, sample granulation, MIDI control, chaotic functions, etc. +[Several example scripts](https://github.com/ideoforms/signalflow/tree/master/examples) are included within the repo, covering simple control and modulation, FM synthesis, sample granulation, MIDI control, chaotic functions, etc. diff --git a/examples/python/audio-through-example.py b/examples/audio-through-example.py similarity index 100% rename from examples/python/audio-through-example.py rename to examples/audio-through-example.py diff --git a/examples/python/buffer-play-example.py b/examples/buffer-play-example.py similarity index 100% rename from examples/python/buffer-play-example.py rename to examples/buffer-play-example.py diff --git a/examples/python/chaotic-feedback-example.py b/examples/chaotic-feedback-example.py similarity index 100% rename from examples/python/chaotic-feedback-example.py rename to examples/chaotic-feedback-example.py diff --git a/examples/python/euclidean-rhythm-example.py b/examples/euclidean-rhythm-example.py similarity index 100% rename from examples/python/euclidean-rhythm-example.py rename to examples/euclidean-rhythm-example.py diff --git a/examples/python/granulation-example.py b/examples/granulation-example.py similarity index 100% rename from examples/python/granulation-example.py rename to examples/granulation-example.py diff --git a/examples/python/hello-world-example.py b/examples/hello-world-example.py similarity index 100% rename from examples/python/hello-world-example.py rename to examples/hello-world-example.py diff --git a/examples/python/karplus-strong-example.py b/examples/karplus-strong-example.py similarity index 100% rename from examples/python/karplus-strong-example.py rename to examples/karplus-strong-example.py diff --git a/examples/python/list-output-devices.py b/examples/list-output-devices.py similarity index 100% rename from examples/python/list-output-devices.py rename to examples/list-output-devices.py diff --git a/examples/python/midi-fm-voicer-example.py b/examples/midi-fm-voicer-example.py similarity index 100% rename from examples/python/midi-fm-voicer-example.py rename to examples/midi-fm-voicer-example.py diff --git a/examples/python/midi-keyboard-example.py b/examples/midi-keyboard-example.py similarity index 100% rename from examples/python/midi-keyboard-example.py rename to examples/midi-keyboard-example.py diff --git a/examples/python/modulation-example.py b/examples/modulation-example.py similarity index 100% rename from examples/python/modulation-example.py rename to examples/modulation-example.py diff --git a/examples/python/sequencing-example.py b/examples/sequencing-example.py similarity index 100% rename from examples/python/sequencing-example.py rename to examples/sequencing-example.py diff --git a/examples/python/wavetable-2d-example.py b/examples/wavetable-2d-example.py similarity index 100% rename from examples/python/wavetable-2d-example.py rename to examples/wavetable-2d-example.py