Commit Graph

63 Commits

Author SHA1 Message Date
Klaus Basan
273b8d2d71 refs #129 , changed to QMAKE_POST_LINK as proposed by RW https://dev.vatsim-germany.org/issues/129#note-4 2014-02-12 20:14:33 +01:00
Klaus Basan
2db876844c refs #91 & #124 Doxygen, override, and comment fixes 2014-02-12 20:14:32 +01:00
Klaus Basan
4508864320 refs #129, added methods to play notification sounds
Further testing revealed shortcomings in sound generation, which were fixed:
* Sounds can be played in background (own thread)
* Tones can be pushed and pulled http://qt-project.org/doc/qt-5.0/qtmultimedia/audiooverview.html#push-and-pull
2014-02-12 20:14:29 +01:00
Klaus Basan
b48b865a9a refs #129, some sounds to test, taken from http://www.soundjay.com/
Important: make install required to copy these sounds to target directory, the sounds are not in a resource file (not recommended)
2014-02-12 20:14:28 +01:00
Klaus Basan
27db22cb44 Changed SoundGenerator to use BlackMisc::PhysicalQuantities instead of integer types (req. by RW)
lengthPerTone renamed to bytesPerTone
2014-02-07 03:10:32 +01:00
Klaus Basan
395603f932 Return values for the static sound generator methods.
Fixed playMode attribute, method to set volume
2014-02-05 23:16:03 +00:00
Klaus Basan
8c29bb3e53 Removed widgets from blacksound.pro, not needed. 2014-02-05 23:15:55 +00:00
Klaus Basan
f9225814f9 Sound generator, a class playing simple notification sounds (1/2 frequency tones).
These tones are generated "in memory", so no sound files ("wav") are needed.

New lib blacksound for utils around audio
2014-02-05 23:15:21 +00:00
Klaus Basan
5619c29cb6 SELCAL classes (CValueObject based) 2014-02-05 23:15:16 +00:00
Klaus Basan
26b1193e3e Sound generator: fixed some methods visibility and missing virtual keyword 2014-02-05 23:15:14 +00:00
Klaus Basan
7b0dff1af5 Sound generator: allow periods of silence between tones 2014-02-05 23:15:11 +00:00
Klaus Basan
f71fe743ef Allows to pass two frequencies (as for SELCAL) as tone 2014-02-05 23:15:04 +00:00
Klaus Basan
6d99ddf9b0 Added sub project for sound refs #107
Added sound generator, which can play a series of tones
2014-02-05 23:15:02 +00:00