Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: HaikuArchives/Sequitur
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 96775cfa8f3f
Choose a base ref
...
head repository: HaikuArchives/Sequitur
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 93c948627b24
Choose a head ref

Commits on Sep 24, 2021

  1. Copy the full SHA
    e067509 View commit details

Commits on Sep 25, 2021

  1. Copy the full SHA
    b94dfbf View commit details
  2. Copy the full SHA
    7af6727 View commit details
  3. Copy the full SHA
    84bc10e View commit details
  4. Copy the full SHA
    ec5126a View commit details
  5. Copy the full SHA
    c886d9c View commit details
  6. Copy the full SHA
    e732405 View commit details
  7. Fix compilation error on 64 bit

    ilzu committed Sep 25, 2021
    Copy the full SHA
    ee136f5 View commit details
  8. Copy the full SHA
    7a965d6 View commit details
  9. Fix compile on 64 bit

    ilzu committed Sep 25, 2021
    Copy the full SHA
    82867d4 View commit details
  10. Copy the full SHA
    2acf5f9 View commit details
  11. Fix typo

    ilzu committed Sep 25, 2021
    Copy the full SHA
    f09cbde View commit details
  12. now builds (and seems to work) on gcc2. Need to figure out why it's c…

    …rashing on newer gccs.
    ilzu committed Sep 25, 2021
    Copy the full SHA
    874047b View commit details
  13. Use int32 instead of long and uint32 instead of ulong, so less chance…

    …s for int size mismatches on 64 bit
    ilzu committed Sep 25, 2021
    Copy the full SHA
    a07a940 View commit details
  14. Copy the full SHA
    6b987ad View commit details

Commits on Sep 26, 2021

  1. Copy the full SHA
    0851452 View commit details
  2. Copy the full SHA
    bde18eb View commit details
  3. Copy the full SHA
    d3d7ff5 View commit details
  4. Copy the full SHA
    bd7a344 View commit details
  5. Copy the full SHA
    efcef30 View commit details

Commits on Sep 27, 2021

  1. Copy the full SHA
    8d34f68 View commit details
  2. Added space and newline to the ends of the textblocks in AmFilter::Lo…

    …ngDescription functions
    ilzu committed Sep 27, 2021
    Copy the full SHA
    1d148cf View commit details

Commits on Sep 28, 2021

  1. Copy the full SHA
    391eb6d View commit details

Commits on Sep 30, 2021

  1. Copy the full SHA
    7b11b27 View commit details

Commits on Oct 5, 2021

  1. Fixes for PulkoMandy's comments

    added line endings and spaces to generated html documentation in
    	ArpSrc/AmKernel/AmStdFilters.cpp and
    	Sequitur/SequiturFilters_CP_040320/ArpVelociTease.cpp
    fixed typo on ArpHeaders/ArpBuild.h and removed unneccessary comment and
    commented out line in ArpSrc/Sequitur/SeqFilterAddOnWindow.cpp
    ilzu committed Oct 5, 2021
    Copy the full SHA
    71d0272 View commit details
  2. Removed ancient comment

    ilzu committed Oct 5, 2021
    Copy the full SHA
    695b5b0 View commit details
  3. Copy the full SHA
    cfbe005 View commit details

Commits on Oct 6, 2021

  1. Copy the full SHA
    ee51a92 View commit details

Commits on Oct 17, 2021

  1. Merge pull request #11 from ilzu/master

    Initial work to get 64 bit version to work
    pulkomandy authored Oct 17, 2021
    Copy the full SHA
    93c9486 View commit details
Showing 443 changed files with 3,422 additions and 3,213 deletions.
12 changes: 6 additions & 6 deletions AmFilters/ArpChorus.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include "ArpChorus.h"

#include <String.h>
#include <stdio.h>
#include <stdlib.h>
#include <cstdio>
#include <cstdlib>
#include "ArpKernel/ArpDebug.h"
#include "ArpLayout/ArpViewWrapper.h"
#include "ArpLayout/ViewStubs.h"
@@ -289,10 +289,10 @@ status_t ArpChorusFilter::Configure(ArpVectorI<BView*>& panels)
void ArpChorusFilterAddOn::LongDescription(BString& name, BString& str) const
{
inherited::LongDescription(name, str);
str << "<P>I produce up to four additional notes for every note I receive.
The chorused notes can be offset in pitch by octave and/or step amounts,
and their velocities can be scaled. Typically, the velocity should be increased
for notes lower in pitch and decreased for notes higher in pitch.</P>";
str << "<P>I produce up to four additional notes for every note I receive. \n"
"The chorused notes can be offset in pitch by octave and/or step amounts, \n"
"and their velocities can be scaled. Typically, the velocity should be increased \n"
"for notes lower in pitch and decreased for notes higher in pitch.</P>\n";
}

