Giter Site home page Giter Site logo

Comments (6)

dwhinham avatar dwhinham commented on May 12, 2024 3

Hi there! šŸ˜ƒ

Don't worry about i2cdetect not finding anything - this DAC is not controlled by software and so we can ignore the I2C side.
It should be enough to set output_device = i2s in the config, and ignore the i2c_dac_xxx options.

Let me know if it works and we can add your DAC to the compatibility list!

You can test by playing MIDI notes on channel 2 or above, or by hooking it up to a PC running ScummVM - you should see the Pi's activity LED blinking when it's receiving data.

from mt32-pi.

yavimaya avatar yavimaya commented on May 12, 2024 1

Hey there, just wondering if you'd managed to get your DAC working? šŸ˜ƒ

If so we can close the issue. Thanks!

I CONFIRM it works perfect with both ES9018K2M and UDA1334 dacs :D

from mt32-pi.

dwhinham avatar dwhinham commented on May 12, 2024

Hey there, just wondering if you'd managed to get your DAC working? šŸ˜ƒ

If so we can close the issue. Thanks!

from mt32-pi.

DSkywalk avatar DSkywalk commented on May 12, 2024

Sorry, my first idea was to directly use a serial port of an FPGA (MiSTer), but we still don't have the correct rate configuration. Anyway, some sound should come out, because if I use PWM, random sounds are heard. So I thought about building the whole circuit to have better tests, but I still have to get the parts.

imagen
imagen

If you want we could close this issue, although as I say I haven't been able to hear anything with the I2S connected šŸ˜ž

PS: Could I make an initial sound plays at the beginning?

from mt32-pi.

dwhinham avatar dwhinham commented on May 12, 2024

No need to close the issue, just checking in! šŸ˜ƒ

Yeah, those logs are showing garbage MIDI data and Active Sense is getting confused.
A valid note-on should look like 91 0C 7F.

What's the baud rate of the MiSTer? mt32-pi's serial baud rate is set to standard MIDI 31250bps here:

if (!mSerial.Initialize(mSerialMIDIEnabled ? 31250 : 115200))

You could try 115200 or some other rate to match the hardware - if it works, I'll create a config option.

Your DAC should definitely work as I'm using another board with UDA1334A and it works great as long as I set the config to use i2s!

I do have some code somewhere that I used to self-play a test pattern for my friend who had no MIDI but wanted to check his DAC. I'll see if I can find it!

Which model Pi, by the way?

from mt32-pi.

dwhinham avatar dwhinham commented on May 12, 2024

Just going to go ahead and close this as the original question has been answered. Thanks!

from mt32-pi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.