maialib 1.8.1__cp311-cp311-macosx_10_15_universal2.whl → 1.9.0__cp311-cp311-macosx_10_15_universal2.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-311-darwin.so +0 -0
- maialib/maiacore/maiacore.pyi +5 -1
- maialib/maiapy/plots.py +3 -3
- {maialib-1.8.1.dist-info → maialib-1.9.0.dist-info}/METADATA +17 -3
- {maialib-1.8.1.dist-info → maialib-1.9.0.dist-info}/RECORD +8 -8
- {maialib-1.8.1.dist-info → maialib-1.9.0.dist-info}/WHEEL +1 -1
- {maialib-1.8.1.dist-info → maialib-1.9.0.dist-info/licenses}/LICENSE.txt +0 -0
- {maialib-1.8.1.dist-info → maialib-1.9.0.dist-info}/top_level.txt +0 -0
|
Binary file
|
maialib/maiacore/maiacore.pyi
CHANGED
|
@@ -295,8 +295,12 @@ class Chord:
|
|
|
295
295
|
...
|
|
296
296
|
def isSorted(self) -> bool:
|
|
297
297
|
...
|
|
298
|
+
def isSus(self) -> bool:
|
|
299
|
+
...
|
|
298
300
|
def isTonal(self, model: typing.Callable[[Chord], bool] = None) -> bool:
|
|
299
301
|
...
|
|
302
|
+
def isWholeDiminishedChord(self) -> bool:
|
|
303
|
+
...
|
|
300
304
|
def print(self) -> None:
|
|
301
305
|
...
|
|
302
306
|
def printStack(self) -> None:
|
|
@@ -1402,4 +1406,4 @@ C: ClefSign # value = <ClefSign.C: 2>
|
|
|
1402
1406
|
F: ClefSign # value = <ClefSign.F: 1>
|
|
1403
1407
|
G: ClefSign # value = <ClefSign.G: 0>
|
|
1404
1408
|
P: ClefSign # value = <ClefSign.P: 3>
|
|
1405
|
-
__version__: str = '"1.
|
|
1409
|
+
__version__: str = '"1.9.0"'
|
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.4
|
|
2
2
|
Name: maialib
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.9.0
|
|
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,23 @@ 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: license-file
|
|
35
|
+
Dynamic: project-url
|
|
36
|
+
Dynamic: requires-dist
|
|
37
|
+
Dynamic: requires-python
|
|
38
|
+
Dynamic: summary
|
|
26
39
|
|
|
27
40
|
# Maialib - Music Analysis Library {#mainpage}
|
|
28
41
|
|
|
@@ -169,6 +182,7 @@ Done!
|
|
|
169
182
|
|
|
170
183
|
- 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
184
|
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`
|
|
185
|
+
- If `maialib` Python stubs and autocomplete are not working good on VS Code. Run: "Pylance: Clear Persisted Indices"
|
|
172
186
|
|
|
173
187
|
### Windows-Only
|
|
174
188
|
|
|
@@ -9,18 +9,18 @@ maialib/xml-scores-examples/Strauss_Also_Sprach_Zarathustra.mxl,sha256=nOQra05RH
|
|
|
9
9
|
maialib/xml-scores-examples/Bach_Cello_Suite_1.mxl,sha256=0XGNlcW8o0W7kkeG8j2V_M4eggdOnrxvvvCkpf6x_z4,29622
|
|
10
10
|
maialib/maiacore/__init__.pyi,sha256=cJfflEKHJ6BPUTlDQt95xZmi2N3zwHJkHEXy27fBd5c,1282
|
|
11
11
|
maialib/maiacore/__init__.py,sha256=IW7E0LuzAttsn0b37SEthCA0LKuzSgkepSpq8DWExYQ,77
|
|
12
|
-
maialib/maiacore/maiacore.cpython-311-darwin.so,sha256
|
|
13
|
-
maialib/maiacore/maiacore.pyi,sha256=
|
|
12
|
+
maialib/maiacore/maiacore.cpython-311-darwin.so,sha256=-aZ1jDD6DSMeZ7iOTkBt8H-PnMVAJpfLQM8kEbJt0fY,8222896
|
|
13
|
+
maialib/maiacore/maiacore.pyi,sha256=WfSXJmpKmSAY343duVBRWckaLGEJrUIv7zwIgkJE2Hw,48166
|
|
14
14
|
maialib/maiapy/other.pyi,sha256=jEmAc-MDc3iMA2-5hp41RLgNrfBQRMvq-sF2_pexhbo,2163
|
|
15
15
|
maialib/maiapy/__init__.pyi,sha256=L8YtZYJMw_9TrdejcKs2c5xTbu5WMRwlHhKz6Qzulf8,77
|
|
16
16
|
maialib/maiapy/__init__.py,sha256=L8YtZYJMw_9TrdejcKs2c5xTbu5WMRwlHhKz6Qzulf8,77
|
|
17
17
|
maialib/maiapy/other.py,sha256=4LjETHcpDpNRjSYIbMW_9CuRZTymuoAzog_L3CkYDA0,4345
|
|
18
18
|
maialib/maiapy/sethares_dissonance.py,sha256=uRQLTQN55dk74hIFpzu9RlTWP0ZhRpVT3yTLI-su1ww,12830
|
|
19
19
|
maialib/maiapy/plots.pyi,sha256=nRNUQ9h9kjJHTdbQt4eXv933MOx7TIztIg-inThglB4,3620
|
|
20
|
-
maialib/maiapy/plots.py,sha256=
|
|
20
|
+
maialib/maiapy/plots.py,sha256=XjGhgQxFw2QfH-8iMvo3OR3gsxpNkOpBBTX_juYM1Js,23153
|
|
21
21
|
maialib/maiapy/sethares_dissonance.pyi,sha256=O8D_cYRPCE1K5Zw54ckg3I5frULcBGgs_di_bTOpuBU,3609
|
|
22
|
-
maialib-1.
|
|
23
|
-
maialib-1.
|
|
24
|
-
maialib-1.
|
|
25
|
-
maialib-1.
|
|
26
|
-
maialib-1.
|
|
22
|
+
maialib-1.9.0.dist-info/RECORD,,
|
|
23
|
+
maialib-1.9.0.dist-info/WHEEL,sha256=x_18BK1T3erGdM_4jh4JQsJCctcnYrtaUtP7AfUS4os,115
|
|
24
|
+
maialib-1.9.0.dist-info/top_level.txt,sha256=sZWQaa-Up2ba00WpAxBhOLKM6qQYTpUKJMXgSE0Nc48,17
|
|
25
|
+
maialib-1.9.0.dist-info/METADATA,sha256=cY6YZyfxzkTyMmgT8LDVp64_ufSTQFTPxKMzmjc5Lg0,7326
|
|
26
|
+
maialib-1.9.0.dist-info/licenses/LICENSE.txt,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
|
|
File without changes
|
|
File without changes
|