Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 11 java.desktop.jmod - Desktop Module
JDK 11 java.desktop.jmod is the JMOD file for JDK 11 Desktop module.
JDK 11 Desktop module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.desktop.jmod.
JDK 11 Desktop module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Desktop module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.desktop.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ javax/sound/midi/SoundbankResource.java
/* * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.sound.midi; import javax.sound.sampled.AudioInputStream; /** * A {@code SoundbankResource} represents any audio resource stored in a * {@link Soundbank}. Common soundbank resources include: * <ul> * <li>Instruments. An instrument may be specified in a variety of ways. * However, all soundbanks have some mechanism for defining instruments. In * doing so, they may reference other resources stored in the soundbank. * Each instrument has a {@code Patch} which specifies the MIDI program and * bank by which it may be referenced in MIDI messages. Instrument information * may be stored in {@link Instrument} objects. * <li>Audio samples. A sample typically is a sampled audio waveform which * contains a short sound recording whose duration is a fraction of a * second, or at most a few seconds. These audio samples may be used by a * {@link Synthesizer} to synthesize sound in response to MIDI commands, or * extracted for use by an application. (The terminology reflects musicians' * use of the word "sample" to refer collectively to a series of contiguous * audio samples or frames, rather than to a single, instantaneous sample.) * The data class for an audio sample will be an object that encapsulates * the audio sample data itself and information about how to interpret it * (the format of the audio data), such as an {@link AudioInputStream}. * <li>Embedded sequences. A sound bank may contain built-in song data stored * in a data object such as a {@link Sequence}. * </ul> * Synthesizers that use wavetable synthesis or related techniques play back the * audio in a sample when synthesizing notes, often when emulating the * real-world instrument that was originally recorded. However, there is not * necessarily a one-to-one correspondence between the {@code Instruments} and * samples in a {@code Soundbank}. A single {@code Instrument} can use multiple * SoundbankResources (typically for notes of dissimilar pitch or brightness). * Also, more than one {@code Instrument} can use the same sample. * * @author Kara Kytle */ public abstract class SoundbankResource { /** * The sound bank that contains the {@code SoundbankResources}. */ private final Soundbank soundBank; /** * The name of the {@code SoundbankResource}. */ private final String name; /** * The class used to represent the sample's data. */ private final Class<?> dataClass; /** * The wavetable index. */ //private final int index; /** * Constructs a new {@code SoundbankResource} from the given sound bank and * wavetable index. (Setting the {@code SoundbankResource's} name, sampled * audio data, and instruments is a subclass responsibility.) * * @param soundBank the sound bank containing this * {@code SoundbankResource} * @param name the name of the sample * @param dataClass the class used to represent the sample's data * @see #getSoundbank * @see #getName * @see #getDataClass * @see #getData */ protected SoundbankResource(Soundbank soundBank, String name, Class<?> dataClass) { this.soundBank = soundBank; this.name = name; this.dataClass = dataClass; } /** * Obtains the sound bank that contains this {@code SoundbankResource}. * * @return the sound bank in which this {@code SoundbankResource} is stored */ public Soundbank getSoundbank() { return soundBank; } /** * Obtains the name of the resource. This should generally be a string * descriptive of the resource. * * @return the instrument's name */ public String getName() { return name; } /** * Obtains the class used by this sample to represent its data. The object * returned by {@code getData} will be of this class. If this * {@code SoundbankResource} object does not support direct access to its * data, returns {@code null}. * * @return the class used to represent the sample's data, or null if the * data is not accessible */ public Class<?> getDataClass() { return dataClass; } /** * Obtains the sampled audio that is stored in this * {@code SoundbankResource}. The type of object returned depends on the * implementation of the concrete class, and may be queried using * {@code getDataClass}. * * @return an object containing the sampled audio data * @see #getDataClass */ public abstract Object getData(); /** * Obtains the index of this {@code SoundbankResource} into the * {@code Soundbank's} set of {@code SoundbankResources}. * * @return the wavetable index */ //public int getIndex() { // return index; //} /** * Obtains a list of the instruments in the sound bank that use the * {@code SoundbankResource} for sound synthesis. * * @return an array of {@code Instruments} that reference this * {@code SoundbankResource} * @see Instrument#getSamples */ //public abstract Instrument[] getInstruments(); }
⏎ javax/sound/midi/SoundbankResource.java
Or download all of them as a single archive file:
File name: java.desktop-11.0.1-src.zip File size: 7974380 bytes Release date: 2018-11-04 Download
⇒ JDK 11 java.instrument.jmod - Instrument Module
2022-08-06, 194973👍, 5💬
Popular Posts:
What Is activation.jar? I heard it's related to JAF (JavaBeans Activation Framework) 1.0.2? The if y...
commons-collections4-4.2 -sources.jaris the source JAR file for Apache Commons Collections 4.2, whic...
Saxon-HE (home edition) is an open source product available under the Mozilla Public License. It pro...
How to run "javac" command from JDK tools.jar file? "javac" is the Java compiler command that allows...
JDK 11 jdk.localedata.jmod is the JMOD file for JDK 11 Localedata module. JDK 11 Locale Data module ...