New Propeller-based Product
JonnyMac
Posts: 9,208
My friend, John Barrowman (also a former Parallax employee) and I have created our first Propeller-based EFX-TEK product, the AP-16+. This is a stereo WAV player that we target to entertainment-oriented businesses: the Halloween industry, amusement parks, museums, etc. It turns out that playing WAV files cleanly is not as easy as everyone makes out, and Chip assisted with a little object that cleans up the noise created by Duty Cycle mode when not using Cog 0 to drive the output.
Since I cannot attend UPEW we're sending a unit to Ken for show-and-tell. Those interested in how Chip helped clean-up the noise (not a lot, but enough to be noticed through the board's 20W amps) should chat with him. It made sense when he explained it, but I can't remember well enough to explain it myself.
The preliminary docs for the AP-16+ can be found here: www.efx-tek.com/files/ap-16_docs_preliminary.pdf
Now... this isn't our first foray into Propeller-based products; previously we had designed and built the DMX control boards for Ethereal FX (www.etherealfx.com). That product is doing well and they've asked us for more designs (yahoo!). We're also migrating our own products from the SX to the Propeller.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon McPhalen
Hollywood, CA
Post Edited (JonnyMac) : 6/19/2010 6:38:06 PM GMT
Since I cannot attend UPEW we're sending a unit to Ken for show-and-tell. Those interested in how Chip helped clean-up the noise (not a lot, but enough to be noticed through the board's 20W amps) should chat with him. It made sense when he explained it, but I can't remember well enough to explain it myself.
The preliminary docs for the AP-16+ can be found here: www.efx-tek.com/files/ap-16_docs_preliminary.pdf
Now... this isn't our first foray into Propeller-based products; previously we had designed and built the DMX control boards for Ethereal FX (www.etherealfx.com). That product is doing well and they've asked us for more designs (yahoo!). We're also migrating our own products from the SX to the Propeller.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon McPhalen
Hollywood, CA
Post Edited (JonnyMac) : 6/19/2010 6:38:06 PM GMT
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.mikronauts.com E-mail: mikronauts _at_ gmail _dot_ com
My products: Morpheus / Mem+ / PropCade / FlexMem / VMCOG / Propteus / Proteus / SerPlug
and 6.250MHz Crystals to run Propellers at 100MHz & 5.0" OEM TFT VGA LCD modules
Las - Large model assembler Largos - upcoming nano operating system
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon McPhalen
Hollywood, CA
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.mikronauts.com E-mail: mikronauts _at_ gmail _dot_ com
My products: Morpheus / Mem+ / PropCade / FlexMem / VMCOG / Propteus / Proteus / SerPlug
and 6.250MHz Crystals to run Propellers at 100MHz & 5.0" OEM TFT VGA LCD modules
Las - Large model assembler Largos - upcoming nano operating system
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)·
· Prop OS: SphinxOS·, PropDos , PropCmd··· Search the Propeller forums·(uses advanced Google search)
My cruising website is: ·www.bluemagic.biz·· MultiBlade Props: www.cluso.bluemagic.biz
The object for wav playing, will that be made public?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Timothy D. Swieter, P.E.
www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" 16:9 LCD Composite video display, eProto for SunSPOT, PropNET, PolkaDOT-51
www.tdswieter.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Corwine
I can tell you, we work with a lot of OEM prop builders that use/have used the SD-25 and all agree:
1) It's louder given the same file (the only change was format via Audacity) through the same set of speakers
2) Using WAVs, there is no start-up delay as is often the case using MP3s
The latter issue is really important. One prop builder in Ohio (who creates very cool, high-end collectible items) loves that he can tie outputs from the show controller of his choice to the AUX input connections an *instantly* switch from one file to another -- no delay.
Also, there is a price thing. The SD-25 is about $300; the AP-16 is $130 (1x; we give discounts at 5x and 10x). The AP-16+ includes many stand-alone features (trigger input, randomizing of files, relay output while playing, pre- and post-play delays, etc.) that are not found in other audio players. The fact is we scrapped our original AP-16 design (mono, ISD based) and went right to our biggest OEMs and asked what they wanted -- the AP-16+ is the result. And, finally, it uses a Propeller and we solder in the programming header so advanced users (like you!) can do anything they want. Ask Gilderfluke to do that for you.... (they'll laugh).
My WAV player is just a variant of that originally created by Ray Allen; I cleaned it up, modified the buffering a bit, and added volume control. The big difference, as I hinted to earlier, is that my WAV object does not drive the outputs; it writes the volume-modified samples to the hub so that another object, loaded into Cog 1, can do that. The driver cog was created by Chip to reduce noise introduced by the way the way the hardware works with Duty Cycle mode and the distance between the cog doing the work (duty cycle output) and the physical pins used for output. Yes, that really matters. When I originally had my WAV driver (like Ray's) in Cog 5 you could hear significant noise through the 20W amps. Moving it to Cog 1 (hint for you WAV player programmers) made a big difference. Adding Chip's StereoDuty object took care of the rest; any noise now is lower than normal system noise.
What Chip's object does is constantly update the outputs (as opposed to on the sample-rate timing interval) AND adds a bit of dither each time to counteract the noise. It works. We were just at a show last weekend and were thrilled to hear customers say that it sounded "amazing."
I've attached a demo that uses my WAV player and Chip's StereoDuty object.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon McPhalen
Hollywood, CA
Would you be willing to share your audio circuit for this project? I want to use the Propeller without a DAC IC but am having problems with noise on my project, linked below. I tried using Stereo Duty, but so far no success with the noise. Having another audio schematic to compare with would help, or if you can see any glaring problems with the schemetic or have any PCB layout tips for me, I would appreciate it.
Thanks.
--Steve
My project:
http://forums.parallax.com/showthread.php?t=121424&highlight=Raindrop
There is a setting inside StereoDuty that you may need to work with depending on the IO pins used in your project. See Chip's notes at the top of the file.
Did you have any trouble soldering the MAX4411 by hand for prototyping (or how did that work)?
Thanks for the info.
--Steve
No -- because I didn't do it! My partner, John Barrowman (another former Parallaxian) is a master at soldering under a microscope. He also created pattern on the board that facilitated hand soldering that part.
Is the noise because of the delay in the HUB when its in Cog 5? I finally got around to playing with audio (struggling with RIFF structure at the moment) and it's tough!
BTW, congradulations on your product!
... Tim
Boy ... That's not at all what I thought the reason was! I read the comment above and had visions of the Hub taking to long to get from Cog0 to Cog5, with a queue of only 512 bytes.
Is it even worse on the geography of the 40pin dip?
... Tim
PS - Where does this product get used? In radio stations or something? (a Bit Naive)
John (Barrowman) and I are very close to our customers and have been willing to design new products and updates to their desires. This simple strategy (build it and they will buy) has paid off. We have many more Propeller based products in development now.