`MergeObjects` does not have the same behavior as `MergeNotes`
See original GitHub issueWhen I use the MergeObjects
method, seemingly the notes disappear in my loaded MIDI file, instead of merging it properly. I used to use MergeNotes
and it worked properly like so:
midi.MergeNotes(new()
{
Tolerance = new MetricTimeSpan(0, 0, 0, (int) Settings.MergeMilliseconds)
});
And with Obsolete #17 it told me to use the MergeObjects
method instead, but it does not produce the same results.
midi.MergeObjects(ObjectType.Note, new()
{
Tolerance = new MetricTimeSpan(0, 0, 0, (int) Settings.MergeMilliseconds)
});
Issue Analytics
- State:
- Created a year ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
$mergeObjects (aggregation) — MongoDB Manual
$mergeObjects overwrites the field values as it merges the documents. If documents to merge include the same field name, the field, in the...
Read more >Using MergeObjects without overwriting subdocuments
mergeObjects overwrites the field values as it merges the documents. If documents to merge include the same field name, the field, in the ......
Read more >Obsolete API | DryWetMIDI
Quick example of how to merge notes within a MIDI file with the new tool: midiFile.MergeObjects( ObjectType.Note, new ObjectsMergingSettings { ...
Read more >'$mergeObjects' not a recognized expression (Mac build)
Description. — name: Bug about: For the mac build version of pymongo, the mergeObjects expression does not seem to be included in the...
Read more >DryWetMIDI
NET library to read, write, process MIDI files and to work with MIDI devices - DryWetMIDI · melanchall/drywetmidi.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It’s working great, thank you!
@sabihoshi 6.1.3-prerelease1 version published, you can install it via NuGet.