Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions FifteenStep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -347,13 +347,13 @@ void FifteenStep::setStepHandler(StepCallback cb)
// position, the note will be turned off.
//
// @access public
// @param note on or off message
// @param channel
// @param pitch of note
// @param velocity of note
// @param position in sequence
// @return void
//
void FifteenStep::setNote(byte channel, byte pitch, byte velocity, byte step)
void FifteenStep::setNote(byte channel, byte pitch, byte velocity, int step)
{

// don't save notes if the sequencer isn't running
Expand Down
2 changes: 1 addition & 1 deletion FifteenStep.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class FifteenStep
void decreaseShuffle();
void setMidiHandler(MIDIcallback cb);
void setStepHandler(StepCallback cb);
void setNote(byte channel, byte pitch, byte velocity, byte step = -1);
void setNote(byte channel, byte pitch, byte velocity, int step = -1);
byte getPosition();
FifteenStepNote* getSequence();
private:
Expand Down