This GitLab instance reached the end of its service life. It won't be possible to create new users or projects.

Please read the deprecation notice for more information concerning the deprecation timeline

Visit migration.git.tu-berlin.de (internal network only) to import your old projects to the new GitLab platform 📥

Commit 309b375c by Henrik von Coler

Edited README.md for the granular example!

parent bb980028
wav_example {#mainpage} granular__example {#mainpage}
======================= =======================
# BRIEF # BRIEF
This example introduces the libsndfile This example uses the SingleSample
for reading a wav file and playing it class in comination with a TriangularWindow
back in a loop. It is able to process class for a basic granular synthesis.
mono and stereo files.
The playback speed (resampling) can be The playback speed (analysis window rate) can be
controlled using OSC. The OSC path controlled using OSC. The OSC path
and port are hardcoded in the file and port are hardcoded in the file
WavExample.cpp and oscman.cpp. WavExample.cpp and oscman.cpp.
...@@ -23,8 +22,11 @@ The following libraries are used within this project: ...@@ -23,8 +22,11 @@ The following libraries are used within this project:
# Usage # Usage
The binaray gain_example expects one command The binaray granular_example expects three
line argument for wav file to read with the command line arguments:
flag '-f':
./gain_example -f ../wav/stereo_sine.wav - the wav file to read with the flag '-f'
\ No newline at end of file - the grain size in samples '-l'
- the number of windows to be used '-n
./granular_example -f ../../wav/wos\ der\ chef.wav -l 1000 -n 4
PROJECT_NAME = "Wav_Example" PROJECT_NAME = "Granular_Example"
PROJECT_BRIEF = "Simple wav file looper with adjustable playback speed!" PROJECT_BRIEF = "Simple granular example playback speed!"
OUTPUT_DIRECTORY = "./" OUTPUT_DIRECTORY = "./"
INPUT = "../" README.md INPUT = "../" README.md
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment