maialib 1.8.1__cp38-cp38-win_amd64.whl → 1.9.0__cp38-cp38-win_amd64.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.

@@ -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.8.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.getMIDINumber()
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).getMIDINumber(),
349
+ "low": chord.getNote(0).getMidiNumber(),
350
350
  "meanOfExtremes": chord.getMeanOfExtremesMidiValue(),
351
351
  "mean": chord.getMeanMidiValue(),
352
- "high": chord.getNote(chordSize-1).getMIDINumber(),
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
1
  Metadata-Version: 2.1
2
2
  Name: maialib
3
- Version: 1.8.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,7 +19,7 @@ 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
@@ -169,6 +169,7 @@ Done!
169
169
 
170
170
  - 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
171
  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`
172
+ - If `maialib` Python stubs and autocomplete are not working good on VS Code. Run: "Pylance: Clear Persisted Indices"
172
173
 
173
174
  ### Windows-Only
174
175
 
@@ -3,13 +3,13 @@ maialib/setup.py,sha256=SRFKCV1MVKftVrdnbrjQkL-ee4nR6pzlaURgwSJgqXU,2221
3
3
  maialib/maiacore/__init__.py,sha256=0sK4fUTlwdUaieWSoGvL11TBkw6BebR2cd-MpYpJn1o,81
4
4
  maialib/maiacore/__init__.pyi,sha256=68w5bv3qhq6lEK0JNHSWER9zuyQN8mxJV-y3JayNxNA,1472
5
5
  maialib/maiacore/Release/__init__.pyi,sha256=ncPiCbsaSZXZUykVnOw-yqVPbE-I285Kj5moTnKTNCU,84
6
- maialib/maiacore/Release/maiacore.cp38-win_amd64.pyd,sha256=wYd96iO9EKLC86Tei9u8P30xjyBXcmh6rNNqZY9QiH4,4528128
7
- maialib/maiacore/Release/maiacore.pyi,sha256=JI0XnWf2Ems8agM8zH35hZbx-czcL6LxS_Alrvz3VzE,49472
6
+ maialib/maiacore/Release/maiacore.cp38-win_amd64.pyd,sha256=3JRaVfo8UKUraulNMJhA83pDhQwzk_qCaaq3SHSSv1E,4628480
7
+ maialib/maiacore/Release/maiacore.pyi,sha256=GTaAQqFpuCuMKbhVUTtuloJgsrCCR0nyBKJGZ2u0jRc,49575
8
8
  maialib/maiapy/__init__.py,sha256=Kd9D0GBofeJYa6ampk8C47otrr20uwoTYlJlPyMu6fU,80
9
9
  maialib/maiapy/__init__.pyi,sha256=Kd9D0GBofeJYa6ampk8C47otrr20uwoTYlJlPyMu6fU,80
10
10
  maialib/maiapy/other.py,sha256=Gcxbxp5zWsbYWi8Zd9ikBJPDOAVqm53tj5_KdzAURh4,4484
11
11
  maialib/maiapy/other.pyi,sha256=kjn7QULRPrLmGCwj0SJzcuJ544Yo4vpduumq3v9CUzg,2242
12
- maialib/maiapy/plots.py,sha256=_RYvckdfalkbXf-SlozSELWVB1ATyTCGIKBuVs1DrC4,23809
12
+ maialib/maiapy/plots.py,sha256=FMzxaGp1k73K1V11118hua3JQPzmNbdRpgxMyGoVtHc,23809
13
13
  maialib/maiapy/plots.pyi,sha256=FCiM2grDLYPqFkyHPG3x0-Y1NbD8L6UfAMWXFMLv5K0,3723
14
14
  maialib/maiapy/sethares_dissonance.py,sha256=oDphSv2-jRlCFAk1hcDT4gDjonqX6QP77ybwkRlfu6U,13161
15
15
  maialib/maiapy/sethares_dissonance.pyi,sha256=iBoK28luL78I--NeJMxa-CaOYyG7OuvO6qXH7meTGA0,3680
@@ -20,8 +20,8 @@ maialib/xml-scores-examples/Dvorak_Symphony_9_mov_4.mxl,sha256=s7FGUEmFmgcIdmkZ-
20
20
  maialib/xml-scores-examples/Mahler_Symphony_8_Finale.mxl,sha256=F2-QBKNYjBv_sWT-z4LWi1rX84-P3msxtl-g6joA2FQ,229034
21
21
  maialib/xml-scores-examples/Mozart_Requiem_Introitus.mxl,sha256=_wc4hMaPhtgocUoL94uVzfVN3TGb08z8Xa2BL4SHfgA,91112
22
22
  maialib/xml-scores-examples/Strauss_Also_Sprach_Zarathustra.mxl,sha256=nOQra05RHHDe_dXFs5WBJG2l9R1KQk64urV7lWYC2vw,18863
23
- maialib-1.8.1.dist-info/LICENSE.txt,sha256=gcuuhKKc5-dwvyvHsXjlC9oM6N5gZ6umYbC8ewW1Yvg,35821
24
- maialib-1.8.1.dist-info/METADATA,sha256=MD_6T8DOjots3BcqF5zQ4LKegBQcstfSYOY09o4D8Gw,7115
25
- maialib-1.8.1.dist-info/WHEEL,sha256=rTcqimtzpX3smAWAhGmiRSWAxTY4PqYPNE-p4kscHDQ,99
26
- maialib-1.8.1.dist-info/top_level.txt,sha256=sZWQaa-Up2ba00WpAxBhOLKM6qQYTpUKJMXgSE0Nc48,17
27
- maialib-1.8.1.dist-info/RECORD,,
23
+ maialib-1.9.0.dist-info/LICENSE.txt,sha256=gcuuhKKc5-dwvyvHsXjlC9oM6N5gZ6umYbC8ewW1Yvg,35821
24
+ maialib-1.9.0.dist-info/METADATA,sha256=qYsKoPXb982MfHmCiJ6UdWkrML6wWMx3SkMtPlN2hIY,7241
25
+ maialib-1.9.0.dist-info/WHEEL,sha256=2M046GvC9RLU1f1TWyM-2sB7cRKLhAC7ucAFK8l8f24,99
26
+ maialib-1.9.0.dist-info/top_level.txt,sha256=sZWQaa-Up2ba00WpAxBhOLKM6qQYTpUKJMXgSE0Nc48,17
27
+ maialib-1.9.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.3.0)
2
+ Generator: setuptools (75.3.2)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp38-cp38-win_amd64
5
5