electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
go to the radio page Live at electro-music.com radio 1 Please visit the chat
  host / artist show at your time
today> Muied Lumens Frequencies
 Forum index » DIY Hardware and Software » Developers' Corner
realtime mp3 en/decoding
Post new topic   Reply to topic Moderators: DrJustice
Page 1 of 1 [8 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
3phase



Joined: Jul 27, 2004
Posts: 1182
Location: Berlin
Audio files: 13
G2 patch files: 141

PostPosted: Mon Jun 06, 2005 4:32 am    Post subject: realtime mp3 en/decoding Reply with quote  Mark this post and the followings unread

Hello ...
a freind had the idea that it might be posible on an apple with OS X to patch on unix level mp3 en and decoders just between the ports of your audio devices or creating an own audiodevice this way...

What do you think? is it possible? Has anybody done similar things?

thanks
Sven
Back to top
View user's profile Send private message Send e-mail Visit poster's website
elektro80
Site Admin


Joined: Mar 25, 2003
Posts: 21959
Location: Norway
Audio files: 14

PostPosted: Mon Jun 06, 2005 5:41 am    Post subject: Reply with quote  Mark this post and the followings unread

Uh.. I might be a bit thick.. what are you suggesting?

you have one port in and one port out.. and you stuff an mp3 stream in .. and get .. uh.. "audio" out? en ? ethernet port?

Very Happy

_________________
A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"

MySpace
SoundCloud
Flickr
Back to top
View user's profile Send private message Visit poster's website
elektro80
Site Admin


Joined: Mar 25, 2003
Posts: 21959
Location: Norway
Audio files: 14

PostPosted: Mon Jun 06, 2005 5:53 am    Post subject: Reply with quote  Mark this post and the followings unread

Oh... yes... sure.. encoding.. right..

Something like Audio Hijack will take the input from any app or port of whatever and record to mp3 on disk. You also have audio to mp3 stream encoders and a lot of other stuff ..

there are several audio recording app that will "tape" any audio input to file.

The basic codecs are in the QT toolbox anyway, so any app that can use the QT plugins and the QT toolbox are able to use any of the suitable codecs for recording to file.
Check http://versiontracker.com for such stuff.

_________________
A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"

MySpace
SoundCloud
Flickr
Back to top
View user's profile Send private message Visit poster's website
3phase



Joined: Jul 27, 2004
Posts: 1182
Location: Berlin
Audio files: 13
G2 patch files: 141

PostPosted: Mon Jun 06, 2005 6:51 am    Post subject: Reply with quote  Mark this post and the followings unread

elektro80 wrote:
Oh... yes... sure.. encoding.. right..

Something like Audio Hijack will take the input from any app or port of whatever and record to mp3 on disk. You also have audio to mp3 stream encoders and a lot of other stuff ..

there are several audio recording app that will "tape" any audio input to file.

The basic codecs are in the QT toolbox anyway, so any app that can use the QT plugins and the QT toolbox are able to use any of the suitable codecs for recording to file.
Check http://versiontracker.com for such stuff.


thanks.. QT toolbox?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
elektro80
Site Admin


Joined: Mar 25, 2003
Posts: 21959
Location: Norway
Audio files: 14

PostPosted: Mon Jun 06, 2005 7:14 am    Post subject: Reply with quote  Mark this post and the followings unread

Well.. Quicktime that is. From way back in the old dyas, apple figured that there wasn´t really a good reason for every application developer to build everything from scratch and reinvent gunpoweder and all that. What Apple did was implementing a lot of smart things inside various APIs that the developers could use. With Quicktime in the very early 90s Apple moved audio and video stuff to one place .. uh .. technically there were of course several APIs dealiong with this.. . This technique was often called toolboxing.

Bottom line.. you have Quicktime installed. Any app that can access this will have mp3, AAC and whatnot available for encoding/decoding.

Saving an incoming 16bit/44.1 khz audio stream to mp3 .. realtime.. is therefore a feature of the OS that is avaiable to application developers.

Most simple audio recorders for the Mac will have this feature. If you remember software update a week agop or so.. you was asked to install the new version of the QT broadcaster. That one uses some of these features too. If you need a decent audio recorder that also can hijack streams for indiviual apps and has various scripting and timer fetaures, I would recommend the latest version of Audio Hijack. http://www.rogueamoeba.com/audiohijackpro/

I am not sure what your needs are, but I guess you can download various freeware and shareware from versiontracker.com and see which of these makes any sense to you. Very Happy
Many of these apps are in fact "shells" for features that are already present in the OS and from the terminal. However, apps like Audio Hijack are convienet and offers decent control of various features that are pretty messy to access via the terminal.

_________________
A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"

MySpace
SoundCloud
Flickr
Back to top
View user's profile Send private message Visit poster's website
elektro80
Site Admin


Joined: Mar 25, 2003
Posts: 21959
Location: Norway
Audio files: 14

PostPosted: Mon Jun 06, 2005 7:39 am    Post subject: Reply with quote  Mark this post and the followings unread

Realtime.. well that is someting else really. It depends on what you expect realtime to be. We are talking computers here, there will of course be some latency. If what you think you need is "taperecorder" device that records an incoming audio stream to an mp3 file.. well. that can be done without any problems at all. There is basically no real difference between this concept and what DAWs can do.
Audio Hijack can even use your AU audio plugins on the stream before you send the file to mp3 encoding and disk. However, I suspect I have misunderstood something here. Am I really answering your question at all? Shocked Very Happy

_________________
A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"

MySpace
SoundCloud
Flickr
Back to top
View user's profile Send private message Visit poster's website
3phase



Joined: Jul 27, 2004
Posts: 1182
Location: Berlin
Audio files: 13
G2 patch files: 141

PostPosted: Mon Jun 06, 2005 9:39 am    Post subject: Reply with quote  Mark this post and the followings unread

elektro80 wrote:
Realtime.. well that is someting else really. It depends on what you expect realtime to be. We are talking computers here, there will of course be some latency. If what you think you need is "taperecorder" device that records an incoming audio stream to an mp3 file.. well. that can be done without any problems at all. There is basically no real difference between this concept and what DAWs can do.
Audio Hijack can even use your AU audio plugins on the stream before you send the file to mp3 encoding and disk. However, I suspect I have misunderstood something here. Am I really answering your question at all? Shocked Very Happy


I want to listen to the encoding directly..latencie is no problem...
It seems that there is still no applikation doing it...
Back to top
View user's profile Send private message Send e-mail Visit poster's website
elektro80
Site Admin


Joined: Mar 25, 2003
Posts: 21959
Location: Norway
Audio files: 14

PostPosted: Mon Jun 06, 2005 10:06 am    Post subject: Reply with quote  Mark this post and the followings unread

Oh.. you want to encode on the fly.. and listen to it at the same time?
Why? Very Happy Some kind of realtime mp3 monitoring ?

_________________
A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"

MySpace
SoundCloud
Flickr
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: DrJustice
Page 1 of 1 [8 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Developers' Corner
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use