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/18 00:32] bilassignments:a1 [2020/09/21 18:59] (current) bil
Line 25: Line 25:
  
 {{:assignments:startercode.zip|Starter Code}} {{: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 ====
  
-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]].+Configure your debugger to run the Audio Plugin Host: 
 +  * In XCode, go to Product > Scheme > Edit SchemePoint "Executable" to the Audio Plugin HostMake sure Debug Executable is checked. 
 +  * In Visual Studio, go to Project Properties > Debugging > Command, and browse to the Audio Plugin Host executableMake 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
  
-Configure your debugger to run the Audio Plugin HostIn Visual Studio, it’s under Project Properties > Debugging > CommandMake sure Attach is set to “No”.+You can use the JUCE DBG macro to output variable values to the debug console of your IDESee 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.1600389139.txt.gz · Last modified: 2020/09/18 00:32 by bil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki