Merge branch 'master' into zynaddsubfx-master

This commit is contained in:
Tobias Doerffel
2009-11-18 14:54:07 +01:00
57 changed files with 8623 additions and 2199 deletions

View File

@@ -581,7 +581,7 @@ FOREACH(_ts_file ${lmms_LOCALES})
STRING(REPLACE "${CMAKE_SOURCE_DIR}/data/locale/" "" _ts_target "${_ts_file}")
STRING(REPLACE ".ts" ".qm" _qm_file "${_ts_file}")
STRING(REPLACE ".ts" ".qm" _qm_target "${_ts_target}")
ADD_CUSTOM_TARGET(${_ts_target} COMMAND ${QT_LUPDATE_EXECUTABLE} -locations none -no-obsolete ${lmms_SOURCES} `find ${CMAKE_SOURCE_DIR}/plugins/ -type f -name '*.cpp'` -ts ${_ts_file})
ADD_CUSTOM_TARGET(${_ts_target} COMMAND ${QT_LUPDATE_EXECUTABLE} -locations none -no-obsolete ${lmms_SOURCES} ${lmms_UI} `find ${CMAKE_SOURCE_DIR}/plugins/ -type f -name '*.cpp'` -ts ${_ts_file})
ADD_CUSTOM_TARGET(${_qm_target} COMMAND ${QT_LRELEASE_EXECUTABLE} ${_ts_file} -qm ${_qm_file})
LIST(APPEND ts_targets "${_ts_target}")
LIST(APPEND qm_targets "${_qm_target}")

View File

