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> Modulator ESP Adventures In Sound
 Forum index » DIY Hardware and Software » Developers' Corner
A compression algorithm concept
Post new topic   Reply to topic Moderators: DrJustice
Page 1 of 1 [3 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
CreatorLes



Joined: Oct 05, 2014
Posts: 84
Location: San Antonio TX USA

PostPosted: Sat Nov 15, 2014 10:13 pm    Post subject: A compression algorithm concept Reply with quote  Mark this post and the followings unread

Hi, to win a contest I am trying to develop a compression algorithm. I was thinking that since phase is not detected by the human ear, we could sort of throw phase out the window and just save the amplitude spectrum of the FFT over time as the compression technique, then compress even THAT reduced thingie with a conventional compression technique.

Is this already done? Would it work?

Les
Back to top
View user's profile Send private message
DrJustice



Joined: Sep 13, 2004
Posts: 2114
Location: Morokulien
Audio files: 4

PostPosted: Sun Nov 16, 2014 8:22 am    Post subject: Reply with quote  Mark this post and the followings unread

You need to preserve the phases since they are what give us the precise frequencies, i.e. when frequencies in the signal don't land on the exact bin frequencies. This can be seen as a phase shift that changes between the successive spectral frames.

If you used an extremely high number of bins (10k or more), that might help some, but I fear that it still wouldn't sound good. The overlaps would also be huge in order to maintain good temporal resolution. Thus it would be bad for the compression side of things. The phases are needed both for fidelity and for compactness of the data.
Back to top
View user's profile Send private message Visit poster's website
CreatorLes



Joined: Oct 05, 2014
Posts: 84
Location: San Antonio TX USA

PostPosted: Sun Nov 16, 2014 1:42 pm    Post subject: Reply with quote  Mark this post and the followings unread

OK, scratch that idea, I'll tell you what I am going for here. I want to win a 3D printing contest sponsored by Ghost Vinyl Records on www.thingiverse.com and I was thinking if i made a 45 record that would be cool. Then I thought, it would cost a lot to get a USB record player and accessories so why not make some custom thing?

I have high quality cams on my MacBook and iPhone, so how about if I 3D print some kind of encoded panel that records a song. You'd hold it up and snappy a photo of it to convert to mp3. I could write the mp3 to 3d print and image of 3d print to mp3 conversion software in Processing, which I have become somewhat proficient at programming.

So any thoughts or ideas along this line are welcome!

Les
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: DrJustice
Page 1 of 1 [3 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