Home Theater Shack Forums
Home About Us Rules Register Gallery Glossary FAQ
Creative Sound Solutions: Loudspeaker kits and components for subwoofers, midwoofers, woofers and full range speakers! Reliable Hardware: A Reliable Source for Case, Cabinet and Acoustical Hardware! Epik Subwoofers manufactures world-leading high performance subwoofers for die-hard home theater and music enthusiasts who won't settle for anything less than the best. Parts Express: Excellent Source for DIY Speaker and Subwoofer Projects! RAM Electronics: Audio, Video, Home Theater and Computer Cables. PacParts: Replacement parts & accessories from the most recognized manufacturers in the Consumer Electronics Industry! Discount Merchant:  If you need a replacement bulb for your video device... look no further... save big! Emotiva is your Home Theater Component Source for Audiophile Quality Home Theater Equipment at Factory Direct Prices Fi Audio: Infinitely amazing balanced high end musicality designed drivers! Ultimate Home Entertainment: Providing home theater seating and accessories such as popcorn machines and signage... at very affordable prices! Visual Apex: The most competitive pricing for home theater projectors... and built on customer satisfaction! BOCS - Power Up Your Tivo! Elite Screens offers the finest in affordable projection screens. SVSound GIK Acoustics: Home audio acoustics at its best... especially when you have help from the owners right here at the Shack!  Check out their very affordable acoustic panels!
Go Back   Home Theater Forum and Systems - HomeTheaterShack.com > Equalization | Calibration > REW Forum
Forgot Password?

REW Forum

  Discuss REW Source in the Equalization | Calibration forum; REW Source I'm guessing the REW isn't going to be released as Open Source (which is fine- free runtime is fine by ...



 Reply     Post New Thread
Views: 1725 - Replies: 4  
Thread Tools
Old 08-17-06, 03:47 PM   #1
Senior Shackster
Alias: toecheese
Loc: Raleigh,NC
User: #356
Since: May 2006
Posts: 380
  toecheese is offline  
REW Source


I'm guessing the REW isn't going to be released as Open Source (which is fine- free runtime is fine by me), but I'm doing some Java development right now and was wondering where you got the great graphing functions in REW? Also, I saw on another thread where you said you weren't using JNI/Native code- where are you able to interface with the sound cards to get frequency information?

The project I'm playing with is the Logitech G15 keyboard- it has an LCD display right on the keyboard. I'm thinking of making a function which will show a graphic equalizer on it- I've already written java classes to do some simple graphing on it and now just need a source for the values to display :-)

TIA,

-toe



Forum Rules Reply With Quote
Alt Advertisement
Old 08-17-06, 05:57 PM   #2
REW Author
Owner

Alias: John
JohnM's Avatar
Loc: UK
User: #2
Since: Apr 2006
Posts: 1,482
  JohnM is offline    
Re: REW Source


I had to write all the REW graphing code from scratch, couldn't find anything that had what I wanted. However, Romain Guy has since produced a very nice graph component that he's committed to the swingx project, you can get the source and browse the javadoc at http://swinglabs.org/downloads.jsp and see a screenshot of the component in use at http://www.jroller.com/page/gfx?entry=jxgraph_in_swingx

All REW audio interfacing is through the standard JavaSound classes. Regarding soundcard frequencies, you can query the mixers to ask what formats they support but often the answer will be NOT_SPECIFIED (-1), meaning the mixer will support most rates you might ask for - to get anything more specific you have to request a line of the format & rate you want and see whether the mixer says it supports it. More info available at http://www.jsresources.org/

HTH,

John


Forum Rules Reply With Quote
Old 08-17-06, 07:08 PM   #3
Senior Shackster
Alias: toecheese
Loc: Raleigh,NC
User: #356
Since: May 2006
Posts: 380
  toecheese is offline  
Re: REW Source


TYVM. Yes, very good stuff- thanks John. Pretty fancy graphing classes- you should make those available somewhere- most packages for graphics are pretty expensive.


Forum Rules Reply With Quote
Old 08-17-06, 10:02 PM   #4
Elite Shackster
Platinum Supporter
Alias: brucek
User: #6
Since: Apr 2006
Posts: 7,306
  brucek is offline  
Re: REW Source


Quote:
The project I'm playing with is the Logitech G15 keyboard
I really like my G15 keyboard.

I don't program it, I just use it, but there appears to be quite a community at this web site that use C++ to create all sorts of apps. There are some tools too. No doubt you've seen the site..

brucek


Forum Rules Reply With Quote
Old 08-18-06, 12:21 AM   #5
Senior Shackster
Alias: toecheese
Loc: Raleigh,NC
User: #356
Since: May 2006
Posts: 380
  toecheese is offline  
Re: REW Source


Yeah, I used that site- but C++ is a lame language- and the SDK they shipped with the keyboard is some of the worst code I've seen (actually what looks like the original code was good, but then some tard 'improved' it).

I found a java interface on Sun's site- and it rocks. Here's what I've coded up (the bars are just showing junk data until I figure out how to get the channel information I want).



Last edited by toecheese; 08-18-06 at 12:29 AM..

Forum Rules Reply With Quote
 Reply     Post New Thread     Post New Thread



« Home Theater Shack > Equalization | Calibration > REW Forum »

« Previous Thread   Next Thread »

Bookmarks
Thread Tools

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 On... HTML is not allowed!



Bookmark and Share


Parts Express: The #1 Internet source for all your DIY and electronics needs!

Ultimate Home Entertainment    

This site is best viewed with a screen resolution width of 1280 or higher!




Powered by vBulletin
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2006 - 2010, Home Theater Shack, LLC.
John Mulcahy and Sonnie Parker - ALL RIGHTS RESERVED!



Massage Chairs   Wall Fountains   Bath Vanities   Electric Fireplaces   Bunk Beds

Dish Network



Sponsor/Vendor Ad Rates

Search Engine Friendly URLs by vBSEO 3.3.0