Klaus Basan
dc8ea83839
Ref T494, added new sounds
2019-02-22 20:35:06 +00:00
Roland Winklmeier
a60ee4a7dd
Use override for destructors
2018-08-25 22:12:06 +02:00
Klaus Basan
6f8d0ce2ab
Formatting
2018-05-04 23:03:30 +02:00
Klaus Basan
3f924209f1
As a follow up of review T111, changed "void static" to "static void" for consistency.
2017-09-24 19:52:31 +01:00
Mathew Sutcliffe
3ea9e33e6b
refs #937 Resolved clazy warnings: pass-by-value/reference.
2017-04-19 19:31:42 +01:00
Roland Winklmeier
3d7a39ed00
Fix BlackMisc header includes
...
* Include only what is used
* Use forward declaration when possible
* Sorted includes
refs #630
2016-05-13 17:05:49 +02:00
Klaus Basan
ac61a3458d
Removed settings context
...
* removed old settings related classes
* moved notifications to BlackMisc::Audio
* added audio settings where needed
refs #464
refs #337
2015-11-19 21:04:06 +00:00
Klaus Basan
68d0b8cc98
During #475 found issue with deleter
...
* changed / improved deleter
* formatting in related class soundgenerator
2015-11-19 21:00:22 +00:00
Klaus Basan
db5181c26a
Sound generator: Replaced qint32 by int and formatting
2015-05-31 01:33:09 +02:00
Roland Winklmeier
d14ecb3db5
refs #403 add BlackSound shared library build
2015-05-05 21:34:26 +02:00
Mathew Sutcliffe
2363fab8c1
refs #396 move Blackmisc PQ classes into subfolder
2015-04-07 19:22:30 +02:00
Klaus Basan
0ab755d510
refs #396 subfolders and renamed callsign list to callsign set
...
* subfolder audio
* subfolder geo
* adjusted samples, tests ....
2015-04-07 19:22:23 +02:00
Roland Winklmeier
78d3350bf3
refs #396 move Blackmisc Aviation classes into subfolder
2015-04-07 18:20:20 +02:00
Klaus Basan
c86b1984ef
fixup! Improved samples and debugging information
2015-01-25 04:31:33 +01:00
Klaus Basan
ca07e68c34
Improved samples and debugging information
...
* DBus test for CSimulatedAircraft
* Output of metatypes in GUI/core
* Changed output from qDebug() to QTextStream
* Variant test for CSimulatedAircraft
2015-01-25 03:55:39 +01:00
Roland Winklmeier
a1ef1d4484
refs #320 Rename CAudioDevice to CAudioDeviceInfo
...
CAudioDevice implied a device handler instead of device information
2014-12-25 20:12:58 +01:00
Klaus Basan
0a7be12efa
Fixes around audio "on remote computer"
...
* Better options to debug
* Fixes as of n2, https://dev.vatsim-germany.org/boards/22/topics/1792?r=1802#message-1802
* Doxygen
2014-06-09 14:44:14 +02:00
Klaus Basan
c3f7a7c179
Some fixes found during testing with remote black core (different computer)
...
* Allow anonymous access for P2P
* Fixed sound settings flags, if empty string is saved in settings
* Fixed metadata registration
2014-06-09 14:44:13 +02:00
Klaus Basan
4c952ab782
refs #240 , moved notification sounds in project blackmisc
...
Notification sounds are used in BlackGui components. They require the whole Qt multimedia library. However, GUI only triggers playing the sound. As a workaround the notification sounds enumeration has been moved in an own class, and moved to the subproject BlackMisc. Hence it is possible to compile BlackGui without dependency to BlackSound.
2014-05-22 22:21:19 +02:00
Klaus Basan
798780dd4c
Code formatting, minor tweaks
2014-05-22 22:21:17 +02:00
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