Re: [Tutor] Python + Sound

2011-02-12 Thread Dave Angel
On 01/-10/-28163 02:59 PM, David Hutto wrote: On Sat, Feb 12, 2011 at 4:43 AM, Alan Gauld wrote: "David Hutto" wrote and what is sound, electromagnetically transmitted, then turned into ones and zeroes. Just to be picky sound is mechanical waves not electromagnetic. The ear is primarily a

Re: [Tutor] Python + Sound

2011-02-12 Thread David Hutto
On Sat, Feb 12, 2011 at 4:43 AM, Alan Gauld wrote: > > "David Hutto" wrote > >> and what is sound, electromagnetically transmitted, then turned into >> ones and zeroes. > > Just to be picky sound is mechanical waves not electromagnetic. > The ear is primarily a mechanical device. I meant after y

Re: [Tutor] Python + Sound

2011-02-12 Thread Alan Gauld
"Steven D'Aprano" wrote I suggest you read up on how much work is needed to get reliable data transport: http://en.wikipedia.org/wiki/TCP/IP_model http://www.howstuffworks.com/modem.htm http://en.wikipedia.org/wiki/Modem He probably doesn't need all of that since its only for education but

Re: [Tutor] Python + Sound

2011-02-12 Thread Alan Gauld
"David Hutto" wrote and what is sound, electromagnetically transmitted, then turned into ones and zeroes. Just to be picky sound is mechanical waves not electromagnetic. The ear is primarily a mechanical device. Audio is the more general term to describe signalling which represents sound. A

Re: [Tutor] Python + Sound

2011-02-11 Thread Corey Richardson
On 02/12/2011 02:27 AM, Steven D'Aprano wrote: > Corey Richardson wrote: >> Hello Tutors, >> >> I'm working on a small script that compresses a file, sends it through >> the telephone, and then receives and decompresses the file on the other >> end. The compression is the easy part. The transmissio

Re: [Tutor] Python + Sound

2011-02-11 Thread David Hutto
> Pardon me while I chortle :) > > Like I said, start here: http://www.google.com/search?client=ubuntu&channel=fs&q=the+modern+telephone&ie=utf-8&oe=utf-8 Steven forgot a little in his elaboration,that he isn't an expert in this: -- According to theoretical physics, the division of spatial int

Re: [Tutor] Python + Sound

2011-02-11 Thread Steven D'Aprano
Corey Richardson wrote: Hello Tutors, I'm working on a small script that compresses a file, sends it through the telephone, and then receives and decompresses the file on the other end. The compression is the easy part. The transmission is the hard part. If anyone has worked with sound before, w

Re: [Tutor] Python + Sound

2011-02-11 Thread David Hutto
There doesn't even have to be a source file, or .o and.h and.c, it just executes the command lines in it. So just a makefile in a directory and typing make at the command line executes those commands. So you can do a whole reorientation of a system with just command line s in a makefile.

Re: [Tutor] Python + Sound

2011-02-11 Thread David Hutto
and a simple makefile, as I've recently understood, or a file that executes command lines, can do that. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Python + Sound

2011-02-11 Thread David Hutto
This is how i zip the file: david@david-HP-Pavilion-dv9700-Notebook-PC:~$ sudo gzip /usr/lib/openoffice/basis-link/share/gallery/sounds/apert.wav > /home/david/examp.gz[sudo] password for david: david@david-HP-Pavilion-dv9700-Notebook-PC:~$ Then they: david@david-HP-Pavilion-dv9700-Notebook-PC:

Re: [Tutor] Python + Sound

2011-02-11 Thread David Hutto
>> I have any file, gzip it, turn it to a sound file, you have a sound file, then gzip it. and then gunzip it on >> the other end. which requires an unzip utility on the other end, and then an app to play the sound files format. Using tones to specify bit patterns, I'll work that out >> after

Re: [Tutor] Python + Sound

2011-02-11 Thread Corey Richardson
On 02/12/2011 01:26 AM, David Hutto wrote: > On Sat, Feb 12, 2011 at 1:24 AM, David Hutto wrote: >>> The point is to specifically transmit the data as sound, and then turn >>> the sound back into the gzipped file. If I were doing this for anything >>> other than my own entertainment and education,

Re: [Tutor] Python + Sound

2011-02-11 Thread David Hutto
On Sat, Feb 12, 2011 at 1:32 AM, Corey Richardson wrote: > On 02/12/2011 01:26 AM, David Hutto wrote: >> On Sat, Feb 12, 2011 at 1:24 AM, David Hutto wrote: The point is to specifically transmit the data as sound, and then turn the sound back into the gzipped file. If I were doing this

Re: [Tutor] Python + Sound

2011-02-11 Thread David Hutto
On Sat, Feb 12, 2011 at 1:24 AM, David Hutto wrote: >> The point is to specifically transmit the data as sound, and then turn >> the sound back into the gzipped file. If I were doing this for anything >> other than my own entertainment and education, I'd do it some way that >> made sense :-) >> >

Re: [Tutor] Python + Sound

2011-02-11 Thread David Hutto
> The point is to specifically transmit the data as sound, and then turn > the sound back into the gzipped file. If I were doing this for anything > other than my own entertainment and education, I'd do it some way that > made sense :-) > Do you mean just a wav file, and then send it to someone? _

Re: [Tutor] Python + Sound

2011-02-11 Thread David Hutto
On Sat, Feb 12, 2011 at 1:20 AM, Corey Richardson wrote: > On 02/12/2011 01:10 AM, David Hutto wrote: >> for some reason, if you're on linux, I wanna say use python's >> subprocess, and man pppd. also look into proc and a thread in the >> archives I did a while back. > > The point is to specifical

Re: [Tutor] Python + Sound

2011-02-11 Thread Corey Richardson
On 02/12/2011 01:10 AM, David Hutto wrote: > for some reason, if you're on linux, I wanna say use python's > subprocess, and man pppd. also look into proc and a thread in the > archives I did a while back. The point is to specifically transmit the data as sound, and then turn the sound back into t

Re: [Tutor] Python + Sound

2011-02-11 Thread David Hutto
for some reason, if you're on linux, I wanna say use python's subprocess, and man pppd. also look into proc and a thread in the archives I did a while back. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail

[Tutor] Python + Sound

2011-02-11 Thread Corey Richardson
Hello Tutors, I'm working on a small script that compresses a file, sends it through the telephone, and then receives and decompresses the file on the other end. The compression is the easy part. The transmission is the hard part. If anyone has worked with sound before, what do you recommend? I've