Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i recreated brdrline sounds from schematics - but file names in mame don't fit #7091

Closed
beta-tester opened this issue Aug 16, 2020 · 7 comments
Assignees

Comments

@beta-tester
Copy link
Contributor

beta-tester commented Aug 16, 2020

hello,
i recreated Borderline (brdrline) sound files according its (original) schematic in LTSpice.

i used this Borderline_-1981-_Sega.pdf schematic.
the schematic is a little bit buggy (e.g. transistors were swapped)
but the result sounds like I mean to know them from my memory...

now i rebuild the folowing sounds from schematic:

  • ANIMAL-SOUND, loop + fades out, uses MB4391.
  • CRY-SOUND, fades out, uses MB4391.
  • EMAR-SOUND, fades out, uses MB4391.
  • GUN-SOUND, fades out, uses MB4391.
  • HIT-SOUND, fades out, uses MB4391.
  • JEEP-SOUND, loop.
  • POINT-SOUND, fades out, uses MB4391.
  • WALK-SOUND, loop, unknown period.

note: all sounds that fades out uses the MB4391. i could not find any information about that IC on internet,
so i assumed it is an audio mixer, but i don't know its characteristics - linearity.
i simply multiplied the control signal (at pin CON) with the input signal (at pin IN).
because of that, maybe the timing of the fade is too long.

ok, now i have the sound files but the file names at mame/src/mame/audio/vicdual.cpp do absolutely not correspond to the names from the schematic.
so i don't know, what file name is the counterpart to the sound trigger from the schematic.

please, could somebody help me to give the files the right filename - or nicer, if somebody could define the the file names according the schematics.

and can somebody tell my how i can see how long which trigger is pulled high/low,
to be able to shorten sound files to the correct length.
also for the WALK-SOUND i don't know how long a period is.

here the recreation in LTSpice files and its sound files:
brdrline-LTSpice.zip

@stilett0
Copy link
Contributor

Thanks.

We'd rather this be implemented as a MAME netlist than by adding more sample sets, especially because you've gone and made a netlist with LTSpice anyways.

We've been discussing the MB4391 ourselves lately.

@balr0g
Copy link
Contributor

balr0g commented Aug 18, 2020

@beta-tester take a look at the nltool documentation here:
https://github.com/mamedev/mame/tree/00bff3e7030dcbc40c06dc2ac45c8d764ddbaa05/src/lib/netlist/documentation

We have a discussion channel for netlist work on the MAME Discord. You can join using this link: https://discord.gg/BkHvquH

@beta-tester
Copy link
Contributor Author

beta-tester commented Aug 18, 2020

thank you for the invitation... i just joined.

EDIT: i updated the brdrline-LTSpice.zip file in my first initial post. all the wav files wasn't playable in MAME - by mistake i used a wrong bit and sample rate.
the mixing i chaned as well, because the fall-off of the sound were too slow in my opinion.

@beta-tester
Copy link
Contributor Author

see attached the netlist of all sounds from the schematics of borderline (brdrline) i recreated:
nl_brdrline - 2020-08-31a.zip

the netlist is not optimized, because i have no clue how to do so ...
and the MB4391 is totally fake, but i think it is good enough for this netlist.

@MooglyGuy
Copy link
Contributor

This is not the correct way to submit changes to MAME; you should open a "pull request" once your changes are ready for inclusion. It should be possible to do a Google search for instructions on how to open a pull request.

Additionally, people are currently trying to help you work on optimizing it in #netlist-dev on Discord, it is fairly rude to say that you "have no clue how to do so" when people are actively trying to help you. Perhaps try to take their advice, or ask educated questions first.

@aaronsgiles
Copy link
Contributor

Hi there, I finally got the chance to wire up your work into the Sega vicdual driver. Please see #7328 and give it a try. Let me know if you notice anything incorrect about sound triggering, or if you have any information about 'Star Raker', which I also connected to the same netlist (but not 100% correct).

@beta-tester
Copy link
Contributor Author

thank you very much, that you "wired up" the netlist file.
by myself i woulden't be able to do so.

i have some suggestions in trigger input assignments, see #7332

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants