87 Commits

Author SHA1 Message Date
mathysPaul
6e71aff8a9 Setting base setup 2023-09-18 15:27:37 +02:00
mathysPaul
a927d9783e Interactive component setup 2023-09-17 23:35:19 +02:00
mathysPaul
4de28337a3 redesign: signin & signup for the follow up 2023-07-30 02:37:07 +09:00
GitBluub
509cc5b9f8 rename musics 2023-07-24 14:51:19 +09:00
GitBluub
1b22dba9cd rename musics 2023-07-24 14:44:55 +09:00
Arthur Jamet
10d1342294 Front: Api models validation (#245)
* Front: Model: Write Validators

* Front: Plage response validator

* Front: API: Typing 'fetch' return

* Front: Basic Models: Response Handlers

* Front: API: Validate authentication response

* Front: Validate Search History

* Front: Validate Responses of User updates

* Front: On Validation Error, more verbose console error
2023-07-05 09:22:55 +01:00
Arthur Jamet
350a4870cd Front: WebSocket Connection: Fix (#244) 2023-07-03 06:46:16 +01:00
Arthur Jamet
857158c6cf Front: Standardise queries (#233) 2023-06-23 15:16:22 +01:00
Clément Le Bihan
80b06f15fe Update front/i18n/Translations.ts 2023-06-22 18:30:52 +02:00
Arthur Jamet
62877f9bd2 Front: Typecheck 2023-06-22 18:30:52 +02:00
Arthur Jamet
3e84605c59 Front: If resource is not found, redirect to Error View 2023-06-22 18:30:52 +02:00
Arthur Jamet
45595408fe Front: Settings URL: Tweak to avoid code repitition 2023-06-22 18:30:52 +02:00
Arthur Jamet
f362531d42 Front: Reanme Settings' subroutes for URLs 2023-06-22 18:30:52 +02:00
Arthur Jamet
3dea5a0865 Front: Prettier 2023-06-22 18:30:52 +02:00
Arthur Jamet
0416e1ba41 Front: Loading View: Use Theme to set background color 2023-06-22 18:30:52 +02:00
Arthur Jamet
f77fa33396 Front: Authentication View: Refactor to be usable with URL navigation 2023-06-22 18:30:52 +02:00
Arthur Jamet
b736dbc1f0 Front: Navigation: Prevent Auth Loading from breaking access by URL 2023-06-22 18:30:52 +02:00
Arthur Jamet
b53aff5bb2 Front: On navigate, set URL 2023-06-22 18:30:52 +02:00
9b51bfda0b Add not found error handling for delete 2023-06-20 19:34:59 +09:00
2838beae12 Remove the unsafe user api 2023-06-20 19:34:59 +09:00
93ae411ebe Use the new filter pipe for every resources 2023-06-20 19:34:59 +09:00
1a5ab5d099 Remove auto-generated spec files 2023-06-20 19:34:59 +09:00
477bff5bff Create a filter pipe 2023-06-20 19:34:59 +09:00
9f55a1498b wip 2023-06-20 19:34:59 +09:00
Arthur Jamet
c5d465df97 Front: Pretty and Lint (#225) 2023-06-17 07:01:23 +01:00
Arthur Jamet
399c7d0d9e Merge pull request #220 from Chroma-Case/front/ci-typecheck
Front: typecheck and CI
2023-06-11 12:53:56 +01:00
Arthur Jamet
794a7578a8 A README for GitHub (#221)
* README: Logo and pitch

* README: Better Title Image
2023-06-11 12:53:10 +01:00
Arthur Jamet
87dab44ad0 Front: Settings Navigator: Allow passing screen name as props 2023-06-09 11:51:17 +01:00
Arthur Jamet
242e67edaa Front: Play View: Typecheck Audio Context 2023-06-09 09:43:53 +01:00
Arthur Jamet
d84b789458 Front: TabRow Navigator: Hide header on small viewports using global navigator for ts 2023-06-09 09:34:59 +01:00
Arthur Jamet
4cf5c39da8 Front: Typecheck TabRow Navigator 2023-06-09 09:31:05 +01:00
Arthur Jamet
fa74016257 Front: Allow Use of DOM for Play view 2023-06-08 19:20:36 +01:00
Arthur Jamet
d7848692f7 Front: More Typechecks 2023-06-08 12:25:34 +01:00
Arthur Jamet
c4c4361ff9 Front: HomeView: Fix bad argument to song card (#216) 2023-06-08 10:53:32 +01:00
Arthur Jamet
19ded9ca74 Front: Typecheck Navigators and hooks 2023-06-08 10:52:23 +01:00
Arthur Jamet
63d4b10ebb Front: Typecheck Elements 2023-06-08 10:52:22 +01:00
Arthur Jamet
ff0fc7a8ae CI: Before running build, run tsc 2023-06-08 10:52:22 +01:00
GitBluub
f0ea73a2dd fix: scorometer test 2023-06-01 01:13:00 +09:00
GitBluub
3276b02e0f fix: precision calculation with wrong notes 2023-06-01 01:13:00 +09:00
GitBluub
35049eede9 fix: set a note to done on note off 2023-06-01 01:13:00 +09:00
GitBluub
a319447ecd fix: scoreview more infos 2023-06-01 01:13:00 +09:00
918c113643 Fix guest user settings 2023-05-30 11:33:43 +02:00
GitBluub
2434d5f5df fix: image via props and remove songIllustration function for cover property 2023-05-30 11:33:43 +02:00
GitBluub
25e3d99e22 rm: useless jpg 2023-05-30 11:33:43 +02:00
GitBluub
f99dfd0fdd fix: updated robot test 2023-05-30 11:33:43 +02:00
GitBluub
c8a95ce8a6 fix: updated scorometer test runner 2023-05-30 11:33:43 +02:00
GitBluub
6dcda01f6f feat: song illustrations code 2023-05-30 11:33:43 +02:00
GitBluub
41d020e7a2 feat: song illustrations 2023-05-30 11:33:43 +02:00
GitBluub
3553954afd feat: artist illustrations 2023-05-30 11:33:43 +02:00
GitBluub
7f51582043 feat: front illustration, sorry for linting 2023-05-30 11:33:43 +02:00
GitBluub
5843da2d02 fix: back crash if file not found 2023-05-30 11:33:43 +02:00
GitBluub
7eb3d54903 feat: genre illustrations 2023-05-30 11:33:43 +02:00
GitBluub
9fb165e4ff fix: scorometer muscis folder and populate fix 2023-05-30 11:33:43 +02:00
GitBluub
5c7648541f feat: artist and genre illustration 2023-05-30 11:33:43 +02:00
GitBluub
8dbb724a0f feat: song illustration 2023-05-30 11:33:43 +02:00
GitBluub
7b5629f4a4 fix: scorometer musics folder 2023-05-30 11:33:43 +02:00
GitBluub
17955a0525 feat: assets volume instead of musics only 2023-05-30 11:33:43 +02:00
Arthur Jamet
73e0890b3b Front: Play View: Better toasts for score messages (#207) 2023-05-27 18:42:38 +01:00
Arthur Jamet
e081b03f20 Musics: Fix tempo of Short (#206) 2023-05-26 13:35:51 +01:00
Amaury
97bf7bdac8 Feature/adc/#192 barre de recherche (#201)
* context and react query add to searchView

* handle empty result + back

* #192 - New card components and history fetch + dummy suggestions fetch

* respoonsive design + filters map

* artist details view + translations + SongData mapping fix + items limitation

* history search back and front + cards + fix

* fixed useless history entries

* clean code

* clean code

* fix pr: SearchHistory new type related fixes

* simplified SearchResultComponent (useEffect removed, condition simplified to trigger different 'modes'

* search re-do onPress history cards + scoreView obj map

* clean code API.ts

* fix pr + search history behavior

* added utility function to get song suggestions with artists and fixed error types along the way

* fix in songrow the title didn't shrinked when not enough space on screen

* removed redirect callback from ArtistCard to ArtistResults

* moved the callback from genre card grid to searchresult and implemented history for songs

* SearchBar is now updating input search following stringQuery

* added scroll view to have the complete background

* Added the route props for query in Searchview

* fixed robot test

---------

Co-authored-by: Clément Le Bihan <clement.lebihan773@gmail.com>
2023-05-26 10:50:25 +02:00
5baf9309c6 Remove the special case on the score page 2023-05-25 17:40:03 +09:00
aa75ece3a1 Fix robot tests 2023-05-25 17:40:03 +09:00
GitBluub
b3369a158f fix: update the scorometer test and fix missed counter 2023-05-25 17:40:03 +09:00
Arthur Jamet
1fa8c7a560 Front: Fix Score computation 2023-05-25 17:40:03 +09:00
Arthur Jamet
1545c9240b Front: Song Lobby: use null safety 2023-05-25 17:40:03 +09:00
Arthur Jamet
028aed2e9a Front: Fix getSongHistory route call 2023-05-25 17:40:03 +09:00
47e0861d47 Make the scoreview use scorometer's information 2023-05-25 17:40:03 +09:00
b1d2027d4b Add informations to the history 2023-05-25 17:40:03 +09:00
155e6f49af Reverse history order 2023-05-25 17:40:03 +09:00
d4f8afd61b Fix api issue 2023-05-25 17:40:03 +09:00
b80d4e20c1 Use the new history api on the front 2023-05-25 17:40:03 +09:00
3585c259a0 Add best score in song history 2023-05-25 17:40:03 +09:00
571b3b89e5 Add song history 2023-05-25 17:40:03 +09:00
712c08303a Add create date on history items 2023-05-25 17:40:03 +09:00
GitBluub
7adfb6e294 fix: fix the smoothie 2023-05-24 17:53:15 +02:00
GitBluub
3f4fb8f984 fix: fix robot test with old music 2023-05-24 17:53:15 +02:00
GitBluub
6bce844411 fix: fix scormeter tests and autofix script 2023-05-24 17:53:15 +02:00
GitBluub
58b8515471 fix: song checking script and rm invalid songs 2023-05-24 17:53:15 +02:00
Arthur Jamet
ce42aadd44 Front: Fix Score computation 2023-05-24 17:53:15 +02:00
GitBluub
c5a7436e2c fix: midi message parsing in front and remove delay in scorometer 2023-05-24 17:53:15 +02:00
Arthur Jamet
004ffa0be8 Front: PlayView: Fix time on notes 2023-05-24 17:53:15 +02:00
GitBluub
2f5a80a9c7 fix: try checking velocity for note off 2023-05-24 17:53:15 +02:00
GitBluub
9b12c76978 crawler piano only 2023-05-24 17:53:15 +02:00
GitBluub
3335516f0e new musics test 2023-05-24 17:53:15 +02:00
GitBluub
a660b90e68 handle multiple genres 2023-05-24 17:53:15 +02:00
GitBluub
be0e41006a fix populate.py and new musics 2023-05-24 17:53:15 +02:00
GitBluub
7edc5b75ef random fixes 2023-05-24 17:53:15 +02:00
290 changed files with 7980 additions and 33949 deletions

View File

@@ -42,6 +42,13 @@ jobs:
- name: Install dependencies
run: yarn install
- name: Type Check
run: yarn tsc
- name: Check Prettier
run: yarn pretty:check .
- name: Run Linter
run: yarn lint
- name: 🏗 Setup Expo
uses: expo/expo-github-action@v7
@@ -52,7 +59,7 @@ jobs:
- name: Build Android APK
run: |
eas build -p android --profile debug --local --non-interactive
eas build -p android --profile production --local --non-interactive
mv *.apk chromacase.apk
- name: Upload Artifact

9
README.md Normal file
View File

@@ -0,0 +1,9 @@
# ![Chromacase](./assets/graphical/title.png)
La principale raison pour laquelle on arrête de jouer d'un instrument est la perte de motivation. C'est un apprentissage long et vraiment demandant. ChromaCase propose d'accompagner les joueurs de piano grâce à une application mobile avec une expérience personnalisée. Celle-ci, générée par une IA, cible les goûts et identifie les difficultés du joueur.
Ça vous interesse? Rendez-vous sur notre [site](https://chromacase.studio/) pour prendre contact
## Structure du Projet
![Schéma Fonctionnel](./assets/docs/structure.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 558 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1012 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

BIN
assets/docs/structure.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

BIN
assets/graphical/title.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 762 KiB

BIN
assets/graphical/title.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

View File

@@ -1,10 +1,10 @@
[Metadata]
Name=Chopin - Nocturne Op 9 No 2 (E Flat Major)
Artist=Frédéric Chopin
Name=Bach: Minuet in G Minor (BWV Anh. 115)
Artist=Christian Petzold
Genre=Classical
Album=e
Album=
[Difficulties]
TwoHands=0
Rhythm=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 KiB

View File

@@ -1,10 +1,10 @@
[Metadata]
Name=Prelude I in C major, BWV 846 - Well Tempered Clavier [First Book]
Name=Bach: Polonaise in g Minor (BWV Anh. 119)
Artist=Johann Sebastian Bach
Genre=Classical
Album=e
Album=
[Difficulties]
TwoHands=0
Rhythm=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 KiB

View File

@@ -1,10 +1,10 @@
[Metadata]
Name=Rachmaninoff - Rhapsody on a theme of Paganini, Variation 18, Solo Piano
Artist=Sergei Rachmaninoff
Name=Beethoven Symphony 7 2nd Movement (Allegretto) Simple Piano arrangement
Artist=Ludwig Van Beethoven
Genre=Classical
Album=e
Album=
[Difficulties]
TwoHands=0
Rhythm=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

View File

@@ -1,10 +1,10 @@
[Metadata]
Name=Vivaldi's Spring from the Four Seasons, Piano Transcription
Artist=Antonio Vivaldi
Name=Canon in D (easy)
Artist=Johann Pachelbel
Genre=Classical
Album=e
Album=
[Difficulties]
TwoHands=0
Rhythm=0

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

View File

@@ -0,0 +1,21 @@
[Metadata]
Name=El pequeño tamborilero (The little drummer boy)
Artist=Misc Christmas
Genre=Soundtrack
Album=
[Difficulties]
TwoHands=0
Rhythm=0
NoteCombo=0
Arpeggio=0
Distance=0
LeftHand=0
RightHand=0
LeadHandChange=0
ChordComplexity=0
ChordTiming=0
Length=0
PedalPoint=0
Precision=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

@@ -0,0 +1,21 @@
[Metadata]
Name=Erik Satie - Gnossienne No.1. {Professional production score.}
Artist=Erik Satie
Genre=Classical
Album=
[Difficulties]
TwoHands=0
Rhythm=0
NoteCombo=0
Arpeggio=0
Distance=0
LeftHand=0
RightHand=0
LeadHandChange=0
ChordComplexity=0
ChordTiming=0
Length=0
PedalPoint=0
Precision=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 558 KiB

View File

@@ -0,0 +1,21 @@
[Metadata]
Name=French National Anthem "La Marseillaise"
Artist=Misc Tunes
Genre=Solo
Album=
[Difficulties]
TwoHands=0
Rhythm=0
NoteCombo=0
Arpeggio=0
Distance=0
LeftHand=0
RightHand=0
LeadHandChange=0
ChordComplexity=0
ChordTiming=0
Length=0
PedalPoint=0
Precision=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1,21 @@
[Metadata]
Name=German National Anthem " Das Lied der Deutschen"
Artist=Joseph Haydn
Genre=Classical
Album=
[Difficulties]
TwoHands=0
Rhythm=0
NoteCombo=0
Arpeggio=0
Distance=0
LeftHand=0
RightHand=0
LeadHandChange=0
ChordComplexity=0
ChordTiming=0
Length=0
PedalPoint=0
Precision=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 932 B

View File

@@ -0,0 +1,21 @@
[Metadata]
Name=Jesus Alegria dos Homens
Artist=Johann Sebastian Bach
Genre=Classical
Album=
[Difficulties]
TwoHands=0
Rhythm=0
NoteCombo=0
Arpeggio=0
Distance=0
LeftHand=0
RightHand=0
LeadHandChange=0
ChordComplexity=0
ChordTiming=0
Length=0
PedalPoint=0
Precision=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 KiB

View File

@@ -0,0 +1,21 @@
[Metadata]
Name=Liebestraum (easy)
Artist=Franz Liszt
Genre=Classical
Album=
[Difficulties]
TwoHands=0
Rhythm=0
NoteCombo=0
Arpeggio=0
Distance=0
LeftHand=0
RightHand=0
LeadHandChange=0
ChordComplexity=0
ChordTiming=0
Length=0
PedalPoint=0
Precision=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

@@ -0,0 +1,21 @@
[Metadata]
Name=Mary, Did You Know?
Artist=Misc Christmas
Genre=Soundtrack
Album=
[Difficulties]
TwoHands=0
Rhythm=0
NoteCombo=0
Arpeggio=0
Distance=0
LeftHand=0
RightHand=0
LeadHandChange=0
ChordComplexity=0
ChordTiming=0
Length=0
PedalPoint=0
Precision=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

View File

@@ -0,0 +1,21 @@
[Metadata]
Name=Sarabande - William Gillock
Artist=William Gillock
Genre=Classical
Album=
[Difficulties]
TwoHands=0
Rhythm=0
NoteCombo=0
Arpeggio=0
Distance=0
LeftHand=0
RightHand=0
LeadHandChange=0
ChordComplexity=0
ChordTiming=0
Length=0
PedalPoint=0
Precision=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@@ -0,0 +1,21 @@
[Metadata]
Name=Silent Night
Artist=Franz Xaver Gruber
Genre=Classical
Album=
[Difficulties]
TwoHands=0
Rhythm=0
NoteCombo=0
Arpeggio=0
Distance=0
LeftHand=0
RightHand=0
LeadHandChange=0
ChordComplexity=0
ChordTiming=0
Length=0
PedalPoint=0
Precision=0

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 MiB

View File

@@ -0,0 +1,21 @@
[Metadata]
Name=Tango La Cumparsita - Piano Solo (Tutorial Parte B)
Artist=Gerardo Matos Rodríguez
Genre=Classical
Album=
[Difficulties]
TwoHands=0
Rhythm=0
NoteCombo=0
Arpeggio=0
Distance=0
LeftHand=0
RightHand=0
LeadHandChange=0
ChordComplexity=0
ChordTiming=0
Length=0
PedalPoint=0
Precision=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

View File

@@ -0,0 +1,21 @@
[Metadata]
Name=Twinkle Twinkle Little Star
Artist=Misc Children
Genre=Soundtrack
Album=
[Difficulties]
TwoHands=0
Rhythm=0
NoteCombo=0
Arpeggio=0
Distance=0
LeftHand=0
RightHand=0
LeadHandChange=0
ChordComplexity=0
ChordTiming=0
Length=0
PedalPoint=0
Precision=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

View File

@@ -0,0 +1,21 @@
[Metadata]
Name=На сопках Маньчжурии (On the Hills of Manchuria)
Artist=Misc Traditional
Genre=Folk
Album=
[Difficulties]
TwoHands=0
Rhythm=0
NoteCombo=0
Arpeggio=0
Distance=0
LeftHand=0
RightHand=0
LeadHandChange=0
ChordComplexity=0
ChordTiming=0
Length=0
PedalPoint=0
Precision=0

Some files were not shown because too many files have changed in this diff Show More