void ArpChorusFilterAddOn::GetVersion(int32* major, int32* minor) const
36 changes: 18 additions & 18 deletions AmFilters/ArpConsole.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include "ArpConsole.h"

#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <cassert>
#include <cstdio>
#include <cstdlib>
#include <interface/CheckBox.h>
#include <ArpLayout/ArpViewWrapper.h>
#include "ArpKernel/ArpDebug.h"
@@ -97,17 +97,17 @@ AmEvent* ArpConsoleFilter::HandleEvent(AmEvent* e, const am_filter_params* param
str << Label().String() << ": ";
int32 count = 0;
switch (e->Type()) {
case e->NOTEOFF_TYPE:
case e->NOTEON_TYPE: count += _print(mTypeMask, _NOTES, e, str); break;
case e->CHANNELPRESSURE_TYPE: count += _print(mTypeMask, _CHANNELPRESSURE, e, str); break;
case e->CONTROLCHANGE_TYPE: count += _print(mTypeMask, _CONTROLCHANGE, e, str); break;
case e->KEYPRESSURE_TYPE: count += _print(mTypeMask, _KEYPRESSURE, e, str); break;
case e->PITCHBEND_TYPE: count += _print(mTypeMask, _PITCHBEND, e, str); break;
case e->PROGRAMCHANGE_TYPE: count += _print(mTypeMask, _PROGRAMCHANGE, e, str); break;
case e->SYSTEMCOMMON_TYPE: count += _print(mTypeMask, _SYSTEMCOMMON, e, str); break;
case e->SYSTEMEXCLUSIVE_TYPE: count += _print(mTypeMask, _SYSTEMEXCLUSIVE, e, str); break;
case e->SYSTEMREALTIME_TYPE: count += _print(mTypeMask, _SYSTEMREALTIME, e, str); break;
case e->TEMPOCHANGE_TYPE: count += _print(mTypeMask, _TEMPO, e, str); break;
case AmEvent::NOTEOFF_TYPE:
case AmEvent::NOTEON_TYPE: count += _print(mTypeMask, _NOTES, e, str); break;
case AmEvent::CHANNELPRESSURE_TYPE: count += _print(mTypeMask, _CHANNELPRESSURE, e, str); break;
case AmEvent::CONTROLCHANGE_TYPE: count += _print(mTypeMask, _CONTROLCHANGE, e, str); break;
case AmEvent::KEYPRESSURE_TYPE: count += _print(mTypeMask, _KEYPRESSURE, e, str); break;
case AmEvent::PITCHBEND_TYPE: count += _print(mTypeMask, _PITCHBEND, e, str); break;
case AmEvent::PROGRAMCHANGE_TYPE: count += _print(mTypeMask, _PROGRAMCHANGE, e, str); break;
case AmEvent::SYSTEMCOMMON_TYPE: count += _print(mTypeMask, _SYSTEMCOMMON, e, str); break;
case AmEvent::SYSTEMEXCLUSIVE_TYPE: count += _print(mTypeMask, _SYSTEMEXCLUSIVE, e, str); break;
case AmEvent::SYSTEMREALTIME_TYPE: count += _print(mTypeMask, _SYSTEMREALTIME, e, str); break;
case AmEvent::TEMPOCHANGE_TYPE: count += _print(mTypeMask, _TEMPO, e, str); break;
default: count += _print(mTypeMask, _OTHERS, e, str); break;
}
if (mTypeMask&_PARAMS) {
@@ -400,10 +400,10 @@ status_t ArpConsoleFilter::Configure(ArpVectorI<BView*>& panels)
void ArpConsoleFilterAddOn::LongDescription(BString& name, BString& str) const
{
AmFilterAddOn::LongDescription(name, str);
str << "<P>I print in the terminal every MIDI event I receive. I am useful
for debugging any filters you've written, so you can see the output
they are providing. In order for this filter to work, Sequitur must be
launched from a command line.</P>";
str << "<P>I print in the terminal every MIDI event I receive. I am useful \n"
"for debugging any filters you've written, so you can see the output \n"
"they are providing. In order for this filter to work, Sequitur must be \n"
"launched from a command line.</P>\n";
}

void ArpConsoleFilterAddOn::GetVersion(int32* major, int32* minor) const
54 changes: 27 additions & 27 deletions AmFilters/ArpControllerEnvelope.cpp
Original file line number Diff line number Diff line change
@@ -2,8 +2,8 @@
*/
#include "ArpControllerEnvelope.h"

#include <stdio.h>
#include <stdlib.h>
#include <cstdio>
#include <cstdlib>
#include <interface/MenuField.h>
#include <interface/MenuItem.h>
#include "ArpKernel/ArpDebug.h"
@@ -285,35 +285,35 @@ status_t ArpControllerEnvelopeFilter::Configure(ArpVectorI<BView*>& panels)
void ArpControllerEnvelopeFilterAddOn::LongDescription(BString& name, BString& str) const
{
AmFilterAddOn::LongDescription(name, str);
str << "<P><I>This filter is now obsolete. Use Motion Control, instead.</I></P>
<P>I convert each note I receive into a series of control changes based on the note
velocity -- effectively, I transform a note into a controller sweep. One such application would
be to write a single drum part, and 'carve' that part out of a long, evolving sound. Here is how
you would achieve that effect:</P>
str << "<P><I>This filter is now obsolete. Use Motion Control, instead.</I></P>\n"
"<P>I convert each note I receive into a series of control changes based on the note \n"
"velocity -- effectively, I transform a note into a controller sweep. One such application would \n"
"be to write a single drum part, and 'carve' that part out of a long, evolving sound. Here is how \n"
"you would achieve that effect:</P>\n"

<P>Create a song with two tracks, both of which have the same MIDI port and channel chosen as their
output filter. On the second track, select a sound that will play for any note duration (for example,
a flute would work -- a percussion sound like a snare drum would not work, because the sound stops
playing shortly after the note is triggered), then place a note down at measure two and continue it
for two measures. Keep in mind that you want this track to have a very thick sound. Since you'll be
carving pieces out of it, there shouldn't be any quiet time. Layer the voice or even start a new one
halfway through the original if necessary.</P>
"<P>Create a song with two tracks, both of which have the same MIDI port and channel chosen as their \n"
"output filter. On the second track, select a sound that will play for any note duration (for example, \n"
"a flute would work -- a percussion sound like a snare drum would not work, because the sound stops \n"
"playing shortly after the note is triggered), then place a note down at measure two and continue it \n"
"for two measures. Keep in mind that you want this track to have a very thick sound. Since you'll be \n"
"carving pieces out of it, there shouldn't be any quiet time. Layer the voice or even start a new one \n"
"halfway through the original if necessary.</P>\n"

<P>On the first track, place a Controller Envelope filter as the only filter in the output pipeline
(other than the output filter). Now open the first track and place several short notes (start with
16ths) during the two measures that you placed the note on track two. When you play the song, you
should only hear track two during the notes you placed in track one.</P>
"<P>On the first track, place a Controller Envelope filter as the only filter in the output pipeline \n"
"(other than the output filter). Now open the first track and place several short notes (start with \n"
"16ths) during the two measures that you placed the note on track two. When you play the song, you \n"
"should only hear track two during the notes you placed in track one.</P>\n"

<P>This filter generates control changes of your choice (the default is volume, control change 7),
starting with an initial value (by default zero), and continuing for the attack duration until the
start of the note is reached. The final control change of the attack duration will be the same value
as the note velocity -- that is, the controllers will sweep down if the initial value is higher than
the note velocity, and sweep up if the initial value is lower than the note velocity. The decay
duration sweeps the controllers back to the initial value. You can select how many controllers are
generated by setting the density value -- lower values will generate more controllers.
"<P>This filter generates control changes of your choice (the default is volume, control change 7), \n"
"starting with an initial value (by default zero), and continuing for the attack duration until the \n"
"start of the note is reached. The final control change of the attack duration will be the same value \n"
"as the note velocity -- that is, the controllers will sweep down if the initial value is higher than \n"
"the note velocity, and sweep up if the initial value is lower than the note velocity. The decay \n"
"duration sweeps the controllers back to the initial value. You can select how many controllers are \n"
"generated by setting the density value -- lower values will generate more controllers. \n"

<P>While this filter might not seem obvious from the description, you can spend a few moments using
it in the edit pipeline to understand how it works.</P>";
"<P>While this filter might not seem obvious from the description, you can spend a few moments using \n"
"it in the edit pipeline to understand how it works.</P>\n";
}

void ArpControllerEnvelopeFilterAddOn::GetVersion(int32* major, int32* minor) const
52 changes: 26 additions & 26 deletions AmFilters/ArpControllerLimiter.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <stdio.h>
#include <stdlib.h>
#include <cstdio>
#include <cstdlib>
#include <InterfaceKit.h>
#include "ArpKernel/ArpDebug.h"
#include "ArpLayout/ArpViewWrapper.h"
@@ -178,30 +178,30 @@ ArpControllerLimiterAddOn::ArpControllerLimiterAddOn(const void* cookie)
void ArpControllerLimiterAddOn::LongDescription(BString& name, BString& str) const
{
AmFilterAddOn::LongDescription(name, str);
str << "<P>I transform each note I receives into a series of control changes
based on my current motion.</P>
<h4>Amount</h4>
Amount determines the level of the controls generated.
<UL>
<LI><I>From velocity</I> uses each note's velocity to determine the amount.
For example, if a note has a velocity of 64, then the final generated
control changes will range from 0 to 64. If a note has a velocity of
100, then the resulting control changes will range from 0 to 100.</LI>
<LI><I>From value</I> uses the value of the knob (immediately below the From
value radio button) to determine the final control change values. If
the knob is at 100, then motion values of 100 translate to the maximum
possible control change value - 127. If the knob has a negative value,
then the motion is inverted.</LI>
<LI><I>Follow mouse</I> uses the mouse's Y position to determine the level.</LI>
</UL>
<h4>Motion</h4>
The Motion menu button presents a list of all available motions. Selecting one
will copy that motion into the filter, making it the current motion. Below this
button is a motion editor, which operates the same as the Edit Motion window.
<h4>Control Number</h4>
This list box allows you to select the type of control change that will be created.";
str << "<P>I transform each note I receives into a series of control changes \n"
"based on my current motion.</P>\n"
"<h4>Amount</h4>\n"
" Amount determines the level of the controls generated. \n"
" <UL>\n"
" <LI><I>From velocity</I> uses each note's velocity to determine the amount. \n"
" For example, if a note has a velocity of 64, then the final generated \n"
" control changes will range from 0 to 64. If a note has a velocity of \n"
" 100, then the resulting control changes will range from 0 to 100.</LI> \n"
" <LI><I>From value</I> uses the value of the knob (immediately below the From \n"
" value radio button) to determine the final control change values. If \n"
" the knob is at 100, then motion values of 100 translate to the maximum \n"
" possible control change value - 127. If the knob has a negative value, \n"
" then the motion is inverted.</LI>\n"
" <LI><I>Follow mouse</I> uses the mouse's Y position to determine the level.</LI>\n"
" </UL>\n"
""
"<h4>Motion</h4>\n"
" The Motion menu button presents a list of all available motions. Selecting one \n"
" will copy that motion into the filter, making it the current motion. Below this \n"
" button is a motion editor, which operates the same as the Edit Motion window. \n"
"\n"
"<h4>Control Number</h4>\n"
" This list box allows you to select the type of control change that will be created.\n";
}

void ArpControllerLimiterAddOn::GetVersion(int32* major, int32* minor) const
10 changes: 5 additions & 5 deletions AmFilters/ArpControllerMap.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include "ArpControllerMap.h"

#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <InterfaceKit.h>
#include "ArpKernel/ArpDebug.h"
#include "ArpLayout/ArpViewWrapper.h"
@@ -162,8 +162,8 @@ status_t ArpControllerMapFilter::Configure(ArpVectorI<BView*>& panels)
void ArpControllerMapAddOn::LongDescription(BString& name, BString& str) const
{
AmFilterAddOn::LongDescription(name, str);
str << "<p>I am a map of control changes. Every controller can be
mapped to a new control value.</p>";
str << "<p>I am a map of control changes. Every controller can be \n"
"mapped to a new control value.</p>\n";
}

void ArpControllerMapAddOn::GetVersion(int32* major, int32* minor) const
30 changes: 15 additions & 15 deletions AmFilters/ArpControllerRange.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include "ArpControllerRange.h"

#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <InterfaceKit.h>
#include "ArpKernel/ArpDebug.h"
#include "ArpLayout/ArpViewWrapper.h"
@@ -166,17 +166,17 @@ status_t ArpControllerRangeFilter::Configure(ArpVectorI<BView*>& panels)
void ArpControllerRangeAddOn::LongDescription(BString& name, BString& str) const
{
AmFilterAddOn::LongDescription(name, str);
str << "<p>I am a map of control change ranges. Every controller can be
given a new range. For example, if the range is 0 9, then the controller is
mapped so that it stays within this range. If the incoming value is 10, it's
remapped to 0, 11 to 1, etc.</p>
<p>The intended use for this filter is to map button presses from keyboards
to a range suitable for the destination control. For example, if you have
a keyboard with a button configured to send values of 0 - 127 on controller
12, you can use a Controller Range to map those values into something useful.
Say controller 12 controls the filter type on a synthesizer, and their are
10 types, so the valid range is 0 - 9. This filter will step through the range,
always keeping the control value valid.</p>";
str << "<p>I am a map of control change ranges. Every controller can be \n"
"given a new range. For example, if the range is 0 9, then the controller is \n"
"mapped so that it stays within this range. If the incoming value is 10, it's \n"
"remapped to 0, 11 to 1, etc.</p>\n"
"<p>The intended use for this filter is to map button presses from keyboards \n"
"to a range suitable for the destination control. For example, if you have \n"
"a keyboard with a button configured to send values of 0 - 127 on controller \n"
"12, you can use a Controller Range to map those values into something useful. \n"
"Say controller 12 controls the filter type on a synthesizer, and their are \n"
"10 types, so the valid range is 0 - 9. This filter will step through the range, \n"
"always keeping the control value valid.</p>\n";
}

void ArpControllerRangeAddOn::GetVersion(int32* major, int32* minor) const
@@ -638,4 +638,4 @@ status_t _ControllerRangeSettings::RefreshRangeControls()
mLowCtrl->SetValue(low);
mHighCtrl->SetValue(high);
return B_OK;
}
}
4 changes: 2 additions & 2 deletions AmFilters/ArpCopy.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "ArpCopy.h"

#include <stdio.h>
#include <stdlib.h>
#include <cstdio>
#include <cstdlib>
#include <InterfaceKit.h>
#include "ArpKernel/ArpDebug.h"
#include "ArpLayout/ViewStubs.h"
8 changes: 4 additions & 4 deletions AmFilters/ArpDan.cpp
Original file line number Diff line number Diff line change
@@ -2,8 +2,8 @@
*/
#include "ArpDan.h"

#include <stdio.h>
#include <stdlib.h>
#include <cstdio>
#include <cstdlib>
#include <interface/MenuField.h>
#include <interface/MenuItem.h>
#include "ArpKernel/ArpDebug.h"
@@ -125,8 +125,8 @@ status_t ArpDanFilter::PutConfiguration(const BMessage* values)
void ArpDanFilterAddOn::LongDescription(BString& name, BString& str) const
{
AmFilterAddOn::LongDescription(name, str);
str << "<P>I am thoroughly commented template for writing your own C++ filters. The source
code can be found in the <i>DevKit/ExampleFilters/</i> folder.</P>";
str << "<P>I am thoroughly commented template for writing your own C++ filters. The source \n"
"code can be found in the <i>DevKit/ExampleFilters/</i> folder.</P>\n";
}

void ArpDanFilterAddOn::GetVersion(int32* major, int32* minor) const
20 changes: 10 additions & 10 deletions AmFilters/ArpDianne.cpp
Original file line number Diff line number Diff line change
@@ -8,9 +8,9 @@
#include <ArpKernel/ArpDebug.h>
#endif

