GithubHelp home page GithubHelp logo

Comments (16)

soumith avatar soumith commented on July 2, 2024 4

sudo apt-get install libsox-fmt-all

it should have already been installed (if you used torch's install instructions) and has mp3 support. If not, install again.

from lua---audio.

lolz0r avatar lolz0r commented on July 2, 2024 1

I saw this problem today. It ends up using the audio library in a separate thread causes this problem; when using audio.load in the main thread it works as expected.

from lua---audio.

kavikon avatar kavikon commented on July 2, 2024 1

please reopen this issue

from lua---audio.

soumith avatar soumith commented on July 2, 2024

I think you'll have to install the additional non-free plugins for sox. which OS are you using?

from lua---audio.

moontails avatar moontails commented on July 2, 2024

I am using a ubuntu 14.04 LTS

from lua---audio.

moontails avatar moontails commented on July 2, 2024

yeah i did follow all the instructions to get torch installed! i think i have the latest version as well

libsox-fmt-all is already the newest version.

from lua---audio.

moontails avatar moontails commented on July 2, 2024

i am able to load my own wav file just fine. not sure if this helps

from lua---audio.

soumith avatar soumith commented on July 2, 2024

hmm, in the terminal if you type "sox", there's a lot of output, and you'll have a line like this:

AUDIO FILE FORMATS: 8svx aif aifc aiff aiffc al amb amr-nb amr-wb anb au avr awb caf cdda cdr cvs cvsd cvu dat dvms f32 f4 f64 f8 fap flac fssd gsm gsrt hcom htk ima ircam la lpc lpc10 lu mat mat4 mat5 maud mp2 mp3 nist ogg paf prc pvf raw s1 s16 s2 s24 s3 s32 s4 s8 sb sd2 sds sf sl sln smp snd sndfile sndr sndt sou sox sph sw txw u1 u16 u2 u24 u3 u32 u4 u8 ub ul uw vms voc vorbis vox w64 wav wavpcm wv wve xa xi
PLAYLIST FORMATS: m3u pls
AUDIO DEVICE DRIVERS: alsa ao oss ossdsp pulseaudio

Is there mp3 in there?

from lua---audio.

moontails avatar moontails commented on July 2, 2024

no i do not see mp3 listed there :/

from lua---audio.

soumith avatar soumith commented on July 2, 2024

hmm that's strange. my ubuntu has them....

from lua---audio.

felixsanz avatar felixsanz commented on July 2, 2024

@soumith can you reopen this please? I'm having this issue with sox 14.4.2

from lua---audio.

kavikon avatar kavikon commented on July 2, 2024

@felixsanz I still see this issue in 14.4.2 just compiled in ubuntu with latest issue is still there i dont see mp3 in the list as well

from lua---audio.

ankitshah009 avatar ankitshah009 commented on July 2, 2024

Any solution to this problem
Able to see the issue with sox 14.4.1

from lua---audio.

ankitshah009 avatar ankitshah009 commented on July 2, 2024

Please reopen the issue

from lua---audio.

ashutosh1919 avatar ashutosh1919 commented on July 2, 2024

Can anyone tell me solution for CentOS 7

from lua---audio.

Otumian-empire avatar Otumian-empire commented on July 2, 2024

yeah i did follow all the instructions to get torch installed! i think i have the latest version as well

libsox-fmt-all is already the newest version.

this solution helped.. thanks

from lua---audio.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.