Commit graph

667 commits

Author SHA1 Message Date
Harry van Haaren
683f80027c jacksendreturn: fix whitespace issues and cleanup
No code functionality changes here

Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
2018-03-25 20:49:28 +01:00
Harry van Haaren
5692d5123d looperclip: use [] to access vector not .at()
Optimize away a bunch of bad performance

Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
2018-03-25 20:49:28 +01:00
Harry van Haaren
bc8e55b036 meson: generate version.hxx on compile
This fixes local builds (re-generates version.hxx if
it gets removed), ninja dist now works correctly too.

Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
2018-03-04 02:19:29 +00:00
Harry van Haaren
f34a44e775 meson: add tests and option to disable them
This enables building the Luppp unit tests with Meson,
and adds an option to disable building those tests. For
a release, the option should probably be off - although
currently it has no significant impact on the result.

Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
2018-03-03 21:43:35 +00:00
Harry van Haaren
48802f14ad meson: add meson build for luppp
This allows easier and faster building, with less
complexity and better defaults than the previoius CMake
based system.

Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
2018-02-13 00:15:43 +00:00
Harry van Haaren
097d52757e stately: add virtual destructor to class
Mutes some compiler warnings

Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
2018-02-12 23:58:26 +00:00
Harry van Haaren
be14f4005a midi: allow clearing clip from GenericMIDI binding
This commit allows the user to clear clips from the Luppp grid
with a MIDI message. The binding method is very similar to the
existing "grid:event" style, with added to "action" representing
1 for press, and 0 for release, -1 now represents a "clear" event.

As such, the following binding would clear clip track 1, scene 1,
when midi note number 60 had a note on event. Note that the value
for "send" is also set to -1, indicating it is not a send binding.

Active set to -1 indicates that the clip should be cleared:

{
  "action": "grid:event",
  "status": 144,
  "data":    60,
  "track":    1,
  "scene":    1,
  "send":    -1,
  "active":  -1
}

