All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.modules.java.desktop.classes.com.sun.media.sound.SF2Soundbank.class Maven / Gradle / Ivy

There is a newer version: 2024-05-10
Show newest version
????:-
java/lang/Object()V		
 com/sun/media/sound/SF2SoundbankmajorI	minorEMU8000	targetEngineLjava/lang/String;untitled	name	romName	 romVersionMajor	"#romVersionMinor	%&creationDate	()	engineers	+,product	./	copyright	12comments	45tools	789
sampleData%Lcom/sun/media/sound/ModelByteBuffer;	;<9sampleData24	>?@
sampleFileLjava/io/File;	BCDlargeFormatZFjava/util/ArrayList
E	IJKinstrumentsLjava/util/List;	MNKlayers	PQKsamples
STUVWjava/net/URL
openStream()Ljava/io/InputStream;
YZ[
readSoundbank(Ljava/io/InputStream;)V
]^_`java/io/InputStreamclosebjava/io/FileInputStream
ade(Ljava/io/File;)Vgcom/sun/media/sound/RIFFReader
fi[
fklm	getFormat()Ljava/lang/String;oRIFF
qrstujava/lang/Stringequals(Ljava/lang/Object;)Zw.com/sun/media/sound/RIFFInvalidFormatExceptiony(Input stream is not a valid RIFF stream!
v{|(Ljava/lang/String;)V
f~mgetType?sfbk?&Input stream is not a valid SoundFont!
f???hasNextChunk()Z
f???	nextChunk"()Lcom/sun/media/sound/RIFFReader;?LIST?INFO
???
readInfoChunk#(Lcom/sun/media/sound/RIFFReader;)V?sdta
???
readSdtaChunk?pdta
???
readPdtaChunk?ifil
f???readUnsignedShort()I?isng
f???	available
f???
readString(I)Ljava/lang/String;?INAM?irom?iver?ICRD?IENG?IPRD?ICOP?ICMT?ISFT?smpl
f???	readFully([BII)V?#com/sun/media/sound/ModelByteBuffer
???([B)V
f???getFilePointer()J
???(Ljava/io/File;JJ)V?sm24?phdr?,com/sun/media/sound/RIFFInvalidDataException
??!com/sun/media/sound/SF2Instrument
???%(Lcom/sun/media/sound/SF2Soundbank;)V	?	???preset	???bank
?????java/lang/IntegervalueOf(I)Ljava/lang/Integer;????ujava/util/Listadd
f???readUnsignedInt	????libraryJ	????genre	????
morphology?pbag??size??isEmpty?get(I)Ljava/lang/Object;
?
?intValue
'com/sun/media/sound/SF2InstrumentRegion
	?Kregionspmod com/sun/media/sound/SF2Modulator
	sourceOperator	destinationOperator
f 	readShort()S	"#$amountS	&'amountSourceOperator	)*transportOperator	,-K
modulators/pgen	123
generatorsLjava/util/Map;
567?8java/lang/Short(S)Ljava/lang/Short;:;<=>
java/util/Mapput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;@instBcom/sun/media/sound/SF2Layer
A?	AFibagH"com/sun/media/sound/SF2LayerRegion
G	ALimod	G,Oigen	G1RshdrTcom/sun/media/sound/SF2Sample
SVW(Ljavax/sound/midi/Soundbank;)V	S
?\]^	subbuffer*(JJZ)Lcom/sun/media/sound/ModelByteBuffer;	S`a9data	Scd9data24	Sfg?	startLoop	Sij?endLoop????????	Sno?
sampleRate
fqr?readUnsignedByte	Stu
originalPitch
fwxyreadByte()B	S{|}pitchCorrectionB	S?
sampleLink	S??
sampleType????iterator()Ljava/util/Iterator;?????java/util/IteratorhasNext????next()Ljava/lang/Object;:??&(Ljava/lang/Object;)Ljava/lang/Object;
5?? 
shortValue:???remove	G???sampleLcom/sun/media/sound/SF2Sample;
A???
getRegions()Ljava/util/List;???u?#com/sun/media/sound/SF2GlobalRegion
?	?1?com/sun/media/sound/SF2Region	?1	?,	?,
A???
setGlobalZone((Lcom/sun/media/sound/SF2GlobalRegion;)V	???layerLcom/sun/media/sound/SF2Layer;
??
???com/sun/media/sound/RIFFWriter
???'(Ljava/lang/String;Ljava/lang/String;)V
???writeSoundbank#(Lcom/sun/media/sound/RIFFWriter;)V
???#(Ljava/io/File;Ljava/lang/String;)V
???+(Ljava/io/OutputStream;Ljava/lang/String;)V
????	writeList4(Ljava/lang/String;)Lcom/sun/media/sound/RIFFWriter;
???	writeInfo
???writeSdtaChunk
???writePdtaChunk
?^
????
writeChunk
???|writeString?ascii
q???getBytes(Ljava/lang/String;)[B
????write(I)V?
????writeUnsignedShort
???writeInfoStringChunkG(Lcom/sun/media/sound/RIFFWriter;Ljava/lang/String;Ljava/lang/String;)V
S???
getDataBuffer'()Lcom/sun/media/sound/ModelByteBuffer;
????writeTo(Ljava/io/OutputStream;)V
????
S???getData24Buffer
????
writeShort(S)V:?entrySet()Ljava/util/Set;?
java/util/Setjava/util/Map$Entry	?getKey?getValue
??(Ljava/lang/String;I)V
?getGlobalRegion'()Lcom/sun/media/sound/SF2GlobalRegion;
?writeUnsignedInt(J)VEOP
?
getGenerators()Ljava/util/Map;:
? !?
getModulators?#$%indexOf(Ljava/lang/Object;)I

 
)*+writeModulators3(Lcom/sun/media/sound/RIFFWriter;Ljava/util/List;)V
-./writeGenerators2(Lcom/sun/media/sound/RIFFWriter;Ljava/util/Map;)V
A2EOI
G
G 
?67?capacity
?9:?writeUnsignedByte
?<=?	writeByte AEOSCDEmakeConcatWithConstants(II)Ljava/lang/String;G"javax/sound/midi/SoundbankResource?IJKtoArray(([Ljava/lang/Object;)[Ljava/lang/Object;M$[Lcom/sun/media/sound/SF2Instrument;O-com/sun/media/sound/ModelInstrumentComparator
N
RSTUVjava/util/Arrayssort,([Ljava/lang/Object;Ljava/util/Comparator;)VX[Lcom/sun/media/sound/SF2Layer;Z [Lcom/sun/media/sound/SF2Sample;
\]^_?javax/sound/midi/Patch
getProgram
\ab?getBankdcom/sun/media/sound/ModelPatch
cfg?isPercussionijavax/sound/midi/Instrument
hklmgetPatch()Ljavax/sound/midi/Patch;
opqgetInstruments&()[Lcom/sun/media/sound/SF2Instrument;sjavax/sound/midi/Soundbank	Signature5Ljava/util/List;0Ljava/util/List;1Ljava/util/List;CodeLineNumberTableLocalVariableTablethis"Lcom/sun/media/sound/SF2Soundbank;(Ljava/net/URL;)VurlLjava/net/URL;isLjava/io/InputStream;
StackMapTable?java/lang/Throwable
Exceptions?java/io/IOExceptionfile?java/io/Fileinputstreamchunk Lcom/sun/media/sound/RIFFReader;riffformat[Breadavail?#Lcom/sun/media/sound/SF2Instrument;icountgencountmodcountsplit)Lcom/sun/media/sound/SF2InstrumentRegion;ii
zone_countoffset	modulator"Lcom/sun/media/sound/SF2Modulator;operator$Lcom/sun/media/sound/SF2LayerRegion;startendsampleidgsplit%Lcom/sun/media/sound/SF2GlobalRegion;siterLjava/util/Iterator;globalsplitLcom/sun/media/sound/SF2Region;instrumentid
instrumentpresetspresets_bagNdxpresets_splits_genpresets_splits_modinstruments_bagNdxinstruments_splits_geninstruments_splits_modliteriiterLocalVariableTypeTable:Ljava/util/Iterator;?Ljava/util/Iterator;%Ljava/util/List;;Ljava/util/List;6Ljava/util/List;4Ljava/util/Iterator;9Ljava/util/Iterator;saveoutLjava/io/OutputStream;writer Lcom/sun/media/sound/RIFFWriter;valuelen
iver_chunk
ifil_chunkpad
smpl_chunk
sm24_chunk4Ljava/util/List;W(Lcom/sun/media/sound/RIFFWriter;Ljava/util/List;)V	generatorLjava/util/Map$Entry;keyrangeLjava/lang/Short;velrange;Ljava/util/Map$Entry;5Ljava/util/Map;X(Lcom/sun/media/sound/RIFFWriter;Ljava/util/Map;)Vregionix
phdr_chunkphdr_zone_count
pbag_chunk
pbag_gencount
pbag_modcount
pmod_chunk
pgen_chunk
inst_chunkinst_zone_count
ibag_chunk
ibag_gencount
ibag_modcount
imod_chunk
igen_chunk
shdr_chunk
sample_posgetName
getVersion	getVendorgetDescriptionsetNames	setVendorsetDescriptiongetResources'()[Ljavax/sound/midi/SoundbankResource;	resources%[Ljavax/sound/midi/SoundbankResource;j?
inslist_array	getLayers!()[Lcom/sun/media/sound/SF2Layer;
getSamples"()[Lcom/sun/media/sound/SF2Sample;
getInstrument7(Ljavax/sound/midi/Patch;)Ljavax/sound/midi/Instrument;percussion2patch2Ljavax/sound/midi/Patch;program2bank2Ljavax/sound/midi/Instrument;patchprogram
percussiongetCreationDatesetCreationDate
getProduct
setProduct
getRomName
setRomNamegetRomVersionMajorsetRomVersionMajorgetRomVersionMinorsetRomVersionMinorgetTargetEnginesetTargetEnginegetToolssetToolsaddResource'(Ljavax/sound/midi/SoundbankResource;)Vresource$Ljavax/sound/midi/SoundbankResource;removeResource
addInstrument&(Lcom/sun/media/sound/SF2Instrument;)VremoveInstrument ()[Ljavax/sound/midi/Instrument;
SourceFileSF2Soundbank.javaBootstrapMethods
 !"D#$java/lang/invoke/StringConcatFactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;%.InnerClassesEntry)%java/lang/invoke/MethodHandles$Lookup+java/lang/invoke/MethodHandlesLookup1r #&),/2589<9?@CDJKtuNKtvQKtw1x?}*?*?*?
*?*?*?*?*?!*?$*?'*?**?-*?0*?3*?6*?:*?=*?A*?EY?G?H*?EY?G?L*?EY?G?O?yZY9	:<>@B$C)E.G3I8K=MBOGQLRQSVT[UfVqW|Zz}{|}xc?*?*?*?
*?*?*?*?*?!*?$*?'*?**?-*?0*?3*?6*?:*?=*?A*?EY?G?H*?EY?G?L*?EY?G?O+?RM*,?X,?\?
N,?\-?????yr\9	:<>@B$C)E.G3I8K=MBOGQLRQSVT[UfVqW|^?`?b?c?b?c?dz ?{|?~??????S]???exy?*?*?*?
*?*?*?*?*?!*?$*?'*?**?-*?0*?3*?6*?:*?=*?A*?EY?G?H*?EY?G?L*?EY?G?O*?A*+?=?aY+?cM*,?X,?\?
N,?\-?????yzf9	:<>@B$C)E.G3I8K=MBOGQLRQSVT[UfVqW|g?h?i?k?m?n?m?n?oz ?{|??@???????]???[x?*?*?*?
*?*?*?*?*?!*?$*?'*?**?-*?0*?3*?6*?:*?=*?A*?EY?G?H*?EY?G?L*?EY?G?O*+?X?y^q9	:<>@B$C)E.G3I8K=MBOGQLRQSVT[UfVqW|r?sz?{|?????Z[x"??fY+?hM,?jn?p?
?vYx?z?,?}??p?
?vY??z?,???J,??N-?j??p?6-?}??p?*-??-?}??p?*-??-?}??p?*-??????yBv	wx{+|5<?A?M?Y?^?j?o?{?????z*A????{|???	{????f?(f?????x?"+???+??M,?jN-??p?*,???*,???
??-??p?*,,???????-??p?*,,???????-??p?*,,???????-??p?*,???*,???!??-??p?*,,?????$?x-??p?*,,?????'?`-??p?*,,?????*?H-??p?*,,?????-?0-??p?*,,?????0?-??p?*,,?????3???yv?????"?-?6?E?N?]?f?u?~???????????????????????	???!?z*??
?"{|"???
?,fq?????xE+???
+??M,?j??p?x*?A?Y,???N6,??6?3d??,-????`6???,-d??6???*??Y-?ȵ6?*??Y*?=,??,????ϵ6,?jҶp?x*?A?Y,???N6,??6?3d??,-????`6???,-d??6???*??Y-?ȵ:?*??Y*?=,??,????ϵ:???y?"?????&?)?/?6?@?I?S?_?f?r?u?????????????????????????????????z\	&L8?)I?/C??L<??I??C???{|???/?.ff?#??"?#??????x?	??EY?GM?EY?GN?EY?G:?EY?G:?EY?G:?EY?G:?EY?G:?EY?G:	+???m+??:

?j:Զp??
??&p???Y?ؿ
??&l66

?~??Y*??:
????
????
????-
?????W
???
???
???,??W
d?*?H??W?
???????p??
??p???Y?ؿ
??l6
??6

??6??
???W????????W????-????Y?ؿ-???	6
6
?W???Y?ؿ
??6
??6?????W????????W????????6-??d??-`???	-???	d6,???:6?o???Y?ؿ
??6
??6?Y?:???W?????W????????W???????????L?
?p?v6???d?Y?:


???

???

??!

???%

???(??:??+
??W??????.?p?Q6????
??6

?6??:??0
???4?9W?????6??p?x
??p???Y?ؿ
??l66

?N?AY*?C:
???D
?????W??W
d?*?L??W?
?????E?p??
??p???Y?ؿ
??l6
??6

??6??
???W???	???	??W????????Y?ؿ???	6
6
?W???Y?ؿ
??6
??6?????W???	???	??W????????6??d??`???	???	d6*?L??A:6?o???Y?ؿ
??6
??6?GY?I:?J??W?????W???	???	??W???????????F?K?p??6	???}?Y?:


???

???

??!

???%

???(??????Y?ؿ??G:??M
??W???}?uN?p?Q6????
??6

?6??G:??P
???4?9W?????Q?p?
??.p???Y?ؿ
??.l66

??SY*?U:
???X
??7
??7*?6?*?6YiYi?[?_*?:?*?:?[?b
??e?e
??e?h?e	??k?e?h	??k?h
??m
?p?s
?v?z
???~
????
d?*?O??W?
?????*?L??:

????
???A:?J??::
???????G:?P5????[?P5????5??6?P5???W?*?O?????Y?ؿ*?O??S???:
??|
?4??
??W??Y??:
????
????????*?H??:????????:???:
:
????
???:?0)????[?0)????5??6?0)???W?*?L?????Y?ؿ*?L??A???:??|?4????W??Y??:?????????????y??????"?+?4?=?F?M?S?Z?d?o?w????????????????????????%.5<
HT`lox????????? ?!?"??%?&'(+)5*:+B,I-P.Y/f0r12?3?4?)?%?7?9?:?;?<?=?>???@
AB9(D3FBGIHPI^JcKxF?M?O?P?Q?R?S?T?U?V?W?X?R?Z\]^'b.c5dAeMfYgehhkrlzn?p?q?r?s?t?u?v?w?x?y?p?|?}~,6?;?C?J?Q?Z?g?s?????????|???????????????????'?,?9?B?M?\?c?j?x?}???????????????????????????)?6?C?M?U?_?g?q?{????????????????????????????????&?6?I?Q?d?g?k?n?s?????????????????????????????	?		?	?	&?	9?	A?	T?	W?	[?	^?	c?	p	y	?	?	?	?zO?k?????
???5:?
<3??:??3??[?IR?PK?YB??.s???+v?????.y???
?R??

???m?I/?
P(#$^??6H??;???R?
?U?.:?
53??:??3??[?JR?QK?ZB??/s???,v?????'????
?k??
'?????c/?
j(#$x??PH????????????????
???Sa??
ZZ?&>??n?????????????????
	>??n??	y??????????
????	?{|	???	??K	??K	?K"	v?K+	mJK4	d?K=	[?KF	R?K	????
?????z????????
	??u	???	??"	v??+	mJv4	d??=	[??F	R??	????
??????`?F
f?????????0fq??{?????
???=??#?f????????fq??
?f??
?A???K?????
???CA?#G?f????????fq??
?W???
?A???JS+?F?
f?????????
??$A???aG???5?
??$????a???5???|xG*??Y+??????y

z{|???exG*??Y+??????y
z{|?@????xG*??Y+??ö??y
z{|??????xg#*+??ƶ?*+??ƶ?*+??ƶ?+?ӱy
"z#{|#??????x?3-??+,??:-??-ڶܾ6???p?	??y*
 !"#"$%%,&2'z>3{|3??33?'????
?,?????xe?*??	*?*??
*?+???M,*???,*?
??*+?*???*+?*???*+?*???*??+???N-*???-*?!??*+?*?$??*+?*?'??*+?*?*??*+?*?-??*+?*?0??*+?*?3??+?ӱyZ*+
,-/"0*122=3H4S5[6b7j8r:};?<?=?>???A?Bz*b???{|???"????


?V?????x?? ?M+???N*?O??:???)???S:??:-??-,??-,?????*???*??*?
??*?O??:??????S:??:?????+Ҷ?:*?O??:???%???S:??:??-,????ױybFHI-J4K:Q?RDSGTOUPV`WaZ?[?\?]?^?`?a?b?c?h?i?jzp4a9-???d9?
???a9????{|??????????8???)	?????/?
?"?????+??*+x?L,??N-???>-???:+???+???+?!??+?%??+?(?????y"no$p-q6r?sHtKuz*-??L{|L??L-K?L-?????C??t?./x??,+????5N,,????5:-?++??+-?????+,??+????,???:???^???:???	+???????	,????+???	??+?
?5????????yFyz{#|)}16?<?E?h?z?}???????????z>hL???{|????23???????hL???2???155???*?$??t???x}?+Զ?M>*?H??:???g????:,???
,?߶?,???,?????????`>,??,???,??????,?
,??,??,??,	?,	?,	?+???:66*?H??:????????:??5???????`6????`6????:		???S	???:
????*?L
???"??
?&?`6
?'??`6?????J????+??:*?H??:???X????:		??*	???(	????:

???
???:*?'?(??ߧ??
???+.??:*?H??:		???}	????:

??*
???,
????:???B???:*?&?,*?L???"6

?)??
???????????+???:	6
*?L??:???????A:	?D?
	
???0??

????`6
???	1?
	
??+E??:66
*?L??:???????A:?0?5??
???0??`6
?0???`6
????:???S???G:??
??*?O???"???3?`6
?4??`6
?????J??
??+K??:*?L??:???X???A:?0?*?0??(????:??????G:*?4?(??ߧ??
???+N??:*?L??:???}???A:?0?*?0??,????:???B???G:*?3?,*?O???"6?5?????????????+Q??:	7*?O??:???????S:?X?
7?_?5Yma77?ea7?ha7??7??7?????m??s?8?z?;?~??????>a7??C@?
????y^???	?*?5?>?G?L?T?W?d?m?v??????????????????????????????????4?;?B?T?W?f?u?x?{?????????????????????????/?7?<?B?E?g?r????????????????????????????????????"?C?K?R?Y?]?k?o?}?????????????????????&+14
Vdg
py??????????!"#=$I%M&^'b(l)v*~+?,?-?.?/?0?1?2?3?4?5?6?7?8?9?:?<z?'*U??4A??
????????F??	??
g0??/k??
?-???A??C???V??F?????0???k??M???b???lxg?vnj?=????{|??????	???J???G??D??i??????M??	?J?
?????"??
????y??????????~,????B??*???????O????8? ??!???+????#?????+????E??????3A??*?????????OA???8G? ??!???+A???#?????+A???E??????Z???????????S?X?????????????mx/*??y@z{|?mx8*?*?
?B?yEz{|?mx/*?'?yJz{|?mx/*?0?yOz{|?|x>*+??y
STz{|??|x>*+?'?y
WXz{|??|x>*+?0?y
[\z{|???x?k*?L??*?O??`?FL=>*?L???+?*?L??FS????>*?O???+?*?O??FS????+?y*
`abc(d;cAePfceigz4&?C&?k{|T??R?????%??%pqxf&*?H*?H???ٹH?LL+?NY?P?Q+?ylmn$oz&{|
?M??xC*?L*?L???A?H?W?ysz{|??xC*?O*?O???S?H?Y?ywz{|??x??+?[=+?`>6+?c?+?c?e6*?H??:???R???h:?j:?[6?`6	?(	?"6
?c?
?c?e6

??????yF|}
~
??>?E?L?S?_?b?j?t?{?~???zf
b?D
E9??L2?S+?	>@??{|??~
y?
vD?@??
??K\?h\?	\??mx/*?$?y?z{||x>*+?$?y
??z{|&mx/*?*?y?z{||x>*+?*?y
??z{|,mx/*??y?z{|	|x>*+??y
??z{|
?x/*??y?z{|?x>*??y
??z{| ?x/*?!?y?z{|
?x>*?!?y
??z{|#mx/*??y?z{||x>*+??y
??z{|mx/*?3?y?z{||x>*+?3?y
??z{|5x?@+?ٙ*?H+?ٹ?W+?A?*?L+?A??W+?S?*?O+?S??W?y????*?1???z@{|@?x?7+?ٙ*?H+??W+?A?*?L+??W+?S?*?O+??W?y????$?+?6?z7{|7?xD*?H+??W?y
??z{|?xD*?H+??W?y
??z{|?Apx/*?n?y6z{|$&:'	(*,




© 2015 - 2025 Weber Informatics LLC | Privacy Policy