Temporary Audio Idea

Discuss PearPC's Development and any bugs you find here

Temporary Audio Idea

Postby Sam0r » Wed Aug 18, 2004 4:34 pm

I was thinking about the lack of audio in PearPC, and thought of this.

When I was back working for Hgs, we were in the middle of upgrading the computers to Linux. but we decided that we should use thin client technology, instead of buynig beefy computers to cope with linux.

What we ended up doing was buying 10 heafty fileservers, and installing LTSP on them.

Basicly, (if you dont know what thin client technology is) the client machines only have to be around 200mhz with a 100mb network card, monitor, keyboard mouse and speakers.

They boot from the servers via network, and download a kernel, and an X Server (yes, server), then run the X Server, and connect to the X Client (yes, client) on the server.

We had a problem though, we wanted the kids to enjoy sound on the clients, so this is what we ended up doing:

We installed a software sound driver, which acted as a sound server, and had the clients connect to it over the network. Then, the server would send the sound data over the network to the clients, then the client would play the sound through the speakers.

How about doing somthing along those lines with OS X?

We could write (or even better find) a driver for OS X which acts as a server for a sound client which we could run on the host OS
Sam0r
Member
Member
 
Posts: 39
Joined: Wed Jul 28, 2004 6:00 pm
Location: Birmingham, UK

Postby Guru3 » Wed Aug 18, 2004 7:01 pm

So use networking to send sound to the PC... That might work. A similar thing that I think of is how in winamp with shoutcast you can catch all output and send it to the shoutcast server... Yeah, we might want to look into this.
Guru3
PearPC.net staff
PearPC.net staff
 
Posts: 2187
Joined: Tue Jun 29, 2004 1:37 pm

Postby Sam0r » Wed Aug 18, 2004 7:04 pm

[quote="Guru3":3b293078da]
So use networking to send sound to the PC... That might work. A similar thing that I think of is how in winamp with shoutcast you can catch all output and send it to the shoutcast server... Yeah, we might want to look into this.
[/quote:3b293078da]
Exactly. Also i dont think that'd slow emulation down much either Smile
Sam0r
Member
Member
 
Posts: 39
Joined: Wed Jul 28, 2004 6:00 pm
Location: Birmingham, UK

Postby Guru3 » Wed Aug 18, 2004 7:04 pm

Well, it would chew a few CPU cycles...
Guru3
PearPC.net staff
PearPC.net staff
 
Posts: 2187
Joined: Tue Jun 29, 2004 1:37 pm

Postby jedavis1 » Wed Aug 18, 2004 8:33 pm

What about this? It is called soundflower and looks like it works in osx

http://www.hitsquad.com/smm/programs/So ... flower.sit
jedavis1
Avid Helper
Avid Helper
 
Posts: 134
Joined: Thu Jun 24, 2004 2:18 pm

Postby Guru3 » Wed Aug 18, 2004 8:40 pm

Of course, the issue is now to find one... And I have no idea what the proper name is, and google doesn't return much...

Edit: You posted about SoundFlower as I posted this... I'm checking it out...
Last edited by Anonymous on Wed Aug 18, 2004 8:43 pm, edited 1 time in total.
Guru3
PearPC.net staff
PearPC.net staff
 
Posts: 2187
Joined: Tue Jun 29, 2004 1:37 pm

Postby jedavis1 » Wed Aug 18, 2004 8:42 pm

[quote="Guru3":f0bdde7bd2]
Of course, the issue is now to find one... And I have no idea what the proper name is, and google doesn't return much...
[/quote:f0bdde7bd2]

Look at the post above yours! Now to find an application that streams audio from the mac across networks.
jedavis1
Avid Helper
Avid Helper
 
Posts: 134
Joined: Thu Jun 24, 2004 2:18 pm

Postby Guru3 » Wed Aug 18, 2004 9:07 pm

[quote="jedavis1":ed48fc5ff3]
[quote="Guru3":ed48fc5ff3]Of course, the issue is now to find one... And I have no idea what the proper name is, and google doesn't return much...
[/quote:ed48fc5ff3]

Look at the post above yours! Now to find an application that streams audio from the mac across networks.
[/quote:ed48fc5ff3]Yup, after carefully reading the documentation I also concluded that... There's shoutcast server for OS X. But nothing like the winamp DSP plugin for os x. Ice case has an OS X port but I can't even begin to comprehend that yet. But, I'm working on it...
Guru3
PearPC.net staff
PearPC.net staff
 
Posts: 2187
Joined: Tue Jun 29, 2004 1:37 pm

Postby Sam0r » Wed Aug 18, 2004 9:09 pm

It should work, but i dont know how we're going to get the sound to the server.. ie like are we going to write a 'dummy sound driver'?
Sam0r
Member
Member
 
Posts: 39
Joined: Wed Jul 28, 2004 6:00 pm
Location: Birmingham, UK

Postby Guru3 » Wed Aug 18, 2004 9:56 pm

SoundFlower is a dummy driver of sorts. What it does is it takes sound that the computer is trying to play and turns it right back around as input that OS X can use. All we need is an audio streaming application to take sound from an input device to stream it over the networking to a media player on the host operating system.
Guru3
PearPC.net staff
PearPC.net staff
 
Posts: 2187
Joined: Tue Jun 29, 2004 1:37 pm

Next

Return to PearPC Development

Who is online

Users browsing this forum: No registered users and 1 guest