See Github issue #134
2017-09-29 18:48:16 +01:00
Harry van Haaren
94261743cb options: mute compile warning 2017-09-28 18:08:17 +01:00
Yuri
074df13807 Fixed the conflict of ntk with fltk by moving ntk to the first place in CMakeFile.txt. 2017-09-19 07:59:55 +01:00
Mathias Buhr
ca0e50a36a Fixes a potential leak: sampleString not always freed 2017-06-21 21:25:02 +01:00
Mathias Buhr
da42a86ad9 Clean up 2017-06-21 21:25:02 +01:00
Mathias Buhr
40d23e1b0d Fix broken waveforms 2017-06-21 21:25:02 +01:00
Mathias Buhr
d3de3f0a0a Another one 2017-06-21 21:25:02 +01:00
Mathias Buhr
a8741927f8 Removes another leak 2017-06-21 21:25:02 +01:00
Mathias Buhr
c322bc83b4 Make label code consistent 2017-06-21 21:25:02 +01:00
Mathias Buhr
c5d33f89cd Fixes a few leaks and errors 2017-06-21 21:25:02 +01:00
Harry van Haaren
ce55862c41 metronome: reduce default volume (fixes #180)
Thanks CoderKun for reporting
2017-04-17 17:06:00 +01:00
Harry van Haaren
3c2392a66c cmake: update makefiles to not clobber flags vars, fixes #178 2017-04-09 18:47:48 +01:00
Harry van Haaren
c0452772a0 fixed possible mem leak in goptions dialog 2017-04-09 18:47:47 +01:00
Harry van Haaren
7f57f1d450 fix possible mem leak if loading a MIDI binding fails 2017-04-09 18:47:47 +01:00
Harry van Haaren
bc440df955 implement pan style dials in avtk dial, close #173
Pan style "center is no action" type dial graphic
added, and marking pan dials on each track as such.
2017-04-09 14:23:55 +01:00
Harry van Haaren
22582c8f20 Merge coderkun's array size fixes, close #176 2017-04-09 14:09:33 +01:00
coderkun
07ced711ba Fix loading of pan values (fixes #168) 2017-04-09 13:04:45 +02:00
coderkun
ad5a5f1e5b Fix buffer size for saving and loading samples (issue #174) 2017-04-09 12:39:32 +02:00
Harry van Haaren
3b89ee90ef cmake: fix build flags to enable optimized builds on x86_64 2017-03-27 21:37:29 +01:00
Harry van Haaren
504e5bf1a9 restyle trackoutput 2017-03-27 21:15:35 +01:00
Harry van Haaren
a2e154a8be restyled looper and looperclip 2017-03-27 21:14:53 +01:00
Harry van Haaren
a431ff3868 jack: track numbering to use human-offset
Humans count from 1, so increase the track numbers in the JACK
port names by one, for both the sends/returns and the JACK FX.
2017-03-27 21:10:06 +01:00
Harry van Haaren
08bdc1ff09 restyled code after stereo added 2017-03-27 21:04:30 +01:00
coderkun
ed72627245 Fix reading and writing of stereo files 2017-03-27 20:53:03 +01:00
coderkun
6a6431242f Read and write stereo files 2017-03-27 20:53:03 +01:00
coderkun
f36e9b6bd0 Fix panning to work with stereo signals 2017-03-27 20:53:03 +01:00
coderkun
9b7cb506d5 Use stereo signal for all channels 2017-03-27 20:53:03 +01:00
coderkun
59b146f052 Use stereo input and stereo audio buffer 2017-03-27 20:53:03 +01:00
Harry van Haaren
6e8687592b fix header guard and cleanup whitespace 2017-03-08 19:22:02 +00:00
Harry van Haaren
96eaa81de6 fix gtrack return value 2017-03-08 19:20:45 +00:00
Harry van Haaren
908bb89878 pan: load and save of value implemented (close #164) 2017-01-09 15:03:56 +00:00
Harry van Haaren
0de1784e8f pan: value saved and restored to dsp 2017-01-09 14:38:19 +00:00
Harry van Haaren
fdec6fedbf dsp: pan implemented in trackoutput, event added 2017-01-09 14:11:16 +00:00
Harry van Haaren
e8b15b394c fix #163; save file dir parent dir created
Previously when not using NSM, and the project dir ~/luppp/
did not exist, Luppp would fail to save the session as it did
not attempt to create the directory. This patch adds the creating
of the directory if it does not already exist.
2017-01-08 11:29:42 +00:00
Harry van Haaren
394ced7f33 cleanup startup prints and blank lines 2016-12-30 12:30:59 +00:00
Harry van Haaren
01f71ec5e4 astyle: global restyle of codebase (fixes #153)
This to bring common fomatting to the whole project,
including submissions. To format a file to this style:

astyle --style=linux -t8 <file>

Future patches / pull-requests should be in this format.
2016-12-27 13:04:05 +00:00
Harry van Haaren
0020d9a672 fix #125: track volume fader != silence bug fixed
Fixes dsp bug in how the master diff was calculated,
which left some room for error and hence some just-not-silence
levels sneak through the fader.

Increase the calculation threshold to be more sensitive, so
there is now 10x less creep. Testing here proved that it never
bleeds audio anymore
2016-12-20 16:35:44 +00:00
Gerald
cd1565d073 Added midi binding capabilities for jack sends and fx button, closes #151 2016-12-04 19:33:23 +00:00
Harry van Haaren
0ed37a4401 Fixes #125; Track faders set to zero on very low volumes 2016-12-04 17:19:09 +00:00
Harry van Haaren
02fb669470 volume: fix mousewheel handling
Mouse scroll events are now consumed by vol faders,
and hence not passed on to the next widget.
2016-11-29 18:48:09 +00:00
Harry van Haaren
4e154b1d11 Merge pull request #143 from geraldmwangi/master
resize luppp_group. Fixes problem with unresponsive lower part of faders.
2016-11-29 18:47:41 +00:00
Gerald
848ea51658 Fixed issue with non responsize lower gui part 2016-11-29 18:31:15 +01:00
Harry van Haaren
917e61a0ac Resolves #136: saveDirectory
This commit is Geralds work, as sent by pull-request
https://github.com/openAVproductions/openAV-Luppp/pull/136
It had to be rebased, so this is a new commit of his changes.
2016-11-27 19:37:03 +00:00
Harry van Haaren
c360dad709 Fixed #117 Master Returns now re-enabled 2016-11-26 09:47:12 +00:00