Klaus Basan
dde9710144
Refs #140 , refs #85 Rename namespace voice to audio.
...
In #85 the voice context will be renamed to audio context, so the CValueObject classes will be renamed to namespace Audio too.
As #140 changes many CValueClasses, this crossover change is done in the same unit of work.
2014-03-10 14:43:06 +01:00
Klaus Basan
5a16052e30
Fixed include in sound generator
2014-02-26 14:27:30 +01:00
Klaus Basan
a43621774b
refs #144 , improved SELCAL in a way that SELCAL tones will always end with 0 amplitude.
...
* method to write values in buffer -> writeAmplitudeToBuffer
* fixes the range from the last 0 pass so SELCAL tones will always end with 0 amplitude
2014-02-26 03:40:58 +01:00
Klaus Basan
59ff750b4a
refs #144 , improved file deleter , no dependency of QObject anymore, now using single deleter object
2014-02-26 03:40:57 +01:00
Klaus Basan
7177d53552
refs #144 , sounds now can be generated, saved in a temp wav file, then played
2014-02-26 03:40:56 +01:00
Klaus Basan
7d600d4450
refs #129 , start method as proposed by RW in https://dev.vatsim-germany.org/issues/129#note-4 , using lambda.
...
On top addded a simple check to avoid overlapping SELCAL tones
2014-02-12 20:14:34 +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
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
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
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