@@ -1,6 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0">
<context>
<name>AboutDialog</name>
<message>
<source>About LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS (Linux MultiMedia Studio)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Version %1 (%2/%3, Qt %4, %5)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>About</source>
<translation type="unfinished">Quant a</translation>
</message>
<message>
<source>LMMS - easy music production for everyone</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Copyright (c) 2004-2009, LMMS developers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net
Join us on Freenode (irc.freenode.net) in ##lmms!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Authors</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Translation</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Current language not translated (or native English).
If you&apos;re interested in translating LMMS in another language or want to improve existing translations, you&apos;re welcome to help us! Simply contact the maintainer!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>License</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Arpeggiator</name>
<message>
@@ -804,6 +855,13 @@
<translation type="unfinished">&amp;Ajuda</translation>
</message>
</context>
<context>
<name>DirectorySelectDialog</name>
<message>
<source>Select directory</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Effect</name>
<message>
@@ -841,6 +899,17 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>EffectSelectDialog</name>
<message>
<source>Add effect</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Plugin description</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>EffectView</name>
<message>
@@ -1186,6 +1255,150 @@ Per favor, assegura&apos;t que tens permís d&apos;escriptura per al fitxer i el
<source>Rendering: %1%</source>
<translation type="unfinished">Representant: %1%</translation>
</message>
<message>
<source>Export project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Output</source>
<translation type="unfinished">Sortida</translation>
</message>
<message>
<source>File format:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Samplerate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>44100 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>48000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>88200 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>96000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>192000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Bitrate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>64 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>128 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>160 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>192 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>256 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>320 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Depth:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>16 Bit Integer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>24 Bit Integer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>32 Bit Float</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Please note that not all of the parameters above apply for all file formats.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Quality settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Interpolation:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Zero Order Hold</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Fastest</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Medium (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Best (very slow!)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Oversampling (use with care!):</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>1x (None)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>4x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>8x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sample-exact controllers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Alias-free oscillators</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Cancel</source>
<translation type="unfinished">Cancel·la</translation>
</message>
</context>
<context>
<name>FxMixer</name>
@@ -2478,6 +2691,21 @@ Available decoders: %2
<translation>Fitxer: </translation>
</message>
</context>
<context>
<name>QuickLoadDialog</name>
<message>
<source>Load resource</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Resource type:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>All types</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ResourceBrowser</name>
<message>
@@ -2877,6 +3105,77 @@ If it runs with other VST-software under Linux, please contact an LMMS-developer
Si funciona amb altre programari VST sota Linux, per favor contacta amb un desenvolupador de LMMS!</translation>
</message>
</context>
<context>
<name>WelcomeScreen</name>
<message>
<source>Welcome to LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>New project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Import project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Open tutorial</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Instant MIDI action</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recent projects</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recent community resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Did you know...?</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Linux Biolinum O&apos;; font-size:12pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Online resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Users forum</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://sourceforge.net/apps/phpbb/lmms/</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Online manual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net/wiki/NewManual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Wiki</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net/wiki/</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ZynAddSubFxView</name>
<message>

View File

@@ -1,6 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="de_DE">
<context>
<name>AboutDialog</name>
<message>
<source>About LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS (Linux MultiMedia Studio)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Version %1 (%2/%3, Qt %4, %5)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>About</source>
<translation type="unfinished">O LMMS</translation>
</message>
<message>
<source>LMMS - easy music production for everyone</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Copyright (c) 2004-2009, LMMS developers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net
Join us on Freenode (irc.freenode.net) in ##lmms!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Authors</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Translation</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Current language not translated (or native English).
If you&apos;re interested in translating LMMS in another language or want to improve existing translations, you&apos;re welcome to help us! Simply contact the maintainer!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>License</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Arpeggiator</name>
<message>
@@ -804,6 +855,13 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>DirectorySelectDialog</name>
<message>
<source>Select directory</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Effect</name>
<message>
@@ -841,6 +899,17 @@
<translation type="unfinished">Přidat efekt</translation>
</message>
</context>
<context>
<name>EffectSelectDialog</name>
<message>
<source>Add effect</source>
<translation type="unfinished">Přidat efekt</translation>
</message>
<message>
<source>Plugin description</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>EffectView</name>
<message>
@@ -1186,6 +1255,150 @@ Přesvědčte se prosím, že máte právo zápisu do tohoto souboru a příslu
<source>Rendering: %1%</source>
<translation type="unfinished">Renderuji: %1%</translation>
</message>
<message>
<source>Export project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Output</source>
<translation type="unfinished">Výstup</translation>
</message>
<message>
<source>File format:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Samplerate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>44100 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>48000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>88200 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>96000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>192000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Bitrate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>64 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>128 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>160 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>192 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>256 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>320 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Depth:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>16 Bit Integer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>24 Bit Integer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>32 Bit Float</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Please note that not all of the parameters above apply for all file formats.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Quality settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Interpolation:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Zero Order Hold</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Fastest</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Medium (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Best (very slow!)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Oversampling (use with care!):</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>1x (None)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>4x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>8x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sample-exact controllers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Alias-free oscillators</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Cancel</source>
<translation type="unfinished">Zrušit</translation>
</message>
</context>
<context>
<name>FxMixer</name>
@@ -1947,7 +2160,7 @@ Ujistěte se prosím, že máte k souboru právo zápisu a zkuste to znovu.</tra
</message>
<message>
<source>Master pitch</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Hlavní ladění (pitch)</translation>
</message>
<message>
<source>master pitch</source>
@@ -2479,6 +2692,21 @@ Available decoders: %2
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QuickLoadDialog</name>
<message>
<source>Load resource</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Resource type:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>All types</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ResourceBrowser</name>
<message>
@@ -2878,6 +3106,77 @@ If it runs with other VST-software under Linux, please contact an LMMS-developer
Jestliže tento plugin funguje v Linuxu v jiném VST softwaru, kontaktujte prosím LMMS vývojáře!</translation>
</message>
</context>
<context>
<name>WelcomeScreen</name>
<message>
<source>Welcome to LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>New project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Import project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Open tutorial</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Instant MIDI action</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recent projects</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recent community resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Did you know...?</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Linux Biolinum O&apos;; font-size:12pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Online resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Users forum</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://sourceforge.net/apps/phpbb/lmms/</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Online manual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net/wiki/NewManual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Wiki</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net/wiki/</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ZynAddSubFxView</name>
<message>

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0">
<context>
<name>AboutDialog</name>
<message>
<source>About LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS (Linux MultiMedia Studio)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Version %1 (%2/%3, Qt %4, %5)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS - easy music production for everyone</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Copyright (c) 2004-2009, LMMS developers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net
Join us on Freenode (irc.freenode.net) in ##lmms!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Authors</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Translation</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Current language not translated (or native English).
If you&apos;re interested in translating LMMS in another language or want to improve existing translations, you&apos;re welcome to help us! Simply contact the maintainer!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>License</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Arpeggiator</name>
<message>
@@ -804,6 +855,13 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>DirectorySelectDialog</name>
<message>
<source>Select directory</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Effect</name>
<message>
@@ -841,6 +899,17 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>EffectSelectDialog</name>
<message>
<source>Add effect</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Plugin description</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>EffectView</name>
<message>
@@ -1185,6 +1254,150 @@ Please make sure you have write-permission to the file and the directory contain
<source>Rendering: %1%</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Export project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Output</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>File format:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Samplerate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>44100 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>48000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>88200 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>96000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>192000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Bitrate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>64 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>128 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>160 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>192 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>256 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>320 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Depth:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>16 Bit Integer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>24 Bit Integer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>32 Bit Float</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Please note that not all of the parameters above apply for all file formats.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Quality settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Interpolation:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Zero Order Hold</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Fastest</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Medium (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Best (very slow!)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Oversampling (use with care!):</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>1x (None)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>4x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>8x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sample-exact controllers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Alias-free oscillators</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FxMixer</name>
@@ -2475,6 +2688,21 @@ Available decoders: %2
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QuickLoadDialog</name>
<message>
<source>Load resource</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Resource type:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>All types</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ResourceBrowser</name>
<message>
@@ -2873,6 +3101,77 @@ If it runs with other VST-software under Linux, please contact an LMMS-developer
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>WelcomeScreen</name>
<message>
<source>Welcome to LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>New project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Import project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Open tutorial</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Instant MIDI action</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recent projects</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recent community resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Did you know...?</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Linux Biolinum O&apos;; font-size:12pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Online resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Users forum</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://sourceforge.net/apps/phpbb/lmms/</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Online manual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net/wiki/NewManual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Wiki</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net/wiki/</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ZynAddSubFxView</name>
<message>

View File

@@ -1,6 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0">
<context>
<name>AboutDialog</name>
<message>
<source>About LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS (Linux MultiMedia Studio)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Version %1 (%2/%3, Qt %4, %5)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS - easy music production for everyone</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Copyright (c) 2004-2009, LMMS developers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net
Join us on Freenode (irc.freenode.net) in ##lmms!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Authors</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Translation</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Current language not translated (or native English).
If you&apos;re interested in translating LMMS in another language or want to improve existing translations, you&apos;re welcome to help us! Simply contact the maintainer!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>License</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Arpeggiator</name>
<message>
@@ -804,6 +855,13 @@
<translation type="unfinished">&amp;Ayuda</translation>
</message>
</context>
<context>
<name>DirectorySelectDialog</name>
<message>
<source>Select directory</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Effect</name>
<message>
@@ -841,6 +899,17 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>EffectSelectDialog</name>
<message>
<source>Add effect</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Plugin description</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>EffectView</name>
<message>
@@ -1185,6 +1254,150 @@ Please make sure you have write-permission to the file and the directory contain
<source>Rendering: %1%</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Export project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Output</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>File format:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Samplerate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>44100 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>48000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>88200 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>96000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>192000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Bitrate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>64 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>128 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>160 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>192 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>256 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>320 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Depth:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>16 Bit Integer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>24 Bit Integer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>32 Bit Float</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Please note that not all of the parameters above apply for all file formats.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Quality settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Interpolation:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Zero Order Hold</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Fastest</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Medium (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Best (very slow!)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Oversampling (use with care!):</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>1x (None)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>4x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>8x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sample-exact controllers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Alias-free oscillators</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Cancel</source>
<translation type="unfinished">Cancelar</translation>
</message>
</context>
<context>
<name>FxMixer</name>
@@ -2475,6 +2688,21 @@ Available decoders: %2
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QuickLoadDialog</name>
<message>
<source>Load resource</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Resource type:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>All types</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ResourceBrowser</name>
<message>
@@ -2874,6 +3102,77 @@ If it runs with other VST-software under Linux, please contact an LMMS-developer
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>WelcomeScreen</name>
<message>
<source>Welcome to LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>New project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Import project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Open tutorial</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Instant MIDI action</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recent projects</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recent community resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Did you know...?</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Linux Biolinum O&apos;; font-size:12pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Online resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Users forum</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://sourceforge.net/apps/phpbb/lmms/</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Online manual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net/wiki/NewManual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Wiki</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net/wiki/</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ZynAddSubFxView</name>
<message>

View File

@@ -1,6 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0">
<context>
<name>AboutDialog</name>
<message>
<source>About LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS (Linux MultiMedia Studio)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Version %1 (%2/%3, Qt %4, %5)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>About</source>
<translation type="unfinished">À propos</translation>
</message>
<message>
<source>LMMS - easy music production for everyone</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Copyright (c) 2004-2009, LMMS developers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net
Join us on Freenode (irc.freenode.net) in ##lmms!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Authors</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Translation</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Current language not translated (or native English).
If you&apos;re interested in translating LMMS in another language or want to improve existing translations, you&apos;re welcome to help us! Simply contact the maintainer!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>License</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Arpeggiator</name>
<message>
@@ -804,6 +855,13 @@
<translation type="unfinished">&amp;Aide</translation>
</message>
</context>
<context>
<name>DirectorySelectDialog</name>
<message>
<source>Select directory</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Effect</name>
<message>
@@ -841,6 +899,17 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>EffectSelectDialog</name>
<message>
<source>Add effect</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Plugin description</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>EffectView</name>
<message>
@@ -1186,6 +1255,150 @@ Assurez-vous d&apos;avoir les droits d&apos;accès en écriture au fichier et au
<source>Rendering: %1%</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Export project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Output</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>File format:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Samplerate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>44100 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>48000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>88200 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>96000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>192000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Bitrate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>64 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>128 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>160 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>192 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>256 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>320 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Depth:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>16 Bit Integer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>24 Bit Integer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>32 Bit Float</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Please note that not all of the parameters above apply for all file formats.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Quality settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Interpolation:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Zero Order Hold</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Fastest</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Medium (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Best (very slow!)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Oversampling (use with care!):</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>1x (None)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>4x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>8x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sample-exact controllers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Alias-free oscillators</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Cancel</source>
<translation type="unfinished">Annuler</translation>
</message>
</context>
<context>
<name>FxMixer</name>
@@ -2476,6 +2689,21 @@ Available decoders: %2
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QuickLoadDialog</name>
<message>
<source>Load resource</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Resource type:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>All types</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ResourceBrowser</name>
<message>
@@ -2874,6 +3102,77 @@ If it runs with other VST-software under Linux, please contact an LMMS-developer
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>WelcomeScreen</name>
<message>
<source>Welcome to LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>New project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Import project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Open tutorial</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Instant MIDI action</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recent projects</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recent community resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Did you know...?</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Linux Biolinum O&apos;; font-size:12pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Online resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Users forum</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://sourceforge.net/apps/phpbb/lmms/</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Online manual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net/wiki/NewManual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Wiki</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net/wiki/</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ZynAddSubFxView</name>
<message>

View File

@@ -1,6 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0">
<context>
<name>AboutDialog</name>
<message>
<source>About LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS (Linux MultiMedia Studio)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Version %1 (%2/%3, Qt %4, %5)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>About</source>
<translation type="unfinished">درباره</translation>
</message>
<message>
<source>LMMS - easy music production for everyone</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Copyright (c) 2004-2009, LMMS developers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net
Join us on Freenode (irc.freenode.net) in ##lmms!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Authors</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Translation</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Current language not translated (or native English).
If you&apos;re interested in translating LMMS in another language or want to improve existing translations, you&apos;re welcome to help us! Simply contact the maintainer!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>License</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Arpeggiator</name>
<message>
@@ -804,6 +855,13 @@
<translation type="unfinished">&amp;راهنما</translation>
</message>
</context>
<context>
<name>DirectorySelectDialog</name>
<message>
<source>Select directory</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Effect</name>
<message>
@@ -841,6 +899,17 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>EffectSelectDialog</name>
<message>
<source>Add effect</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Plugin description</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>EffectView</name>
<message>
@@ -1185,6 +1254,150 @@ Please make sure you have write-permission to the file and the directory contain
<source>Rendering: %1%</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Export project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Output</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>File format:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Samplerate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>44100 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>48000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>88200 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>96000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>192000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Bitrate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>64 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>128 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>160 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>192 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>256 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>320 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Depth:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>16 Bit Integer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>24 Bit Integer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>32 Bit Float</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Please note that not all of the parameters above apply for all file formats.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Quality settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Interpolation:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Zero Order Hold</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Fastest</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Medium (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Best (very slow!)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Oversampling (use with care!):</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>1x (None)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>4x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>8x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sample-exact controllers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Alias-free oscillators</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Cancel</source>
<translation type="unfinished">لغو</translation>
</message>
</context>
<context>
<name>FxMixer</name>
@@ -2475,6 +2688,21 @@ Available decoders: %2
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QuickLoadDialog</name>
<message>
<source>Load resource</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Resource type:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>All types</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ResourceBrowser</name>
<message>
@@ -2873,6 +3101,77 @@ If it runs with other VST-software under Linux, please contact an LMMS-developer
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>WelcomeScreen</name>
<message>
<source>Welcome to LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>New project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Import project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Open tutorial</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Instant MIDI action</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recent projects</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recent community resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Did you know...?</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Linux Biolinum O&apos;; font-size:12pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Online resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Users forum</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://sourceforge.net/apps/phpbb/lmms/</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Online manual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net/wiki/NewManual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Wiki</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net/wiki/</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ZynAddSubFxView</name>
<message>

View File

@@ -1,6 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="it_IT">
<context>
<name>AboutDialog</name>
<message>
<source>About LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS (Linux MultiMedia Studio)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Version %1 (%2/%3, Qt %4, %5)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>About</source>
<translation type="unfinished">Informazioni su</translation>
</message>
<message>
<source>LMMS - easy music production for everyone</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Copyright (c) 2004-2009, LMMS developers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net
Join us on Freenode (irc.freenode.net) in ##lmms!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Authors</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Translation</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Current language not translated (or native English).
If you&apos;re interested in translating LMMS in another language or want to improve existing translations, you&apos;re welcome to help us! Simply contact the maintainer!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>License</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Arpeggiator</name>
<message>
@@ -804,6 +855,13 @@
<translation type="unfinished">&amp;Aiuto</translation>
</message>
</context>
<context>
<name>DirectorySelectDialog</name>
<message>
<source>Select directory</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Effect</name>
<message>
@@ -841,6 +899,17 @@
<translation type="unfinished">Aggiungi effetto</translation>
</message>
</context>
<context>
<name>EffectSelectDialog</name>
<message>
<source>Add effect</source>
<translation type="unfinished">Aggiungi effetto</translation>
</message>
<message>
<source>Plugin description</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>EffectView</name>
<message>
@@ -1119,7 +1188,7 @@ Con il click destro si apre un menu conestuale che permette di cambiare l&apos;o
</message>
<message>
<source>Click here for a triangle-wave.</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Cliccando qui si ottiene un&apos;onda triangolare.</translation>
</message>
<message>
<source>Click here for a saw-wave for current.</source>
@@ -1127,7 +1196,7 @@ Con il click destro si apre un menu conestuale che permette di cambiare l&apos;o
</message>
<message>
<source>Click here for a square-wave.</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Cliccando qui si ottiene un&apos;onda quadra.</translation>
</message>
<message>
<source>Click here for a user-defined wave. Afterwards, drag an according sample-file onto the LFO graph.</source>
@@ -1180,7 +1249,7 @@ Assicurarsi di avere i permessi in scrittura per il file e la directory contenen
</message>
<message>
<source>Could not open file</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Non è stato possibile aprire il file</translation>
</message>
<message>
<source>Export project to %1</source>
@@ -1198,6 +1267,150 @@ Assicurarsi di avere i permessi in scrittura per il file e la directory contenen
<source>Rendering: %1%</source>
<translation type="unfinished">Renderizzazione: %1%</translation>
</message>
<message>
<source>Export project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Output</source>
<translation type="unfinished">Uscita</translation>
</message>
<message>
<source>File format:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Samplerate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>44100 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>48000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>88200 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>96000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>192000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Bitrate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>64 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>128 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>160 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>192 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>256 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>320 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Depth:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>16 Bit Integer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>24 Bit Integer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>32 Bit Float</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Please note that not all of the parameters above apply for all file formats.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Quality settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Interpolation:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Zero Order Hold</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Fastest</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Medium (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Best (very slow!)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Oversampling (use with care!):</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>1x (None)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>4x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>8x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sample-exact controllers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Alias-free oscillators</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Cancel</source>
<translation type="unfinished">Annulla</translation>
</message>
</context>
<context>
<name>FxMixer</name>
@@ -1726,15 +1939,15 @@ Assicurarsi di avere i permessi in scrittura per il file e la directory contenen
</message>
<message>
<source>Click here for a triangle-wave.</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Cliccando qui si ottiene un&apos;onda triangolare.</translation>
</message>
<message>
<source>Click here for a saw-wave.</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Cliccando qui si ottiene un&apos;onda a dente di sega.</translation>
</message>
<message>
<source>Click here for a square-wave.</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Cliccando qui si ottiene un&apos;onda quadra.</translation>
</message>
<message>
<source>Click here for a a moog saw-wave.</source>
@@ -1750,7 +1963,7 @@ Assicurarsi di avere i permessi in scrittura per il file e la directory contenen
</message>
<message>
<source>Click here for a user-defined shape.</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Cliccando qui è possibile definire una forma d&apos;onda personalizzata.</translation>
</message>
</context>
<context>
@@ -2247,7 +2460,7 @@ Visitare http://lmms.sf.net/wiki per la documentazione di LMMS.</translation>
</message>
<message>
<source>Loop</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Ripetizione</translation>
</message>
<message>
<source>Loop mode</source>
@@ -2491,6 +2704,21 @@ Available decoders: %2
<translation>In Place Broken:</translation>
</message>
</context>
<context>
<name>QuickLoadDialog</name>
<message>
<source>Load resource</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Resource type:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>All types</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ResourceBrowser</name>
<message>
@@ -2719,7 +2947,7 @@ Available decoders: %2
</message>
<message>
<source>Osc %1 volume:</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Volume osc %1:</translation>
</message>
<message>
<source>With this knob you can set the volume of oscillator %1. When setting a value of 0 the oscillator is turned off. Otherwise you can hear the oscillator as loud as you set it here.</source>
@@ -2727,7 +2955,7 @@ Available decoders: %2
</message>
<message>
<source>Osc %1 panning:</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Panning osc %1:</translation>
</message>
<message>
<source>With this knob you can set the panning of the oscillator %1. A value of -100 means 100% left and a value of 100 moves oscillator-output right.</source>
@@ -2747,7 +2975,7 @@ Available decoders: %2
</message>
<message>
<source>Osc %1 fine detuning left:</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Intonazione precisa osc %1 sinistra:</translation>
</message>
<message>
<source>cents</source>
@@ -2873,19 +3101,91 @@ Available decoders: %2
<name>VstPlugin</name>
<message>
<source>Loading plugin</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Caricamento plugin</translation>
</message>
<message>
<source>Please wait while loading VST-plugin...</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Prego attendere, caricamento del plugin VST...</translation>
</message>
<message>
<source>Failed loading VST-plugin</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Errore nel caricamento del plugin VST</translation>
</message>
<message>
<source>The VST-plugin %1 could not be loaded for some reason.
If it runs with other VST-software under Linux, please contact an LMMS-developer!</source>
<translation type="unfinished">Non è stato possibile caricare il plugin VST %1 a causa di alcuni errori.
Se, con altre applicazioni GNU/Linux il plugin funziona, si prega di contattare uno sviluppatore di LMMS!</translation>
</message>
</context>
<context>
<name>WelcomeScreen</name>
<message>
<source>Welcome to LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>New project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Import project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Open tutorial</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Instant MIDI action</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recent projects</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recent community resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Did you know...?</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Linux Biolinum O&apos;; font-size:12pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Online resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Users forum</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://sourceforge.net/apps/phpbb/lmms/</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Online manual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net/wiki/NewManual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Wiki</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net/wiki/</source>
<translation type="unfinished"></translation>
</message>
</context>

View File

@@ -1,6 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="ja_JP">
<context>
<name>AboutDialog</name>
<message>
<source>About LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS (Linux MultiMedia Studio)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Version %1 (%2/%3, Qt %4, %5)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS - easy music production for everyone</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Copyright (c) 2004-2009, LMMS developers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net
Join us on Freenode (irc.freenode.net) in ##lmms!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Authors</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Translation</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Current language not translated (or native English).
If you&apos;re interested in translating LMMS in another language or want to improve existing translations, you&apos;re welcome to help us! Simply contact the maintainer!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>License</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Arpeggiator</name>
<message>
@@ -804,6 +855,13 @@
<translation type="unfinished">(&amp;H)</translation>
</message>
</context>
<context>
<name>DirectorySelectDialog</name>
<message>
<source>Select directory</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Effect</name>
<message>
@@ -841,6 +899,17 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>EffectSelectDialog</name>
<message>
<source>Add effect</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Plugin description</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>EffectView</name>
<message>
@@ -1181,7 +1250,7 @@ Please make sure you have write-permission to the file and the directory contain
</message>
<message>
<source>Could not open file</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<source>Export project to %1</source>
@@ -1199,6 +1268,150 @@ Please make sure you have write-permission to the file and the directory contain
<source>Rendering: %1%</source>
<translation type="unfinished">: %1%</translation>
</message>
<message>
<source>Export project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Output</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>File format:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Samplerate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>44100 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>48000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>88200 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>96000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>192000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Bitrate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>64 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>128 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>160 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>192 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>256 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>320 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Depth:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>16 Bit Integer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>24 Bit Integer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>32 Bit Float</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Please note that not all of the parameters above apply for all file formats.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Quality settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Interpolation:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Zero Order Hold</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Fastest</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Medium (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Best (very slow!)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Oversampling (use with care!):</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>1x (None)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>4x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>8x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sample-exact controllers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Alias-free oscillators</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FxMixer</name>
@@ -1743,7 +1956,7 @@ Please make sure you have write-permission to the file and the directory contain
</message>
<message>
<source>Click here for an exponential wave.</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<source>Click here for white-noise.</source>
@@ -1751,7 +1964,7 @@ Please make sure you have write-permission to the file and the directory contain
</message>
<message>
<source>Click here for a user-defined shape.</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
@@ -2493,6 +2706,21 @@ Available decoders: %2
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QuickLoadDialog</name>
<message>
<source>Load resource</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Resource type:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>All types</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ResourceBrowser</name>
<message>
@@ -2879,7 +3107,7 @@ Available decoders: %2
</message>
<message>
<source>Please wait while loading VST-plugin...</source>
<translation type="unfinished"></translation>
<translation type="unfinished">VST-</translation>
</message>
<message>
<source>Failed loading VST-plugin</source>
@@ -2888,6 +3116,78 @@ Available decoders: %2
<message>
<source>The VST-plugin %1 could not be loaded for some reason.
If it runs with other VST-software under Linux, please contact an LMMS-developer!</source>
<translation type="unfinished">VST-plugin %1 
VSTがLinuxのほかのVST- LMMS </translation>
</message>
</context>
<context>
<name>WelcomeScreen</name>
<message>
<source>Welcome to LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>New project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Import project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Open tutorial</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Instant MIDI action</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recent projects</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recent community resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Did you know...?</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Linux Biolinum O&apos;; font-size:12pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Online resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Users forum</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://sourceforge.net/apps/phpbb/lmms/</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Online manual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net/wiki/NewManual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Wiki</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net/wiki/</source>
<translation type="unfinished"></translation>
</message>
</context>

View File

@@ -1,6 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="ko_KR" sourcelanguage="en">
<context>
<name>AboutDialog</name>
<message>
<source>About LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS (Linux MultiMedia Studio)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Version %1 (%2/%3, Qt %4, %5)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>About</source>
<translation type="unfinished">LMMS란</translation>
</message>
<message>
<source>LMMS - easy music production for everyone</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Copyright (c) 2004-2009, LMMS developers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net
Join us on Freenode (irc.freenode.net) in ##lmms!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Authors</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Translation</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Current language not translated (or native English).
If you&apos;re interested in translating LMMS in another language or want to improve existing translations, you&apos;re welcome to help us! Simply contact the maintainer!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>License</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Arpeggiator</name>
<message>
@@ -57,7 +108,7 @@
</message>
<message>
<source>Sync</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
@@ -755,7 +806,7 @@
</message>
<message>
<source>Cancel</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS</source>
@@ -804,6 +855,13 @@
<translation type="unfinished">(&amp;H)</translation>
</message>
</context>
<context>
<name>DirectorySelectDialog</name>
<message>
<source>Select directory</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Effect</name>
<message>
@@ -841,6 +899,17 @@
<translation type="unfinished"> </translation>
</message>
</context>
<context>
<name>EffectSelectDialog</name>
<message>
<source>Add effect</source>
<translation type="unfinished"> </translation>
</message>
<message>
<source>Plugin description</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>EffectView</name>
<message>
@@ -1185,6 +1254,150 @@ Please make sure you have write-permission to the file and the directory contain
<source>Rendering: %1%</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Export project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Output</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>File format:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Samplerate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>44100 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>48000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>88200 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>96000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>192000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Bitrate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>64 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>128 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>160 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>192 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>256 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>320 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Depth:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>16 Bit Integer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>24 Bit Integer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>32 Bit Float</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Please note that not all of the parameters above apply for all file formats.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Quality settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Interpolation:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Zero Order Hold</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Fastest</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Medium (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Best (very slow!)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Oversampling (use with care!):</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>1x (None)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>4x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>8x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sample-exact controllers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Alias-free oscillators</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FxMixer</name>
@@ -2477,6 +2690,21 @@ Available decoders: %2
<translation>: </translation>
</message>
</context>
<context>
<name>QuickLoadDialog</name>
<message>
<source>Load resource</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Resource type:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>All types</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ResourceBrowser</name>
<message>
@@ -2859,15 +3087,15 @@ Available decoders: %2
<name>VstPlugin</name>
<message>
<source>Loading plugin</source>
<translation type="unfinished"></translation>
<translation type="unfinished"> </translation>
</message>
<message>
<source>Please wait while loading VST-plugin...</source>
<translation type="unfinished"></translation>
<translation type="unfinished">VST ...</translation>
</message>
<message>
<source>Failed loading VST-plugin</source>
<translation type="unfinished"></translation>
<translation type="unfinished">VST </translation>
</message>
<message>
<source>The VST-plugin %1 could not be loaded for some reason.
@@ -2875,6 +3103,77 @@ If it runs with other VST-software under Linux, please contact an LMMS-developer
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>WelcomeScreen</name>
<message>
<source>Welcome to LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>New project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Import project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Open tutorial</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Instant MIDI action</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recent projects</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recent community resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Did you know...?</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Linux Biolinum O&apos;; font-size:12pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Online resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Users forum</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://sourceforge.net/apps/phpbb/lmms/</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Online manual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net/wiki/NewManual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Wiki</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net/wiki/</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ZynAddSubFxView</name>
<message>
@@ -5146,7 +5445,7 @@ Latency: %2 ms</source>
</message>
<message>
<source>Cancel</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<source>MIDI KEYBOARD</source>

View File

@@ -1,6 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0">
<context>
<name>AboutDialog</name>
<message>
<source>About LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS (Linux MultiMedia Studio)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Version %1 (%2/%3, Qt %4, %5)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>About</source>
<translation type="unfinished">Over</translation>
</message>
<message>
<source>LMMS - easy music production for everyone</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Copyright (c) 2004-2009, LMMS developers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net
Join us on Freenode (irc.freenode.net) in ##lmms!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Authors</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Translation</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Current language not translated (or native English).
If you&apos;re interested in translating LMMS in another language or want to improve existing translations, you&apos;re welcome to help us! Simply contact the maintainer!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>License</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Arpeggiator</name>
<message>
@@ -804,6 +855,13 @@
<translation type="unfinished">&amp;Help</translation>
</message>
</context>
<context>
<name>DirectorySelectDialog</name>
<message>
<source>Select directory</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Effect</name>
<message>
@@ -841,6 +899,17 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>EffectSelectDialog</name>
<message>
<source>Add effect</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Plugin description</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>EffectView</name>
<message>
@@ -1167,7 +1236,7 @@ Please make sure you have write-permission to the file and the directory contain
</message>
<message>
<source>Could not open file</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Kan bestand niet openen</translation>
</message>
<message>
<source>Export project to %1</source>
@@ -1185,6 +1254,150 @@ Please make sure you have write-permission to the file and the directory contain
<source>Rendering: %1%</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Export project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Output</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>File format:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Samplerate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>44100 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>48000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>88200 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>96000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>192000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Bitrate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>64 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>128 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>160 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>192 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>256 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>320 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Depth:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>16 Bit Integer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>24 Bit Integer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>32 Bit Float</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Please note that not all of the parameters above apply for all file formats.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Quality settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Interpolation:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Zero Order Hold</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Fastest</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Medium (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Best (very slow!)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Oversampling (use with care!):</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>1x (None)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>4x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>8x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sample-exact controllers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Alias-free oscillators</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FxMixer</name>
@@ -2475,6 +2688,21 @@ Available decoders: %2
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QuickLoadDialog</name>
<message>
<source>Load resource</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Resource type:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>All types</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ResourceBrowser</name>
<message>
@@ -2874,6 +3102,77 @@ If it runs with other VST-software under Linux, please contact an LMMS-developer
Als het wel werkt met andere VST-software onder Linux, neem dan contact op met een LMMS-ontwikkelaar!</translation>
</message>
</context>
<context>
<name>WelcomeScreen</name>
<message>
<source>Welcome to LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>New project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Import project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Open tutorial</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Instant MIDI action</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recent projects</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recent community resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Did you know...?</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Linux Biolinum O&apos;; font-size:12pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Online resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Users forum</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://sourceforge.net/apps/phpbb/lmms/</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Online manual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net/wiki/NewManual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Wiki</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net/wiki/</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ZynAddSubFxView</name>
<message>

View File

@@ -1,6 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0">
<context>
<name>AboutDialog</name>
<message>
<source>About LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS (Linux MultiMedia Studio)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Version %1 (%2/%3, Qt %4, %5)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>About</source>
<translation type="unfinished">Sobre</translation>
</message>
<message>
<source>LMMS - easy music production for everyone</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Copyright (c) 2004-2009, LMMS developers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net
Join us on Freenode (irc.freenode.net) in ##lmms!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Authors</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Translation</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Current language not translated (or native English).
If you&apos;re interested in translating LMMS in another language or want to improve existing translations, you&apos;re welcome to help us! Simply contact the maintainer!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>License</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Arpeggiator</name>
<message>
@@ -804,6 +855,13 @@
<translation type="unfinished">Aj&amp;uda</translation>
</message>
</context>
<context>
<name>DirectorySelectDialog</name>
<message>
<source>Select directory</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Effect</name>
<message>
@@ -841,6 +899,17 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>EffectSelectDialog</name>
<message>
<source>Add effect</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Plugin description</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>EffectView</name>
<message>
@@ -1168,7 +1237,7 @@ Por favor certifique-se que você tem permissão para gravação no arquivo e se
</message>
<message>
<source>Could not open file</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Não é possível abrir o arquivo</translation>
</message>
<message>
<source>Export project to %1</source>
@@ -1186,6 +1255,150 @@ Por favor certifique-se que você tem permissão para gravação no arquivo e se
<source>Rendering: %1%</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Export project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Output</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>File format:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Samplerate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>44100 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>48000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>88200 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>96000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>192000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Bitrate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>64 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>128 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>160 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>192 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>256 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>320 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Depth:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>16 Bit Integer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>24 Bit Integer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>32 Bit Float</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Please note that not all of the parameters above apply for all file formats.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Quality settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Interpolation:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Zero Order Hold</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Fastest</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Medium (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Best (very slow!)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Oversampling (use with care!):</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>1x (None)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>4x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>8x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sample-exact controllers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Alias-free oscillators</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Cancel</source>
<translation type="unfinished">Cancelar</translation>
</message>
</context>
<context>
<name>FxMixer</name>
@@ -2476,6 +2689,21 @@ Available decoders: %2
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QuickLoadDialog</name>
<message>
<source>Load resource</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Resource type:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>All types</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ResourceBrowser</name>
<message>
@@ -2875,6 +3103,77 @@ If it runs with other VST-software under Linux, please contact an LMMS-developer
Se ele rodar com outro programa VST no Linux, por favor entre em contato com um desenvolvedor do LMMS!</translation>
</message>
</context>
<context>
<name>WelcomeScreen</name>
<message>
<source>Welcome to LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>New project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Import project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Open tutorial</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Instant MIDI action</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recent projects</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recent community resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Did you know...?</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Linux Biolinum O&apos;; font-size:12pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Online resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Users forum</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://sourceforge.net/apps/phpbb/lmms/</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Online manual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net/wiki/NewManual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Wiki</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net/wiki/</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ZynAddSubFxView</name>
<message>

View File

@@ -1,6 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="ru_RU">
<context>
<name>AboutDialog</name>
<message>
<source>About LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS (Linux MultiMedia Studio)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Version %1 (%2/%3, Qt %4, %5)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>About</source>
<translation type="unfinished">О программе</translation>
</message>
<message>
<source>LMMS - easy music production for everyone</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Copyright (c) 2004-2009, LMMS developers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net
Join us on Freenode (irc.freenode.net) in ##lmms!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Authors</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Translation</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Current language not translated (or native English).
If you&apos;re interested in translating LMMS in another language or want to improve existing translations, you&apos;re welcome to help us! Simply contact the maintainer!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>License</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Arpeggiator</name>
<message>
@@ -804,6 +855,13 @@
<translation type="unfinished">&amp;Справка</translation>
</message>
</context>
<context>
<name>DirectorySelectDialog</name>
<message>
<source>Select directory</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Effect</name>
<message>
@@ -820,7 +878,7 @@
</message>
<message>
<source>Decay</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Длит. спада</translation>
</message>
</context>
<context>
@@ -841,6 +899,17 @@
<translation type="unfinished">Добавить фильтр</translation>
</message>
</context>
<context>
<name>EffectSelectDialog</name>
<message>
<source>Add effect</source>
<translation type="unfinished">Добавить фильтр</translation>
</message>
<message>
<source>Plugin description</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>EffectView</name>
<message>
@@ -953,7 +1022,7 @@ Right clicking will bring up a context menu where you can change the order in wh
</message>
<message>
<source>Decay</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Длит. спада</translation>
</message>
<message>
<source>Sustain</source>
@@ -1120,7 +1189,7 @@ Right clicking will bring up a context menu where you can change the order in wh
</message>
<message>
<source>Click here for a triangle-wave.</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Сгенерировать треугольный сигнал.</translation>
</message>
<message>
<source>Click here for a saw-wave for current.</source>
@@ -1128,7 +1197,7 @@ Right clicking will bring up a context menu where you can change the order in wh
</message>
<message>
<source>Click here for a square-wave.</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Сгенерировать меандр.</translation>
</message>
<message>
<source>Click here for a user-defined wave. Afterwards, drag an according sample-file onto the LFO graph.</source>
@@ -1199,6 +1268,150 @@ Please make sure you have write-permission to the file and the directory contain
<source>Rendering: %1%</source>
<translation type="unfinished">Обработка: %1%</translation>
</message>
<message>
<source>Export project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Output</source>
<translation type="unfinished">Выход</translation>
</message>
<message>
<source>File format:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Samplerate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>44100 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>48000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>88200 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>96000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>192000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Bitrate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>64 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>128 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>160 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>192 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>256 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>320 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Depth:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>16 Bit Integer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>24 Bit Integer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>32 Bit Float</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Please note that not all of the parameters above apply for all file formats.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Quality settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Interpolation:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Zero Order Hold</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Fastest</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Medium (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Best (very slow!)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Oversampling (use with care!):</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>1x (None)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>4x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>8x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sample-exact controllers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Alias-free oscillators</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Cancel</source>
<translation type="unfinished">Отменить</translation>
</message>
</context>
<context>
<name>FxMixer</name>
@@ -1728,15 +1941,15 @@ Please make sure you have write-permission to the file and the directory contain
</message>
<message>
<source>Click here for a triangle-wave.</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Сгенерировать треугольный сигнал.</translation>
</message>
<message>
<source>Click here for a saw-wave.</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Сгенерировать пилообразный сигнал.</translation>
</message>
<message>
<source>Click here for a square-wave.</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Сгенерировать меандр.</translation>
</message>
<message>
<source>Click here for a a moog saw-wave.</source>
@@ -2493,6 +2706,21 @@ Available decoders: %2
<translation>Выходных каналов: </translation>
</message>
</context>
<context>
<name>QuickLoadDialog</name>
<message>
<source>Load resource</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Resource type:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>All types</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ResourceBrowser</name>
<message>
@@ -2892,6 +3120,77 @@ If it runs with other VST-software under Linux, please contact an LMMS-developer
Если другое программное обеспечение VST работает у Вас под Linux&apos;ом, свяжитесь с разработчиком LMMS!</translation>
</message>
</context>
<context>
<name>WelcomeScreen</name>
<message>
<source>Welcome to LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>New project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Import project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Open tutorial</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Instant MIDI action</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recent projects</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recent community resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Did you know...?</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Linux Biolinum O&apos;; font-size:12pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Online resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Users forum</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://sourceforge.net/apps/phpbb/lmms/</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Online manual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net/wiki/NewManual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Wiki</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net/wiki/</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ZynAddSubFxView</name>
<message>
@@ -3566,7 +3865,7 @@ Double clicking any of the plugins will bring up information on the ports.</sour
</message>
<message>
<source>Click here for a saw-wave.</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Сгенерировать пилообразный сигнал.</translation>
</message>
<message>
<source>Triangle wave</source>
@@ -3574,7 +3873,7 @@ Double clicking any of the plugins will bring up information on the ports.</sour
</message>
<message>
<source>Click here for a triangle-wave.</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Сгенерировать треугольный сигнал.</translation>
</message>
<message>
<source>Square wave</source>
@@ -3582,7 +3881,7 @@ Double clicking any of the plugins will bring up information on the ports.</sour
</message>
<message>
<source>Click here for a square-wave.</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Сгенерировать меандр.</translation>
</message>
<message>
<source>Rounded square wave</source>

View File

@@ -1,6 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0">
<context>
<name>AboutDialog</name>
<message>
<source>About LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS (Linux MultiMedia Studio)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Version %1 (%2/%3, Qt %4, %5)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>About</source>
<translation type="unfinished">Om</translation>
</message>
<message>
<source>LMMS - easy music production for everyone</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Copyright (c) 2004-2009, LMMS developers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net
Join us on Freenode (irc.freenode.net) in ##lmms!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Authors</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Translation</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Current language not translated (or native English).
If you&apos;re interested in translating LMMS in another language or want to improve existing translations, you&apos;re welcome to help us! Simply contact the maintainer!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>License</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Arpeggiator</name>
<message>
@@ -804,6 +855,13 @@
<translation type="unfinished">&amp;Hjälp</translation>
</message>
</context>
<context>
<name>DirectorySelectDialog</name>
<message>
<source>Select directory</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Effect</name>
<message>
@@ -841,6 +899,17 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>EffectSelectDialog</name>
<message>
<source>Add effect</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Plugin description</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>EffectView</name>
<message>
@@ -1167,7 +1236,7 @@ Please make sure you have write-permission to the file and the directory contain
</message>
<message>
<source>Could not open file</source>
<translation type="unfinished"></translation>
<translation type="unfinished">kunde inte öppna fil</translation>
</message>
<message>
<source>Export project to %1</source>
@@ -1185,6 +1254,150 @@ Please make sure you have write-permission to the file and the directory contain
<source>Rendering: %1%</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Export project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Output</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>File format:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Samplerate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>44100 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>48000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>88200 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>96000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>192000 Hz</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Bitrate:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>64 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>128 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>160 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>192 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>256 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>320 KBit/s</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Depth:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>16 Bit Integer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>24 Bit Integer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>32 Bit Float</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Please note that not all of the parameters above apply for all file formats.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Quality settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Interpolation:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Zero Order Hold</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Fastest</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Medium (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sinc Best (very slow!)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Oversampling (use with care!):</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>1x (None)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>4x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>8x</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sample-exact controllers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Alias-free oscillators</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Cancel</source>
<translation type="unfinished">Avbryt</translation>
</message>
</context>
<context>
<name>FxMixer</name>
@@ -2475,6 +2688,21 @@ Available decoders: %2
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QuickLoadDialog</name>
<message>
<source>Load resource</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Resource type:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>All types</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ResourceBrowser</name>
<message>
@@ -2873,6 +3101,77 @@ If it runs with other VST-software under Linux, please contact an LMMS-developer
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>WelcomeScreen</name>
<message>
<source>Welcome to LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>New project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Import project</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Open tutorial</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Instant MIDI action</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recent projects</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recent community resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Did you know...?</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Linux Biolinum O&apos;; font-size:12pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Online resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Users forum</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://sourceforge.net/apps/phpbb/lmms/</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Online manual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net/wiki/NewManual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Wiki</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>http://lmms.sourceforge.net/wiki/</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ZynAddSubFxView</name>
<message>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 652 B

View File

@@ -52,6 +52,28 @@ automationEditor {
background-color: rgb(0, 0, 0);
}
#WelcomeFrame {
border: 2px solid rgb(32,32,32);
border-radius: 8px;
padding:2px;
}
#TitleSeparator {
border: 1px solid qlineargradient(x1:0, y1:0, x2:1, y2:0,
stop:0 #ccc, stop: 0.5 #444,
stop:1 #ccc);
border-width: 1px 0px 0px 0px;
}
#WelcomeFrame, #WelcomeFrame * {
background-color: rgb(232,232,232);
color: black;
}
#WelcomeFrame QLabel {
color: rgb(128, 128, 128);
}
QMenu {
border:1px solid black;
background-color: rgb( 192, 192, 192 );
@@ -131,13 +153,20 @@ nameLabel, effectLabel, sf2InstrumentView > QLabel {
QWidget#mainToolbar {
background-image: url(resources:main_toolbar_bg.png);
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop: 0 #4a4a4a, stop: 1.0 #383838);
}
QToolBar {
background: url(resources:toolbar_bg.png);
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop: 0 #4a4a4a, stop: 1.0 #383838);
}
SideBar {
background: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop: 0 #66728c, stop: 1.0 #38404e);
}
SideBar QToolButton {
font-size: 12px;
}
FxMixerView QPushButton, EffectRackView QPushButton, ControllerRackView QPushButton {
font-size: 10px;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 716 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@@ -12,6 +12,17 @@ automationEditor {
background-color: rgb(0, 0, 0);
}
#PreferencesDialog QListView::item:selected {
background: qlineargradient(x1: 0, y1:0, x2:0,y2:1, stop:0 rgb(84,87,96), stop:1 rgb(54,57,66));
border-radius: 8px;
color: white;
}
#PreferencesDialog QListView::item:hover:!selected {
background: qlineargradient(x1: 0, y1:0, x2:0,y2:1, stop:0 rgb(104,107,116), stop:1 rgb(94,97,106));
border-radius: 8px;
}
#WelcomeFrame {
border: 2px solid rgb(32,32,32);
border-radius: 8px;
@@ -113,11 +124,11 @@ nameLabel, effectLabel, sf2InstrumentView > QLabel, QComboBox {
QWidget#mainToolbar {
background-image: url(resources:main_toolbar_bg.png);
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop: 0 #66728c, stop: 1.0 #38404e);
}
QToolBar {
background: url(resources:toolbar_bg.png);
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop: 0 #66728c, stop: 1.0 #38404e);
}
QToolButton, toolButton {
@@ -150,6 +161,14 @@ QToolButton:checked {
padding: 3px 0px 0px 3px;
}
SideBar {
background: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop: 0 #66728c, stop: 1.0 #38404e);
}
SideBar QToolButton {
font-size: 12px;
}
FxMixerView QPushButton, EffectRackView QPushButton, ControllerRackView QPushButton {
font-size: 10px;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 B

View File

@@ -30,7 +30,8 @@
#ifdef LMMS_HAVE_ALSA
#include <alsa/asoundlib.h>
#include "QAbstractListModel"
#include <QAbstractListModel>
#include <QPair>
class AlsaDeviceListModel : public QAbstractListModel

View File

@@ -69,8 +69,6 @@ public:
return m_toolBar;
}
// show MainWidget or WelcomeScreen
void setMainWidgetVisible( bool _visible );
//int addWidgetToToolBar( QWidget * _w, int _row = -1, int _col = -1 );
//void addSpacingToToolBar( int _size );
@@ -109,6 +107,7 @@ public:
void setPlaybackMode( ProjectPlaybackMode _playbackMode );
void showWelcomeScreen(bool _visible = true);
public slots:
void resetWindowTitle();
@@ -126,6 +125,7 @@ public slots:
bool saveProject();
bool saveProjectAs();
void showSettingsDialog();
void showPreferencesDialog();
void aboutLMMS();
void help();
void toggleAutomationEditorWin();
@@ -145,6 +145,7 @@ public slots:
protected:
virtual void closeEvent( QCloseEvent * _ce );
virtual void showEvent( QShowEvent * _se );
virtual void focusOutEvent( QFocusEvent * _fe );
virtual void keyPressEvent( QKeyEvent * _ke );
virtual void keyReleaseEvent( QKeyEvent * _ke );

View File

@@ -0,0 +1,43 @@
/*
* PreferencesDialog.h - declaration of class PreferencesDialog
*
* Copyright (c) 2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program (see COPYING); if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA.
*
*/
#ifndef _PREFERENCES_DIALOG_H
#define _PREFERENCES_DIALOG_H
#include <QtGui/QDialog>
namespace Ui { class PreferencesDialog; }
class PreferencesDialog : public QDialog
{
public:
PreferencesDialog();
private:
Ui::PreferencesDialog * ui;
} ;
#endif

View File

@@ -29,7 +29,7 @@
#include "ResourceAction.h"
#include "ResourcePreviewer.h"
#include "ResourceTreeModel.h"
#include "side_bar_widget.h"
#include "SideBarWidget.h"
class QAction;
class QLabel;
@@ -37,7 +37,7 @@ class ResourceItem;
class ResourceTreeView;
class ResourceBrowser : public sideBarWidget
class ResourceBrowser : public SideBarWidget
{
Q_OBJECT
public:

57
include/SideBar.h Normal file
View File

@@ -0,0 +1,57 @@
/*
* SideBar.h - side-bar in LMMS' MainWindow
*
* Copyright (c) 2004-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program (see COPYING); if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA.
*
*/
#ifndef _SIDE_BAR_H
#define _SIDE_BAR_H
#include <QtCore/QMap>
#include <QtGui/QButtonGroup>
#include <QtGui/QToolBar>
class QToolButton;
class SideBarWidget;
class SideBar : public QToolBar
{
Q_OBJECT
public:
SideBar( Qt::Orientation _orientation, QWidget * _parent );
virtual ~SideBar();
void appendTab( SideBarWidget * _sbw );
private slots:
void toggleButton( QAbstractButton * _btn );
private:
QButtonGroup m_btnGroup;
typedef QMap<QToolButton *, QWidget *> ButtonMap;
ButtonMap m_widgets;
} ;
#endif

View File

@@ -1,8 +1,8 @@
/*
* side_bar_widget.h - base-class for all side-bar-widgets
* SideBarWidget.h - base-class for all side-bar-widgets
*
* Copyright (c) 2004-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
*
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
*
* This program is free software; you can redistribute it and/or
@@ -22,7 +22,6 @@
*
*/
#ifndef _SIDE_BAR_WIDGET_H
#define _SIDE_BAR_WIDGET_H
@@ -31,41 +30,42 @@
#include <QtGui/QWidget>
class sideBarWidget : public QWidget
class SideBarWidget : public QWidget
{
Q_OBJECT
public:
sideBarWidget( const QString & _title, const QPixmap & _icon,
SideBarWidget( const QString & _title, const QPixmap & _icon,
QWidget * _parent );
virtual ~sideBarWidget();
virtual ~SideBarWidget();
inline const QPixmap & icon() const
{
return( m_icon );
return m_icon;
}
inline const QString & title() const
{
return( m_title );
return m_title;
}
protected:
virtual void paintEvent( QPaintEvent * _pe );
virtual void resizeEvent( QResizeEvent * _re );
inline virtual void contextMenuEvent( QContextMenuEvent * )
virtual void contextMenuEvent( QContextMenuEvent * )
{
}
inline QWidget * contentParent()
QWidget * contentParent()
{
return( m_contents );
}
inline void addContentWidget( QWidget * _w )
void addContentWidget( QWidget * _w )
{
m_layout->addWidget( _w );
}
inline void addContentLayout( QLayout * _l )
void addContentLayout( QLayout * _l )
{
m_layout->addLayout( _l );
}
@@ -79,5 +79,4 @@ private:
} ;
#endif

View File

@@ -53,7 +53,7 @@ private slots:
private:
void switchView();
void hideWelcomeScreen();
Ui::WelcomeScreen * ui;
RecentResourceListModel * m_recentProjectsModel;

View File

@@ -1,309 +0,0 @@
/***************************************************************************
kmultitabbar.h - description
-------------------
begin : 2001
copyright : (C) 2001,2002,2003 by Joseph Wenninger <jowenn@kde.org>
***************************************************************************/
/***************************************************************************
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
***************************************************************************/
#ifndef _KMultitabbar_h_
#define _KMultitabbar_h_
#include <QtCore/QString>
#include <QtCore/QList>
#include <QtGui/QLayout>
#include <QtGui/QPushButton>
class QPixmap;
class QPainter;
class QFrame;
class QMenu;
class KMultiTabBarPrivate;
class KMultiTabBarTabPrivate;
class KMultiTabBarButtonPrivate;
class KMultiTabBarInternal;
/**
* A Widget for horizontal and vertical tabs.
* It is possible to add normal buttons to the top/left
* The handling if only one tab at a time or multiple tabs
* should be raisable is left to the "user".
*@author Joseph Wenninger
*/
class KMultiTabBar: public QWidget
{
Q_OBJECT
public:
enum KMultiTabBarMode{Horizontal, Vertical};
enum KMultiTabBarPosition{Left, Right, Top, Bottom};
/**
* The list of available styles for KMultiTabBar
* - VSNET - Visual Studio .Net like (only show the text of active tabs
* - KDEV3 - Kdevelop 3 like (always show the text)
* - KONQSBC - konqy's classic sidebar style (unthemed) (currently disabled)
*/
enum KMultiTabBarStyle{VSNET=0, KDEV3=1, KONQSBC=2, KDEV3ICON=3,STYLELAST=0xffff};
KMultiTabBar(KMultiTabBarMode bm,QWidget *parent=0 );
virtual ~KMultiTabBar();
/**
* append a new button to the button area. The button can later on be accessed with button(ID)
* eg for connecting signals to it
* @param pic a pixmap for the button
* @param id an arbitraty ID value. It will be emitted in the clicked signal for identifying the button
* if more than one button is connected to a signals.
* @param popup A popup menu which should be displayed if the button is clicked
* @param not_used_yet will be used for a popup text in the future
*/
int appendButton(const QPixmap &pic,int id=-1,QMenu* popup=0,const QString& not_used_yet=QString());
/**
* remove a button with the given ID
*/
void removeButton(int id);
/**
* append a new tab to the tab area. It can be accessed lateron with tabb(id);
* @param pic a bitmap for the tab
* @param id an arbitrary ID which can be used later on to identify the tab
* @param text if a mode with text is used it will be the tab text, otherwise a mouse over hint
*/
int appendTab(const QPixmap &pic,int id=-1,const QString& text=QString());
/**
* remove a tab with a given ID
*/
void removeTab(int id);
/**
* set a tab to "raised"
* @param id The ID of the tab to manipulate
* @param state true == activated/raised, false == not active
*/
void setTab(int id ,bool state);
/**
* return the state of a tab, identified by it's ID
*/
bool isTabRaised(int id) const;
/**
* get a pointer to a button within the button area identified by its ID
*/
class KMultiTabBarButton *button(int id) const;
/**
* get a pointer to a tab within the tab area, identiifed by its ID
*/
class KMultiTabBarTab *tab(int id) const;
/**
* set the real position of the widget.
* @param pos if the mode is horizontal, only use top, bottom, if it is vertical use left or right
*/
void setPosition(KMultiTabBarPosition pos);
/**
* get the tabbar position.
* @return position
*/
KMultiTabBarPosition position() const;
/**
* set the display style of the tabs
*/
void setStyle(KMultiTabBarStyle style);
/**
* get the display style of the tabs
* @return display style
*/
KMultiTabBarStyle tabStyle() const;
/**
* be carefull, don't delete tabs yourself and don't delete the list itself
*/
QList<KMultiTabBarTab *>* tabs();
/**
* be carefull, don't delete buttons yourself and don't delete the list itself
*/
QList<KMultiTabBarButton *>* buttons();
/**
* might vanish, not sure yet
*/
void showActiveTabTexts(bool show=true);
protected:
friend class KMultiTabBarButton;
virtual void fontChange( const QFont& );
void updateSeparator();
private:
class KMultiTabBarInternal *m_internal;
QBoxLayout *m_l;
QFrame *m_btnTabSep;
QList<KMultiTabBarButton *> m_buttons;
KMultiTabBarPosition m_position;
KMultiTabBarPrivate *d;
};
/**
* This class should never be created except with the appendButton call of KMultiTabBar
*/
class KMultiTabBarButton: public QPushButton
{
Q_OBJECT
public:
KMultiTabBarButton(const QPixmap& pic,const QString&, QMenu *popup,
int id,QWidget *parent, KMultiTabBar::KMultiTabBarPosition pos, KMultiTabBar::KMultiTabBarStyle style);
KMultiTabBarButton(const QString&, QMenu *popup,
int id,QWidget *parent, KMultiTabBar::KMultiTabBarPosition pos, KMultiTabBar::KMultiTabBarStyle style);
virtual ~KMultiTabBarButton();
int id() const;
public slots:
/**
* this is used internaly, but can be used by the user, if (s)he wants to
* It the according call of KMultiTabBar is invoked though this modifications will be overwritten
*/
void setPosition(KMultiTabBar::KMultiTabBarPosition);
/**
* this is used internaly, but can be used by the user, if (s)he wants to
* It the according call of KMultiTabBar is invoked though this modifications will be overwritten
*/
void setStyle(KMultiTabBar::KMultiTabBarStyle);
/**
* modify the text of the button
*/
void setText(const QString &);
QSize sizeHint() const;
protected:
KMultiTabBar::KMultiTabBarPosition m_position;
KMultiTabBar::KMultiTabBarStyle m_style;
QString m_text;
virtual void hideEvent( class QHideEvent*);
virtual void showEvent( class QShowEvent*);
private:
int m_id;
KMultiTabBarButtonPrivate *d;
signals:
/**
* this is emitted if the button is clicked
* @param id the ID identifying the button
*/
void clicked(int id);
protected slots:
virtual void slotClicked();
};
/**
* This class should never be created except with the appendTab call of KMultiTabBar
*/
class KMultiTabBarTab: public KMultiTabBarButton
{
Q_OBJECT
public:
KMultiTabBarTab(const QPixmap& pic,const QString&,int id,QWidget *parent,
KMultiTabBar::KMultiTabBarPosition pos,KMultiTabBar::KMultiTabBarStyle style);
virtual ~KMultiTabBarTab();
/**
* set the active state of the tab
* @param state true==active false==not active
*/
void setState(bool state);
/**
* choose if the text should always be displayed
* this is only used in classic mode if at all
*/
void showActiveTabText(bool show);
void resize(){ setSize( neededSize() ); }
private:
bool m_showActiveTabText;
int m_expandedSize;
KMultiTabBarTabPrivate *d;
protected:
friend class KMultiTabBarInternal;
void setSize(int);
int neededSize();
void updateState();
virtual void paintEvent(QPaintEvent *);
virtual void drawButton(QPainter *);
virtual void drawButtonLabel(QPainter *);
void drawButtonStyled(QPainter *);
void drawButtonClassic(QPainter *);
protected slots:
virtual void slotClicked();
void setTabsPosition(KMultiTabBar::KMultiTabBarPosition);
public slots:
virtual void setIcon(const QString&);
virtual void setIcon(const QPixmap&);
};
/***************************************************************************
kmultitabbar_p.h - description
-------------------
begin : 2003
copyright : (C) 2003 by Joseph Wenninger <jowenn@kde.org>
***************************************************************************/
/***************************************************************************
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
***************************************************************************/
class KMultiTabBarInternal: public QWidget
{
Q_OBJECT
public:
KMultiTabBarInternal(QWidget *parent,KMultiTabBar::KMultiTabBarMode bm);
int appendTab(const QPixmap &,int=-1,const QString& =QString());
KMultiTabBarTab *tab(int) const;
void removeTab(int);
void setPosition(enum KMultiTabBar::KMultiTabBarPosition pos);
void setStyle(enum KMultiTabBar::KMultiTabBarStyle style);
void showActiveTabTexts(bool show);
QList<KMultiTabBarTab *>* tabs(){return &m_tabs;}
private:
friend class KMultiTabBar;
QWidget *box;
QBoxLayout *mainLayout;
QList<KMultiTabBarTab *> m_tabs;
enum KMultiTabBar::KMultiTabBarPosition m_position;
bool m_showActiveTabTexts;
enum KMultiTabBar::KMultiTabBarStyle m_style;
int m_expandedTabSize;
int m_lines;
KMultiTabBar::KMultiTabBarMode m_barMode;
protected:
virtual bool eventFilter(QObject *,QEvent*);
// virtual void paintEvent( QPaintEvent * );
virtual void resizeEvent(QResizeEvent *);
};
#endif

View File

@@ -28,14 +28,14 @@
#include <QtCore/QTimer>
#include <QtGui/QPixmap>
#include "side_bar_widget.h"
#include "SideBarWidget.h"
#include "Plugin.h"
class trackContainer;
class pluginBrowser : public sideBarWidget
class pluginBrowser : public SideBarWidget
{
Q_OBJECT
public:

View File

@@ -1,97 +0,0 @@
/*
* side_bar.h - code for side-bar in LMMS
*
* Copyright (c) 2004-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program (see COPYING); if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA.
*
*/
#ifndef _SIDE_BAR_H
#define _SIDE_BAR_H
#include <QtCore/QMap>
#include "kmultitabbar.h"
#include "side_bar_widget.h"
class sideBar : public KMultiTabBar
{
Q_OBJECT
public:
sideBar( KMultiTabBarMode _m, QWidget * _parent ) :
KMultiTabBar( _m, _parent )
{
}
virtual ~sideBar()
{
}
inline int appendTab( sideBarWidget * _sbw, int _id )
{
int ret = KMultiTabBar::appendTab( _sbw->icon(), _id,
_sbw->title() );
m_widgets[_id] = _sbw;
_sbw->hide();
_sbw->setMinimumWidth( 200 );
connect( tab( _id ), SIGNAL( clicked( int ) ), this,
SLOT( tabClicked( int ) ) );
return( ret );
}
private slots:
inline void tabClicked( int _id )
{
// disable all other tabbar-buttons
QMap<int, QWidget *>::Iterator it;
for( it = m_widgets.begin(); it != m_widgets.end(); ++it )
{
if( it.key() != _id/* && isTabRaised(it.key()) == true*/ )
{
setTab( it.key(), false );
}
if( m_widgets[it.key()] != NULL )
{
m_widgets[it.key()]->hide();
}
}
if( m_widgets[_id] != NULL )
{
if( isTabRaised( _id ) )
{
m_widgets[_id]->show();
}
else
{
m_widgets[_id]->hide();
}
}
}
private:
QMap<int, QWidget *> m_widgets;
} ;
#endif

View File

@@ -69,6 +69,7 @@ enum parameter_flags
PF_CTL_BUTTON = 0x0600, ///< push button
PF_CTL_METER = 0x0700, ///< volume meter
PF_CTL_LED = 0x0800, ///< light emitting diode
PF_CTL_LABEL = 0x0900, ///< label
PF_CTLOPTIONS = 0x00F000, ///< bit mask for control (widget) options
PF_CTLO_HORIZ = 0x001000, ///< horizontal version of the control (unused)

View File

@@ -63,7 +63,7 @@ struct filterclavier_metadata: public plugin_metadata<filterclavier_metadata>
struct reverb_metadata: public plugin_metadata<reverb_metadata>
{
enum { par_decay, par_hfdamp, par_roomsize, par_diffusion, par_amount, par_dry, par_predelay, par_basscut, par_treblecut, param_count };
enum { par_clip, par_meter_wet, par_meter_out, par_decay, par_hfdamp, par_roomsize, par_diffusion, par_amount, par_dry, par_predelay, par_basscut, par_treblecut, param_count };
enum { in_count = 2, out_count = 2, support_midi = false, require_midi = false, rt_capable = true };
PLUGIN_NAME_ID_LABEL("reverb", "reverb", "Reverb")
};
@@ -78,7 +78,7 @@ struct vintage_delay_metadata: public plugin_metadata<vintage_delay_metadata>
struct rotary_speaker_metadata: public plugin_metadata<rotary_speaker_metadata>
{
public:
enum { par_speed, par_spacing, par_shift, par_moddepth, par_treblespeed, par_bassspeed, par_micdistance, par_reflection, param_count };
enum { par_speed, par_spacing, par_shift, par_moddepth, par_treblespeed, par_bassspeed, par_micdistance, par_reflection, par_meter_l, par_meter_h, param_count };
enum { in_count = 2, out_count = 2, support_midi = true, require_midi = false, rt_capable = true };
PLUGIN_NAME_ID_LABEL("rotary_speaker", "rotaryspeaker", "Rotary Speaker")
};
@@ -126,16 +126,27 @@ struct monosynth_metadata: public plugin_metadata<monosynth_metadata>
};
PLUGIN_NAME_ID_LABEL("monosynth", "monosynth", "Monosynth")
};
/// Thor's compressor - metadata
struct compressor_metadata: public plugin_metadata<compressor_metadata>
{
enum { in_count = 2, out_count = 2, support_midi = false, require_midi = false, rt_capable = true };
enum { param_threshold, param_ratio, param_attack, param_release, param_makeup, param_knee, param_detection, param_stereo_link, param_aweighting, param_compression, param_peak, param_clip, param_bypass, // param_freq, param_bw,
enum { param_threshold, param_ratio, param_attack, param_release, param_makeup, param_knee, param_detection, param_stereo_link, param_aweighting, param_compression, param_peak, param_clip, param_bypass, param_input,// param_freq, param_bw,
param_count };
PLUGIN_NAME_ID_LABEL("compressor", "compressor", "Compressor")
};
/// Markus's sidechain compressor - metadata
struct sidechaincompressor_metadata: public plugin_metadata<sidechaincompressor_metadata>
{
enum { in_count = 2, out_count = 2, support_midi = false, require_midi = false, rt_capable = true };
enum { param_bypass, param_level_in, param_meter_in, param_meter_out, param_clip_in, param_clip_out,
param_threshold, param_ratio, param_attack, param_release, param_makeup, param_knee, param_detection, param_stereo_link, param_compression,
param_sc_mode, param_f1_freq, param_f2_freq, param_f1_level, param_f2_level,
param_sc_listen, param_f1_active, param_f2_active, param_count };
PLUGIN_NAME_ID_LABEL("sidechaincompressor", "sidechaincompressor", "Sidechain Compressor")
};
/// Markus's multibandcompressor - metadata
struct multibandcompressor_metadata: public plugin_metadata<multibandcompressor_metadata>
{
@@ -157,6 +168,71 @@ struct multibandcompressor_metadata: public plugin_metadata<multibandcompressor_
PLUGIN_NAME_ID_LABEL("multiband_compressor", "multibandcompressor", "Multiband Compressor")
};
/// Markus's deesser - metadata
struct deesser_metadata: public plugin_metadata<deesser_metadata>
{
enum { in_count = 2, out_count = 2, support_midi = false, require_midi = false, rt_capable = true };
enum { param_bypass, param_detected, param_compression, param_detected_led, param_clip_out,
param_detection, param_mode,
param_threshold, param_ratio, param_laxity, param_makeup,
param_f1_freq, param_f2_freq, param_f1_level, param_f2_level, param_f2_q,
param_sc_listen, param_count };
PLUGIN_NAME_ID_LABEL("deesser", "deesser", "Deesser")
};
/// Markus's 5-band EQ - metadata
struct equalizer5band_metadata: public plugin_metadata<equalizer5band_metadata>
{
enum { in_count = 2, out_count = 2, support_midi = false, require_midi = false, rt_capable = true };
enum { param_bypass, param_level_in, param_level_out, param_meter_in,
param_meter_out, param_clip_in, param_clip_out,
param_ls_active, param_ls_level, param_ls_freq,
param_hs_active, param_hs_level, param_hs_freq,
param_p1_active, param_p1_level, param_p1_freq, param_p1_q,
param_p2_active, param_p2_level, param_p2_freq, param_p2_q,
param_p3_active, param_p3_level, param_p3_freq, param_p3_q,
param_count };
PLUGIN_NAME_ID_LABEL("equalizer5band", "equalizer5band", "Equalizer 5 Band")
};
/// Markus's 8-band EQ - metadata
struct equalizer8band_metadata: public plugin_metadata<equalizer8band_metadata>
{
enum { in_count = 2, out_count = 2, support_midi = false, require_midi = false, rt_capable = true };
enum { param_bypass, param_level_in, param_level_out, param_meter_inL, param_meter_inR,
param_meter_outL, param_meter_outR, param_clip_inL, param_clip_inR, param_clip_outL, param_clip_outR,
param_hp_active, param_hp_freq, param_hp_mode,
param_lp_active, param_lp_freq, param_lp_mode,
param_ls_active, param_ls_level, param_ls_freq,
param_hs_active, param_hs_level, param_hs_freq,
param_p1_active, param_p1_level, param_p1_freq, param_p1_q,
param_p2_active, param_p2_level, param_p2_freq, param_p2_q,
param_p3_active, param_p3_level, param_p3_freq, param_p3_q,
param_p4_active, param_p4_level, param_p4_freq, param_p4_q,
param_count };
PLUGIN_NAME_ID_LABEL("equalizer8band", "equalizer8band", "Equalizer 8 Band")
};
/// Markus's 12-band EQ - metadata
struct equalizer12band_metadata: public plugin_metadata<equalizer12band_metadata>
{
enum { in_count = 2, out_count = 2, support_midi = false, require_midi = false, rt_capable = true };
enum { param_bypass, param_level_in, param_level_out, param_meter_inL, param_meter_inR,
param_meter_outL, param_meter_outR, param_clip_inL, param_clip_inR, param_clip_outL, param_clip_outR,
param_hp_active, param_hp_freq, param_hp_mode,
param_lp_active, param_lp_freq, param_lp_mode,
param_ls_active, param_ls_level, param_ls_freq,
param_hs_active, param_hs_level, param_hs_freq,
param_p1_active, param_p1_level, param_p1_freq, param_p1_q,
param_p2_active, param_p2_level, param_p2_freq, param_p2_q,
param_p3_active, param_p3_level, param_p3_freq, param_p3_q,
param_p4_active, param_p4_level, param_p4_freq, param_p4_q,
param_p5_active, param_p5_level, param_p5_freq, param_p5_q,
param_p6_active, param_p6_level, param_p6_freq, param_p6_q,
param_p7_active, param_p7_level, param_p7_freq, param_p7_q,
param_p8_active, param_p8_level, param_p8_freq, param_p8_q,
param_count };
PLUGIN_NAME_ID_LABEL("equalizer12band", "equalizer12band", "Equalizer 12 Band")
};
/// Organ - enums for parameter IDs etc. (this mess is caused by organ split between plugin and generic class - which was
/// a bad design decision and should be sorted out some day) XXXKF @todo
struct organ_enums

View File

@@ -10,7 +10,12 @@
PER_MODULE_ITEM(phaser, false, "phaser")
PER_MODULE_ITEM(multichorus, false, "multichorus")
PER_MODULE_ITEM(compressor, false, "compressor")
PER_MODULE_ITEM(sidechaincompressor, false, "sidechaincompressor")
PER_MODULE_ITEM(multibandcompressor, false, "multibandcompressor")
PER_MODULE_ITEM(deesser, false, "deesser")
PER_MODULE_ITEM(equalizer5band, false, "equalizer5band")
PER_MODULE_ITEM(equalizer8band, false, "equalizer8band")
PER_MODULE_ITEM(equalizer12band, false, "equalizer12band")
#ifdef ENABLE_EXPERIMENTAL
PER_MODULE_ITEM(fluidsynth, true, "fluidsynth")
PER_MODULE_ITEM(wavetable, true, "wavetable")

View File

@@ -203,6 +203,8 @@ public:
uint32_t srate;
gain_smoothing amount, dryamount;
int predelay_amt;
float meter_wet, meter_out;
uint32_t clip;
float *ins[in_count];
float *outs[out_count];
float *params[param_count];
@@ -223,7 +225,7 @@ public:
}
uint32_t process(uint32_t offset, uint32_t numsamples, uint32_t inputs_mask, uint32_t outputs_mask) {
numsamples += offset;
clip -= std::min(clip, numsamples);
for (uint32_t i = offset; i < numsamples; i++) {
float dry = dryamount.get();
float wet = amount.get();
@@ -236,12 +238,26 @@ public:
reverb.process(rl, rr);
outs[0][i] = dry*s.left + wet*rl;
outs[1][i] = dry*s.right + wet*rr;
meter_wet = std::max(fabs(wet*rl), fabs(wet*rr));
meter_out = std::max(fabs(outs[0][i]), fabs(outs[1][i]));
if(outs[0][i] > 1.f or outs[1][i] > 1.f) {
clip = srate >> 3;
}
}
reverb.extra_sanitize();
left_lo.sanitize();
left_hi.sanitize();
right_lo.sanitize();
right_hi.sanitize();
if(params[par_meter_wet] != NULL) {
*params[par_meter_wet] = meter_wet;
}
if(params[par_meter_out] != NULL) {
*params[par_meter_out] = meter_out;
}
if(params[par_clip] != NULL) {
*params[par_clip] = clip;
}
return outputs_mask;
}
void activate();
@@ -416,7 +432,9 @@ public:
float maspeed_l;
/// Current rotation speed for treble rotor - manual mode
float maspeed_h;
int meter_l, meter_h;
rotary_speaker_audio_module();
void set_sample_rate(uint32_t sr);
void setup();
@@ -501,7 +519,8 @@ public:
int xl = pseudo_sine_scl(phase_l), yl = pseudo_sine_scl(phase_l + 0x40000000);
int xh = pseudo_sine_scl(phase_h), yh = pseudo_sine_scl(phase_h + 0x40000000);
// printf("%d %d %d\n", shift, pdelta, shift + pdelta + 20 * xl);
meter_l = xl;
meter_h = xh;
// float out_hi_l = in_mono - delay.get_interp_1616(shift + md * xh) + delay.get_interp_1616(shift + md * 65536 + pdelta - md * yh) - delay.get_interp_1616(shift + md * 65536 + pdelta + pdelta - md * xh);
// float out_hi_r = in_mono + delay.get_interp_1616(shift + md * 65536 - md * yh) - delay.get_interp_1616(shift + pdelta + md * xh) + delay.get_interp_1616(shift + pdelta + pdelta + md * yh);
float out_hi_l = in_mono + delay.get_interp_1616(shift + md * xh) - mix2 * delay.get_interp_1616(shift + md * 65536 + pdelta - md * yh) + mix3 * delay.get_interp_1616(shift + md * 65536 + pdelta + pdelta - md * xh);
@@ -541,6 +560,12 @@ public:
if (u1 || u2)
set_vibrato();
}
if(params[par_meter_l] != NULL) {
*params[par_meter_l] = (float)meter_l / 65536.0;
}
if(params[par_meter_h] != NULL) {
*params[par_meter_h] = (float)meter_h / 65536.0;
}
return outputs_mask;
}
virtual void control_change(int ctl, int val);
@@ -901,8 +926,8 @@ class gain_reduction_audio_module {
private:
float linSlope, detected, kneeSqrt, kneeStart, linKneeStart, kneeStop;
float compressedKneeStop, adjKneeStart, thres;
float attack, release, threshold, ratio, knee, makeup, detection, bypass, mute, meter_out, meter_comp;
float old_threshold, old_ratio, old_knee, old_makeup, old_bypass, old_mute, old_detection;
float attack, release, threshold, ratio, knee, makeup, detection, stereo_link, bypass, mute, meter_out, meter_comp;
float old_threshold, old_ratio, old_knee, old_makeup, old_bypass, old_mute, old_detection, old_stereo_link;
int last_generation;
uint32_t srate;
bool is_active;
@@ -910,8 +935,8 @@ private:
inline float output_gain(float linSlope, bool rms);
public:
gain_reduction_audio_module();
void set_params(float att, float rel, float thr, float rat, float kn, float mak, float det, float byp, float mu);
void process(float &left, float &right);
void set_params(float att, float rel, float thr, float rat, float kn, float mak, float det, float stl, float byp, float mu);
void process(float &left, float &right, float det_left = NULL, float det_right = NULL);
void activate();
void deactivate();
int id;
@@ -924,6 +949,81 @@ public:
virtual int get_changed_offsets(int generation, int &subindex_graph, int &subindex_dot, int &subindex_gridline);
};
/// Sidecain Compressor by Markus Schmidt (based on Thor's compressor and Krzysztof's filters)
class sidechaincompressor_audio_module: public audio_module<sidechaincompressor_metadata>, public frequency_response_line_graph {
private:
enum CalfScModes {
WIDEBAND,
DEESSER_WIDE,
DEESSER_SPLIT,
DERUMBLER_WIDE,
DERUMBLER_SPLIT,
WEIGHTED_1,
WEIGHTED_2,
WEIGHTED_3,
BANDPASS_1,
BANDPASS_2
};
float f1_freq_old, f2_freq_old, f1_level_old, f2_level_old;
float f1_freq_old1, f2_freq_old1, f1_level_old1, f2_level_old1;
CalfScModes sc_mode, sc_mode_old, sc_mode_old1;
float f1_active, f2_active;
uint32_t clip_in, clip_out;
float meter_in, meter_out;
gain_reduction_audio_module compressor;
biquad_d2<float> f1L, f1R, f2L, f2R;
public:
typedef std::complex<double> cfloat;
float *ins[in_count];
float *outs[out_count];
float *params[param_count];
uint32_t srate;
bool is_active;
volatile int last_generation, last_calculated_generation;
sidechaincompressor_audio_module();
void activate();
void deactivate();
void params_changed();
inline cfloat h_z(const cfloat &z) {
switch (sc_mode) {
default:
case WIDEBAND:
return false;
break;
case DEESSER_WIDE:
case DERUMBLER_WIDE:
case WEIGHTED_1:
case WEIGHTED_2:
case WEIGHTED_3:
case BANDPASS_2:
return f1L.h_z(z) * f2L.h_z(z);
break;
case DEESSER_SPLIT:
return f2L.h_z(z);
break;
case DERUMBLER_SPLIT:
case BANDPASS_1:
return f1L.h_z(z);
break;
}
}
float freq_gain(int index, double freq, uint32_t sr)
{
typedef std::complex<double> cfloat;
freq *= 2.0 * M_PI / sr;
cfloat z = 1.0 / exp(cfloat(0.0, freq));
return std::abs(h_z(z));
}
void set_sample_rate(uint32_t sr);
uint32_t process(uint32_t offset, uint32_t numsamples, uint32_t inputs_mask, uint32_t outputs_mask);
bool get_graph(int index, int subindex, float *data, int points, cairo_iface *context);
bool get_dot(int index, int subindex, float &x, float &y, int &size, cairo_iface *context);
bool get_gridline(int index, int subindex, float &pos, bool &vertical, std::string &legend, cairo_iface *context);
int get_changed_offsets(int index, int generation, int &subindex_graph, int &subindex_dot, int &subindex_gridline);
};
/// Multibandcompressor by Markus Schmidt
class multibandcompressor_audio_module: public audio_module<multibandcompressor_metadata>, public line_graph_iface {
private:
@@ -952,6 +1052,260 @@ public:
virtual int get_changed_offsets(int index, int generation, int &subindex_graph, int &subindex_dot, int &subindex_gridline);
};
/// Deesser by Markus Schmidt (based on Thor's compressor and Krzysztof's filters)
class deesser_audio_module: public audio_module<deesser_metadata>, public frequency_response_line_graph {
private:
enum CalfDeessModes {
WIDE,
SPLIT
};
float f1_freq_old, f2_freq_old, f1_level_old, f2_level_old, f2_q_old;
float f1_freq_old1, f2_freq_old1, f1_level_old1, f2_level_old1, f2_q_old1;
uint32_t detected_led;
float detected, clip_out;
uint32_t clip_led;
gain_reduction_audio_module compressor;
biquad_d2<float> hpL, hpR, lpL, lpR, pL, pR;
public:
float *ins[in_count];
float *outs[out_count];
float *params[param_count];
uint32_t srate;
bool is_active;
volatile int last_generation, last_calculated_generation;
deesser_audio_module();
void activate();
void deactivate();
void params_changed();
float freq_gain(int index, double freq, uint32_t sr)
{
return hpL.freq_gain(freq, sr) * pL.freq_gain(freq, sr);
}
void set_sample_rate(uint32_t sr);
uint32_t process(uint32_t offset, uint32_t numsamples, uint32_t inputs_mask, uint32_t outputs_mask);
bool get_graph(int index, int subindex, float *data, int points, cairo_iface *context);
bool get_gridline(int index, int subindex, float &pos, bool &vertical, std::string &legend, cairo_iface *context);
int get_changed_offsets(int index, int generation, int &subindex_graph, int &subindex_dot, int &subindex_gridline);
};
/// Equalizer 12 Band by Markus Schmidt (based on Krzysztof's filters)
class equalizer12band_audio_module: public audio_module<equalizer12band_metadata>, public frequency_response_line_graph {
private:
float hp_mode_old, hp_freq_old;
float lp_mode_old, lp_freq_old;
float ls_level_old, ls_freq_old;
float hs_level_old, hs_freq_old;
float p_level_old[8], p_freq_old[8], p_q_old[8];
float hp_mode_old1, hp_freq_old1, hp_active_old1;
float lp_mode_old1, lp_freq_old1, lp_active_old1;
float ls_level_old1, ls_freq_old1, ls_active_old1;
float hs_level_old1, hs_freq_old1, hs_active_old1;
float p_level_old1[8], p_freq_old1[8], p_q_old1[8], p_active_old1[8];
enum CalfEqModes {
MODE12DB,
MODE24DB,
MODE36DB
};
CalfEqModes eq_mode, eq_mode_old1[2];
uint32_t clip_inL, clip_outL, clip_inR, clip_outR;
float meter_inL, meter_outL, meter_inR, meter_outR;
biquad_d2<float> hpL[3], hpR[3], lpL[3], lpR[3];
biquad_d2<float> lsL, lsR, hsL, hsR;
biquad_d2<float> pL[8], pR[8];
public:
typedef std::complex<double> cfloat;
float *ins[in_count];
float *outs[out_count];
float *params[param_count];
uint32_t srate;
bool is_active;
volatile int last_generation, last_calculated_generation;
equalizer12band_audio_module();
void activate();
void deactivate();
void params_changed();
float freq_gain(int index, double freq, uint32_t sr)
{
float ret = 1.f;
if(*params[param_hp_active] > 0.f) {
switch((int)*params[param_hp_mode]) {
case MODE12DB:
ret *= hpL[0].freq_gain(freq, sr);
ret *= hpR[0].freq_gain(freq, sr);
break;
case MODE24DB:
ret *= hpL[0].freq_gain(freq, sr) * hpL[0].freq_gain(freq, sr);
ret *= hpR[0].freq_gain(freq, sr) * hpR[0].freq_gain(freq, sr);
break;
case MODE36DB:
ret *= hpL[0].freq_gain(freq, sr) * hpL[0].freq_gain(freq, sr) * hpL[0].freq_gain(freq, sr);
ret *= hpR[0].freq_gain(freq, sr) * hpR[0].freq_gain(freq, sr) * hpR[0].freq_gain(freq, sr);
break;
}
}
if(*params[param_lp_active] > 0.f) {
switch((int)*params[param_lp_mode]) {
case MODE12DB:
ret *= lpL[0].freq_gain(freq, sr);
ret *= lpR[0].freq_gain(freq, sr);
break;
case MODE24DB:
ret *= lpL[0].freq_gain(freq, sr) * lpL[0].freq_gain(freq, sr);
ret *= lpR[0].freq_gain(freq, sr) * lpR[0].freq_gain(freq, sr);
break;
case MODE36DB:
ret *= lpL[0].freq_gain(freq, sr) * lpL[0].freq_gain(freq, sr) * lpL[0].freq_gain(freq, sr);
ret *= lpR[0].freq_gain(freq, sr) * lpR[0].freq_gain(freq, sr) * lpR[0].freq_gain(freq, sr);
break;
}
}
ret *= (*params[param_ls_active] > 0.f) ? lsL.freq_gain(freq, sr) : 1;
ret *= (*params[param_hs_active] > 0.f) ? hsL.freq_gain(freq, sr) : 1;
ret *= (*params[param_p1_active] > 0.f) ? pL[0].freq_gain(freq, sr) : 1;
ret *= (*params[param_p2_active] > 0.f) ? pL[1].freq_gain(freq, sr) : 1;
ret *= (*params[param_p3_active] > 0.f) ? pL[2].freq_gain(freq, sr) : 1;
ret *= (*params[param_p4_active] > 0.f) ? pL[3].freq_gain(freq, sr) : 1;
ret *= (*params[param_p5_active] > 0.f) ? pL[4].freq_gain(freq, sr) : 1;
ret *= (*params[param_p6_active] > 0.f) ? pL[5].freq_gain(freq, sr) : 1;
ret *= (*params[param_p7_active] > 0.f) ? pL[6].freq_gain(freq, sr) : 1;
ret *= (*params[param_p8_active] > 0.f) ? pL[7].freq_gain(freq, sr) : 1;
return ret;
}
void set_sample_rate(uint32_t sr);
uint32_t process(uint32_t offset, uint32_t numsamples, uint32_t inputs_mask, uint32_t outputs_mask);
bool get_graph(int index, int subindex, float *data, int points, cairo_iface *context);
bool get_gridline(int index, int subindex, float &pos, bool &vertical, std::string &legend, cairo_iface *context);
int get_changed_offsets(int index, int generation, int &subindex_graph, int &subindex_dot, int &subindex_gridline);
};
/// Equalizer 8 Band by Markus Schmidt (based on Krzysztof's filters)
class equalizer8band_audio_module: public audio_module<equalizer8band_metadata>, public frequency_response_line_graph {
private:
float hp_mode_old, hp_freq_old;
float lp_mode_old, lp_freq_old;
float ls_level_old, ls_freq_old;
float hs_level_old, hs_freq_old;
float p_level_old[4], p_freq_old[4], p_q_old[4];
float hp_mode_old1, hp_freq_old1, hp_active_old1;
float lp_mode_old1, lp_freq_old1, lp_active_old1;
float ls_level_old1, ls_freq_old1, ls_active_old1;
float hs_level_old1, hs_freq_old1, hs_active_old1;
float p_level_old1[4], p_freq_old1[4], p_q_old1[4], p_active_old1[4];
enum CalfEqModes {
MODE12DB,
MODE24DB,
MODE36DB
};
CalfEqModes eq_mode, eq_mode_old1[2];
uint32_t clip_inL, clip_outL, clip_inR, clip_outR;
float meter_inL, meter_outL, meter_inR, meter_outR;
biquad_d2<float> hpL[3], hpR[3], lpL[3], lpR[3];
biquad_d2<float> lsL, lsR, hsL, hsR;
biquad_d2<float> pL[4], pR[4];
public:
typedef std::complex<double> cfloat;
float *ins[in_count];
float *outs[out_count];
float *params[param_count];
uint32_t srate;
bool is_active;
volatile int last_generation, last_calculated_generation;
equalizer8band_audio_module();
void activate();
void deactivate();
void params_changed();
float freq_gain(int index, double freq, uint32_t sr)
{
float ret = 1.f;
if(*params[param_hp_active] > 0.f) {
switch((int)*params[param_hp_mode]) {
case MODE12DB:
ret *= hpL[0].freq_gain(freq, sr);
ret *= hpR[0].freq_gain(freq, sr);
break;
case MODE24DB:
ret *= hpL[0].freq_gain(freq, sr) * hpL[0].freq_gain(freq, sr);
ret *= hpR[0].freq_gain(freq, sr) * hpR[0].freq_gain(freq, sr);
break;
case MODE36DB:
ret *= hpL[0].freq_gain(freq, sr) * hpL[0].freq_gain(freq, sr) * hpL[0].freq_gain(freq, sr);
ret *= hpR[0].freq_gain(freq, sr) * hpR[0].freq_gain(freq, sr) * hpR[0].freq_gain(freq, sr);
break;
}
}
if(*params[param_lp_active] > 0.f) {
switch((int)*params[param_lp_mode]) {
case MODE12DB:
ret *= lpL[0].freq_gain(freq, sr);
ret *= lpR[0].freq_gain(freq, sr);
break;
case MODE24DB:
ret *= lpL[0].freq_gain(freq, sr) * lpL[0].freq_gain(freq, sr);
ret *= lpR[0].freq_gain(freq, sr) * lpR[0].freq_gain(freq, sr);
break;
case MODE36DB:
ret *= lpL[0].freq_gain(freq, sr) * lpL[0].freq_gain(freq, sr) * lpL[0].freq_gain(freq, sr);
ret *= lpR[0].freq_gain(freq, sr) * lpR[0].freq_gain(freq, sr) * lpR[0].freq_gain(freq, sr);
break;
}
}
ret *= (*params[param_ls_active] > 0.f) ? lsL.freq_gain(freq, sr) : 1;
ret *= (*params[param_hs_active] > 0.f) ? hsL.freq_gain(freq, sr) : 1;
ret *= (*params[param_p1_active] > 0.f) ? pL[0].freq_gain(freq, sr) : 1;
ret *= (*params[param_p2_active] > 0.f) ? pL[1].freq_gain(freq, sr) : 1;
ret *= (*params[param_p3_active] > 0.f) ? pL[2].freq_gain(freq, sr) : 1;
ret *= (*params[param_p4_active] > 0.f) ? pL[3].freq_gain(freq, sr) : 1;
return ret;
}
void set_sample_rate(uint32_t sr);
uint32_t process(uint32_t offset, uint32_t numsamples, uint32_t inputs_mask, uint32_t outputs_mask);
bool get_graph(int index, int subindex, float *data, int points, cairo_iface *context);
bool get_gridline(int index, int subindex, float &pos, bool &vertical, std::string &legend, cairo_iface *context);
int get_changed_offsets(int index, int generation, int &subindex_graph, int &subindex_dot, int &subindex_gridline);
};
/// Equalizer 5 Band by Markus Schmidt (based on Krzysztof's filters)
class equalizer5band_audio_module: public audio_module<equalizer5band_metadata>, public frequency_response_line_graph {
private:
float ls_level_old, ls_freq_old;
float hs_level_old, hs_freq_old;
float p_level_old[3], p_freq_old[3], p_q_old[3];
float ls_level_old1, ls_freq_old1, ls_active_old1;
float hs_level_old1, hs_freq_old1, hs_active_old1;
float p_level_old1[3], p_freq_old1[3], p_q_old1[3], p_active_old1[3];
uint32_t clip_in, clip_out;
float meter_in, meter_out;
biquad_d2<float> lsL, lsR, hsL, hsR;
biquad_d2<float> pL[3], pR[3];
public:
typedef std::complex<double> cfloat;
float *ins[in_count];
float *outs[out_count];
float *params[param_count];
uint32_t srate;
bool is_active;
volatile int last_generation, last_calculated_generation;
equalizer5band_audio_module();
void activate();
void deactivate();
void params_changed();
float freq_gain(int index, double freq, uint32_t sr)
{
float ret = 1.f;
ret *= (*params[param_ls_active] > 0.f) ? lsL.freq_gain(freq, sr) : 1;
ret *= (*params[param_hs_active] > 0.f) ? hsL.freq_gain(freq, sr) : 1;
ret *= (*params[param_p1_active] > 0.f) ? pL[0].freq_gain(freq, sr) : 1;
ret *= (*params[param_p2_active] > 0.f) ? pL[1].freq_gain(freq, sr) : 1;
ret *= (*params[param_p3_active] > 0.f) ? pL[2].freq_gain(freq, sr) : 1;
return ret;
}
void set_sample_rate(uint32_t sr);
uint32_t process(uint32_t offset, uint32_t numsamples, uint32_t inputs_mask, uint32_t outputs_mask);
bool get_graph(int index, int subindex, float *data, int points, cairo_iface *context);
bool get_gridline(int index, int subindex, float &pos, bool &vertical, std::string &legend, cairo_iface *context);
int get_changed_offsets(int index, int generation, int &subindex_graph, int &subindex_dot, int &subindex_gridline);
};
/// Filterclavier --- MIDI controlled filter by Hans Baier
class filterclavier_audio_module:
public audio_module<filterclavier_metadata>,

View File

@@ -0,0 +1,37 @@
/* Calf DSP Library
* Placeholder for waveshaping classes
*
* Copyright (C) 2001-2009 Krzysztof Foltman
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General
* Public License along with this program; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02111-1307, USA.
*/
#ifndef __CALF_WAVESHAPING_H
#define __CALF_WAVESHAPING_H
/// This will be a waveshaper... when I'll code it (-:
/// (or get Tom Szlagyi's permission to use his own)
class waveshaper {
public:
waveshaper();
void activate() {}
void deactivate() {}
void set_params(float blend, float drive) {}
void set_sample_rate(uint32_t sr) {}
float process(float in) { return in; }
float get_distortion_level() { return 1; }
};
#endif

View File

@@ -37,9 +37,9 @@ const char *calf_plugins::calf_copyright_info = "(C) 2001-2008 Krzysztof Foltman
CALF_PORT_NAMES(flanger) = {"In L", "In R", "Out L", "Out R"};
CALF_PORT_PROPS(flanger) = {
{ 0.1, 0.1, 10, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC | PF_PROP_GRAPH, NULL, "min_delay", "Minimum delay" },
{ 0.5, 0.1, 10, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC, NULL, "mod_depth", "Modulation depth" },
{ 0.25, 0.01, 20, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "mod_rate", "Modulation rate" },
{ 0.1, 0.1, 10, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC | PF_PROP_GRAPH, NULL, "min_delay", "Min delay" },
{ 0.5, 0.1, 10, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC, NULL, "mod_depth", "Mod depth" },
{ 0.25, 0.01, 20, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "mod_rate", "Mod rate" },
{ 0.90, -0.99, 0.99, 0, PF_FLOAT | PF_SCALE_PERC | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "feedback", "Feedback" },
{ 0, 0, 360, 9, PF_FLOAT | PF_SCALE_LINEAR | PF_CTL_KNOB | PF_UNIT_DEG, NULL, "stereo", "Stereo phase" },
{ 0, 0, 1, 2, PF_BOOL | PF_CTL_BUTTON , NULL, "reset", "Reset" },
@@ -55,8 +55,8 @@ CALF_PORT_NAMES(phaser) = {"In L", "In R", "Out L", "Out R"};
CALF_PORT_PROPS(phaser) = {
{ 1000, 20, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ | PF_PROP_GRAPH, NULL, "base_freq", "Center Freq" },
{ 4000, 0, 10800, 0, PF_FLOAT | PF_SCALE_LINEAR | PF_CTL_KNOB | PF_UNIT_CENTS, NULL, "mod_depth", "Modulation depth" },
{ 0.25, 0.01, 20, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "mod_rate", "Modulation rate" },
{ 4000, 0, 10800, 0, PF_FLOAT | PF_SCALE_LINEAR | PF_CTL_KNOB | PF_UNIT_CENTS, NULL, "mod_depth", "Mod depth" },
{ 0.25, 0.01, 20, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "mod_rate", "Mod rate" },
{ 0.25, -0.99, 0.99, 0, PF_FLOAT | PF_SCALE_PERC | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "feedback", "Feedback" },
{ 6, 1, 12, 12, PF_INT | PF_SCALE_LINEAR | PF_CTL_KNOB, NULL, "stages", "# Stages" },
{ 180, 0, 360, 9, PF_FLOAT | PF_SCALE_LINEAR | PF_CTL_KNOB | PF_UNIT_DEG, NULL, "stereo", "Stereo phase" },
@@ -74,6 +74,9 @@ CALF_PORT_NAMES(reverb) = {"In L", "In R", "Out L", "Out R"};
const char *reverb_room_sizes[] = { "Small", "Medium", "Large", "Tunnel-like", "Large/smooth", "Experimental" };
CALF_PORT_PROPS(reverb) = {
{ 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip", "0dB" },
{ 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "meter_wet", "Wet amount" },
{ 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "meter_out", "Output" },
{ 1.5, 0.4, 15.0, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_SEC, NULL, "decay_time", "Decay time" },
{ 5000, 2000,20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "hf_damp", "High Frq Damp" },
{ 2, 0, 5, 0, PF_ENUM | PF_CTL_COMBO , reverb_room_sizes, "room_size", "Room size", },
@@ -151,7 +154,7 @@ const char *vintage_delay_fbmodes[] = {
};
CALF_PORT_PROPS(vintage_delay) = {
{ 120, 30, 300,2701, PF_FLOAT | PF_SCALE_LINEAR | PF_CTL_KNOB | PF_UNIT_BPM, NULL, "bpm", "Tempo" },
{ 120, 30, 300, 1, PF_FLOAT | PF_SCALE_LINEAR | PF_CTL_KNOB | PF_UNIT_BPM, NULL, "bpm", "Tempo" },
{ 4, 1, 16, 1, PF_INT | PF_SCALE_LINEAR | PF_CTL_FADER, NULL, "subdiv", "Subdivide"},
{ 3, 1, 16, 1, PF_INT | PF_SCALE_LINEAR | PF_CTL_FADER, NULL, "time_l", "Time L"},
{ 5, 1, 16, 1, PF_INT | PF_SCALE_LINEAR | PF_CTL_FADER, NULL, "time_r", "Time R"},
@@ -171,14 +174,16 @@ CALF_PORT_NAMES(rotary_speaker) = {"In L", "In R", "Out L", "Out R"};
const char *rotary_speaker_speed_names[] = { "Off", "Chorale", "Tremolo", "HoldPedal", "ModWheel", "Manual" };
CALF_PORT_PROPS(rotary_speaker) = {
{ 2, 0, 5, 1.01, PF_ENUM | PF_CTL_COMBO, rotary_speaker_speed_names, "vib_speed", "Speed Mode" },
{ 5, 0, 5, 1.01, PF_ENUM | PF_CTL_COMBO, rotary_speaker_speed_names, "vib_speed", "Speed Mode" },
{ 0.5, 0, 1, 0, PF_FLOAT | PF_CTL_KNOB | PF_SCALE_PERC, NULL, "spacing", "Tap Spacing" },
{ 0.5, 0, 1, 0, PF_FLOAT | PF_CTL_KNOB | PF_SCALE_PERC, NULL, "shift", "Tap Offset" },
{ 0.10, 0, 1, 0, PF_FLOAT | PF_CTL_KNOB | PF_SCALE_PERC, NULL, "mod_depth", "Mod Depth" },
{ 390, 10, 600, 0, PF_FLOAT | PF_CTL_KNOB | PF_SCALE_LOG | PF_UNIT_RPM, NULL, "treble_speed", "Treble Motor" },
{ 410, 10, 600, 0, PF_FLOAT | PF_CTL_KNOB | PF_SCALE_LOG | PF_UNIT_RPM, NULL, "bass_speed", "Bass Motor" },
{ 36, 10, 600, 0, PF_FLOAT | PF_CTL_KNOB | PF_SCALE_LOG | PF_UNIT_RPM, NULL, "treble_speed", "Treble Motor" },
{ 30, 10, 600, 0, PF_FLOAT | PF_CTL_KNOB | PF_SCALE_LOG | PF_UNIT_RPM, NULL, "bass_speed", "Bass Motor" },
{ 0.7, 0, 1, 101, PF_FLOAT | PF_CTL_KNOB | PF_SCALE_PERC, NULL, "mic_distance", "Mic Distance" },
{ 0.3, 0, 1, 101, PF_FLOAT | PF_CTL_KNOB | PF_SCALE_PERC, NULL, "reflection", "Reflection" },
{ 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "meter_l", "Low rotor" },
{ 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "meter_h", "High rotor" },
};
CALF_PLUGIN_INFO(rotary_speaker) = { 0x8483, "RotarySpeaker", "Calf Rotary Speaker", "Krzysztof Foltman", calf_plugins::calf_copyright_info, "SimulationPlugin" };
@@ -188,8 +193,8 @@ CALF_PLUGIN_INFO(rotary_speaker) = { 0x8483, "RotarySpeaker", "Calf Rotary Speak
CALF_PORT_NAMES(multichorus) = {"In L", "In R", "Out L", "Out R"};
CALF_PORT_PROPS(multichorus) = {
{ 5, 0.1, 10, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC | PF_PROP_GRAPH, NULL, "min_delay", "Minimum delay" },
{ 6, 0.1, 10, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC| PF_PROP_GRAPH, NULL, "mod_depth", "Modulation depth" },
{ 5, 0.1, 10, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC | PF_PROP_GRAPH, NULL, "min_delay", "Min delay" },
{ 6, 0.1, 10, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC| PF_PROP_GRAPH, NULL, "mod_depth", "Mod depth" },
{ 0.5, 0.01, 20, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ| PF_PROP_GRAPH, NULL, "mod_rate", "Modulation rate" },
{ 180, 0, 360, 91, PF_FLOAT | PF_SCALE_LINEAR | PF_CTL_KNOB | PF_UNIT_DEG, NULL, "stereo", "Stereo phase" },
{ 4, 1, 8, 8, PF_INT | PF_SCALE_LINEAR | PF_CTL_FADER, NULL, "voices", "Voices"},
@@ -224,8 +229,9 @@ CALF_PORT_PROPS(compressor) = {
{ 0, 0, 4, 0, PF_ENUM | PF_CTL_COMBO, compressor_weighting_names, "aweighting", "Weighting" },
{ 0, 0.03125, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_CTLO_REVERSE | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL| PF_PROP_GRAPH, NULL, "compression", "Compression" },
{ 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "peak", "Peak Output" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip", "0dB" },
{ 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip", "0dB" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "bypass", "Bypass" },
{ 1, 0, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_COEF | PF_PROP_NOBOUNDS, NULL, "input", "Input" },
// { 2000, 10,20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ | PF_PROP_GRAPH, NULL, "deess_freq", "Frequency" },
// { 0.707, 0.707, 32, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "deess_res", "Q" },
};
@@ -234,6 +240,53 @@ CALF_PLUGIN_INFO(compressor) = { 0x8502, "Compressor", "Calf Compressor", "Thor
////////////////////////////////////////////////////////////////////////////
CALF_PORT_NAMES(sidechaincompressor) = {"In L", "In R", "Out L", "Out R"};
const char *sidechaincompressor_detection_names[] = { "RMS", "Peak" };
const char *sidechaincompressor_stereo_link_names[] = { "Average", "Maximum" };
const char *sidechaincompressor_mode_names[] = {"Wideband (F1:off / F2:off)",
"Deesser wide (F1:Bell / F2:HP)",
"Deesser split (F1:off / F2:HP)",
"Derumbler wide (F1:LP / F2:Bell)",
"Derumbler split (F1:LP / F2:off)",
"Weighted #1 (F1:Shelf / F2:Shelf)",
"Weighted #2 (F1:Shelf / F2:Bell)",
"Weighted #3 (F1:Bell / F2:Shelf)",
"Bandpass #1 (F1:BP / F2:off)",
"Bandpass #2 (F1:HP / F2:LP)"};
const char *sidechaincompressor_filter_choices[] = { "12dB", "24dB", "36dB"};
CALF_PORT_PROPS(sidechaincompressor) = {
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "bypass", "Bypass" },
{ 1, 0, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_COEF | PF_PROP_NOBOUNDS, NULL, "level_in", "Input" },
{ 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "meter_in", "Input" },
{ 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "meter_out", "Output" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_in", "0dB" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_out", "0dB" },
{ 0.125, 0.000976563, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "threshold", "Threshold" },
{ 2, 1, 20, 21, PF_FLOAT | PF_SCALE_LOG_INF | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "ratio", "Ratio" },
{ 20, 0.01, 2000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC, NULL, "attack", "Attack" },
{ 250, 0.01, 2000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC, NULL, "release", "Release" },
{ 2, 1, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "makeup", "Makeup Gain" },
{ 2.828427125, 1, 8, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "knee", "Knee" },
{ 0, 0, 1, 0, PF_ENUM | PF_CTL_COMBO, sidechaincompressor_detection_names, "detection", "Detection" },
{ 0, 0, 1, 0, PF_ENUM | PF_CTL_COMBO, sidechaincompressor_stereo_link_names, "stereo_link", "Stereo Link" },
{ 0, 0.03125, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_CTLO_REVERSE | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL| PF_PROP_GRAPH, NULL, "compression", "Gain Reduction" },
{ 0, 0, 9, 0, PF_ENUM | PF_CTL_COMBO, sidechaincompressor_mode_names, "sc_mode", "Sidechain Mode" },
{ 250, 10,18000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ | PF_PROP_GRAPH, NULL, "f1_freq", "Freq" },
{ 4500, 10,18000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "f2_freq", "Freq" },
{ 1, 0.0625, 16, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "f1_level", "Level" },
{ 1, 0.0625, 16, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "f2_level", "Level" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "sc_listen", "S/C-Listen" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "f1_active", "active" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "f2_active", "active" },
};
CALF_PLUGIN_INFO(sidechaincompressor) = { 0x8502, "Sidechaincompressor", "Calf Sidechain Compressor", "Markus Schmidt / Thor Harald Johansen", calf_plugins::calf_copyright_info, "CompressorPlugin" };
////////////////////////////////////////////////////////////////////////////
CALF_PORT_NAMES(multibandcompressor) = {"In L", "In R", "Out L", "Out R"};
const char *multibandcompressor_detection_names[] = { "RMS", "Peak" };
@@ -246,10 +299,10 @@ CALF_PORT_PROPS(multibandcompressor) = {
{ 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "meter_inR", "Input R" },
{ 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "meter_outL", "Output L" },
{ 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "meter_outR", "Output R" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_inL", "0dB" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_inR", "0dB" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_outL", "0dB" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_outR", "0dB" },
{ 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_inL", "0dB" },
{ 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_inR", "0dB" },
{ 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_outL", "0dB" },
{ 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_outR", "0dB" },
{ 100, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ | PF_PROP_GRAPH, NULL, "freq0", "Split 1/2" },
{ 1000, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ | PF_PROP_GRAPH, NULL, "freq1", "Split 2/3" },
@@ -320,6 +373,197 @@ CALF_PLUGIN_INFO(multibandcompressor) = { 0x8502, "Multibandcompressor", "Calf M
////////////////////////////////////////////////////////////////////////////
CALF_PORT_NAMES(deesser) = {"In L", "In R", "Out L", "Out R"};
const char *deesser_detection_names[] = { "RMS", "Peak" };
const char *deesser_mode_names[] = { "Wide", "Split" };
CALF_PORT_PROPS(deesser) = {
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "bypass", "Bypass" },
{ 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "detected", "Detected" },
{ 0, 0.03125, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_CTLO_REVERSE | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL| PF_PROP_GRAPH, NULL, "compression", "Gain Reduction" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "detected_led", "Active" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_out", "Out" },
{ 0, 0, 1, 0, PF_ENUM | PF_CTL_COMBO, deesser_detection_names, "detection", "Detection" },
{ 0, 0, 1, 0, PF_ENUM | PF_CTL_COMBO, deesser_mode_names, "mode", "Mode" },
{ 0.125, 0.000976563, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "threshold", "Threshold" },
{ 3, 1, 20, 21, PF_FLOAT | PF_SCALE_LOG_INF | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "ratio", "Ratio" },
{ 15, 1, 100, 1, PF_INT | PF_SCALE_LINEAR | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "laxity", "Laxity" },
{ 1, 1, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "makeup", "Makeup" },
{ 6000, 10, 18000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ | PF_PROP_GRAPH, NULL, "f1_freq", "Split" },
{ 4500, 10, 18000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "f2_freq", "Peak" },
{ 1, 0.0625, 16, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "f1_level", "Gain" },
{ 4, 0.0625, 16, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "f2_level", "Level" },
{ 1, 0.1, 100,1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "f2_q", "Peak Q" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "sc_listen", "S/C-Listen" },
};
CALF_PLUGIN_INFO(deesser) = { 0x8502, "Deesser", "Calf Deesser", "Markus Schmidt / Thor Harald Johansen", calf_plugins::calf_copyright_info, "CompressorPlugin" };
////////////////////////////////////////////////////////////////////////////
CALF_PORT_NAMES(equalizer5band) = {"In L", "In R", "Out L", "Out R"};
CALF_PORT_PROPS(equalizer5band) = {
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "bypass", "Bypass" },
{ 1, 0, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_COEF | PF_PROP_NOBOUNDS, NULL, "level_in", "Input" },
{ 1, 0, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_COEF | PF_PROP_NOBOUNDS, NULL, "level_out", "Output" },
{ 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "meter_in", "Input" },
{ 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "meter_out", "Output" },
{ 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_in", "0dB" },
{ 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_out", "0dB" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "ls_active", "active" },
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "ls_level", "Level" },
{ 200, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "ls_freq", "Freq" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "hs_active", "active" },
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "hs_level", "Level" },
{ 4000, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "hs_freq", "Freq" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "p1_active", "active" },
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "p1_level", "Level 1" },
{ 250, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ | PF_PROP_GRAPH, NULL, "p1_freq", "Freq 1" },
{ 1, 0.1, 100, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "p1_q", "Q 1" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "p2_active", "active" },
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "p2_level", "Level 2" },
{ 1000, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "p2_freq", "Freq 2" },
{ 1, 0.1, 100, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "p2_q", "Q 2" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "p3_active", "active" },
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "p3_level", "Level 3" },
{ 2500, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "p3_freq", "Freq 3" },
{ 1, 0.1, 100, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "p3_q", "Q 3" },
};
CALF_PLUGIN_INFO(equalizer5band) = { 0x8501, "Equalizer5Band", "Calf Equalizer 5 Band", "Markus Schmidt", calf_plugins::calf_copyright_info, "EqualizerPlugin" };
//////////////////////////////////////////////////////////////////////////////
CALF_PORT_NAMES(equalizer8band) = {"In L", "In R", "Out L", "Out R"};
const char *rolloff_mode_names[] = {"12dB", "24dB", "36dB"};
CALF_PORT_PROPS(equalizer8band) = {
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "bypass", "Bypass" },
{ 1, 0, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_COEF | PF_PROP_NOBOUNDS, NULL, "level_in", "Input" },
{ 1, 0, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_COEF | PF_PROP_NOBOUNDS, NULL, "level_out", "Output" },
{ 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "meter_inL", "L" },
{ 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "meter_inR", "R" },
{ 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "meter_outL", "L" },
{ 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "meter_outR", "R" },
{ 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_inL", "0dB" },
{ 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_inR", "0dB" },
{ 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_outL", "0dB" },
{ 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_outR", "0dB" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "hp_active", "active" },
{ 30, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "hp_freq", "Freq" },
{ 1, 0, 2, 0, PF_ENUM | PF_CTL_COMBO, rolloff_mode_names, "hp_mode", "Mode" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "lp_active", "active" },
{ 18000, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "lp_freq", "Freq" },
{ 1, 0, 2, 0, PF_ENUM | PF_CTL_COMBO, rolloff_mode_names, "lp_mode", "Mode" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "ls_active", "active" },
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "ls_level", "Level" },
{ 200, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "ls_freq", "Freq" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "hs_active", "active" },
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "hs_level", "Level" },
{ 4000, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "hs_freq", "Freq" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "p1_active", "active" },
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "p1_level", "Level 1" },
{ 250, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ | PF_PROP_GRAPH, NULL, "p1_freq", "Freq 1" },
{ 1, 0.1, 100, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "p1_q", "Q 1" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "p2_active", "active" },
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "p2_level", "Level 2" },
{ 1000, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "p2_freq", "Freq 2" },
{ 1, 0.1, 100, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "p2_q", "Q 2" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "p3_active", "active" },
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "p3_level", "Level 3" },
{ 2500, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "p3_freq", "Freq 3" },
{ 1, 0.1, 100, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "p3_q", "Q 3" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "p4_active", "active" },
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "p4_level", "Level 4" },
{ 5000, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "p4_freq", "Freq 4" },
{ 1, 0.1, 100, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "p4_q", "Q 4" },
};
CALF_PLUGIN_INFO(equalizer8band) = { 0x8501, "Equalizer8Band", "Calf Equalizer 8 Band", "Markus Schmidt", calf_plugins::calf_copyright_info, "EqualizerPlugin" };
////////////////////////////////////////////////////////////////////////////
CALF_PORT_NAMES(equalizer12band) = {"In L", "In R", "Out L", "Out R"};
CALF_PORT_PROPS(equalizer12band) = {
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "bypass", "Bypass" },
{ 1, 0, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_COEF | PF_PROP_NOBOUNDS, NULL, "level_in", "Input" },
{ 1, 0, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_COEF | PF_PROP_NOBOUNDS, NULL, "level_out", "Output" },
{ 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "meter_inL", "L" },
{ 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "meter_inR", "R" },
{ 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "meter_outL", "L" },
{ 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "meter_outR", "R" },
{ 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_inL", "0dB" },
{ 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_inR", "0dB" },
{ 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_outL", "0dB" },
{ 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_outR", "0dB" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "hp_active", "active" },
{ 30, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "hp_freq", "Freq" },
{ 1, 0, 2, 0, PF_ENUM | PF_CTL_COMBO, rolloff_mode_names, "hp_mode", "Mode" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "lp_active", "active" },
{ 18000, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "lp_freq", "Freq" },
{ 1, 0, 2, 0, PF_ENUM | PF_CTL_COMBO, rolloff_mode_names, "lp_mode", "Mode" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "ls_active", "active" },
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "ls_level", "Level" },
{ 200, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "ls_freq", "Freq" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "hs_active", "active" },
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "hs_level", "Level" },
{ 4000, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "hs_freq", "Freq" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "p1_active", "active" },
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "p1_level", "Level 1" },
{ 60, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ | PF_PROP_GRAPH, NULL, "p1_freq", "Freq 1" },
{ 1, 0.1, 100, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "p1_q", "Q 1" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "p2_active", "active" },
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "p2_level", "Level 2" },
{ 120, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "p2_freq", "Freq 2" },
{ 1, 0.1, 100, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "p2_q", "Q 2" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "p3_active", "active" },
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "p3_level", "Level 3" },
{ 250, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "p3_freq", "Freq 3" },
{ 1, 0.1, 100, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "p3_q", "Q 3" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "p4_active", "active" },
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "p4_level", "Level 4" },
{ 500, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "p4_freq", "Freq 4" },
{ 1, 0.1, 100, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "p4_q", "Q 4" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "p5_active", "active" },
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "p5_level", "Level 5" },
{ 1000, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "p5_freq", "Freq 5" },
{ 1, 0.1, 100, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "p5_q", "Q 5" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "p6_active", "active" },
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "p6_level", "Level 6" },
{ 2500, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "p6_freq", "Freq 6" },
{ 1, 0.1, 100, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "p6_q", "Q 6" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "p7_active", "active" },
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "p7_level", "Level 7" },
{ 4000, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "p7_freq", "Freq 7" },
{ 1, 0.1, 100, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "p7_q", "Q 7" },
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "p8_active", "active" },
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "p8_level", "Level 8" },
{ 6000, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "p8_freq", "Freq 8" },
{ 1, 0.1, 100, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "p8_q", "Q 8" },
};
CALF_PLUGIN_INFO(equalizer12band) = { 0x8501, "Equalizer12Band", "Calf Equalizer 12 Band", "Markus Schmidt", calf_plugins::calf_copyright_info, "EqualizerPlugin" };
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
CALF_PORT_NAMES(monosynth) = {
@@ -363,11 +607,11 @@ CALF_PORT_PROPS(monosynth) = {
{ 1, 0, 1, 0, PF_FLOAT | PF_SCALE_PERC | PF_CTL_KNOB, NULL, "env2res", "Env->Res" },
{ 1, 0, 1, 0, PF_FLOAT | PF_SCALE_PERC | PF_CTL_KNOB, NULL, "env2amp", "Env->Amp" },
{ 1, 1,20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC, NULL, "adsr_a", "Attack" },
{ 350, 10,20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC, NULL, "adsr_d", "Decay" },
{ 1, 1,20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_FADER | PF_UNIT_MSEC, NULL, "adsr_a", "Attack" },
{ 350, 10,20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_FADER | PF_UNIT_MSEC, NULL, "adsr_d", "Decay" },
{ 0.5, 0, 1, 0, PF_FLOAT | PF_SCALE_PERC, NULL, "adsr_s", "Sustain" },
{ 0, -10000,10000, 21, PF_FLOAT | PF_SCALE_LINEAR | PF_CTL_KNOB | PF_UNIT_MSEC, NULL, "adsr_f", "Fade" },
{ 50, 10,20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC, NULL, "adsr_r", "Release" },
{ 0, -10000,10000, 21, PF_FLOAT | PF_SCALE_LINEAR | PF_CTL_FADER | PF_UNIT_MSEC, NULL, "adsr_f", "Fade" },
{ 50, 10,20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_FADER | PF_UNIT_MSEC, NULL, "adsr_r", "Release" },
{ 0, 0, 2, 0, PF_FLOAT | PF_SCALE_PERC, NULL, "key_follow", "Key Follow" },
{ 0, 0, 3, 0, PF_ENUM | PF_CTL_COMBO, monosynth_legato_names, "legato", "Legato Mode" },
@@ -608,8 +852,8 @@ CALF_PORT_PROPS(fluidsynth) = {
{ 0.5, 0, 1, 100, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_PROP_OUTPUT_GAIN, NULL, "master", "Volume" },
{ 0, 0, 0, 0, PF_STRING | PF_PROP_MSGCONTEXT, &fluidsynth_init_soundfont, "soundfont", "Soundfont" },
{ 2, 0, 3, 0, PF_ENUM | PF_CTL_COMBO, fluidsynth_interpolation_names, "interpolation", "Interpolation" },
{ 1, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "reverb", "Enable Reverb" },
{ 1, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "chorus", "Enable Chorus" },
{ 1, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "reverb", "Reverb" },
{ 1, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "chorus", "Chorus" },
};
////////////////////////////////////////////////////////////////////////////

File diff suppressed because it is too large Load Diff

View File

@@ -22,7 +22,7 @@
*
*/
#include <QtCore/QDebug>
#include <QtCore/QDir>
#include "LocalResourceProvider.h"
@@ -45,6 +45,8 @@ LocalResourceProvider::LocalResourceProvider(
connect( database(), SIGNAL( directoryItemRemoved( const QString & ) ),
this, SLOT( removeDirectory( const QString & ) ) );
m_watcher.addPath( ResourceItem::getBaseDirectory( m_baseDir ) + m_dir );
database()->init();
}
@@ -120,23 +122,30 @@ void LocalResourceProvider::reloadDirectory( const QString & _path )
p += QDir::separator();
}
foreach( ResourceItem * it, database()->items() )
if( p == ResourceItem::getBaseDirectory( m_baseDir ) + m_dir )
{
if( it->type() == ResourceItem::TypeDirectory &&
it->fullName() == p )
{
dirRelation = it->relation();
}
updateDatabase();
}
if( dirRelation )
else
{
ResourceItem * dirItem = dirRelation->item();
if( dirItem )
foreach( ResourceItem * it, database()->items() )
{
m_scannedFolders.clear();
readDir( dirItem->fullRelativeName(),
dirRelation->parent() );
if( it->type() == ResourceItem::TypeDirectory &&
it->fullName() == p )
{
dirRelation = it->relation();
}
}
if( dirRelation )
{
ResourceItem * dirItem = dirRelation->item();
if( dirItem )
{
m_scannedFolders.clear();
readDir( dirItem->fullRelativeName(),
dirRelation->parent() );
}
}
}
@@ -165,7 +174,7 @@ void LocalResourceProvider::readDir( const QString & _dir,
ResourceItem::Relation * curParent = _parent->findChild( d.dirName() +
QDir::separator(),
m_baseDir );
printf("read dir: %s\n", d.canonicalPath().toUtf8().constData() );
qDebug() << "read dir" << d.canonicalPath();
if( curParent )
{
parentItem = curParent->item();
@@ -202,6 +211,7 @@ printf("read dir: %s\n", d.canonicalPath().toUtf8().constData() );
{
if( f.isSymLink() )
{
qDebug() << "following symlink" << f.canonicalFilePath() << "to" << f.symLinkTarget();
f = QFileInfo( f.symLinkTarget() );
}

View File

@@ -230,7 +230,7 @@ void AudioPulseAudio::streamWriteCallback(pa_stream *s, size_t length)
{
const fpp_t fpp = getMixer()->framesPerPeriod();
sampleFrameA * temp = CPU::allocFrames( fpp );
Sint16 * pcmbuf = (Sint16*)pa_xmalloc( fpp * channels() *
Sint16 * pcmbuf = (Sint16*)CPU::memAlloc( fpp * channels() *
sizeof(Sint16) );
size_t fd = 0;
@@ -254,7 +254,7 @@ void AudioPulseAudio::streamWriteCallback(pa_stream *s, size_t length)
fd += frames;
}
pa_xfree( pcmbuf );
CPU::memFree( pcmbuf );
CPU::freeFrames( temp );
}

View File

@@ -458,6 +458,9 @@ int main( int argc, char * * argv )
engine::mainWindow()->showMaximized();
}
engine::getSong()->loadProject( file_to_load );
// don't show welcome screen
engine::mainWindow()->showWelcomeScreen( false );
}
else if( !file_to_import.isEmpty() )
{
@@ -472,6 +475,9 @@ int main( int argc, char * * argv )
{
engine::mainWindow()->showMaximized();
}
// don't show welcome screen
engine::mainWindow()->showWelcomeScreen( false );
}
else
{
@@ -484,6 +490,9 @@ int main( int argc, char * * argv )
{
engine::mainWindow()->showMaximized();
}
// show welcome screen
engine::mainWindow()->showWelcomeScreen();
}
}
else
@@ -519,9 +528,7 @@ int main( int argc, char * * argv )
}
}
const int ret = app->exec();
delete app;
return( ret );
return app->exec();
}

View File

@@ -0,0 +1,776 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PreferencesDialog</class>
<widget class="QDialog" name="PreferencesDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>577</width>
<height>478</height>
</rect>
</property>
<property name="windowTitle">
<string>Preferences</string>
</property>
<property name="styleSheet">
<string/>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0" rowspan="3">
<widget class="QListWidget" name="configPageSelector">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>101</width>
<height>470</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>101</width>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">::item { width:87; }
</string>
</property>
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="iconSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
<property name="spacing">
<number>4</number>
</property>
<property name="viewMode">
<enum>QListView::IconMode</enum>
</property>
<property name="currentRow">
<number>-1</number>
</property>
<item>
<property name="text">
<string>General</string>
</property>
<property name="flags">
<set>ItemIsSelectable|ItemIsUserCheckable|ItemIsEnabled</set>
</property>
</item>
<item>
<property name="text">
<string>Directories</string>
</property>
<property name="flags">
<set>ItemIsSelectable|ItemIsUserCheckable|ItemIsEnabled</set>
</property>
</item>
<item>
<property name="text">
<string>Audio</string>
</property>
<property name="flags">
<set>ItemIsSelectable|ItemIsUserCheckable|ItemIsEnabled</set>
</property>
</item>
<item>
<property name="text">
<string>MIDI</string>
</property>
<property name="flags">
<set>ItemIsSelectable|ItemIsUserCheckable|ItemIsEnabled</set>
</property>
</item>
<item>
<property name="text">
<string>Plugins</string>
</property>
<property name="flags">
<set>ItemIsSelectable|ItemIsUserCheckable|ItemIsEnabled</set>
</property>
</item>
</widget>
</item>
<item row="1" column="1" colspan="2">
<widget class="QStackedWidget" name="configPages">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="generalSettingsPage">
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing">
<number>16</number>
</property>
<item>
<widget class="QLabel" name="generalTitleLabel">
<property name="font">
<font>
<pointsize>14</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>General settings</string>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_4">
<property name="title">
<string>User interface</string>
</property>
<layout class="QGridLayout" name="gridLayout_5">
<item row="0" column="0">
<widget class="QCheckBox" name="enableToolTips">
<property name="text">
<string>Enable tooltips</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="showVolumeAsDBV">
<property name="text">
<string>Show volume as dbV</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QCheckBox" name="showWelcomeScreen">
<property name="text">
<string>Show welcome screen</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_3">
<property name="title">
<string>Online resources</string>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<property name="horizontalSpacing">
<number>10</number>
</property>
<item row="0" column="0" colspan="2">
<widget class="QCheckBox" name="enableOnlineResourcesCheckBox">
<property name="text">
<string>Enable online resources</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QCheckBox" name="enableUploadsCheckBox">
<property name="text">
<string>Enable uploads</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Username</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="usernameEdit">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Password</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="passwordEdit">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="directorySettingsPage"/>
<widget class="QWidget" name="audioSettingsPage">
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>16</number>
</property>
<item>
<widget class="QLabel" name="generalTitleLabel_2">
<property name="font">
<font>
<pointsize>14</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Audio settings</string>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>General</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<property name="leftMargin">
<number>10</number>
</property>
<property name="horizontalSpacing">
<number>10</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Buffer size</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Sample rate</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="sampleRate">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<item>
<property name="text">
<string>44100 Hz</string>
</property>
</item>
<item>
<property name="text">
<string>48000 Hz</string>
</property>
</item>
<item>
<property name="text">
<string>88200 Hz</string>
</property>
</item>
<item>
<property name="text">
<string>96000 Hz</string>
</property>
</item>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="bufferSize">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="currentIndex">
<number>3</number>
</property>
<item>
<property name="text">
<string>32</string>
</property>
</item>
<item>
<property name="text">
<string>64</string>
</property>
</item>
<item>
<property name="text">
<string>128</string>
</property>
</item>
<item>
<property name="text">
<string>256 (default)</string>
</property>
</item>
<item>
<property name="text">
<string>512</string>
</property>
</item>
<item>
<property name="text">
<string>1024</string>
</property>
</item>
<item>
<property name="text">
<string>2048</string>
</property>
</item>
</widget>
</item>
<item row="0" column="2">
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="2">
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>Audio engine</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<property name="leftMargin">
<number>10</number>
</property>
<property name="horizontalSpacing">
<number>10</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Audio engine</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="audioEngine">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Device</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="audioDevice">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="1" column="2">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="2">
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="midiSettingsPage">
<layout class="QVBoxLayout" name="verticalLayout_3">
<property name="spacing">
<number>16</number>
</property>
<item>
<widget class="QLabel" name="generalTitleLabel_3">
<property name="font">
<font>
<pointsize>14</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>MIDI settings</string>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_5">
<property name="title">
<string>MIDI engine</string>
</property>
<layout class="QGridLayout" name="gridLayout_6">
<property name="leftMargin">
<number>10</number>
</property>
<property name="horizontalSpacing">
<number>10</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>MIDI engine</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="midiEngine">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Device</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="midiDevice">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="1" column="2">
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="2">
<spacer name="horizontalSpacer_7">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="midiRemoteControl">
<property name="minimumSize">
<size>
<width>0</width>
<height>100</height>
</size>
</property>
<property name="title">
<string>MIDI remote control</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="pluginsSettingsPage">
<layout class="QVBoxLayout" name="verticalLayout_4">
<property name="spacing">
<number>16</number>
</property>
<item>
<widget class="QLabel" name="generalTitleLabel_4">
<property name="font">
<font>
<pointsize>14</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Plugins settings</string>
</property>
</widget>
</item>
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
<string/>
</attribute>
<layout class="QGridLayout" name="gridLayout_7"/>
</widget>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
<item row="2" column="1">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="2">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>PreferencesDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>PreferencesDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>enableUploadsCheckBox</sender>
<signal>toggled(bool)</signal>
<receiver>usernameEdit</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>299</x>
<y>253</y>
</hint>
<hint type="destinationlabel">
<x>336</x>
<y>283</y>
</hint>
</hints>
</connection>
<connection>
<sender>enableUploadsCheckBox</sender>
<signal>toggled(bool)</signal>
<receiver>passwordEdit</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>299</x>
<y>253</y>
</hint>
<hint type="destinationlabel">
<x>336</x>
<y>317</y>
</hint>
</hints>
</connection>
<connection>
<sender>enableOnlineResourcesCheckBox</sender>
<signal>toggled(bool)</signal>
<receiver>enableUploadsCheckBox</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>299</x>
<y>226</y>
</hint>
<hint type="destinationlabel">
<x>299</x>
<y>253</y>
</hint>
</hints>
</connection>
<connection>
<sender>configPageSelector</sender>
<signal>currentRowChanged(int)</signal>
<receiver>configPages</receiver>
<slot>setCurrentIndex(int)</slot>
<hints>
<hint type="sourcelabel">
<x>54</x>
<y>238</y>
</hint>
<hint type="destinationlabel">
<x>340</x>
<y>224</y>
</hint>
</hints>
</connection>
</connections>
</ui>

View File

@@ -356,6 +356,9 @@ p, li { white-space: pre-wrap; }
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="iconSize">
<size>
<width>16</width>
@@ -375,6 +378,9 @@ p, li { white-space: pre-wrap; }
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="iconSize">
<size>
<width>16</width>

View File

@@ -51,9 +51,10 @@
#include "engine.h"
#include "FxMixerView.h"
#include "AboutDialog.h"
#include "PreferencesDialog.h"
#include "ControllerRackView.h"
#include "plugin_browser.h"
#include "side_bar.h"
#include "SideBar.h"
#include "config_mgr.h"
#include "mixer.h"
#include "project_notes.h"
@@ -92,26 +93,22 @@ MainWindow::MainWindow() :
vbox->setSpacing( 0 );
vbox->setMargin( 0 );
QWidget * w = new QWidget( m_mainWidget );
QHBoxLayout * hbox = new QHBoxLayout( w );
hbox->setSpacing( 0 );
hbox->setMargin( 0 );
sideBar * side_bar = new sideBar( sideBar::Vertical, w );
side_bar->setStyle( sideBar::VSNET/*KDEV3ICON*/ );
side_bar->setPosition( sideBar::Left );
SideBar * sideBar = new SideBar( Qt::Vertical, w );
QSplitter * splitter = new QSplitter( Qt::Horizontal, w );
splitter->setChildrenCollapsible( false );
int id = 0;
QString wdir = configManager::inst()->workingDir();
side_bar->appendTab( new pluginBrowser( splitter ), ++id );
sideBar->appendTab( new pluginBrowser( splitter ) );
// add a resource browser to sidebar
m_resourceBrowser = new ResourceBrowser( splitter );
side_bar->appendTab( m_resourceBrowser, ++id );
sideBar->appendTab( m_resourceBrowser );
m_workspace = new QMdiArea( splitter );
@@ -136,7 +133,7 @@ MainWindow::MainWindow() :
m_workspace->setHorizontalScrollBarPolicy( Qt::ScrollBarAsNeeded );
m_workspace->setVerticalScrollBarPolicy( Qt::ScrollBarAsNeeded );
hbox->addWidget( side_bar );
hbox->addWidget( sideBar );
hbox->addWidget( splitter );
@@ -155,17 +152,14 @@ MainWindow::MainWindow() :
vbox->addWidget( m_toolBar );
vbox->addWidget( w );
m_updateTimer.start( 1000 / 20, this ); // 20 fps
m_welcomeScreen = new WelcomeScreen( this );
setCentralWidget( m_welcomeScreen );
m_updateTimer.start( 1000 / 20, this ); // 20 fps
m_welcomeScreen->setVisible( false );
}
MainWindow::~MainWindow()
{
for( QList<PluginView *>::Iterator it = m_tools.begin();
@@ -185,15 +179,14 @@ MainWindow::~MainWindow()
void MainWindow::setMainWidgetVisible( bool _visible )
void MainWindow::showWelcomeScreen(bool _visible)
{
setCentralWidget( _visible ? m_mainWidget : m_welcomeScreen );
m_welcomeScreen->setVisible( _visible );
setCentralWidget( _visible ? m_welcomeScreen : m_mainWidget );
}
void MainWindow::finalize()
{
resetWindowTitle();
@@ -265,6 +258,10 @@ void MainWindow::finalize()
edit_menu->addAction( embed::getIconPixmap( "setup_general" ),
tr( "Settings" ),
this, SLOT( showSettingsDialog() ) );
edit_menu->addSeparator();
edit_menu->addAction( embed::getIconPixmap( "setup_general" ),
tr( "Preferences (premature dialog)" ),
this, SLOT( showPreferencesDialog() ) );
m_toolsMenu = new QMenu( this );
@@ -315,8 +312,7 @@ void MainWindow::finalize()
// create the grid layout for the first buttons area
QWidget * gridButtons_w = new QWidget( m_toolBar );
QGridLayout * gridButtons_layout = new QGridLayout( gridButtons_w/*, 2, 1*/ );
QGridLayout * gridButtons_layout = new QGridLayout( gridButtons_w );
// create tool-buttons
toolButton * project_new = new toolButton(
@@ -1059,6 +1055,14 @@ void MainWindow::showSettingsDialog()
void MainWindow::showPreferencesDialog()
{
PreferencesDialog().exec();
}
void MainWindow::aboutLMMS()
{
AboutDialog().exec();
@@ -1200,6 +1204,12 @@ void MainWindow::closeEvent( QCloseEvent * _ce )
}
void MainWindow::showEvent( QShowEvent * _se )
{
//showWelcomeScreen( false ); // must explicitly ask for welcome screen
_se->accept();
}
void MainWindow::focusOutEvent( QFocusEvent * _fe )

View File

@@ -0,0 +1,55 @@
/*
* PreferencesDialog.cpp - implementation of PreferencesDialog
*
* Copyright (c) 2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program (see COPYING); if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA.
*
*/
#include "PreferencesDialog.h"
#include "embed.h"
#include "engine.h"
#include "MainWindow.h"
#include "ui_PreferencesDialog.h"
PreferencesDialog::PreferencesDialog() :
QDialog( engine::mainWindow() ),
ui( new Ui::PreferencesDialog )
{
ui->setupUi( this );
// set up icons in page selector view on the left side
static const char * icons[] = {
"preferences-system",
"folder-64",
"preferences-desktop-sound",
"setup-midi",
"setup-plugins"
} ;
for( int i = 0; i < qMin<int>( sizeof( icons ),
ui->configPageSelector->count() ); ++i )
{
ui->configPageSelector->item( i )->setIcon(
embed::getIconPixmap( icons[i] ) );
}
}

View File

@@ -74,7 +74,7 @@ static ActionDesc resourceBrowserActions[] =
ResourceBrowser::ResourceBrowser( QWidget * _parent ) :
sideBarWidget( tr( "Resource Browser" ),
SideBarWidget( tr( "Resource Browser" ),
embed::getIconPixmap( "resource_browser" ),
_parent ),
m_previewer(),

View File

@@ -112,7 +112,7 @@ WelcomeScreen::~WelcomeScreen()
void WelcomeScreen::createNewProject()
{
switchView();
hideWelcomeScreen();
}
@@ -141,7 +141,7 @@ void WelcomeScreen::instantMidiAction()
void WelcomeScreen::openRecentProject( const QModelIndex & _idx )
{
switchView();
hideWelcomeScreen();
ResourceAction( m_recentProjectsModel->item( _idx ) ).loadProject();
}
@@ -156,7 +156,7 @@ void WelcomeScreen::openCommunityResource( const QModelIndex & _idx )
switch( item->type() )
{
case ResourceItem::TypeProject:
switchView();
hideWelcomeScreen();
action.loadProject();
break;
default:
@@ -177,9 +177,9 @@ void WelcomeScreen::openOnlineResource( QListWidgetItem * _item )
void WelcomeScreen::switchView()
void WelcomeScreen::hideWelcomeScreen()
{
engine::mainWindow()->setMainWidgetVisible( true );
engine::mainWindow()->showWelcomeScreen( false );
}

View File

@@ -37,7 +37,7 @@
pluginBrowser::pluginBrowser( QWidget * _parent ) :
sideBarWidget( tr( "Instrument plugins" ),
SideBarWidget( tr( "Instrument plugins" ),
embed::getIconPixmap( "plugins" ), _parent )
{
setWindowTitle( tr( "Instrument browser" ) );

160
src/gui/widgets/SideBar.cpp Normal file
View File

@@ -0,0 +1,160 @@
/*
* SideBar.cpp - side-bar in LMMS' MainWindow
*
* Copyright (c) 2004-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program (see COPYING); if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA.
*
*/
#include <QtGui/QStyleOptionToolButton>
#include <QtGui/QStylePainter>
#include <QtGui/QToolButton>
#include "SideBar.h"
#include "SideBarWidget.h"
// internal helper class allowing to create QToolButtons with
// vertical orientation
class SideBarButton : public QToolButton
{
public:
SideBarButton( Qt::Orientation _orientation, QWidget * _parent ) :
QToolButton( _parent ),
m_orientation( _orientation )
{
}
virtual ~SideBarButton()
{
}
Qt::Orientation orientation() const
{
return m_orientation;
}
virtual QSize sizeHint() const
{
QSize s = QToolButton::sizeHint();
s.setWidth( s.width() + 8 );
if( orientation() == Qt::Horizontal )
{
return s;
}
return QSize( s.height(), s.width() );
}
protected:
virtual void paintEvent( QPaintEvent * )
{
QStylePainter p( this );
QStyleOptionToolButton opt;
initStyleOption( &opt );
if( orientation() == Qt::Vertical )
{
const QSize s = sizeHint();
p.rotate( 270 );
p.translate( -s.height(), 0 );
opt.rect = QRect( 0, 0, s.height(), s.width() );
}
p.drawComplexControl( QStyle::CC_ToolButton, opt );
}
private:
Qt::Orientation m_orientation;
} ;
SideBar::SideBar( Qt::Orientation _orientation, QWidget * _parent ) :
QToolBar( _parent ),
m_btnGroup( this )
{
setOrientation( _orientation );
setIconSize( QSize( 16, 16 ) );
m_btnGroup.setExclusive( false );
connect( &m_btnGroup, SIGNAL( buttonClicked( QAbstractButton * ) ),
this, SLOT( toggleButton( QAbstractButton * ) ) );
}
SideBar::~SideBar()
{
}
void SideBar::appendTab( SideBarWidget * _sbw )
{
SideBarButton * btn = new SideBarButton( orientation(), this );
btn->setText( _sbw->title() );
btn->setIcon( _sbw->icon() );
btn->setCheckable( true );
m_widgets[btn] = _sbw;
m_btnGroup.addButton( btn );
addWidget( btn );
_sbw->hide();
_sbw->setMinimumWidth( 200 );
}
void SideBar::toggleButton( QAbstractButton * _btn )
{
QToolButton * toolButton = NULL;
QWidget * activeWidget = NULL;
for( ButtonMap::Iterator it = m_widgets.begin();
it != m_widgets.end(); ++it )
{
QToolButton * curBtn = it.key();
if( curBtn != _btn )
{
curBtn->setChecked( false );
curBtn->setToolButtonStyle( Qt::ToolButtonIconOnly );
}
else
{
toolButton = it.key();
activeWidget = it.value();
}
if( it.value() )
{
it.value()->hide();
}
}
if( toolButton && activeWidget )
{
activeWidget->setVisible( _btn->isChecked() );
toolButton->setToolButtonStyle( _btn->isChecked() ?
Qt::ToolButtonTextBesideIcon : Qt::ToolButtonIconOnly );
}
}
#include "moc_SideBar.cxx"

View File

@@ -1,8 +1,8 @@
/*
* side_bar_widget.cpp - implementation of base-widget for side-bar
* SideBarWidget.cpp - implementation of base-widget for side-bar
*
* Copyright (c) 2004-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* Copyright (c) 2004-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
*
* This program is free software; you can redistribute it and/or
@@ -22,17 +22,16 @@
*
*/
#include <QtGui/QApplication>
#include <QtGui/QFontMetrics>
#include <QtGui/QPainter>
#include "side_bar_widget.h"
#include "SideBarWidget.h"
#include "gui_templates.h"
sideBarWidget::sideBarWidget( const QString & _title, const QPixmap & _icon,
SideBarWidget::SideBarWidget( const QString & _title, const QPixmap & _icon,
QWidget * _parent ) :
QWidget( _parent ),
m_title( _title ),
@@ -47,14 +46,14 @@ sideBarWidget::sideBarWidget( const QString & _title, const QPixmap & _icon,
sideBarWidget::~sideBarWidget()
SideBarWidget::~SideBarWidget()
{
}
void sideBarWidget::paintEvent( QPaintEvent * )
void SideBarWidget::paintEvent( QPaintEvent * )
{
const int TITLE_FONT_HEIGHT = 13;
@@ -77,7 +76,7 @@ void sideBarWidget::paintEvent( QPaintEvent * )
void sideBarWidget::resizeEvent( QResizeEvent * )
void SideBarWidget::resizeEvent( QResizeEvent * )
{
const int MARGIN = 6;
m_contents->setGeometry( MARGIN, 40 + MARGIN, width() - MARGIN * 2,
@@ -86,6 +85,5 @@ void sideBarWidget::resizeEvent( QResizeEvent * )
#include "moc_side_bar.cxx"
#include "moc_side_bar_widget.cxx"
#include "moc_SideBarWidget.cxx"

View File

@@ -1,917 +0,0 @@
/*
* kmultitabbar.cpp - widget for horizontal and vertical tabs
*
* Copyright (c) 2001-2003 Joseph Wenninger <jowenn@kde.org>
* Copyright (c) 2004-2007 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program (see COPYING); if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA.
*
*/
#include "kmultitabbar.h"
#include <QtCore/QEvent>
#include <QtGui/QApplication>
#include <QtGui/QFontMetrics>
#include <QtGui/QFrame>
#include <QtGui/QLayout>
#include <QtGui/QPainter>
#include <QtGui/QStyle>
#include <QtGui/QStyleOptionButton>
#include <math.h>
#include "templates.h"
#include "tooltip.h"
#define NEARBYINT(i) ((int(float(i) + 0.5)))
class KMultiTabBarTabPrivate {
public:
QPixmap pix;
};
KMultiTabBarInternal::KMultiTabBarInternal(QWidget *parent, KMultiTabBar::KMultiTabBarMode bm):QWidget(parent)
{
m_expandedTabSize=-1;
m_showActiveTabTexts=false;
m_barMode=bm;
if (bm==KMultiTabBar::Vertical)
{
box=new QWidget(this);
mainLayout=new QVBoxLayout(box);
box->setFixedWidth(24);
setFixedWidth(24);
}
else
{
box=new QWidget(this);
mainLayout=new QHBoxLayout(box);
box->setFixedHeight(24);
setFixedHeight(24);
}
mainLayout->setMargin(0);
mainLayout->setSpacing(0);
}
void KMultiTabBarInternal::setStyle(enum KMultiTabBar::KMultiTabBarStyle style)
{
m_style=style;
for (int i=0;i<m_tabs.count();i++)
m_tabs.at(i)->setStyle(m_style);
if ( (m_style==KMultiTabBar::KDEV3) ||
(m_style==KMultiTabBar::KDEV3ICON ) ) {
delete mainLayout;
mainLayout=0;
resizeEvent(0);
} else if (mainLayout==0) {
if (m_barMode==KMultiTabBar::Vertical)
{
box=new QWidget(this);
mainLayout=new QVBoxLayout(box);
box->setFixedWidth(24);
setFixedWidth(24);
}
else
{
box=new QWidget(this);
mainLayout=new QHBoxLayout(box);
box->setFixedHeight(24);
setFixedHeight(24);
}
for (int i=0;i<m_tabs.count();i++)
mainLayout->addWidget(m_tabs.at(i));
}
update();
}
#define CALCDIFF(m_tabs,diff,i) if (m_lines>(int)lines) {\
int ulen=0;\
diff=0; \
for (int i2=i;i2<tabCount;i2++) {\
int l1=m_tabs.at(i2)->neededSize();\
if ((ulen+l1)>(int)space){\
if (ulen==0) diff=0;\
else diff=((float)(space-ulen))/(i2-i);\
break;\
}\
ulen+=l1;\
}\
} else {diff=0; }
void KMultiTabBarInternal::resizeEvent(QResizeEvent *ev) {
if (ev) QWidget::resizeEvent(ev);
if ( (m_style==KMultiTabBar::KDEV3) ||
(m_style==KMultiTabBar::KDEV3ICON) ){
box->setGeometry(0,0,width(),height());
int lines=1;
uint space;
float tmp=0;
if ((m_position==KMultiTabBar::Bottom) || (m_position==KMultiTabBar::Top))
space=width();
else
space=height();
int cnt=0;
//CALCULATE LINES
const int tabCount=m_tabs.count();
for (int i=0;i<tabCount;i++) {
cnt++;
tmp+=m_tabs.at(i)->neededSize();
if (tmp>space) {
if (cnt>1)i--;
else if (i==(tabCount-1)) break;
cnt=0;
tmp=0;
lines++;
}
}
//SET SIZE & PLACE
float diff=0;
cnt=0;
if ((m_position==KMultiTabBar::Bottom) || (m_position==KMultiTabBar::Top)) {
setFixedHeight(lines*24);
box->setFixedHeight(lines*24);
m_lines=height()/24-1;
lines=0;
CALCDIFF(m_tabs,diff,0)
tmp=-diff;
for (int i=0;i<tabCount;i++) {
KMultiTabBarTab *tab=m_tabs.at(i);
cnt++;
tmp+=tab->neededSize()+diff;
if (tmp>space) {
if (cnt>1) {
CALCDIFF(m_tabs,diff,i)
i--;
}
else {
tab->removeEventFilter(this);
tab->move(NEARBYINT(tmp-tab->neededSize()),lines*24);
tab->setFixedWidth(NEARBYINT(tmp+diff)-tab->x());;
tab->installEventFilter(this);
CALCDIFF(m_tabs,diff,(i+1))
}
tmp=-diff;
cnt=0;
lines++;
} else {
tab->removeEventFilter(this);
tab->move(NEARBYINT(tmp-tab->neededSize()),lines*24);
tab->setFixedWidth(NEARBYINT(tmp+diff)-tab->x());;
tab->installEventFilter(this);
}
}
}
else {
setFixedWidth(lines*24);
box->setFixedWidth(lines*24);
m_lines=lines=width()/24;
lines=0;
CALCDIFF(m_tabs,diff,0)
tmp=-diff;
for (int i=0;i<tabCount;i++) {
KMultiTabBarTab *tab=m_tabs.at(i);
cnt++;
tmp+=tab->neededSize()+diff;
if (tmp>space) {
if (cnt>1) {
CALCDIFF(m_tabs,diff,i);
tmp=-diff;
i--;
}
else {
tab->removeEventFilter(this);
tab->move(lines*24,NEARBYINT(tmp-tab->neededSize()));
tab->setFixedHeight(NEARBYINT(tmp+diff)-tab->y());;
tab->installEventFilter(this);
}
cnt=0;
tmp=-diff;
lines++;
} else {
tab->removeEventFilter(this);
tab->move(lines*24,NEARBYINT(tmp-tab->neededSize()));
tab->setFixedHeight(NEARBYINT(tmp+diff)-tab->y());;
tab->installEventFilter(this);
}
}
}
} else {
int size=0; /*move the calculation into another function and call it only on add tab and tab click events*/
for (int i=0;i<(int)m_tabs.count();i++)
size+=(m_barMode==KMultiTabBar::Vertical?m_tabs.at(i)->height():m_tabs.at(i)->width());
if ((m_position==KMultiTabBar::Bottom) || (m_position==KMultiTabBar::Top))
box->setGeometry(0,0,size,height());
else box->setGeometry(0,0,width(),size);
}
}
void KMultiTabBarInternal::showActiveTabTexts(bool show)
{
m_showActiveTabTexts=show;
}
KMultiTabBarTab* KMultiTabBarInternal::tab(int id) const
{
for (QListIterator<KMultiTabBarTab *> it(m_tabs);it.hasNext();it.next()){
if (it.peekNext()->id()==id) return it.peekNext();
}
return 0;
}
bool KMultiTabBarInternal::eventFilter(QObject *, QEvent *e) {
if (e->type()==QEvent::Resize) resizeEvent(0);
return false;
}
int KMultiTabBarInternal::appendTab(const QPixmap &pic ,int id,const QString& text)
{
KMultiTabBarTab *tab;
m_tabs.append(tab= new KMultiTabBarTab(pic,text,id,box,m_position,m_style));
mainLayout->addWidget( tab );
tab->installEventFilter(this);
tab->showActiveTabText(m_showActiveTabTexts);
if (m_style==KMultiTabBar::KONQSBC)
{
if (m_expandedTabSize<tab->neededSize()) {
m_expandedTabSize=tab->neededSize();
for (int i=0;i<m_tabs.count();i++)
m_tabs.at(i)->setSize(m_expandedTabSize);
} else tab->setSize(m_expandedTabSize);
} else tab->updateState();
tab->show();
resizeEvent(0);
return 0;
}
void KMultiTabBarInternal::removeTab(int id)
{
for (int pos=0;pos<m_tabs.count();pos++)
{
if (m_tabs.at(pos)->id()==id)
{
delete m_tabs.at(pos);
m_tabs.removeAt(pos);
resizeEvent(0);
break;
}
}
}
void KMultiTabBarInternal::setPosition(enum KMultiTabBar::KMultiTabBarPosition pos)
{
m_position=pos;
for (int i=0;i<m_tabs.count();i++)
m_tabs.at(i)->setTabsPosition(m_position);
update();
}
KMultiTabBarButton::KMultiTabBarButton(const QPixmap& pic,const QString& text, QMenu *popup,
int id,QWidget *parent,KMultiTabBar::KMultiTabBarPosition pos,KMultiTabBar::KMultiTabBarStyle style)
:QPushButton(QIcon(),text,parent),m_style(style)
{
setIcon(pic);
setText(text);
m_position=pos;
if (popup) setMenu(popup);
setFlat(true);
setFixedHeight(24);
setFixedWidth(24);
m_id=id;
setToolTip(text);
connect(this,SIGNAL(clicked()),this,SLOT(slotClicked()));
}
KMultiTabBarButton::KMultiTabBarButton(const QString& text, QMenu *popup,
int id,QWidget *parent,KMultiTabBar::KMultiTabBarPosition pos,KMultiTabBar::KMultiTabBarStyle style)
:QPushButton(QIcon(),text,parent),m_style(style)
{
setText(text);
m_position=pos;
if (popup) setMenu(popup);
setFlat(true);
setFixedHeight(24);
setFixedWidth(24);
m_id=id;
setToolTip(text);
connect(this,SIGNAL(clicked()),this,SLOT(slotClicked()));
}
KMultiTabBarButton::~KMultiTabBarButton() {
}
int KMultiTabBarButton::id() const{
return m_id;
}
void KMultiTabBarButton::setText(const QString& text)
{
QPushButton::setText(text);
m_text=text;
setToolTip(text);
}
void KMultiTabBarButton::slotClicked()
{
emit clicked(m_id);
}
void KMultiTabBarButton::setPosition(KMultiTabBar::KMultiTabBarPosition pos)
{
m_position=pos;
update();
}
void KMultiTabBarButton::setStyle(KMultiTabBar::KMultiTabBarStyle style)
{
m_style=style;
update();
}
void KMultiTabBarButton::hideEvent( QHideEvent* he) {
QPushButton::hideEvent(he);
KMultiTabBar *tb=dynamic_cast<KMultiTabBar*>(parentWidget());
if (tb) tb->updateSeparator();
}
void KMultiTabBarButton::showEvent( QShowEvent* he) {
QPushButton::showEvent(he);
KMultiTabBar *tb=dynamic_cast<KMultiTabBar*>(parentWidget());
if (tb) tb->updateSeparator();
}
QSize KMultiTabBarButton::sizeHint() const
{
//constPolish();
int w = 0, h = 0;
// calculate contents size...
int iw = 0, ih = 0;
if ( !icon().isNull() ) {
iw = 20;
ih = 16;
w += iw;
h = qMax( h, ih );
}
QStyleOptionButton sob;
if ( menu() != 0 )
w += style()->pixelMetric(QStyle::PM_MenuButtonIndicator, &sob, this);
QString s( text() );
bool empty = s.isEmpty();
if ( empty )
s = QLatin1String("XXXX");
QFontMetrics fm = fontMetrics();
QSize sz = fm.size( Qt::TextShowMnemonic, s );
if(!empty || !w)
w += sz.width();
if(!empty || !h)
h = qMax(h, sz.height());
QStyleOptionToolButton opt;
opt.init(this);
opt.rect = QRect(0, 0, w, h);
opt.subControls = QStyle::SC_All;
opt.activeSubControls = 0;
opt.text = text();
opt.font = font();
opt.icon = icon();
opt.iconSize = QSize(iw, ih);
return (style()->sizeFromContents(QStyle::CT_ToolButton, &opt, QSize(w, h), this).
expandedTo(QApplication::globalStrut()));
}
KMultiTabBarTab::KMultiTabBarTab(const QPixmap& pic, const QString& text,
int id,QWidget *parent,KMultiTabBar::KMultiTabBarPosition pos,
KMultiTabBar::KMultiTabBarStyle style)
:KMultiTabBarButton(text,0,id,parent,pos,style),
m_showActiveTabText(false)
{
d=new KMultiTabBarTabPrivate();
setIcon(pic);
m_expandedSize=24;
setCheckable(true);
setAttribute( Qt::WA_OpaquePaintEvent, true );
}
KMultiTabBarTab::~KMultiTabBarTab() {
delete d;
}
void KMultiTabBarTab::setTabsPosition(KMultiTabBar::KMultiTabBarPosition pos)
{
if ((pos!=m_position) && ((pos==KMultiTabBar::Left) || (pos==KMultiTabBar::Right))) {
if (!d->pix.isNull()) {
QMatrix temp;// (1.0F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F);
temp.rotate(180);
d->pix=d->pix.transformed(temp);
setIcon(d->pix);
}
}
setPosition(pos);
}
void KMultiTabBarTab::setIcon(const QString& icon)
{
QPixmap pic(icon);
setIcon(pic);
}
void KMultiTabBarTab::setIcon(const QPixmap& icon)
{
if (m_style!=KMultiTabBar::KDEV3) {
if ((m_position==KMultiTabBar::Left) || (m_position==KMultiTabBar::Right)) {
QMatrix rotateMatrix;
/* if (m_position==KMultiTabBar::Left)
rotateMatrix.rotate(-270);
else*/
rotateMatrix.rotate(90);
d->pix=icon.transformed(rotateMatrix); //TODO FIX THIS, THIS SHOWS WINDOW
KMultiTabBarButton::setIcon(d->pix);
} else KMultiTabBarButton::setIcon(icon);
}
}
void KMultiTabBarTab::slotClicked()
{
updateState();
KMultiTabBarButton::slotClicked();
}
void KMultiTabBarTab::setState(bool b)
{
setChecked(b);
updateState();
}
void KMultiTabBarTab::updateState()
{
if (m_style!=KMultiTabBar::KONQSBC) {
if ((m_style==KMultiTabBar::KDEV3) || (m_style==KMultiTabBar::KDEV3ICON) || (isChecked())) {
QPushButton::setText(m_text);
} else {
QPushButton::setText(QString());
}
if ((m_position==KMultiTabBar::Right || m_position==KMultiTabBar::Left)) {
setFixedWidth(24);
if ((m_style==KMultiTabBar::KDEV3) || (m_style==KMultiTabBar::KDEV3ICON) || (isChecked())) {
setFixedHeight(KMultiTabBarButton::sizeHint().width());
} else setFixedHeight(36);
} else {
setFixedHeight(24);
if ((m_style==KMultiTabBar::KDEV3) || (m_style==KMultiTabBar::KDEV3ICON) || (isChecked())) {
setFixedWidth(KMultiTabBarButton::sizeHint().width());
} else setFixedWidth(36);
}
} else {
if ((!isChecked()) || (!m_showActiveTabText))
{
setFixedWidth(24);
setFixedHeight(24);
return;
}
if ((m_position==KMultiTabBar::Right || m_position==KMultiTabBar::Left))
setFixedHeight(m_expandedSize);
else
setFixedWidth(m_expandedSize);
}
}
int KMultiTabBarTab::neededSize()
{
return (((m_style!=KMultiTabBar::KDEV3)?24:0)+QFontMetrics(QFont()).width(m_text)+6);
}
void KMultiTabBarTab::setSize(int size)
{
m_expandedSize=size;
updateState();
}
void KMultiTabBarTab::showActiveTabText(bool show)
{
m_showActiveTabText=show;
}
void KMultiTabBarTab::paintEvent(QPaintEvent *) {
QPainter painter(this);
drawButton(&painter);
}
void KMultiTabBarTab::drawButtonLabel(QPainter *p) {
drawButton(p);
}
void KMultiTabBarTab::drawButton(QPainter *paint)
{
if (m_style!=KMultiTabBar::KONQSBC) drawButtonStyled(paint);
else drawButtonClassic(paint);
}
void KMultiTabBarTab::drawButtonStyled(QPainter *paint) {
QSize sh;
const int width = 36; // rotated
const int height = 24;
if ((m_style==KMultiTabBar::KDEV3) || (m_style==KMultiTabBar::KDEV3ICON) || (isChecked())) {
if ((m_position==KMultiTabBar::Left) || (m_position==KMultiTabBar::Right))
sh=QSize(this->height(),this->width());//KMultiTabBarButton::sizeHint();
else sh=QSize(this->width(),this->height());
}
else
sh=QSize(width,height);
QPixmap pixmap( sh.width(),height); ///,sh.height());
pixmap.fill(backgroundRole());
QPainter painter(&pixmap);
QStyle::State st=QStyle::State_None;
st|=QStyle::State_Enabled;
if (isChecked()) st|=QStyle::State_On;
QStyleOptionButton options;
options.init(this);
options.state = st;
options.rect = QRect(0,0,pixmap.width(),pixmap.height());
options.palette = palette();
options.text = text();
options.icon = icon();
options.iconSize = iconSize();
style()->drawControl(QStyle::CE_PushButton, &options, &painter, this);
switch (m_position) {
case KMultiTabBar::Left:
paint->rotate(-90);
paint->drawPixmap(1-pixmap.width(),0,pixmap);
break;
case KMultiTabBar::Right:
paint->rotate(90);
paint->drawPixmap(0,1-pixmap.height(),pixmap);
break;
default:
paint->drawPixmap(0,0,pixmap);
break;
}
}
void KMultiTabBarTab::drawButtonClassic(QPainter *paint)
{
QPixmap pixmap;
if( !icon().isNull() )
pixmap = icon().pixmap( 16, 16 );
paint->fillRect(0, 0, 24, 24, palette().background().color());
if (!isChecked())
{
if (m_position==KMultiTabBar::Right)
{
paint->fillRect(0,0,21,21,QBrush(palette().background().color()));
paint->setPen(palette().background().color().dark(150));
paint->drawLine(0,22,23,22);
paint->drawPixmap(12-pixmap.width()/2,12-pixmap.height()/2,pixmap);
paint->setPen(palette().shadow().color());
paint->drawLine(0,0,0,23);
paint->setPen(palette().background().color().dark(120));
paint->drawLine(1,0,1,23);
}
else
if ((m_position==KMultiTabBar::Bottom) || (m_position==KMultiTabBar::Top))
{
paint->fillRect(0,1,23,22,QBrush(palette().background().color()));
paint->drawPixmap(12-pixmap.width()/2,12-pixmap.height()/2,pixmap);
paint->setPen(palette().background().color().dark(120));
paint->drawLine(23,0,23,23);
paint->setPen(palette().light().color());
paint->drawLine(0,22,23,22);
paint->drawLine(0,23,23,23);
paint->setPen(palette().shadow().color());
paint->drawLine(0,0,23,0);
paint->setPen(palette().background().color().dark(120));
paint->drawLine(0,1,23,1);
}
else
{
paint->setPen(palette().background().color().dark(120));
paint->drawLine(0,23,23,23);
paint->fillRect(0,0,23,21,QBrush(palette().background()));
paint->drawPixmap(12-pixmap.width()/2,12-pixmap.height()/2,pixmap);
paint->setPen(palette().light().color());
paint->drawLine(23,0,23,23);
paint->drawLine(22,0,22,23);
paint->setPen(palette().shadow().color());
paint->drawLine(0,0,0,23);
}
}
else
{
if (m_position==KMultiTabBar::Right)
{
paint->setPen(palette().shadow().color());
paint->drawLine(0,height()-1,23,height()-1);
paint->drawLine(0,height()-2,23,height()-2);
paint->drawLine(23,0,23,height()-1);
paint->drawLine(22,0,22,height()-1);
paint->fillRect(0,0,21,height()-3,QBrush(palette().light().color()));
paint->drawPixmap(10-pixmap.width()/2,10-pixmap.height()/2,pixmap);
if (m_showActiveTabText)
{
if (height()<25+4) return;
QPixmap tpixmap(height()-25-3, width()-2);
QPainter painter(&tpixmap);
painter.fillRect(0,0,tpixmap.width(),tpixmap.height(),QBrush(palette().light().color()));
painter.setPen(palette().text().color());
painter.drawText(0,+width()/2+QFontMetrics(QFont()).height()/2,m_text);
paint->rotate(90);
paint->drawPixmap(25,-tpixmap.height()+1,tpixmap);
}
}
else
if (m_position==KMultiTabBar::Top)
{
paint->fillRect(0,0,width()-1,23,QBrush(palette().light().color()));
paint->drawPixmap(10-pixmap.width()/2,10-pixmap.height()/2,pixmap);
if (m_showActiveTabText)
{
paint->setPen(palette().text().color());
paint->drawText(25,height()/2+QFontMetrics(QFont()).height()/2,m_text);
}
}
else
if (m_position==KMultiTabBar::Bottom)
{
paint->setPen(palette().shadow().color());
paint->drawLine(0,23,width()-1,23);
paint->drawLine(0,22,width()-1,22);
paint->fillRect(0,0,width()-1,21,QBrush(palette().light().color()));
paint->drawPixmap(10-pixmap.width()/2,10-pixmap.height()/2,pixmap);
if (m_showActiveTabText)
{
paint->setPen(palette().text().color());
paint->drawText(25,height()/2+QFontMetrics(QFont()).height()/2,m_text);
}
}
else
{
paint->setPen(palette().shadow().color());
paint->drawLine(0,height()-1,23,height()-1);
paint->drawLine(0,height()-2,23,height()-2);
paint->fillRect(0,0,23,height()-3,QBrush(palette().light().color()));
paint->drawPixmap(10-pixmap.width()/2,10-pixmap.height()/2,pixmap);
if (m_showActiveTabText)
{
if (height()<25+4) return;
QPixmap tpixmap(height()-25-3, width()-2);
QPainter painter(&tpixmap);
painter.fillRect(0,0,tpixmap.width(),tpixmap.height(),QBrush(palette().light().color()));
painter.setPen(palette().text().color());
painter.drawText(tpixmap.width()-QFontMetrics(QFont()).width(m_text),+width()/2+QFontMetrics(QFont()).height()/2,m_text);
paint->rotate(-90);
paint->drawPixmap(-24-tpixmap.width(),2,tpixmap);
}
}
}
}
KMultiTabBar::KMultiTabBar(KMultiTabBarMode bm, QWidget *parent)
: QWidget(parent)
{
if (bm==Vertical)
{
m_l=new QVBoxLayout(this);
setSizePolicy(QSizePolicy(QSizePolicy::Fixed, QSizePolicy::Expanding));
}
else
{
m_l=new QHBoxLayout(this);
setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed));
}
m_l->setMargin(0);
m_internal=new KMultiTabBarInternal(this,bm);
setPosition((bm==KMultiTabBar::Vertical)?KMultiTabBar::Right:KMultiTabBar::Bottom);
setStyle(VSNET);
m_l->insertWidget(0,m_internal);
m_l->insertWidget(0,m_btnTabSep=new QFrame(this));
m_btnTabSep->setFixedHeight(4);
m_btnTabSep->setFrameStyle(QFrame::Panel | QFrame::Sunken);
m_btnTabSep->setLineWidth(2);
m_btnTabSep->hide();
updateGeometry();
}
KMultiTabBar::~KMultiTabBar() {
}
int KMultiTabBar::appendButton(const QPixmap &pic ,int id,QMenu *popup,const QString&)
{
KMultiTabBarButton *btn;
m_buttons.append(btn= new KMultiTabBarButton(pic,QString(),
popup,id,this,m_position,m_internal->m_style));
m_l->insertWidget(0,btn);
btn->show();
m_btnTabSep->show();
return 0;
}
void KMultiTabBar::updateSeparator() {
bool hideSep=true;
for (QListIterator<KMultiTabBarButton *> it(m_buttons);it.hasNext();){
if (it.next()->isVisibleTo(this)) {
hideSep=false;
break;
}
}
if (hideSep) m_btnTabSep->hide();
else m_btnTabSep->show();
}
int KMultiTabBar::appendTab(const QPixmap &pic ,int id ,const QString& text)
{
m_internal->appendTab(pic,id,text);
return 0;
}
KMultiTabBarButton* KMultiTabBar::button(int id) const
{
for (QListIterator<KMultiTabBarButton *> it(m_buttons);it.hasNext();it.next()){
if (it.peekNext()->id()==id) return it.peekNext();
}
return 0;
}
KMultiTabBarTab* KMultiTabBar::tab(int id) const
{
return m_internal->tab(id);
}
void KMultiTabBar::removeButton(int id)
{
for (int pos=0;pos<m_buttons.count();pos++)
{
if (m_buttons.at(pos)->id()==id)
{
m_buttons.at(pos)->deleteLater();
m_buttons.removeAt(pos);
break;
}
}
if (m_buttons.count()==0) m_btnTabSep->hide();
}
void KMultiTabBar::removeTab(int id)
{
m_internal->removeTab(id);
}
void KMultiTabBar::setTab(int id,bool state)
{
KMultiTabBarTab *ttab=tab(id);
if (ttab)
{
ttab->setState(state);
}
}
bool KMultiTabBar::isTabRaised(int id) const
{
KMultiTabBarTab *ttab=tab(id);
if (ttab)
{
return ttab->isChecked();
}
return false;
}
void KMultiTabBar::showActiveTabTexts(bool show)
{
m_internal->showActiveTabTexts(show);
}
void KMultiTabBar::setStyle(KMultiTabBarStyle style)
{
m_internal->setStyle(style);
}
KMultiTabBar::KMultiTabBarStyle KMultiTabBar::tabStyle() const
{
return m_internal->m_style;
}
void KMultiTabBar::setPosition(KMultiTabBarPosition pos)
{
m_position=pos;
m_internal->setPosition(pos);
for (int i=0;i<m_buttons.count();i++)
m_buttons.at(i)->setPosition(pos);
}
KMultiTabBar::KMultiTabBarPosition KMultiTabBar::position() const
{
return m_position;
}
void KMultiTabBar::fontChange(const QFont& /* oldFont */)
{
for (int i=0;i<tabs()->count();i++)
tabs()->at(i)->resize();
update();
}
QList<KMultiTabBarTab *>* KMultiTabBar::tabs() {return m_internal->tabs();}
QList<KMultiTabBarButton *>* KMultiTabBar::buttons() {return &m_buttons;}
#include "moc_kmultitabbar.cxx"