LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices



Reply
 
Search this Thread
Old 03-15-2013, 05:41 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,268

Rep: Reputation: 49
Sending a file from my computer to an Internet public forum.


Hi: I am registered at a music forum and, sometimes, I ask the members if they know this and that piece of music. I have no other way of making the query than sending the written notes, I mean, a small sheet music with the music notated on it, a thing I can do by using some special software (scorewriter).

Now, it would be much easier (not everybody reads music) if I could send, to this forum, just a music file (.wav, .mp3, et cetera). For example I now have a WAV file, which I would like to post in that forum. Is there any known means in the Internet of sending a file from my computer to an Internet public forum (by forum I mean a site like this one, LQ)?

I know how to send pictures in this way, for instance a screenshot to another forum. I just upload my file to a certain internet site (well..., photobucket) and they give me a link. Then, I only have to post the link. However, this cannot be done with any type of file. In particular, not with an MP3 file. And I have also seen there exist sites for file sharing. But the mechanism is quite different. I have seen that it is impossible to send the file through sites like those. So, my question stands.
 
Old 03-15-2013, 06:09 PM   #2
yooy
Senior Member
 
Registered: Dec 2009
Posts: 1,217

Rep: Reputation: 139Reputation: 139
Check out soundcloud, mixcloud, etc. you can upload music to these and post links to forums you want.

Last edited by yooy; 03-16-2013 at 06:02 AM.
 
Old 03-15-2013, 06:09 PM   #3
odiseo77
Senior Member
 
Registered: Dec 2004
Location: Caracas, Venezuela
Distribution: Debian Sid, OpenSUSE 13.1
Posts: 1,018

Rep: Reputation: 315Reputation: 315Reputation: 315Reputation: 315
What about registering an account in Youtube and uploading the music files? Other possibility, in case you need other people to have direct access to the files in question (and not simply be able to listen them through Youtube) is to zip them and upload them to any of these file sharing websites (not sure, but might work).
 
Old 03-15-2013, 06:14 PM   #4
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,268

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by odiseo77 View Post
What about registering an account in Youtube and uploading the music files? Other possibility, in case you need other people to have direct access to the files in question (and not simply be able to listen them through Youtube) is to zip them and upload them to any of these file sharing websites (not sure, but might work).
But the file sharing website asks me for a URL to send the file to! As to youtube, I'm sure they will ask me a cell phone number, which I do not like to give anybody.

@yooy: thank you very much.
 
Old 03-15-2013, 06:19 PM   #5
odiseo77
Senior Member
 
Registered: Dec 2004
Location: Caracas, Venezuela
Distribution: Debian Sid, OpenSUSE 13.1
Posts: 1,018

Rep: Reputation: 315Reputation: 315Reputation: 315Reputation: 315
Quote:
Originally Posted by stf92 View Post
But the file sharing website asks me for a URL to send the file to!
It's strange since they usually give a link address instead, so people can download the file from there (at least, the ones I've tried). Anyway, the soundcloud suggestion looks like a good idea.
 
Old 03-15-2013, 06:29 PM   #6
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,268

Original Poster
Rep: Reputation: 49
Soundcloud needs you to be in facebook. However, I tried mixclued. They ask me for the email URL, a password and a username (if I had not facebook, but I chose email). But when I pressed the 'Join' button (after having entered the data), I was taken back to the page where I was before, with no explanation at all! Perhaps,I'm doing something wrong.

Last edited by stf92; 03-15-2013 at 06:30 PM.
 
Old 03-15-2013, 06:36 PM   #7
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,268

Original Poster
Rep: Reputation: 49
OK. Now I am a user in mixcloud and am about to upload my firs file. Mine is .wav, so I must first convert it to mp3. I think sox is the tool for it, is it not?
 
Old 03-15-2013, 06:41 PM   #8
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
I'm using a low power Atom PC for my router. So I can serve files from it among many other benefits. For instance, here's how I stopped a rock from falling to the trail. Served from my router.
 
Old 03-15-2013, 07:29 PM   #9
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,268

Original Poster
Rep: Reputation: 49
OK. Now I am a user in mixcloud and am about to upload my firs file. Mine is .wav, so I must first convert it to mp3. I think sox is the tool for it, is it not?

EDIT: i just did 'sox lvb.wav lvb.mp3' and got the file. And mixcloud was easier to use than I at first thought.
 
Old 03-15-2013, 07:37 PM   #10
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,563

Rep: Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804
Quote:
Originally Posted by Emerson View Post
I'm using a low power Atom PC for my router. So I can serve files from it among many other benefits. For instance, here's how I stopped a rock from falling to the trail. Served from my router.
The only problem with this is that you're giving your home IP address away to everyone, with any geographical information this may imply. Also, your home internet connection is likely to be slow for people to download from.
 
Old 03-15-2013, 08:16 PM   #11
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
Quote:
Originally Posted by 273 View Post
The only problem with this is that you're giving your home IP address away to everyone, with any geographical information this may imply. Also, your home internet connection is likely to be slow for people to download from.
Guess what. This is a dynamic address. Every time it changes it takes minutes until it gets bombed by script kiddies. So much for security concerns. You just keep it secure or you will be hacked. Whether it is published or not makes no difference. My current IP is 64.56.16.94. Go ahead, try to get in.
Second, my upload is 2 Mbit/s, I believe speeds like this are common in developed world?
 
Old 03-15-2013, 08:25 PM   #12
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,563

Rep: Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804
Quote:
Originally Posted by Emerson View Post
Guess what. This is a dynamic address. Every time it changes it takes minutes until it gets bombed by script kiddies. So much for security concerns. You just keep it secure or you will be hacked. Whether it is published or not makes no difference. My current IP is 64.56.16.94. Go ahead, try to get in.
Second, my upload is 2 Mbit/s, I believe speeds like this are common in developed world?
I'm not suggesting I could hack you, merely suggesting that using one's home connection leaves one* open to reverse-lookup and the possibility of geolocation.
As for 2MB/s -- that's pretty slow for serving up files of any significant size. I know because that's my upload speed.
Sorry, I wasn't suggesting it was wrong to serve from home, I do it all the time, just pointing out some possible downsides.
*You may or may not need to worry about it, but in general one may need to.
 
Old 03-15-2013, 08:35 PM   #13
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
Quote:
Originally Posted by 273 View Post
I'm not suggesting I could hack you, merely suggesting that using one's home connection leaves one* open to reverse-lookup and the possibility of geolocation.
As for 2MB/s -- that's pretty slow for serving up files of any significant size. I know because that's my upload speed.
Sorry, I wasn't suggesting it was wrong to serve from home, I do it all the time, just pointing out some possible downsides.
*You may or may not need to worry about it, but in general one may need to.
So what. My ZIP code is US 70774. Now everybody knows it. How is geolocation dangerous to me?
My upload speed is not 2 MB/s (two megabytes per second), it is 2 Mbit/s (two megabits per second). Despite being eight times less it is still great speed and with some patience will deliver you a 10 MiB file pretty fast.
 
Old 03-15-2013, 08:40 PM   #14
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,563

Rep: Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804
Quote:
Originally Posted by Emerson View Post
So what. My ZIP code is US 70774. Now everybody knows it. How is geolocation dangerous to me?
My upload speed is not 2 MB/s (two megabytes per second), it is 2 Mbit/s (two megabits per second). Despite being eight times less it is still great speed and with some patience will deliver you a 10 MiB file pretty fast.
That's fine, I did substitute "one" for "you" for a reason.
You're probably immune to this, but when serving from home one needs to keep this kind of thing in mind:
http://abcnews.go.com/US/swatting-ha...ry?id=14312879
 
Old 03-17-2013, 05:10 PM   #15
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware, Mint
Posts: 1,240

Rep: Reputation: 196Reputation: 196
stf92,

Two guys stole your thread. I give it you back.

Instead of sox I recommend you to use lame in order to convert *.wav files to *.mp3 ones.

I wrote the following script for you:

wav2mp3
Code:
#!/bin/bash

lame_bitrate="-b 64"
lame_bitrate="-b 128"
lame_bitrate="--r3mix"

pwd=`pwd`

for dir in *
do
        if [ "`echo $dir | grep wav2mp3`" != "" ]
        then
                continue
        fi
        cd "$pwd/$dir"
        for file in *.wav
        do
                lame $lame_bitrate "$file" "${file%wav}mp3"
        done
done
It goes to each subdirectory in the current directory and converts all *.wav files into *.mp3 ones. By default it uses --r3mix variable bitrate pattern (very high quality, moderate size, and fast encoding). If you comment that setting the program uses standard lame 128 kbps bitrate (moderate quality, small size, and slow encoding). If you comment that setting as well the program uses 64 kbps bitrate (low quality, very small size, and fast encoding).

Taking into consideration that youd like to share some music with the other people for the demonstration purposes only 64 kbps bitrate seems the best choice. For good quality use 128 kbps bitrate. For very high quality use --r3mix (its the alias for the following set of the parameters: -V3 --vbr-new --lowpass 18).

So name that script wav2mp3 put it into a directory including some subdirectories with *.wav files and run it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sending RSA public/private keys into calling function krishna_san Programming 1 10-10-2010 06:55 AM
sending a file from one computer to another by command line TheStarLion Linux - General 6 01-27-2010 09:19 PM
Best Internet Provider for Public Access Computer JustinKubicek Linux - Networking 4 06-11-2009 12:22 PM
Linux server sending data to public ip sp149 Linux - Security 5 05-12-2009 12:25 PM
Sending video stream from webcam to another computer on the Internet zielonyplot Programming 1 03-17-2009 04:57 AM


All times are GMT -5. The time now is 04:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration