Skip to content

Commit f90b0c6

Browse files
committed
Bundle IRs, VDCs as well
1 parent 22d0e4c commit f90b0c6

File tree

12 files changed

+36
-8
lines changed

12 files changed

+36
-8
lines changed

resources/assets/irs/Church.wav

7.33 MB
Binary file not shown.
8.93 KB
Binary file not shown.
9.78 KB
Binary file not shown.
10.6 KB
Binary file not shown.
4.83 KB
Binary file not shown.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SR_44100:1.0,2.0,1.0,0.49776872571908,-0.92323067076422,1.0,2.0,1.0,0.46239241251513,-0.78654709251389,1.0,2.0,1.0,0.43200487475848,-0.66913866244798,1.0,2.0,1.0,0.40579535901039,-0.56787286982551,1.0,2.0,1.0,0.38311728402779,-0.48025151656067,1.0,2.0,1.0,0.36345085242376,-0.40426625977155,1.0,2.0,1.0,0.34637526758316,-0.33829126618545,1.0,2.0,1.0,0.33154786500892,-0.28100258185247,1.0,2.0,1.0,0.31868828423601,-0.23131697711726,1.0,2.0,1.0,0.30756635979221,-0.18834516088404,1.0,2.0,1.0,0.29799278830617,-0.15135572109130,1.0,2.0,1.0,0.28981189184924,-0.11974716441148,1.0,2.0,1.0,0.28289598260785,-0.09302614301739,1.0,2.0,1.0,0.27714096578247,-0.07079046548794,1.0,2.0,1.0,0.27246291270151,-0.05271585633733,1.0,2.0,1.0,0.26879540567792,-0.03854569732859,1.0,2.0,1.0,0.26608750775888,-0.02808318318879,1.0,2.0,1.0,0.26430224953770,-0.02118547509906,1.0,2.0,1.0,0.26341555536854,-0.01775955190699,9.99999999999000e-13,0,0,0,0
2+
SR_48000:1.0,2.0,1.0,0.49776872571908,-0.92323067076422,1.0,2.0,1.0,0.46239241251513,-0.78654709251389,1.0,2.0,1.0,0.43200487475848,-0.66913866244798,1.0,2.0,1.0,0.40579535901039,-0.56787286982551,1.0,2.0,1.0,0.38311728402779,-0.48025151656067,1.0,2.0,1.0,0.36345085242376,-0.40426625977155,1.0,2.0,1.0,0.34637526758316,-0.33829126618545,1.0,2.0,1.0,0.33154786500892,-0.28100258185247,1.0,2.0,1.0,0.31868828423601,-0.23131697711726,1.0,2.0,1.0,0.30756635979221,-0.18834516088404,1.0,2.0,1.0,0.29799278830617,-0.15135572109130,1.0,2.0,1.0,0.28981189184924,-0.11974716441148,1.0,2.0,1.0,0.28289598260785,-0.09302614301739,1.0,2.0,1.0,0.27714096578247,-0.07079046548794,1.0,2.0,1.0,0.27246291270151,-0.05271585633733,1.0,2.0,1.0,0.26879540567792,-0.03854569732859,1.0,2.0,1.0,0.26608750775888,-0.02808318318879,1.0,2.0,1.0,0.26430224953770,-0.02118547509906,1.0,2.0,1.0,0.26341555536854,-0.01775955190699,9.99999999999000e-13,0,0,0,0
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SR_44100:0.965660740733441,-1.800683633941617,0.869466587650545,1.800683633941617,-0.8351273283839861,1.051570728935234,-1.806405690798683,0.8311320058476207,1.806405690798683,-0.882702734782855,1.003822409811916,-1.445281925135764,0.6792019212841249,1.445281925135764,-0.6830243310960405,1.057287163950522,-1.321826831340864,0.6892923897615462,1.321826831340864,-0.7465795537120683,0.8949377382434921,-0.7866125236477394,0.7357602332327468,0.7866125236477394,-0.6306979714762389,1.061129608768836,-0.6417459075240385,0.7617962753517744,0.6417459075240385,-0.8229258841206107,0.9332629527638945,-0.2437983823076172,0.7421060492938359,0.2437983823076172,-0.6753690020577305,1.171983112441877,0.6767521247695081,0.1490563127031252,-0.6767521247695081,-0.3210394251450023
2+
SR_48000:0.9682392217384789,-1.818222913583723,0.879268136415856,1.818222913583723,-0.8475073581543349,1.047604636642999,-1.826943823146232,0.8441189475457699,1.826943823146232,-0.8917235841887692,1.00355664309503,-1.500987273584326,0.7015065553654208,1.500987273584326,-0.705063198460451,1.053165461779932,-1.400120027860374,0.7116472096413524,1.400120027860374,-0.764812671421284,0.9020276291329729,-0.921253970481077,0.7535918607241054,0.921253970481077,-0.6556194898570784,1.056557149093897,-0.8121176340677361,0.7796137773333923,0.8121176340677361,-0.8361709264272897,0.9378884259697351,-0.4394407889121198,0.7599804025705024,0.4394407889121198,-0.6978688285402375,1.160127330026316,0.4901914753831673,0.2077167419815898,-0.4901914753831673,-0.3678440720079059

