. Net language APP development platform-Smobiler learning logs: how to upload offline audio files
Smobiler is a development platform that uses the. Net language to develop apps in the VS environment. It may be more convenient than Xamarin.
1. Target Style
The following operations are required to achieve the effect:1. Drag an OfflineVoiceRecorderButton control from "scycler Components" on the toolbar to the
Last time, I encountered a need to merge multiple audio files in the project. I searched the internet and found something written by a foreigner. It is now posted on the homepage. Dudu can be removed if he finds it hard.Using system;
Using system. Collections. Generic;
Using system. text;
Using system. IO;
Using system. runtime. interopservices;
Namespace mergewaves
{
Public class waveio
{
Public int length
Python processes audio files (mp3)
Today, the MP3 source file of the aiping point reader has different sound sizes and needs to connect the English word MP3 with the word translation MP3 file. The effect of using ffmpeg is very poor at the beginning. The omnipotent gitgub once again proved its omnipotent. I found pydub.
1 web site: https://github.com/jiaaro/pydub
2 pydub depends on libav or ffmpeg
3. Ins
There is a problem with the stored hard disk, most of the picture files are OK after the system reboot, but there is a little damage. Python makes it easy to find all the corrupted files from a few terabytes of files.Make sure you are using a Python version 2.7.9 or above or more than 3.4PIP is already installed if you ' re using Python 2 >=2.7.9 or Python 3 >=3.4 binaries downloaded fr Om python.org, but y
Today aiping Point reading pen MP3 source files appear inconsistent sound size, and need to be English word MP3 and Word translation MP3 file connection, just start using ffmpeg effect is poor. The Almighty Gitgub proved its omnipotence again, and I found Pydub.1 Website: https://github.com/jiaaro/pydub2 Pydub need to rely on LIBAV or ffmpeg4 Installing PYDUB:PIP Install Pydub5 Using Pydub: Enpath = "%s%s/%s"% (endir,file,enfile) #英文文件的路径
This article recommends a good example program for playing Wav audio files. If you want to use java, you can refer to it.
The Code is as follows:
Copy code
Import java. io. File;Import java. io. FileInputStream;Import javax. sound. sampled .*;Import javax. swing .*;Public class test extends JFrame{Public static void main (String [] args){Test app = new test ();App. playStartupSound (
The code is as follows1 Public StaticListGetallmusic (Context context) {2 musics.clear ();3 4Uri uri=MediaStore.Audio.Media.EXTERNAL_CONTENT_URI;5 /**6 * Public String name;//song name7 Public String author;//singer8 Public String path;//PathYou can also get additional information9 */Tenstring[] Projection ={MediaStore.Audio.Media.TITLE, MediaStore.Audio.Media.ARTIST, One MediaStore.Audio.Media.DATA}; Acursor cursor = context.getcontentresolver (). Query (URI, projectio
-loader There are two types of work : 1. If the file size is less than the limit parameter, Url-loader will convert the file to dataurl;2. The file size is greater than Limit,url-loader will call file-loader for processing, and the parameters will be passed directly to File-loader. { test:/\. (PNG|JPG|GIF|SVG|EOT|TTF|WOFF|WOFF2) $/, //loader: ' url-loader?name=images/[name].[ EXT] ', loader: ' Url-loader ', options: {
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.