#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <cassert>
#include <cstdio>
#include <cstdlib>

static AmStaticResources gRes;

@@ -99,13 +99,13 @@ status_t ArpExampleFilter::Configure(ArpVectorI<BView*>& /*panels*/)
void ArpExampleFilterAddOn::LongDescription(BString& name, BString& str) const
{
AmFilterAddOn::LongDescription(name, str);
str << "<P>In addition to the Dan filter, I am a template for writing
your own C++ filters. The source code can be found in the
<i>DevKit/ExampleFilters/</i> folder.</P>
<P>In previous versions of Sequitur I was the Example filter. For every
note I receive, I create a softer note one beat before and one beat after
the input note.</P>";
str << "<P>In addition to the Dan filter, I am a template for writing \n"
"your own C++ filters. The source code can be found in the \n"
"<i>DevKit/ExampleFilters/</i> folder.</P>\n"
"\n"
"<P>In previous versions of Sequitur I was the Example filter. For every \n"
"note I receive, I create a softer note one beat before and one beat after \n"
"the input note.</P>\n";
}

void ArpExampleFilterAddOn::GetVersion(int32* major, int32* minor) const
6 changes: 3 additions & 3 deletions AmFilters/ArpDissolve.cpp
Original file line number Diff line number Diff line change
@@ -10,9 +10,9 @@
#include <ArpKernel/ArpDebug.h>
#endif

#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <cassert>
#include <cstdio>
#include <cstdlib>

static AmStaticResources gRes;

Loading