-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recording after rebase to master #4994
Closed
Closed
Changes from all commits
Commits
Show all changes
112 commits
Select commit
Hold shift + click to select a range
8fd89ee
SampleTrack: Uncomment disabled recording-related code.
Reflexe e86fd69
SampleTrack: Fix TCO not being played on the first tick (if it starts on
Reflexe 34eb63c
AudioJack: Basic implementation of capture (without AUDIO_PORT_SUPPORT)
Reflexe 1720fcd
Mixer & PlayHandle: Support PlayHandle without audioPort and set
Reflexe 7074ac8
Mixer -> pushInputFrames: Add an option to automaticly normalize input
Reflexe 86eb13f
AudioPulseAudio: Switch playback sample type to float and add capture
Reflexe 45a484a
Track -> SampleTrack: Do not save start time offset for empty
Reflexe c4b69a3
AudioJack: Allocate and deallocate m_tempInBufs.
Reflexe 0a9debc
SampleTrack: Make sure an empty TCO with isRecord would still be
Reflexe f72c5d9
SampleTrack: Reset the start time offset when importing a new
Reflexe 5241b4b
SampleRecordHandle: Apply start offset to reocrded TCO.
Reflexe 55029bd
Track, TrackView: Instead of trying every possible `dynamic_cast` in
Reflexe 5229868
SampleTrack Recording: Add per SampleTrack and a global fallback for the
Reflexe e290203
Editor -> Style: Reorder editor buttons.
Reflexe 48fea61
SampleTrack -> RecordingChannel: Remove the default option, instead, all
Reflexe 6feeb4a
SampleTrack: Change recordingChannel menu label.
Reflexe 1bb14b5
SampleTrack: In a case of recording, play a sample TCO even if its
Reflexe cbd669c
SampleRecordHandle: Obtain the offset to the record with a parameter
Reflexe ef9d9e8
AudioJack: Fix a deadblock on exporting a sample with different sample
Reflexe 31a69dd
SongEditor: Hide the global channel selection toolbox when capture
Reflexe 52eef80
SongEditor: Hide the record button.
Reflexe 1e9845f
Bugfix - SampleTrack -> Load & Save: Fix recorded sample track not being
Reflexe 7b49167
Bugfix - SampleTrack -> Play: Fix sample track not being played in the
Reflexe 333ba57
SampleTrack -> Recording: Enable per-track record setting and
Reflexe 16dc30b
SampleTrack: On project save, save the values of SampleTrack::m_record
Reflexe 0b2d8a7
SampleTrack -> Minor: Reorder the constructor initialization order to
Reflexe 75f84d6
Travis: Use SDL2 on Windows.
Reflexe 70f2046
Travis -> InstallRaw: Fix Shellcheck warnings.
Reflexe 96ccbfe
Travis -> Linux: Use SDL2 by default.
Reflexe 5f68c8b
CMake -> Install: Install SDL2.dll instead of SDL.dll.
Reflexe acc1b8e
AudioJack: Connect capture stream to LMMS by default.
Reflexe 715778f
AudioSdl -> Recording - Bugfix: Due to spec.sampleRate being wrong,
Reflexe 79cddac
Style -> SampleTrack Recording: Paint recorded sampletrack red (intead
Reflexe c881c14
basics: Change sampleFrame to `std::array<sample_t, DEFAULT_CHANNELS>`
Reflexe 84cea2b
SampleBuffer: Internally change buffer to std::vector and support
Reflexe f394a59
SampleRecordHandle and SampleTrack: Support in-recording updating and
Reflexe e47cdd2
SampleBuffer: Work around compilation error with libsamplerate 0.1.8
Reflexe ad3a03e
Recording and SampleTrack: Remove setSampleBuffer and introduce
Reflexe 7e9a578
MemoryManager: Add == and != operators for MmAllocator.
Reflexe ee5981d
Recording: Don't apply masterGain for input frames.
Reflexe 7118380
SampleTCO -> recording: Export is_record attribute for future loading.
Reflexe d588c56
SampleBuffer: fix resampleing error: null output data.
Reflexe 1b7660d
Cleanup for next commit: Remove the unused AudioSampleRecorder.
Reflexe a5b684c
SampleBuffer: Remove the god function "update" and split it into a
Reflexe 53d3b4c
Mixer: Fix another crash with play handle without an audioPort.
Reflexe c615235
SampleRecordHandle: Tell mixer to remove us when we done. With
Reflexe 58314a4
AudioPortAudio: Support recording.
Reflexe 0aab43a
SampleTrack: Move per-track slots from SampleTCO to SampleTrack.
Reflexe c39ccbb
Song -> Recording with loop: support creating of recording tcos in
Reflexe 3d9efbb
SampleRecordHandle: Fix a bug when even when not recording, a track set
Reflexe f4a70a7
SampleBuffer -> Samplerate - Fix two sample rate issues:
Reflexe b1ffa19
AudioJack: Use std::vector for buffer
Reflexe 210423f
SampleBuffer: Don't use sharedObject
Reflexe 90c9b74
SampleBuffer: Use JournallingObject
Reflexe 79c20bc
SampleBuffer: Don't normalize any SampleBuffer's sample rate to the
Reflexe a26a8df
Windows -> Recording: Enable jack.
Reflexe 196f000
Travis: Install jack on win32 builds for its headers.
Reflexe d0385d6
Song: Fix loops and recording.
Reflexe 0132e33
Win32 Installer -> Jack: Try to bundle jack installer.
Reflexe 2ccd530
Support Jack on Windows + Bundled jack Installer (#6)
Reflexe ab9a2a3
SampleBuffer: Use `resetData` instead of `beginBufferChange` when
Reflexe 8166e95
SampleBuffer: Make `frames()` thread-safe.
Reflexe 0ba71ca
SampleBuffer & SampleTCOView: Cache visualization while recording.
Reflexe a356e78
PulseAudio: Disable recording since it produces voices from hell.
Reflexe 6fe3267
AudioSdl: Disable recording in linux since it have a very high latency
Reflexe 3a43158
SampleTrack: Avoid crashes while recording by locking the mixer before
Reflexe a056dfb
SampleTrackView: Fix visualization not being cleared between recording
Reflexe d11c826
SamplePlayHandle: Fix export issues by correctly calculating
Reflexe 09f0b0d
SampleTCOView: Implement caching for visualization.
Reflexe d2d8bd7
SampleTCO -> Recording: Block resize and move actions while recording.
Reflexe b1fed89
SampleBuffer -> SoundFile: Support mono files, show a warning for
Reflexe b5123e6
SampleBuffer -> Recording: Use less blocking locks with addData and
Reflexe 8121812
SampleBuffer: Fix mono sample decoding
lukas-w a4efebc
SampleBuffer::play: Fix freq factor calculation
lukas-w 013d9f4
Remove bundled Jack headers, use system headers instead
lukas-w 46d2233
CMake: Fix finding jack when cross-compiling with non-standard CMake
lukas-w 67d5c77
Fix PatMan patch loading
PhysSong b6b61eb
Fix setting sample buffer name
PhysSong 7d8d130
Use CMake's file command to download JACK installer
PhysSong 21b9569
MmAllocator: add missing constructors
PhysSong 8200efb
Improve JACK finding logic
PhysSong dd04ef7
Don't try to resample empty data
PhysSong 60cf294
Fix remaining file name reset issues
PhysSong e98b133
Fix JACK installer download
PhysSong 2175eac
Improve JACK installation on Windows
PhysSong 6e76182
SampleBuffer: Don't treat an empty file as an error
Reflexe ca9be24
Bugfix -> SampleBuffer: To avoid arithmetic exception, userWaveSample
Reflexe 1c9b53a
Bugfix -> SampleBuffer: Don't unlock the mixer when it has not been l…
Reflexe 6ee074d
SampleBuffer: Disable automatic up-sampling to the mixer's sample rate.
Reflexe 87239ac
Fix TripleOscillator preset previewing due to nonexistent waveform files
PhysSong 283625c
SampleBuffer: use the RAII pattern when changing its data
PhysSong 3a47ded
LmmsBasics: Move LoopMode here from SampleBuffer.
Reflexe e206254
Mixer: Introduce `RequestChangesGuard`: a RAII verion of
Reflexe 5cfc4a3
SampleBuffer: Seperate the class into 3 internal classes.
Reflexe d65c1d0
Oscillator: include lmms_math.h.
Reflexe 00acb14
Introduce Threading.h and runAsync: std::async using
Reflexe aac5600
Introduce UpdatingValue: thread-safe automatically updated value.
Reflexe 4082d78
Mixer: Add runWhileNotRendering helper.
Reflexe 67186e2
Engine: Delete the mixer last in order to be able to use requestChanges
Reflexe 6f36515
SampleBufferPlayInfo: Add m_maybeAudiofile.
Reflexe 0f8c6d6
Track::createTCO: avoid creating tcos while rendering.
Reflexe 855b070
SampleBuffer: Make setX functions async, remove get functions
Reflexe 8dc1475
SampleBuffer & SampleTCO visualization: visualize async only
Reflexe 1c42efa
Track: put mixer syncs in tco remove/add in order to avoid
Reflexe 98d1062
SampleRecordHandle: move calls to SampleBuffer's methods
Reflexe cd6ad7a
SampleRecordHandle: Add guard before setting startRecordTimeOffset
Reflexe 7d8fdff
Threading: Add runAccordingToLaunchType helper that will run
Reflexe cde4baa
SampleBuffer: Support setX sync operation instead of only async.
Reflexe ab180b0
SampleTrack: use sync version of SampleBuffer's setX in order to avoid
Reflexe 91c6e96
Use LMMS_EXPORT in order to resolve MSVC problems.
Reflexe a7236e4
SampleTrack -> QMutex: use tryLock instead of tryLock.
Reflexe 444e638
AudioFileProcessor: fix saving/loading problems.
Reflexe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/usr/bin/env bash | ||
|
||
while read -r PACKAGE_URL_AND_OPTS; do | ||
pushd "$PWD" | ||
IFS=',' read -ra PACKAGE_URL_AND_OPTS <<< "$PACKAGE_URL_AND_OPTS" | ||
|
||
PACKAGE_URL="${PACKAGE_URL_AND_OPTS[0]}" | ||
OPTS="${PACKAGE_URL_AND_OPTS[1]}" | ||
|
||
echo "Downloading $PACKAGE_URL ..." | ||
|
||
mkdir PACKAGE_URL_TEMP | ||
cd PACKAGE_URL_TEMP || exit 1 | ||
|
||
curl "$PACKAGE_URL" | tar xfz - | ||
dir_name=$(ls) | ||
cd "$dir_name" || exit 1 | ||
|
||
echo "Installing package $dir_name (make ${OPTS}) ..." | ||
|
||
# shellcheck disable=SC2086 | ||
sudo make $OPTS | ||
|
||
popd | ||
rm -rf PACKAGE_URL_TEMP | ||
done <<< "$MANUAL_PACKAGES_URLS" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we drop jack bundling? I was sure it was a good idea back then, right now it does look bizarre.