User Tools

Site Tools


assignments:a1

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:a1 [2020/09/07 21:00] bilassignments:a1 [2020/09/21 18:59] (current) bil
Line 23: Line 23:
  
 [[https://docs.juce.com/master/classes.html|JUCE API]] [[https://docs.juce.com/master/classes.html|JUCE API]]
 +
 +{{:assignments:startercode.zip|Starter Code}}
 +
  
 ==== Providing MIDI input to your plugin ==== ==== Providing MIDI input to your plugin ====
  
-You should use the Audio Plugin Host to test your MIDI plugin while developing your assignment solution (see instructions above on setting up the Audio Plugin Host).+You should use the Audio Plugin Host to test your MIDI plugin while developing your assignment solution. See instructions in Part 1 of the tutorial plugin on how to build the Audio Plugin Host.  
 + 
 +For your convenience, you can download an executable of the Audio Plugin Host for [[https://www.dropbox.com/sh/idsil6hniy86zl4/AADWHX8uSgmCaiPvSeBxf1n2a?dl=0|Mac]] or [[https://www.dropbox.com/s/kvhp2ihjn1jccki/AudioPluginHost.exe?dl=0|PC]]. 
 The Audio Plugin Host comes with a keyboard that can be used to provide input events (your computer keyboard can be used to provide simultaneous events for arpeggiation). The Audio Plugin Host comes with a keyboard that can be used to provide input events (your computer keyboard can be used to provide simultaneous events for arpeggiation).
  
 ==== Debugging your plugin ==== ==== Debugging your plugin ====
  
-Configure your debugger to run the Audio Plugin Host. In Visual Studio, it’s under Project Properties > Debugging > Command. Make sure Attach is set to “No”.+Configure your debugger to run the Audio Plugin Host
 +  * In XCode, go to Product > Scheme > Edit Scheme. Point "Executable" to the Audio Plugin Host. Make sure Debug Executable is checked. 
 +  * In Visual Studio, go to Project Properties > Debugging > Command, and browse to the Audio Plugin Host executable. Make sure Attach is set to “No”. 
 + 
 +When you start debugging, an instance of the plugin host will appear. Use it to load your plugin. Now debugging works for your plugin just as it does normally, i.e. you can set breakpoints etc.  
 + 
 +You can use the JUCE DBG macro to output variable values to the debug console of your IDE. See more info [[https://docs.juce.com/master/group__juce__core-system.html#ga679635952a5d2eb25f3b31398f0fcc25|here]], but the simple way to output the value of variable time is to give: 
  
-When you start debugging in Visual Studio, it will open an instance of the plugin host. Use it to load your plugin. Now debugging works for your plugin just as it does normally, i.e. you can set breakpoints etc. +''DBG(time);''
  
  
assignments/a1.1599512456.txt.gz · Last modified: 2020/09/07 21:00 by bil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki