On 03/11/2021 14.41, Shada Bahassan wrote:

I have audio recording files that are compressed using the .ul format. So I'd like to convert it to .wav format in order to read these records.


Without having any exerience with SoX, it does sound like something it should be capable of.

I discovered Sox, which assisted me in converting, but I'm not sure how to use it in the command line and django.


I still have no idea what you mean by that. You can launch a process from Python using the subprocess module I mentioned earlier and pass command line arguments with that module.

You can use subprocess from your Django code just like you can use any other Python code.

What exactly are you trying to achieve? Maybe try to describe a bit on a higher level ignoring SoX, process argument handling and maybe even Django for now.

Kind regards,

Kasper Laudrup

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/ad640099-15fe-d8ec-2f38-fb5213cf6947%40stacktrace.dk.

Attachment: OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to