Skip to content

mosaic-rs/MOSAIC

MOSAIC Logo

Rust, Python Topic

Motor-Oral Speech Analysis & Integrated Computation (MOSAIC)

Motor-Oral Speech Analysis & Integrated Computation (MOSAIC) is a mathematical system which tracks mouth and jaw movement and correlates those measurements to a parselmouth/praat analysis. MOSAIC has three measurement "units": core measurements, complex measurements, and praat based measurements.

Compiling MOSAIC:

Below is how to compile MOSAIC for your specific machine - and whether you want a GUI or headless version. (Currently just MacOS)

MacOS

Requirements:

  • Rust + Cargo
  • Python 3.11.9 (Must be that version)
  • Pip

Tauri/GUI Version

Clone this repo into a desired folder and open terminal. Navigate to the root folder (probably called "MOSAIC") and run:

./builds/build_mac_release.sh

You will be prompted to provide a Python path - just press "enter" to use teh default path it provides which is where Python should be installed on your system.

It will create a DMG in the root folder and unless you decide to sign/notarize it, it should skip that.

(You can also just download the pre-configure v0.3.4-alpha DMG here)

Windows

Requirements:

  • Rust + Cargo
  • Python 3.11.9
  • Pip
./builds/build_windows_release.sh

These are not signed/notarized for windows. There will be preconfigured windows versions upon next release hopefully

Linux

Requirements:

  • Rust + Cargo
  • Python 3.11.9
  • Pip
./builds/build_linux_release.sh

I do not personally use Linux and this Bash script has not been tested.

Headless/CLI Version:

In the root folder, do the following commands:

# adding Python 3.11 to pythin_lib
ln -s /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11 ./src/python_lib

cargo install --path .

MOSAIC (without a GUI) should be fully installed. To access MOSAIC, type "mosaic" into your terminal.

Windows stuff will come soon!

MOSAIC Cores

(tiles if you will)

MOSAIC is made up of 5 major cores:

  • Universal Measurement Datastructure (UMD) (Gotta add stuff) ReadMe.
  • Core Measurements ReadMe.
  • Complex Measurements (Gotta add stuff) ReadMe.
  • Praat Analysis ReadMe
  • Statistics Engine ReadMe

About

Motor-Oral Speech Analysis and Integrated Computation (MOSAIC) quantifies mouth movement and correlates it with produced speech. Measurements Include: Articulatory asymmetry, temporal & static measurements, VOT x Articulation, Syllable Rate x Articulation, etc.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors