Audio Editor in a Django App? - javascript

I'm in a little over my head with a project for a client, they want to build an audio editor that will allow the user to trim their uploaded audio files and save them. I've built the file uploader, and the detail view for the individual audio files, my question is how would this best be implemented? I've been looking at
Peaks.js
and I want to make sure thats the right way to go before diving in. Never used npm in a django project before, is it like using any other js library?
I've also been told about sox, which is great for manipulating the sound files, but what about displaying the sound to the user/editing in the browser?
Any help or general direction-pointing would be greatly appreciated and could save me a bunch of time potentially.

Related

How to generate the source codes from an .fba file

This question might sound crazy, but the truth is I recently developed an app for Fitbit watches and uploaded the fba file on Fitbit gallery. Then, my laptop was stolen, and because I didn't make a backup of the app, now I only have the final product without having the source codes which are .js files. I wonder if there is a way of converting that fba to the source code or any approach for recovering the source codes.
Thanks in advance!

How to play MP3 in GUI using PyQT

I wanted to create a simple GUI app which selects one of the MP3 files and plays it. Can't seem to find the best library for doing that with PyQT. Therefore need some recommendation on it. Don't mind switch to JavaFX or something if it has more options.
I know GUI is probably outdated nowadays when everything is web. Would Javascript be a better choice?
try vlc module for python to play all types of audio and videos in case needed later. You should make use of the Qt example seen in examples folder when you unzip the downloaded tar file

How do I store assets for javascript on the web?

Recently I have been trying to create a chat project which makes a ringing noise once you receive a message. My problem is that I cannot find a ringing noise that will be available for the project anywhere. Google drive does not work, the javascript can't process it. For some reason if I link sound from wikipedia it does work. Is there a way to upload a ringing sound which will be available to link to through javascript?
Thanks!
P.S. I'm sorry about how long this question is, congratulations if you read it & managed to understand what I'm saying :)
It creates a bit of overhead but you can use something like this to have an easy access to your audio:
http://www.createjs.com/soundjs
In a theoretical sense you would have your assets (be it soundfiles or images or what ever) loaded to the webserver you serve your page from. Normaly you will have an assets folder on there. You can then access these files by using the path to that folder on your server in your code.
HTML5 should provide functions for sound playback and such as well. Might as well start there

Is it possible to record sound playing in browser or speaker in javascript or by any scripting language?

I have used html audio tags for playing multiple mp3 file in browser. I want to know if it is possible to record these mp3's into a single mp3 file in javascript(specifically)?. Or even if any module which can help me record these playing mp3's.
Generally, no.
It is possible to work with audio in JS but probably not in the way you want. See this question for more info.
I don't know what exactly you're trying to do but it seems like you would need to do it server-side, and even that would take effort to achieve (Since you would need to find a library that could merge multiple MP3s into a single file and then serve that as a download to the user. This would also require you to know how to install such software and make it available to your server-side code).

pulling pages from a pdf file and display it?

this is just a rough idea, i am trying to create a magazine reading platform and i need the reading flow to be smooth, and so is the magazine upload process, it must be fast and easy. so i am thinking of using pdf file.
I am thinking is it possible to have a module(maybe a system?) to pull each page from the pdf and display it in a interface written in html? i know there is something similar in flash, but what i want it is something lighter and easier from development. coz at the end i am gonna put this module into maybe a cms system.
thanks in advance guys:)
Regards,
WJ
hi guys i just found this solution, pdf.js, it uses javacript to implement pdf displaying on the web page, it also able to create pdf file from javascript.
anyway the reader is there, and interface is able to change since it is html, i guess this should be the solution.

Categories