assignments:a3
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
assignments:a3 [2018/11/05 21:04] – bil | assignments:a3 [2020/10/26 01:11] (current) – bil | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Installing OpenAL and alut ==== | + | ==== Assignment 3 ==== |
- | To install OpenAL on Windows: [[http:// | ||
- | To install OpenAL on Mac: [[https:// | + | < |
+ | To be added. | ||
- | To install alut on Windows or Mac: [[https:// | ||
- | Follow the cmake instructions, | ||
- | ==== Visual Studio Project Settings ==== | ||
- | Open a New Project | + | --></ |
- | Go to Project ‘Properties’ | + | {{:assignments: |
- | -- Add C:\Program Files\OpenAL 1.1 SDK\include to C++ -> General -> Additional Include Directories | + | {{:assignments:a3starter.zip|Assignment 3 Starter Code}} |
- | -- Add C:\Program Files\OpenAL 1.1 SDK\libs\Win32 to Linker -> General -> Additional Library Directories | + | |
- | -- Add OpenAL32.lib at the end to Linker -> Input -> Additional Dependencies | + | |
- | In your source code, you'll need | + | [[https:// |
- | #include | + | [[https:// |
- | #include "alc.h" | + | {{: |
+ | |||
+ | [[https:// | ||
+ | |||
+ | ==== Providing audio input to your plugin ==== | ||
+ | |||
+ | You can use the Audio Plugin Host to create MIDI events that are turned into audio by the Sine Wave Synth plugin as before, or use the VSTAudioPlayer plugin (see Week 7 material). The '' | ||
+ | |||
+ | ==== Debugging your plugin ==== | ||
+ | |||
+ | Debugging an audio plugin works in the same way as for a MIDI plugin, so refer to Assignment 1 for debugging help. | ||
- | For alut, it's best to copy alut.dll in the project directory | ||
- | ==== Useful links ==== | ||
- | [[http:// | ||
- | [[https:// | ||
- | [[https:// |
assignments/a3.1541451891.txt.gz · Last modified: 2018/11/05 21:04 by bil