michaelwu / libsndfile Goto Github PK
View Code? Open in Web Editor NEWlibsndfile 1.0.25 with an Android.mk file
Home Page: http://www.mega-nerd.com/libsndfile/
License: GNU Lesser General Public License v2.1
libsndfile 1.0.25 with an Android.mk file
Home Page: http://www.mega-nerd.com/libsndfile/
License: GNU Lesser General Public License v2.1
Hi ,
Could you help me out on this , or guide me to some how can thanks
I am trying to get a wav file information but Sndfile is unable to read file with special characters in path and file name(查找問題daw.wav) and i am unable to get information in any way , i tried passing file path to Sndfile with diferent encoding to but didnt work , but if i pass this 'C:\Users\Furqan\Desktop\test\DAW\1.wav' it works fine , Thanks is advance
My Code is
# -- coding: UTF-8 --
from scikits.audiolab import Sndfile
from os import walk, path, stat
track1 = r'C:\Users\Furqan\Desktop\test\查找問題daw\查找問題d.wav'
#track2 = r'C:\Users\Furqan\Desktop\test\DAW\1.wav'
try:
track_one_file_obj = Sndfile(track1, 'r')
except:
print('Simple didnt work')
pass
try:
track_one_file_obj = Sndfile(track1.decode('cp1252'), 'r')
except:
print('cp1252 didnt work')
pass
try:
track_one_file_obj = Sndfile(track1.encode('utf-8'), 'r')
print(track_one_file_obj)
except:
print('encode didnt work')
pass
try:
track_one_file_obj = Sndfile(track1.encode('utf8'), 'r')
print(track_one_file_obj)
except:
print('encode didnt work')
pass
try:
track_one_file_obj = Sndfile(track1.decode('utf-8'), 'r')
print(track_one_file_obj)
except:
print('decode didnt work')
pass
Dear List,
Have someone successful compiled for Android and implemented in Android Stuido?
or just an Example?
Thanks!!!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.