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/05 21:04] bilassignments:a3 [2020/10/26 01:11] (current) bil
Line 1: Line 1:
-==== Installing OpenAL and alut ====+==== Assignment 3 ====
  
-To install OpenAL on Windows: [[http://openal.org/downloads/oalinst.zip|Installer]] 
  
-To install OpenAL on Mac: [[https://github.com/kcat/openal-soft|Github]]+<html><!-- 
 +To be added.
  
-To install alut on Windows or Mac: [[https://github.com/vancegroup/freealut|Github]] 
-Follow the cmake instructions, the VisualStudio ones seem obsolete. 
  
-==== Visual Studio Project Settings ==== 
  
-Open a New Project -> Win32 Console Application+--></html>
  
-Go to Project ‘Properties’ :+{{:assignments:assignment3.pdf|Assignment 3 Description}}
  
- -- 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+[[https://docs.juce.com/master/classes.html|JUCE API]]
  
- -- Add  OpenAL32.lib at the end to Linker -> Input -> Additional Dependencies +[[https://docs.juce.com/tutorials/ZIPs/DSPDelayLineTutorial.zip|Delay Processor]] Unzip and include ''DSPDelayLineTutorial_02.h'' in your project.
  
-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 ==== 
 + 
 +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 ''footsteps.wav'' file linked above may come in handy.  
 + 
 +==== 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://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]] 
assignments/a3.1541451865.txt.gz · Last modified: 2018/11/05 21:04 by bil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki