Commit graph

48 commits

Author SHA1 Message Date
Louis-Joseph Fournier
606eb1c8e7 Player: volume depend of frequency
higher the note is, lower is the volume.
2016-01-14 22:03:36 +01:00
Louis-Joseph Fournier
8178009eb5 Player: limit maximum frequency depending to rate 2016-01-14 19:56:24 +01:00
Louis-Joseph Fournier
f143dcbb3d Player takes note from tuner in every cases 2016-01-14 19:50:56 +01:00
Louis-Joseph Fournier
eb297ceb06 Player: slot begin with lower case char 2016-01-14 16:35:23 +01:00
Louis-Joseph Fournier
a3a7fd2506 Player: harmonic wave form 2016-01-14 16:30:58 +01:00
Louis-Joseph Fournier
5ccdc4f749 Player worker: QCondition time is in ms 2016-01-14 16:19:22 +01:00
Louis-Joseph Fournier
8c681db1cd Player: triangle wave form 2016-01-14 16:18:15 +01:00
Louis-Joseph Fournier
b9bf210551 Player: set note and octave atomically 2016-01-14 15:56:19 +01:00
Louis-Joseph Fournier
e45423edde Player: be smooth when play stops
- free pulseaudio playback after a delay, to permit buffered sound to play

- do zero crossing in playing signal to detect the right moment to stop or
  update frequency
2016-01-14 15:46:36 +01:00
Louis-Joseph Fournier
f0640e24ff NotePlayer: don't forget to apply volume 2016-01-13 15:39:51 +01:00
Louis-Joseph Fournier
176ff48ce3 Playing works on Jolla device
but still problems with low notes
2016-01-13 15:20:35 +01:00
Louis-Joseph Fournier
9ef3931c8c Player try resource API to get playback resource
Don't work ; try audioresource instead..
2016-01-13 14:55:07 +01:00
Louis-Joseph Fournier
33eeeda8d6 Player: works on Sailfish emulator.
For the moment, no sound on real Jolla device
2016-01-13 12:30:17 +01:00
Louis-Joseph Fournier
8926bbf8ea Player: fix low notes and smooth note change 2016-01-13 11:41:06 +01:00
Louis-Joseph Fournier
91475dca78 Worker: fix unitialized status 2016-01-12 22:11:20 +01:00
Louis-Joseph Fournier
27f93603ab PitchDetection: configuration for low and high notes
With recorded piano samples, it should go from do1 to mi7
2016-01-12 16:36:44 +01:00
Louis-Joseph Fournier
0703aabbf1 Player: implementation complete 2016-01-11 12:37:25 +01:00
Louis-Joseph Fournier
16a8f49ff9 FreqPlayer: note player ; begin implementation 2016-01-10 12:10:52 +01:00
Louis-Joseph Fournier
095ace53e0 ObjectSave works on Sailfish 2016-01-10 12:06:03 +01:00
Louis-Joseph Fournier
e8acf36c9b Playing: prepare status and code 2016-01-09 23:33:19 +01:00
Louis-Joseph Fournier
19deb2fc36 Configure page code in progress 2016-01-09 00:01:37 +01:00
Louis-Joseph Fournier
68b93e35b0 ObjectSave: load and save ok 2016-01-08 14:42:51 +01:00
Louis-Joseph Fournier
0cbf96b221 ObjectSaver implementation (begin) and integration 2016-01-07 22:29:27 +01:00
Louis-Joseph Fournier
30c93c96a7 Display pause icon and several details 2016-01-05 22:55:08 +01:00
Louis-Joseph Fournier
28fb75d41e Stop pulseaudio after 2sec of inactivity
- Add pause management on page click
- Start pulseaudio every time it's needed
- Stop pulseaudio after 2sec of inactivity
2016-01-05 16:02:03 +01:00
Louis-Joseph Fournier
dcf28780b1 Worker: use pulseaudio-simple API to get audio 2016-01-05 15:20:43 +01:00
Louis-Joseph Fournier
e3a3d25cbd File record is done by worker, and details 2016-01-05 14:17:16 +01:00
Louis-Joseph Fournier
cd9ded443e Worker: fix commands from Tuner to TunerWorker 2016-01-05 10:53:36 +01:00
Louis-Joseph Fournier
1d857fd25d PitchDetection and TunerWorker different objects 2016-01-05 10:34:22 +01:00
Louis-Joseph Fournier
5a341979df Tuner: worker thread for analyse (don't work) 2016-01-05 00:17:20 +01:00
Louis-Joseph Fournier
e75e79bb2d Sources: add comments and details fixes 2016-01-04 09:47:09 +01:00
Louis-Joseph Fournier
986f736b68 Temperaments: load from csv file in qrc ressources
Module Temperaments is fully functionnal
2016-01-03 22:35:08 +01:00
Louis-Joseph Fournier
8a43de5b5b Temperaments: class interface and code begin 2016-01-03 20:05:28 +01:00
Louis-Joseph Fournier
23f19151d0 Licence to GPLv3 and Readme file 2016-01-03 17:32:36 +01:00
Louis-Joseph Fournier
e0aef524f6 Tuner: analyse and record audio cmd-line option for debug
./tuner file.raw: analyse file
./tuner record out.raw: record audio stream
2016-01-03 15:13:13 +01:00
Louis-Joseph Fournier
ef3f8db1d3 Tuner: fix octave and deviation post-filters 2016-01-03 13:18:42 +01:00
Louis-Joseph Fournier
a5e74d6300 ZeroCross: fix a regression for octave, and better logs 2016-01-03 11:05:34 +01:00
Louis-Joseph Fournier
f961e01452 Tuner: make average for deviation result 2016-01-02 17:49:35 +01:00
Louis-Joseph Fournier
fa4735f34c Tuner: filter result with time 2016-01-02 10:19:37 +01:00
Louis-Joseph Fournier
d45f9b5dc7 Display: gui with backend for desktop and sailfish 2016-01-01 19:20:29 +01:00
Louis-Joseph Fournier
20ebc0c334 Sailfish: prevent screen blanking 2015-12-29 22:12:08 +01:00
Louis-Joseph Fournier
73318f3551 ZeroCross: algo fix and energy deviation implement
Don't use energy deviation for the moment ; only the time deviation with the
fix makes things better and to be tested.
2015-12-29 11:05:51 +01:00
Louis-Joseph Fournier
d322ec1c5e Command line run with input audio file argument 2015-12-28 14:16:08 +01:00
Louis-Joseph Fournier
6e6e0f7191 Scale: find note, octave and deviation in a temperament 2015-12-27 18:31:26 +01:00
Louis-Joseph Fournier
4ec3a83db1 SimpleDisplay to debug back-end 2015-12-27 15:59:32 +01:00
Louis-Joseph Fournier
1ed6b9eed5 Sailfish: build integration, display frequencie 2015-12-27 10:57:37 +01:00
Louis-Joseph Fournier
8815fd2b65 Desktop: simple window with tuner intergration 2015-12-27 09:51:42 +01:00
Louis-Joseph Fournier
d41035ecc2 First commit for SailTuner
Intergration of elements:
- base from SailDBMeter
- audio filters from personnal repos
2015-12-26 20:46:02 +01:00