Jump to content

fluke

Members
  • Posts

    103
  • Joined

  • Last visited

Posts posted by fluke

  1. also notice the ym2612 is used inside the yamaha dx7 II in conjuction with a 16bit linear PCM dac, so if the YM chip can be bought theres nothing to stop us ? I checked chinese site, stock appears to be low but present. Guess they gladly source it and we dont have to fear fakes as oef yet.

    first off:

    http://www.spoogeworld.com/music/instruments/yamaha/DX7IIFDServiceManual.pdf

    I can't see the ym2612  in the parts list for the DX7 II.  The ym2612 is only 4 operator FM and the the DX7 is 6 operator FM anyways so it can't be the sound generator chip.

    Wouldn't it be easier to write a program to run on a megadrive to control the ym2612 than to try and source the chips and build custom hardware?

  2. The Casio CZ series use Phase distortion synthesis which is a different concept to Frequency or Phase Modulation, though it did produce similar results.

    The main difference between FM and PM is that a DC offset in the modulator produces a pitch shift in the carrier with FM and only a phase shift with PM.  This makes a PM synth more stable.

    See http://archive.cs.uu.nl/pub/MIDI/DOC/phase-mod for more information and some C source code.

  3. I am a little confised about "current loop" though.

    MIDI seems to use an "active high" signal of 5mA. The question is - 5ma at WHAT voltage?

    I am asking coz I want to add a current limiting resistor.

    The answer is - enough voltage to get 5mA flowing at the given resistance. ;)  Have a look at http://www.midi.org/techspecs/electrispec.php for the MIDI electrical specification.  MIDI in has an optocoupler (typical voltage drop of 1.3V for a 6N138) and a 220? resistor.  So your MIDI out needs 2.4V to supply 5mA.  If your supply is higher, add more resistance to drop the voltage.  Eg an extra 120? if you're using a 3.3V part with a 3V minimum output high voltage or 380? if you've got a 5V part with a 4.3V minimum output high voltage.  In the MIDI spec example (and the MIDIbox), they've been cautious and used 2 220? resistors (also 380?  isn't a standard resistor value).  My MIDISPORT 2x2 has a single 470? registor has its output.

    Speaking of which, the MIDISPORT 2x2 is a nice device to base a MIDI interface off.  It uses the Cypress AN2131SC (same as the MBHP USB), an 8051 based microcontroller with hardware USB support.  It downloads its firmware from the host computer so development cycles are fast.  The stock firmware isn't class-compliant and doesn't work with Vista 64-bit.  When i get some time i'll write new firmware for it, using the open source firmware for Linux (http://www.linux-usb.org/ezusb/) as a base.

  4. I'm going to actually finish building my MIDIbox FM this year.  I'm building it without a control surface, so i designed a stripboard layout for the Core, with banksticks and a 12pin connector to the OPL3 board.

    Then i had what i think is a really good idea.  What if i move the OPL3 connection to other pins so that the hardware I2C interface on the PIC is freed up.  Then i could connect the MIDIbox FM Core as an I2C slave to another Core that is being a MIDI Router without needing a PIC16F88 between them.  And i could put my DB50XG in the same box for the complete 90s synth experience. :)

    Does this sound like a workable idea?  I know i'd have to extend MIOS to support this, would it be a lot of work?

  5. Well it may be true, but that operation costs alot. As I have heard, engineers etches the top of the chip, connects wires to special places near the crystal and reads the code, sometimes they use laser, sometimes removes unuseful parts of the chip to get information. As I said, this information is not confirmed :) Only head that it costs around 1000EU for simple locked mcu.

    The SID is not a simple locked microcontroller.  It is a full custom analog/digital IC, they can't even change feature size without needing a major redesign.  Even if you do selectively etch away each metal layer to get a full layout of the SID, you'd still need them restart the 20 year old process that they originally used to make the SID to avoid needing a redesign.

    A better plan would be designing a SID clone either out of multiple chips (so hobbyist could make it and you wouldn't need analog and digital in the same chip) or a analog/digital FPGA.

  6. The LM324 has lower bandwidth (1MHz vs 4MHz), is slower (0.5V/us vs 13V/us) and is probably noisier than the TL074.  But they'll work, so have a listen and see how you like them.  Just remember to socket them so you can change them later.

  7. 334 is the right code.  I'm not sure of what exactly would have one, but something low tech with a design that hasn't changed in 10-20 years is more likely to have through-hole parts.

    Polyester or "greencap" capacitors are also suitable, you're more likely to find 330nF in those types than ceramic.  Remember that it is also 0.33uF.  If you really can't find that value, just substitute the closest value ceramic capacitor you can find.  It's just a noise filter capacitor, so you could even get away with leaving it out.  The construction is more important than the exact value here.

  8. Looking at smash's solder side picture on the opl3 big single chip top row 2nd from the right and 4th from the left. Can these be left not soldered. I tried scratching off some of the board where the pads were but it seems like there is nothing the solder can latch onto.

    If i understand you correctly, you're referring to pins 2 (/IRQ) and 9 (TEST) of the YMF262 chip.  If so, they can safely be left unsoldered as they have no connection.  If you look at the PCB images, you'll see that the pads were only as large as the pins and didn't go anywhere.

  9. Noisy as in noisy audio signal or a noisy power brick?

    The power supply will be noisy, leading to some noise on the audio signal.  How much noise depends on the power supply filters, ripple rejection of the opamps, switching frequency (52kHz in this case), etc, etc.

  10. You're right, when referring to CM/S I am referring to the "Creative Music System", not "Creative Music Synth". The two are totally different things.

    Try to say OPL3 when you mean the FM synth chip.  It will be less confusing. :)

    When asking about the bit-resolution/sample-rate, I was more interested in the bit-resolution/sample-rate of the FM-synth itself and not the ADCs/DACs involved.

    The sample rate is the same 49.716kHz.  I'm not sure of the exact sample rate for the internal calculations, but it will be at least 12 bit mantissa as that's what the log-sin table in the ROM takes up. See this forum post on OPL Decapsulation for more information on the ROM contents.

    I've looked at my SB16 ISA card, it has a chip which has "Yamaha" printed on it. The rest is too small and covered in dust for me to read. I've tried to remove the dust but I still can't see what else is printed on it. I'm assuming this is the Creative Music Synth [i.e. OPL3] chip. Is it likely that Creative Technology made modifications to this OPL3 before soldering it on this card?

    That sounds like an OPL3 chip.  It's unlikely that Creative modified the chip as they'd need a custom production run of it and then it would more likely have a Creative logo on it instead.

    Approximately, what is the cost difference of a real OPL3 chip vs. emulation of that chip?

    Emulation is free once you've written it once.  Real chips cost real money, not just buying the chip, but the increased PCB area, soldering and testing it.

    How many voices does Creative Music Synth have?

    The OPL3 has up to 18 voices.

    Also, the website http://www.opensound.com/dmguide/dmfm.html states:

    "OPL-3 mode supports 18 channels of 2-operator Stereo FM tones or 6 channels of 4-operator and 6 channels of 2-operator FM tones 5 percussion instrument channels"

    What does "channel" mean, in this context?

    Channel means voice in this case.  The OPL3 has a total of 36 operators (oscillator + enveloping), so either 18 2-op voices, or 6 4-op voices and 6 2-op voices, or 15 2-op voices and 5 percussion voices, or 6 4-op voices, 3 2-op voices and 5 percussion voices.  MBFM uses the last mode (but doesn't give you access to the 2-op voices).

  11. What is the bit-resolution of the C/MS's audio? I believe OPL3 is 16-bit and OPL2 is 8-bit?

    The OPL2 uses the YM3014 DAC, which has a dynamic range of 16 bits (its input is a floating point number with 10 bit mantissa and 3 bit exponent).  As used in the AdLib and SoundBlaster cards it has a sampling frequency of 49.716 kHz.

    The OPL3 The OPL2 uses the YAC512 DAC, which has a dynamic range of 16 bits (its input is a floating point number with 10 bit mantissa and 7 bit exponent).  As used in the SoundBlaster Pro and 16 cards it also has a sampling frequency of 49.716 kHz.

    The SAA1099 uses pulse width modulation for its output.  The PWM frequency is 62.5kHz.  Low pass filtering is used on the output and i don't know what the filter of the C/MS was.  However i suspect this isn't the chip you're talking about when you say CMS as it only outputs square waves.

    Also, why don't PCI sound cards have any real OPL3 chips in them? All of them are emulation, which I really hate. I can easily notice the difference between the real OPL3 in my golden great SB16 ISA card and the stale fart-machine of the OPL3-emulation in the newer PCI cards.

    They don't have real OPL3 chips in them as its cheaper not to.  I had a ISA sound card with the OPL3 chip inside one of its ASICs and a real YAC512 DAC outside.  The later Sound Blaster 16 cards didn't even use the proper DAC and they sounded ok.  I suspect that the emulation you're referring to is a pure software emulation run on the host CPU.

    Is it likely that Creative Technology added their own patches to the OPL3 in the SB16 card? I hope not but I fear so. CT provides very poor customer service and never responds to my questions about Creative Music Synth. CT will never let me in on any info about what they did to the OPL3 on SB16 or whether they did anything to it.

    Have a look on your SB16 card and see if you can find a chip labelled YMF262.  If you can, then what you're hearing is a real OPL3.  If you can't, then they've put their own implementation inside an ASIC.  the YMF262 is a pure digital chip so i wouldn't expect them to need to change it, but they may have changed its output to be standard 16 bit instead of floating point (for ease of interfacing with their digital mixer) and the converter circuit may have introduced a phase change in one channel.

  12. Creative Music Synth [220] is the hardware chip-based FM synth present in the SoundBlaster-16 ISA card. Is this the same synth as OPL3? If not, then what are the differences?

    The synth chip on the SoundBlaster 16 is an OPL3 chip.  The "Creative Music System" (aka C/MS), the first sound card Creative produced, later marketed as Game Blaster, had two Philips SAA 1099 chips.  The Sound Blaster 1.0 had these chips as well as the OPL2 chip, they were an option for the Sound Blaster 1.5 and removed for the 2.0 and Pro, as the OPL2 was a more popular synth.

  13. It's possible that it's 9V DC with 9V AC of ripple, but surely that would kill the filter capacitors?  The only real way to be sure is to connect an oscilloscope up to it so you can see both the ripple and the DC offset.  Or cut one open and see if it has any diodes or bridge rectifiers in it.  An AC/AC adaptor would usually only have a transformer inside.

  14. I have a JDM programmer (Jaycar kit that i built some time ago but only just got around to trying). Using IC-Prog under Windows 98 it passes all the hardware checks, the outputs are going to the PIC socket, the input is detected from the PIC socket. But programming a 16F88 fails verification at address 0. Reading in the 16F88 gets all high bits. Vdd is 4.99V and Vpp is 12.7V. The 16F88 datasheet says Vpp should be 13V +/- 0.5V and Vdd+3.5V so it seems to be in spec. Should i try increasing it? I've tried using WinPic800 but that doesn't work either. Is there anything else i should try?

×
×
  • Create New...