Skip to content

Commit

Permalink
Hadron v1.6 update and adding HadronPlugins Quark
Browse files Browse the repository at this point in the history
git-svn-id: https://quarks.svn.sourceforge.net/svnroot/quarks/Hadron@1114 fa718440-f913-0410-aee0-f13028b3a0f0
  • Loading branch information
bbozkurt committed Jul 14, 2009
1 parent 5f89bad commit 06e36f7
Show file tree
Hide file tree
Showing 13 changed files with 124 additions and 234 deletions.
3 changes: 1 addition & 2 deletions Hadron.sc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Hadron
[
HrADC,
HrDAC,
HrFreeVerb,
HrStereoMixer,
HrStereoSplitter,
HrSimpleModulator,
Expand Down Expand Up @@ -69,7 +68,7 @@ Hadron
.states_([["Save"]])
.action_({ this.prShowSave; });

Button(win, Rect(430, 15, 50, 20))
HrButton(win, Rect(430, 15, 50, 20))
.states_([["Collide", Color.black, Color(0.7, 0.7, 1)]])
.action_({ alivePlugs.do(_.collide); });

Expand Down
6 changes: 4 additions & 2 deletions HadronPlugin.sc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ HadronPlugin

oldWinBounds = Rect(argBounds.left, argBounds.top, argBounds.width, argBounds.height + 40);
outerWindow = Window(argName + ident, oldWinBounds, resizable: false)
.userCanClose_(false);
.userCanClose_(false)
.acceptsMouseOver_(true);

outerWindow.view.keyDownAction_
({|...args|
Expand Down Expand Up @@ -104,7 +105,8 @@ HadronPlugin

Button(outerWindow, Rect(10, oldWinBounds.height - 30, 70, 20))
.states_([["In/Outs"]])
.action_({ this.prShowConnections; });
.action_({ this.prShowConnections; })
.visible_(if((inBusses.size == 0) and: { outBusses.size == 0; }, { false; }, { true; }));

window = CompositeView(outerWindow, Rect(0, 0, argBounds.width, argBounds.height));

Expand Down
33 changes: 24 additions & 9 deletions Help/Hadron-Changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,50 @@
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px}
p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}
span.s1 {text-decoration: underline}
span.s2 {color: #0000ff}
span.s3 {color: #1a27ed}
span.s4 {color: #1b25d3}
span.s5 {color: #2a31bd}
span.s2 {color: #1320f3}
span.s3 {color: #2e3ad9}
span.s4 {color: #2a36de}
span.s5 {color: #1a27ed}
span.s6 {color: #323dd4}
span.s7 {color: #3c46c7}
span.s8 {color: #383fb1}
span.s9 {color: #3d44a0}
</style>
</head>
<body>
<p class="p1"><b>Hadron Changelog</b></p>
<p class="p2"><br></p>
<p class="p3"><b>v1.5</b></p>
<p class="p3"><b>v1.6 (July 14, 2009)</b></p>
<p class="p2"><br></p>
<p class="p3"><span class="s1">other:</span></p>
<p class="p3">* HadronPlugins <a href="SC://Quark"><span class="s2">Quark</span></a> is released with 2 plugins, <a href="../../../Extensions/HadronPlugins/Help/HrPresetMorph.html"><span class="s2">HrPresetMorph</span></a> and <a href="../../../Extensions/HadronPlugins/Help/HrCodeSequencer.html"><span class="s2">HrCodeSequencer</span></a>.</p>
<p class="p3">* <a href="HadronPlugin.html"><span class="s3">HadronPlugin</span></a> window has acceptsMouseOver set to true now.</p>
<p class="p3">* <a href="../hrplugins/Help/HrWrapSynth.html"><span class="s4">HrWrapSynth</span></a> synth instance has a getter now.</p>
<p class="p3">* Collide button in main GUI is an HrButton now for midi triggering.</p>
<p class="p3">* Some little GUI tweaks.</p>
<p class="p3">* HrFreeVerb is removed from the default plugins, as such a plugin can easily be made as a <a href="SC://SynthDef"><span class="s5">SynthDef</span></a> and wrapped for the environment with the <a href="../hrplugins/Help/HrWrapSynth.html"><span class="s5">HrWrapSynth</span></a> plugin.</p>
<p class="p3">* All plugins now defer their GUI updates when they are being modulated from outside sources. The actual sending of messages to synths is not affected by the deferring operation. This done so that the modulatable values can be called from clocks other than the <a href="SC://AppClock"><span class="s5">AppClock</span></a>.</p>
<p class="p2"><br></p>
<p class="p3"><b>v1.5 (July 4, 2009)</b></p>
<p class="p3"><span class="s1">fixed bugs:</span></p>
<p class="p3">* Refixed the save/load mechanism, hopefully properly this time.</p>
<p class="p3">* The UserView code now uses the new coordinates system. So Hadron now requires SC 3.3.1 minimum, and SwingOSC 0.62 on systems that use it.</p>
<p class="p3">* Fixed the code that was spitting a harmless error message that would sometimes appear some seconds after Hadron quits.</p>
<p class="p2"><br></p>
<p class="p3"><span class="s1">added features:</span></p>
<p class="p3">* A new widget <a href="../widgets/Help/HrButton.html"><span class="s2">HrButton</span></a>, which is essentially the same with <a href="SC://Button"><span class="s3">Button</span></a>, but can do midi learn.</p>
<p class="p3">* A new widget <a href="../widgets/Help/HrButton.html"><span class="s6">HrButton</span></a>, which is essentially the same with <a href="SC://Button"><span class="s7">Button</span></a>, but can do midi learn.</p>
<p class="p2"><br></p>
<p class="p2"><br></p>
<p class="p3"><b>v1.4 (June 16, 2009)</b></p>
<p class="p3"><span class="s1">fixed bugs:</span></p>
<p class="p3">* Now conforming to the new relativeOrigin change in views.</p>
<p class="p2"><br></p>
<p class="p3"><span class="s1">other:</span></p>
<p class="p3">* An addition to the plugin interface to be able to get the values for modulatable parameters from running plugins (needed for implementing plugins that do preset management etc. that needs access to those values). So the modulatables variable is changed to modSets, and the new modGets is introduced. See <a href="HadronPlugin.html"><span class="s4">HadronPlugin</span></a> help and <a href="Writing-Hadron-Plugins.html"><span class="s4">Writing-Hadron-Plugins</span></a><span class="s4">.</span></p>
<p class="p3">* An addition to the plugin interface to be able to get the values for modulatable parameters from running plugins (needed for implementing plugins that do preset management etc. that needs access to those values). So the modulatables variable is changed to modSets, and the new modGets is introduced. See <a href="HadronPlugin.html"><span class="s8">HadronPlugin</span></a> help and <a href="Writing-Hadron-Plugins.html"><span class="s8">Writing-Hadron-Plugins</span></a><span class="s8">.</span></p>
<p class="p2"><br></p>
<p class="p3"><b>v1.3 (June 03, 2009)</b></p>
<p class="p3"><span class="s1">added features:</span></p>
<p class="p3">* New plugin <a href="../hrplugins/Help/HrWrapSynth.html"><span class="s5">HrWrapSynth</span></a> which wraps SynthDefs and integrates them to te Hadron system by auto-generating their GUI, and handling in / out connections.</p>
<p class="p3">* New plugin <a href="../hrplugins/Help/HrWrapSynth.html"><span class="s9">HrWrapSynth</span></a> which wraps SynthDefs and integrates them to te Hadron system by auto-generating their GUI, and handling in / out connections.</p>
<p class="p3">* General usability additions</p>
<p class="p3">* Connection manager is intelligent now. The text box for typing in / out pairs now show the most likely connection prewritten for less typing.</p>
<p class="p3">* "Collide" button added to main gui, when pressed, collide method of all alive plugin instances are executed.<span class="Apple-converted-space"> </span></p>
Expand All @@ -54,7 +69,7 @@
<p class="p3">* Fixed the bug where keys that were being typed in the text box on canvas were being interpreted by the canvas keydown handler. Now they don't bubble up to the parent view.</p>
<p class="p2"><br></p>
<p class="p3"><span class="s1">other:</span></p>
<p class="p3">* A little addition to the plugin interface (*initClass addition, see <a href="Writing-Hadron-Plugins.html"><span class="s5">Writing-Hadron-Plugins</span></a> help)</p>
<p class="p3">* A little addition to the plugin interface (*initClass addition, see <a href="Writing-Hadron-Plugins.html"><span class="s9">Writing-Hadron-Plugins</span></a> help)</p>
<p class="p2"><br></p>
<p class="p3">-----------</p>
<p class="p3"><b>v1.2 (May 29, 2009)</b></p>
Expand Down
Loading

0 comments on commit 06e36f7

Please sign in to comment.