• 大小: 4.89MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-08-12
  • 语言: Html/CSS
  • 标签: 我的世界  

资源简介

我的世界1.12.2官方forge服务器,已经配置好的。联机教程:http://www.mcbbs.net/thread-831469-1-1.html 希望你能成功开我的世界服务器。

资源截图

代码片段和文件信息


package ibxm;

public class Channel {
public int pattern_loop_row;

private Module module;
private Instrument instrument;
private Sample sample;
private int[] global_volume current_note;
private boolean linear_periods fast_volume_slides key_on silent;
private int sample_idx sample_frac step left_gain right_gain;
    @SuppressWarnings(“unused“) //Forge
private int volume panning fine_tune period porta_period key_add;
private int tremolo_speed tremolo_depth tremolo_tick tremolo_wave tremolo_add;
private int vibrato_speed vibrato_depth vibrato_tick vibrato_wave vibrato_add;
private int volume_slide_param portamento_param retrig_param;
private int volume_envelope_tick panning_envelope_tick;
private int effect_tick trigger_tick fade_out_volume random_seed;

private int log_2_sampling_rate;
private static final int LOG_2_29024 = LogTable.log_2( 29024 );
private static final int LOG_2_8287 = LogTable.log_2( 8287 );
private static final int LOG_2_8363 = LogTable.log_2( 8363 );
private static final int LOG_2_1712 = LogTable.log_2( 1712 );

private static final int[] sine_table = new int[] {
  0 24   49  74  97 120 141 161 180 197 212 224 235 244 250 253
255 253 250 244 235 224 212 197 180 161 141 120  97  74  49  24
};

public Channel( Module mod int sampling_rate int[] global_vol ) {
module = mod;
global_volume = global_vol;
linear_periods = module.linear_periods;
fast_volume_slides = module.fast_volume_slides;
current_note = new int[ 5 ];
log_2_sampling_rate = LogTable.log_2( sampling_rate );
}

public void reset() {
tremolo_speed = 0;
tremolo_depth = 0;
tremolo_wave = 0;
vibrato_speed = 0;
vibrato_depth = 0;
vibrato_wave = 0;
volume_slide_param = 0;
portamento_param = 0;
retrig_param = 0;
random_seed = 0xABC123;
instrument = module.get_instrument( 0 );
row( 48 256 0 0 0 );
}

public void resample( int[] mixing_buffer int frame_offset int frames int quality ) {
if( !silent ) {
switch( quality ) {
default:
sample.resample_nearest( sample_idx sample_frac step left_gain right_gain mixing_buffer frame_offset frames );
break;
case 1:
sample.resample_linear( sample_idx sample_frac step left_gain right_gain mixing_buffer frame_offset frames );
break;
case 2:
sample.resample_sinc( sample_idx sample_frac step left_gain right_gain mixing_buffer frame_offset frames );
break;
}
}
}

public void update_sample_idx( int samples ) {
sample_frac += step * samples;
sample_idx += sample_frac >> IBXM.FP_SHIFT;
sample_frac &= IBXM.FP_MASK;
}

public void set_volume( int vol ) {
if( vol < 0 ) {
vol = 0;
}
if( vol > 64 ) {
vol = 64;
}
volume = vol;
}

public void set_panning( int pan ) {
if( pan < 0 ) {
pan = 0;
}
if( pan > 255 ) {
pan = 25

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         144  2019-02-02 17:57  forge\.gitignore
     目录           0  2019-02-02 17:59  forge\.gradle\
     目录           0  2019-02-02 17:58  forge\.gradle\2.14\
     目录           0  2019-02-02 17:58  forge\.gradle\2.14\taskArtifacts\
     文件          31  2019-02-02 17:58  forge\.gradle\2.14\taskArtifacts\cache.properties
     文件          17  2019-02-02 18:00  forge\.gradle\2.14\taskArtifacts\cache.properties.lock
     文件       20235  2019-02-02 18:00  forge\.gradle\2.14\taskArtifacts\fileHashes.bin
     文件       20120  2019-02-02 18:00  forge\.gradle\2.14\taskArtifacts\fileSnapshots.bin
     文件       18832  2019-02-02 18:00  forge\.gradle\2.14\taskArtifacts\fileSnapshotsToTreeSnapshotsIndex.bin
     文件       20629  2019-02-02 18:00  forge\.gradle\2.14\taskArtifacts\taskArtifacts.bin
     文件       19676  2019-02-02 17:59  forge\.gradle\2.14\taskArtifacts\treeSnapshots.bin
     文件       18546  2019-02-02 17:59  forge\.gradle\2.14\taskArtifacts\treeSnapshotUsage.bin
     文件        1496  2019-02-02 18:00  forge\.gradle\gradle.log
     文件        3107  2019-02-02 17:57  forge\build.gradle
     目录           0  2019-02-02 17:59  forge\build\
     目录           0  2019-02-02 17:59  forge\build\tmp\
     目录           0  2019-02-02 18:00  forge\build\tmp\recompileMc\
     目录           0  2019-02-02 18:00  forge\build\tmp\recompileMc\compiled\
     目录           0  2019-02-02 18:00  forge\build\tmp\recompileMc\sources\
     目录           0  2019-02-02 18:00  forge\build\tmp\recompileMc\sources\ibxm\
     文件       23843  2019-02-02 18:00  forge\build\tmp\recompileMc\sources\ibxm\Channel.java
     文件        2750  2019-02-02 18:00  forge\build\tmp\recompileMc\sources\ibxm\Envelope.java
     文件       10572  2019-02-02 18:00  forge\build\tmp\recompileMc\sources\ibxm\FastTracker2.java
     文件       10301  2019-02-02 18:00  forge\build\tmp\recompileMc\sources\ibxm\IBXM.java
     文件        2113  2019-02-02 18:00  forge\build\tmp\recompileMc\sources\ibxm\Instrument.java
     文件        3352  2019-02-02 18:00  forge\build\tmp\recompileMc\sources\ibxm\LogTable.java
     文件        3541  2019-02-02 18:00  forge\build\tmp\recompileMc\sources\ibxm\Module.java
     文件        1288  2019-02-02 18:00  forge\build\tmp\recompileMc\sources\ibxm\Pattern.java
     文件        3877  2019-02-02 18:00  forge\build\tmp\recompileMc\sources\ibxm\Player.java
     文件        8055  2019-02-02 18:00  forge\build\tmp\recompileMc\sources\ibxm\ProTracker.java
     文件       10812  2019-02-02 18:00  forge\build\tmp\recompileMc\sources\ibxm\Sample.java
............此处省略3131个文件信息

评论

共有 条评论

相关资源