Mathew Sutcliffe
d4c5dff17a
qint32 -> int replacements to make implementations consistent with headers.
2015-05-31 17:27:05 +01:00
Klaus Basan
db5181c26a
Sound generator: Replaced qint32 by int and formatting
2015-05-31 01:33:09 +02:00
Roland Winklmeier
647c5c2de8
doxygen
2015-05-05 22:27:31 +02:00
Roland Winklmeier
d14ecb3db5
refs #403 add BlackSound shared library build
2015-05-05 21:34:26 +02:00
Roland Winklmeier
8ad29e2fff
refs #403 add extra flag for static builds
2015-05-05 21:29:48 +02:00
Roland Winklmeier
793fcbfd15
refs #403 refactor project files
...
* Use source path and build path instead of relative ones
* Unify pre target dependencies in libraries.pri
2015-05-05 21:29:46 +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
6e5e28584f
Formatting
2014-11-30 00:56:46 +01:00
Mathew Sutcliffe
dc4de279d0
refs #316 Swiftcore, swiftgui, and samples use CLogHandler to display subscribed messages.
2014-10-04 22:16:59 +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
27a697c307
Some fixes:
...
* Cockpit, max frequency corrected to 136,975
* Text message components, tabs show cockpit frequencies
* fixed icons
* some aggresive sound for voice room joined/left, until full testing is complete
2014-06-09 14:44:12 +02:00
Klaus Basan
1b804ca8d7
refs #258 , notification sounds for voice room joined/left
...
* settings for notification sounds
* wav files
* changes in GUI
2014-06-09 14:43:43 +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
Mathew Sutcliffe
903ddf7841
fixed compiler warnings detected by jenkins build server
2014-04-07 15:47:12 +01:00
Roland Winklmeier
187dc04499
Fix copy command for unix platforms when parent folder does not exist
2014-03-27 14:50:37 +01:00
Klaus Basan
f2364692e3
refs #145 , fixed some .pro/.pri files to new style
2014-03-12 02:23:34 +01:00
Roland Winklmeier
e978b6dee1
Central build configuration
...
* config.pri: Build configuration version
* library.pri project library dependencies
* build.pri: compiler/qmake configuration
refs #145
2014-03-11 22:01:31 +01: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
1b846f44c8
Fixed LIBS order, as I have run into gcc "undefined reference to" issued
2014-02-26 14:33:15 +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
Mathew Sutcliffe
dd4e2c58f3
blacksound.pro: adjusted cross-platform copying of sound files
...
refs #129
2014-02-17 02:28:27 +00:00
Klaus Basan
92912ce0d0
Fixed .pro file for blacksound , copying of sound files
...
https://dev.vatsim-germany.org/issues/129#note-11
2014-02-17 02:59:07 +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
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