User Tools

Site Tools


assignments:a3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
assignments:a3 [2018/11/07 14:10] bilassignments:a3 [2020/10/26 01:11] (current) bil
Line 1: Line 1:
 ==== Assignment 3 ==== ==== Assignment 3 ====
  
-{{:assignments:assignment3.pdf|Assignment 3 Description}} 
  
-==== Installing OpenAL and alut ====+<html><!-- 
 +To be added.
  
-To install OpenAL on Windows: [[http://openal.org/downloads/oalinst.zip|Installer]] 
  
-To install OpenAL on Mac: [[https://github.com/kcat/openal-soft|Github]] 
  
-To install alut on Windows or Mac: [[https://github.com/vancegroup/freealut|Github]] +--></html>
-Follow the cmake instructions, the VisualStudio ones seem obsolete.+
  
-==== Visual Studio Project Settings ====+{{:assignments:assignment3.pdf|Assignment 3 Description}}
  
-Open a New Project -> Win32 Console Application+{{:assignments:a3starter.zip|Assignment 3 Starter Code}}
  
-Go to Project ‘Properties’ :+[[https://docs.juce.com/master/classes.html|JUCE API]]
  
- -- Add C:\Program Files\OpenAL 1.1 SDK\include to C++ -> General -> Additional Include Directories +[[https://docs.juce.com/tutorials/ZIPs/DSPDelayLineTutorial.zip|Delay Processor]] Unzip and include ''DSPDelayLineTutorial_02.h'' in your project.
- -- 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 +{{:assignments:footsteps.wav|footsteps.wav}} - Audio file for testing your plugin
  
-#include "al.h" +[[https://www.bensound.com/|Copyright-free music]]
  
-#include "alc.h"+==== Providing audio input to your plugin ====
  
-For alutit's best to copy alut.dll in the project directory, and+You can use the Audio Plugin Host to create MIDI events that are turned into audio by the Sine Wave Synth plugin as beforeor use the VSTAudioPlayer plugin (see Week 7 material). The ''footsteps.wav'' file linked above may come in handy. 
  
-#include "alut.h"+==== Debugging your plugin ====
  
-If you likeyou can start with this {{:assignments:emptyproject.zip|empty project}} that has all the settings and includes alut.dll+Debugging an audio plugin works in the same way as for a MIDI pluginso refer to Assignment 1 for debugging help.
  
-==== Useful links ==== 
  
-[[http://openal.org/documentation/|OpenAL Documentation]] 
  
-[[https://mrl.nyu.edu/~dzorin/ig04/lecture10/OpenALDemo.cpp|Detailed OpenAL sample code]] 
  
-[[https://github.com/iamsakil/Simple-Games|Simple text-based C++ games]] 
  
-[[http://soundbible.com/|Sound effects]] 
- 
-[[https://www.bensound.com/|Copyright-free music]] 
assignments/a3.1541599844.txt.gz · Last modified: 2018/11/07 14:10 by bil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki