maialib 1.8.0__cp312-cp312-musllinux_1_2_i686.whl → 1.8.2__cp312-cp312-musllinux_1_2_i686.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of maialib might be problematic. Click here for more details.
- maialib/maiacore/maiacore.cpython-312-i386-linux-musl.so +0 -0
- maialib/maiacore/maiacore.pyi +6 -8
- maialib/maiapy/plots.py +3 -3
- {maialib-1.8.0.dist-info → maialib-1.8.2.dist-info}/METADATA +16 -3
- {maialib-1.8.0.dist-info → maialib-1.8.2.dist-info}/RECORD +19 -19
- {maialib-1.8.0.dist-info → maialib-1.8.2.dist-info}/WHEEL +1 -1
- {maialib-1.8.0.dist-info → maialib-1.8.2.dist-info}/LICENSE.txt +0 -0
- {maialib-1.8.0.dist-info → maialib-1.8.2.dist-info}/top_level.txt +0 -0
|
Binary file
|
maialib/maiacore/maiacore.pyi
CHANGED
|
@@ -99,8 +99,6 @@ class Chord:
|
|
|
99
99
|
...
|
|
100
100
|
def getIntervalsFromOriginalSortedNotes(self) -> list[Interval]:
|
|
101
101
|
...
|
|
102
|
-
def getMIDIIntervals(self, firstNoteAsReference: bool = False) -> list[int]:
|
|
103
|
-
...
|
|
104
102
|
def getMeanFrequency(self) -> float:
|
|
105
103
|
...
|
|
106
104
|
def getMeanMidiValue(self) -> int:
|
|
@@ -113,6 +111,8 @@ class Chord:
|
|
|
113
111
|
...
|
|
114
112
|
def getMeanPitch(self, accType: str = '') -> str:
|
|
115
113
|
...
|
|
114
|
+
def getMidiIntervals(self, firstNoteAsReference: bool = False) -> list[int]:
|
|
115
|
+
...
|
|
116
116
|
def getMidiValueStd(self) -> float:
|
|
117
117
|
...
|
|
118
118
|
def getName(self) -> str:
|
|
@@ -279,8 +279,6 @@ class Chord:
|
|
|
279
279
|
...
|
|
280
280
|
def insertNote(self, insertNote: Note, positionNote: int = 0) -> None:
|
|
281
281
|
...
|
|
282
|
-
def inversion(self, inversionNumber: int) -> None:
|
|
283
|
-
...
|
|
284
282
|
def isAugmentedChord(self) -> bool:
|
|
285
283
|
...
|
|
286
284
|
def isDiminishedChord(self) -> bool:
|
|
@@ -323,6 +321,8 @@ class Chord:
|
|
|
323
321
|
...
|
|
324
322
|
def toCents(self) -> list[int]:
|
|
325
323
|
...
|
|
324
|
+
def toInversion(self, inversionNumber: int) -> None:
|
|
325
|
+
...
|
|
326
326
|
def transpose(self, semiTonesNumber: int) -> None:
|
|
327
327
|
...
|
|
328
328
|
def transposeStackOnly(self, semiTonesNumber: int) -> None:
|
|
@@ -941,7 +941,7 @@ class Note:
|
|
|
941
941
|
...
|
|
942
942
|
def getLongType(self) -> str:
|
|
943
943
|
...
|
|
944
|
-
def
|
|
944
|
+
def getMidiNumber(self) -> int:
|
|
945
945
|
...
|
|
946
946
|
@typing.overload
|
|
947
947
|
def getNumDots(self) -> int:
|
|
@@ -1295,8 +1295,6 @@ class Score:
|
|
|
1295
1295
|
...
|
|
1296
1296
|
def info(self) -> None:
|
|
1297
1297
|
...
|
|
1298
|
-
def instrumentFragmentation(self, config: json = None) -> json:
|
|
1299
|
-
...
|
|
1300
1298
|
def isValid(self) -> bool:
|
|
1301
1299
|
...
|
|
1302
1300
|
def removeMeasure(self, measureStart: int, measureEnd: int) -> None:
|
|
@@ -1404,4 +1402,4 @@ C: ClefSign # value = <ClefSign.C: 2>
|
|
|
1404
1402
|
F: ClefSign # value = <ClefSign.F: 1>
|
|
1405
1403
|
G: ClefSign # value = <ClefSign.G: 0>
|
|
1406
1404
|
P: ClefSign # value = <ClefSign.P: 3>
|
|
1407
|
-
__version__: str = '"1.8.
|
|
1405
|
+
__version__: str = '"1.8.2"'
|
maialib/maiapy/plots.py
CHANGED
|
@@ -140,7 +140,7 @@ def _score2DataFrame(score: mc.Score, kwargs) -> Tuple[pd.DataFrame, str, str]:
|
|
|
140
140
|
|
|
141
141
|
# Get note data
|
|
142
142
|
noteDuration = currentNote.getQuarterDuration()
|
|
143
|
-
midiValue = currentNote.
|
|
143
|
+
midiValue = currentNote.getMidiNumber()
|
|
144
144
|
notePitch = currentNote.getPitch()
|
|
145
145
|
|
|
146
146
|
aux = currentTimePosition + internalStaveCurrentTime
|
|
@@ -346,10 +346,10 @@ def _scoreEnvelopeDataFrame(df: pd.DataFrame) -> pd.DataFrame:
|
|
|
346
346
|
else:
|
|
347
347
|
obj = {
|
|
348
348
|
"floatMeasure": row["floatMeasure"],
|
|
349
|
-
"low": chord.getNote(0).
|
|
349
|
+
"low": chord.getNote(0).getMidiNumber(),
|
|
350
350
|
"meanOfExtremes": chord.getMeanOfExtremesMidiValue(),
|
|
351
351
|
"mean": chord.getMeanMidiValue(),
|
|
352
|
-
"high": chord.getNote(chordSize-1).
|
|
352
|
+
"high": chord.getNote(chordSize-1).getMidiNumber(),
|
|
353
353
|
"lowPitch": chord.getNote(0).getPitch(),
|
|
354
354
|
"meanOfExtremesPitch": chord.getMeanOfExtremesPitch(),
|
|
355
355
|
"meanPitch": chord.getMeanPitch(),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: maialib
|
|
3
|
-
Version: 1.8.
|
|
3
|
+
Version: 1.8.2
|
|
4
4
|
Summary: A C++/Python library to manipulate sheet music data
|
|
5
5
|
Home-page: https://github.com/nyckmaia/maialib
|
|
6
6
|
Author: Nycholas Maia
|
|
@@ -19,10 +19,22 @@ Classifier: Topic :: Software Development :: Libraries
|
|
|
19
19
|
Requires-Python: >=3.8.0
|
|
20
20
|
Description-Content-Type: text/markdown
|
|
21
21
|
License-File: LICENSE.txt
|
|
22
|
-
Requires-Dist: pandas
|
|
22
|
+
Requires-Dist: pandas>=2.0.0
|
|
23
23
|
Requires-Dist: plotly
|
|
24
24
|
Requires-Dist: kaleido
|
|
25
25
|
Requires-Dist: nbformat
|
|
26
|
+
Dynamic: author
|
|
27
|
+
Dynamic: author-email
|
|
28
|
+
Dynamic: classifier
|
|
29
|
+
Dynamic: description
|
|
30
|
+
Dynamic: description-content-type
|
|
31
|
+
Dynamic: home-page
|
|
32
|
+
Dynamic: keywords
|
|
33
|
+
Dynamic: license
|
|
34
|
+
Dynamic: project-url
|
|
35
|
+
Dynamic: requires-dist
|
|
36
|
+
Dynamic: requires-python
|
|
37
|
+
Dynamic: summary
|
|
26
38
|
|
|
27
39
|
# Maialib - Music Analysis Library {#mainpage}
|
|
28
40
|
|
|
@@ -169,6 +181,7 @@ Done!
|
|
|
169
181
|
|
|
170
182
|
- Multiple Python versions installed, like: `Official Python`, `Microsoft Python`, `MSYS2 Python` and others can direct the build system to choose a wrong version to build and install the library. <br>
|
|
171
183
|
To check all Python versions installed on your system, open the `Terminal` (or `CMD` on Windows) and type: - Linux or Mac: - `which python` - `which python3` - Windows: - `where.exe python` - `where.exe python3`
|
|
184
|
+
- If `maialib` Python stubs and autocomplete are not working good on VS Code. Run: "Pylance: Clear Persisted Indices"
|
|
172
185
|
|
|
173
186
|
### Windows-Only
|
|
174
187
|
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
maialib-1.8.0.dist-info/top_level.txt,sha256=sZWQaa-Up2ba00WpAxBhOLKM6qQYTpUKJMXgSE0Nc48,17
|
|
2
|
-
maialib-1.8.0.dist-info/RECORD,,
|
|
3
|
-
maialib-1.8.0.dist-info/LICENSE.txt,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
|
|
4
|
-
maialib-1.8.0.dist-info/METADATA,sha256=4NMgyZErRladofx7mdrQj-BKTV2RrHmlfHolzoekSPI,6926
|
|
5
|
-
maialib-1.8.0.dist-info/WHEEL,sha256=4Fw6r8-fG7jYO795gjwb4XPe7RteN9lYZtN9R2i_BsU,110
|
|
6
1
|
maialib/setup.py,sha256=1Cbv0DfEUNK1EQHb64-1B0rwbRrsTSnJBY8fVn8gtbU,2168
|
|
7
2
|
maialib/__init__.py,sha256=qiIEL1ZDvpDK0bkGUdZRib3bG973EtKQDFYPFfvJKQA,122
|
|
8
|
-
maialib/maiacore/maiacore.pyi,sha256=vAf9_jc1PMPEKqNRR0D2r-8hDHInelrtFPRo07iazHs,48145
|
|
9
3
|
maialib/maiacore/__init__.py,sha256=IW7E0LuzAttsn0b37SEthCA0LKuzSgkepSpq8DWExYQ,77
|
|
10
|
-
maialib/maiacore/maiacore.cpython-312-i386-linux-musl.so,sha256=
|
|
4
|
+
maialib/maiacore/maiacore.cpython-312-i386-linux-musl.so,sha256=qeE6N936bqbe_YfqnAMxLlidmGCiogdDAB84NLXr5tc,5377425
|
|
11
5
|
maialib/maiacore/__init__.pyi,sha256=cJfflEKHJ6BPUTlDQt95xZmi2N3zwHJkHEXy27fBd5c,1282
|
|
12
|
-
maialib/
|
|
13
|
-
maialib/maiapy/plots.py,sha256=laAt68-IiZ4vNLFPKcGCf4IcMDIIZ1uavJpROrS8tqs,23153
|
|
14
|
-
maialib/maiapy/__init__.py,sha256=L8YtZYJMw_9TrdejcKs2c5xTbu5WMRwlHhKz6Qzulf8,77
|
|
15
|
-
maialib/maiapy/sethares_dissonance.py,sha256=uRQLTQN55dk74hIFpzu9RlTWP0ZhRpVT3yTLI-su1ww,12830
|
|
16
|
-
maialib/maiapy/other.py,sha256=4LjETHcpDpNRjSYIbMW_9CuRZTymuoAzog_L3CkYDA0,4345
|
|
17
|
-
maialib/maiapy/other.pyi,sha256=jEmAc-MDc3iMA2-5hp41RLgNrfBQRMvq-sF2_pexhbo,2163
|
|
18
|
-
maialib/maiapy/__init__.pyi,sha256=L8YtZYJMw_9TrdejcKs2c5xTbu5WMRwlHhKz6Qzulf8,77
|
|
19
|
-
maialib/maiapy/plots.pyi,sha256=nRNUQ9h9kjJHTdbQt4eXv933MOx7TIztIg-inThglB4,3620
|
|
6
|
+
maialib/maiacore/maiacore.pyi,sha256=R_fUKVVS-QrDN55l1k3kb0vjHo92ZmlHZwfrBdQTucM,48067
|
|
20
7
|
maialib/xml-scores-examples/Chopin_Fantasie_Impromptu.mxl,sha256=HkouQ_4bI6XDoGmzJITuU81CzQZE2lQjwl6WNlfZmJA,35727
|
|
21
|
-
maialib/xml-scores-examples/Bach_Cello_Suite_1.mxl,sha256=0XGNlcW8o0W7kkeG8j2V_M4eggdOnrxvvvCkpf6x_z4,29622
|
|
22
|
-
maialib/xml-scores-examples/Dvorak_Symphony_9_mov_4.mxl,sha256=s7FGUEmFmgcIdmkZ-bv4sOGGj5HYKc2nc760V79DMtM,261438
|
|
23
|
-
maialib/xml-scores-examples/Mahler_Symphony_8_Finale.mxl,sha256=F2-QBKNYjBv_sWT-z4LWi1rX84-P3msxtl-g6joA2FQ,229034
|
|
24
8
|
maialib/xml-scores-examples/Mozart_Requiem_Introitus.mxl,sha256=_wc4hMaPhtgocUoL94uVzfVN3TGb08z8Xa2BL4SHfgA,91112
|
|
25
9
|
maialib/xml-scores-examples/Strauss_Also_Sprach_Zarathustra.mxl,sha256=nOQra05RHHDe_dXFs5WBJG2l9R1KQk64urV7lWYC2vw,18863
|
|
10
|
+
maialib/xml-scores-examples/Mahler_Symphony_8_Finale.mxl,sha256=F2-QBKNYjBv_sWT-z4LWi1rX84-P3msxtl-g6joA2FQ,229034
|
|
11
|
+
maialib/xml-scores-examples/Bach_Cello_Suite_1.mxl,sha256=0XGNlcW8o0W7kkeG8j2V_M4eggdOnrxvvvCkpf6x_z4,29622
|
|
26
12
|
maialib/xml-scores-examples/Beethoven_Symphony_5_mov_1.xml,sha256=iZ2uqqHWMkDtmQVKovT-H_-zZp1SixASi1R7L3TmuOI,4775525
|
|
27
|
-
maialib
|
|
13
|
+
maialib/xml-scores-examples/Dvorak_Symphony_9_mov_4.mxl,sha256=s7FGUEmFmgcIdmkZ-bv4sOGGj5HYKc2nc760V79DMtM,261438
|
|
14
|
+
maialib/maiapy/plots.pyi,sha256=nRNUQ9h9kjJHTdbQt4eXv933MOx7TIztIg-inThglB4,3620
|
|
15
|
+
maialib/maiapy/sethares_dissonance.pyi,sha256=O8D_cYRPCE1K5Zw54ckg3I5frULcBGgs_di_bTOpuBU,3609
|
|
16
|
+
maialib/maiapy/plots.py,sha256=XjGhgQxFw2QfH-8iMvo3OR3gsxpNkOpBBTX_juYM1Js,23153
|
|
17
|
+
maialib/maiapy/other.pyi,sha256=jEmAc-MDc3iMA2-5hp41RLgNrfBQRMvq-sF2_pexhbo,2163
|
|
18
|
+
maialib/maiapy/sethares_dissonance.py,sha256=uRQLTQN55dk74hIFpzu9RlTWP0ZhRpVT3yTLI-su1ww,12830
|
|
19
|
+
maialib/maiapy/__init__.py,sha256=L8YtZYJMw_9TrdejcKs2c5xTbu5WMRwlHhKz6Qzulf8,77
|
|
20
|
+
maialib/maiapy/__init__.pyi,sha256=L8YtZYJMw_9TrdejcKs2c5xTbu5WMRwlHhKz6Qzulf8,77
|
|
21
|
+
maialib/maiapy/other.py,sha256=4LjETHcpDpNRjSYIbMW_9CuRZTymuoAzog_L3CkYDA0,4345
|
|
28
22
|
maialib.libs/libgcc_s-f3fb5a36.so.1,sha256=SrjjCCuY7RHj-T9JLrY9XFMgCCpYD9Qmezr4uoJGVEQ,168321
|
|
23
|
+
maialib.libs/libstdc++-d2a021ba.so.6.0.32,sha256=1zr_iwGwEBe95gyKdgiw7C4Y1RR9ijV40j66rk4elzg,3537349
|
|
24
|
+
maialib-1.8.2.dist-info/WHEEL,sha256=Wb3nvANFEn44XqbxAqi_Y6lLfEfl8unbCv7eLBXlERc,110
|
|
25
|
+
maialib-1.8.2.dist-info/RECORD,,
|
|
26
|
+
maialib-1.8.2.dist-info/LICENSE.txt,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
|
|
27
|
+
maialib-1.8.2.dist-info/top_level.txt,sha256=sZWQaa-Up2ba00WpAxBhOLKM6qQYTpUKJMXgSE0Nc48,17
|
|
28
|
+
maialib-1.8.2.dist-info/METADATA,sha256=BOGGSVuAOtdWVnCgYTgcF8pN1TYi0JnFRLHMzXyOCsw,7304
|
|
File without changes
|
|
File without changes
|