Skip to content

Commit

Permalink
Fixed pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
DixelU committed Nov 10, 2021
1 parent 18db8cf commit 4dcb24f
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 29 deletions.
8 changes: 7 additions & 1 deletion .gitignore
@@ -1 +1,7 @@
*.exe
build.cmd
SAFOR.exe
SAFOR32.exe
SAFOR64.exe
SAFOR32.res
SAFOR64.res
SAFOR_version.h.gch
17 changes: 2 additions & 15 deletions README.md
Expand Up @@ -2,23 +2,10 @@
**Simple AF Overlaps Remover**

A console application which allows to create midis without any note *doubling* or *overlaping* with keeping the same visuals as in original midi.
Due to the way how algorythm works, i've decided to **sacrafice everything** to keep memory usage as low as possible.
Including:
* Non-noteon/noteof events and non-tempo events
* MIDI's length (read bellow)

*You should expect some real corruptions on midis with length more than 2^32-1 ticks.*
You can fix it by compiling your own build were you will should replace **DWORD** with **ULI** in the line:
`#define LTE DWORD `.
If you do that, expect a **huge** memory consuption, which is unallowable in most cases.

This app was made completely from scratch *with OOP like structure.*
And sadly it *does* load file in memory, but every new event goes through a tons of code doing filtering and deciding what to do with this.
Sadly it *does* load file in memory, but every new event goes through some filtering therfore allowing to keep only *important* notes.

Appreciate issue reporting :)

> How do i compile this thing?
Get any MinGW compiler `version >= 4.9.2`.
Complier flags: `-std=c++14`
Linker flags: `-static -lcomdlg32`
Look up into pipeline.yaml ;D
Binary file removed SAFOR32.exe
Binary file not shown.
Binary file removed SAFOR32.res
Binary file not shown.
Binary file removed SAFOR64.exe
Binary file not shown.
Binary file removed SAFOR64.res
Binary file not shown.
Binary file removed SAFOR_version.h.gch
Binary file not shown.
7 changes: 0 additions & 7 deletions build.cmd

This file was deleted.

10 changes: 4 additions & 6 deletions pipeline.yml
Expand Up @@ -7,7 +7,7 @@ trigger:
- main

pool:
vmImage: 'windows-latest'
vmImage: 'windows-2019'

name: "build-check"

Expand All @@ -17,14 +17,12 @@ steps:
python download_boost_fast.py
7z x -y boost.zip
move boost_1_76_0\boost boost
windres --input SAFOR32.rc --output SAFOR32.res --output-format=coff --target pe-i386
windres --input SAFOR64.rc --output SAFOR64.res --output-format=coff --target pe-x86-64
g++ SAFOR.cpp -o SAFOR64.exe SAFOR64.res -msse2 -Ofast -m64 -std=c++17 -I"." -lcomdlg32 -luuid -luxtheme -lcomctl32 -s
g++ SAFOR.cpp -o SAFOR32.exe SAFOR32.res -msse2 -Ofast -m32 -std=c++17 -I"." -lcomdlg32 -luuid -luxtheme -lcomctl32 -s
C:\ProgramData\Chocolatey\bin\windres.exe --input SAFOR32.rc --output SAFOR32.res --output-format=coff --target pe-i386
C:\ProgramData\Chocolatey\bin\windres.exe --input SAFOR64.rc --output SAFOR64.res --output-format=coff --target pe-x86-64
C:\ProgramData\Chocolatey\bin\g++ SAFOR.cpp -o SAFOR64.exe SAFOR64.res -msse2 -Ofast -m64 -std=c++17 -I"." -lgdi32 -lcomdlg32 -luuid -luxtheme -lcomctl32 -s
dir
mkdir SAFR
move SAFOR64.exe SAFR/SAFOR64.exe
move SAFOR32.exe SAFR/SAFOR32.exe
displayName: 'windows-build'

- task: PublishBuildArtifacts@1
Expand Down

0 comments on commit 4dcb24f

Please sign in to comment.