Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

14
LINES

< > BotCompany Repo | #1014509 // Test decoding MP3 with JavaMP3 (seems to work, but doesn't check the actual samples)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Uses 961K of libraries. Click here for Pure Java version (7866L/58K).

1  
!7
2  
3  
lib 1014508 // JavaMP3
4  
5  
import fr.delthas.javamp3.Sound;
6  
7  
p {
8  
  temp Sound sound = new Sound(new BufferedInputStream(new FileInputStream(william_silent("Hello world"))));
9  
  
10  
  print("Sampling frequency: " + sound.getSamplingFrequency());
11  
  print("Audio format: " + sound.getAudioFormat());
12  
  
13  
  print("Length: " + streamLength(sound));
14  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1014509
Snippet name: Test decoding MP3 with JavaMP3 (seems to work, but doesn't check the actual samples)
Eternal ID of this version: #1014509/4
Text MD5: e689cab37106a6e5ae68fae5e652fcd9
Transpilation MD5: 1035c299f2cb2a96509dec071337f837
Author: stefan
Category: javax / mp3
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-05 01:24:43
Source code size: 354 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 1474 / 1095
Version history: 3 change(s)
Referenced in: [show references]