resources/assets/vdc/mh750.vdc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SR_44100:1,-0.971981874387669,0,0.899275119904805,-0,1,0.00728396195908354,-0.985745184728322,0.00198514217303924,0.986418314722294,1,-0.113144827743594,-0.0358950733053049,-0,-0,1,0.0490985108832388,0.018820072890148,-0,-0,1,-1.0706287220928,0.389359912656245,1.21520832372929,-0.592558625822534,1,0.328034581110579,0.610812441630399,-0.327670346086345,-0.610480530607664,1,-0.064382541200463,0.776770468894484,0.0709331113655902,-0.698399196222291,1,-1.44834931551326,0.631025253297572,1.58214055701707,-0.709367330967928,1,-0.949425962357663,0.726334544528128,0.938275950182073,-0.713792464969363,1,1.73060295053404,0.758412985992176,-1.71575995196542,-0.742836940059534,1,1.70096723497195,0.758089913699366,-1.70285405704689,-0.760412968832014,1,0.559472069399927,0.849386456314584,-0.545155956565943,-0.813395353405986,1,-1.11484039077441,0.85215751792811,1.09641508554785,-0.819531095828234,1,-1.64510487114159,0.884326644189874,1.64192239466692,-0.88144498008489,1,-1.87250446010463,0.901719395859356,1.87280498623531,-0.897563174309931,1,-1.91939837092537,0.923141517232972,1.91259828716443,-0.916906953039798,1,1.98405295265901,0.984144572958716,-1.98691140560045,-0.986977327725583,1.00000679472628,0,0,0,0
2+
SR_48000:1,-0.847790827844211,0,-0.562669546675363,-0,1,1.62257794114509,0.649349481590216,-1.62180593284526,-0.648713327685098,1,-0.0395929157464033,-0.949780662476621,0.0415182596642794,0.951600667104663,1,0.706146833675718,0.0806038483792921,-0,-0,1,0.0757527756185106,0.0244611151677519,-0,-0,1,-0.77642364314043,0.172304808128306,1.32515450340362,-0.641621538913845,1,-1.38239662709336,0.618536128152041,1.60280895026469,-0.689594339466574,1,-0.287016332103865,0.791904768281003,0.281401655713353,-0.719311865482296,1,-1.08402130749355,0.7617709179076,1.07682079097001,-0.751341556392535,1,0.28716783269752,0.859653434445436,-0.279868799595553,-0.826754762618035,1,-1.22914566573562,0.862589138023901,1.2085085326086,-0.831421760848089,1,-1.67580799906422,0.877958660021214,1.67069853601126,-0.873514509464545,1,0.310955742670973,0.885775158016371,-0.311054337666039,-0.885723527248199,1,-1.87788405289207,0.900727693127121,1.89374579462135,-0.912058546316642,1,-1.93208415521333,0.933899717051132,1.90997433510421,-0.913694929131308,1,1.91018099907767,0.918665527212971,-1.91018579390092,-0.918671868925942,1,-1.80989475931846,0.921750700554314,1.81035939091758,-0.922211115476868,1.00000679472628,0,0,0,0

resources/resources.qrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,13 @@
5454
<file>assets/liveprog/depthsurround.eel</file>
5555
<file>assets/liveprog/dynamicbass.eel</file>
5656
<file>assets/liveprog/lowpass.eel</file>
57+
<file>assets/irs/Church.wav</file>
58+
<file>assets/irs/CorredHRTF_Crossfeed.wav</file>
59+
<file>assets/irs/CorredHRTF_Surround1.wav</file>
60+
<file>assets/irs/CorredHRTF_Surround2.wav</file>
61+
<file>assets/irs/SwapChannels.wav</file>
62+
<file>assets/vdc/Butterworth.vdc</file>
63+
<file>assets/vdc/FrontRearContrast.vdc</file>
64+
<file>assets/vdc/mh750.vdc</file>
5765
</qresource>
5866
</RCC>

src/data/AssetManager.cpp

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,12 @@ int AssetManager::extractGroup(AssetType type, bool allowOverride)
4747
{
4848
continue;
4949
}
50-
51-
if (sourceFile.open(QIODevice::ReadOnly | QIODevice::Text) &&
52-
targetFile.open(QIODevice::WriteOnly | QIODevice::Text))
50+
else if(targetFile.exists())
5351
{
54-
QTextStream stream(&targetFile);
55-
stream << targetFile.readAll();
56-
targetFile.close();
52+
targetFile.remove();
5753
}
5854

55+
sourceFile.copy(targetFile.fileName());
5956
i++;
6057
}
6158

0 commit comments

Comments
 (0)