? AY-3-8910 sound chip emulator ● SmileBASIC Source

Sign In

Register
*Usernames are case-sensitive
Forgot my password

AY-3-8910 sound chip emulator

Submitted
Updated
Author
12Me21
Public Key
N433ND
Min. Compat.
All
Size
99KB
Rating
13 votes
Description (Unfinished I guess) Works on both the original and new 3DS, and with/without the sound DLC (but the quality is best on n3DS with advanced sound processing unit) (outdated videos) [url=https://www.youtube.com/watch?v=0Cvsf5CIynE]https://www.youtube.com/watch?v=0Cvsf5CIynE[/url] [url=https://www.youtube.com/watch?v=TuZcbnac3Kg]https://www.youtube.com/watch?v=TuZcbnac3Kg[/url] [url=https://www.youtube.com/watch?v=1ikgBqqFflU]https://www.youtube.com/watch?v=1ikgBqqFflU[/url] Instructions Controls: A: play B: pause Y: menu X: random song d-pad left/right: next/previous song touch screen: etc. Menu controls: d-pad up/down/left/right: select song A: confirm You can transfer songs (in .VTX format) using petit modem or whatever.
Categories
Keywords
60 Comment(s) the_squat1115 the_squat1115 Minecraft Is Awesome! I love Minecraft! Express Yourself Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Video Games I like to play video games! Hobbies Excluding the Atari 2600. That console is a 4-bit one. IAmRalsei IAmRalsei Forum Leader Hidden Achievements First Year My account is over 1 year old Website Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength There are no programmable video games systems that use 4-bit processors. Every system is at least an 8-bit. Edit:However, the graphics ARE 7-bit. Yttria Yttria Head Admin If you looked a little farther down from the forum post you plagiarized, you would find https://atariage.com/forums/topic/54061-is-the-2600-4bit-or-6bit/?do=findComment&comment=656729
When you look at "bits", it gets very misleading.
The LSDJ manual (https://www.littlesounddj.com/lsd/index.php) claims that the Gameboy sound chip has 4-bit waveforms on 4 channels--so as far as audio there certainly are "4-bit" sound chips. But "X-bit" per se is rarely meaningful, even as a style, since stylized music tagged most "8-bit" is fake and cheats and what they really meant is "sounds bad." What I've gathered from 12Me21 spamming oscilloscope visualizations is that usually you tag music with the sound chip, which I guess if you listen to real chiptune for long enough, have distinctive sounds. https://www.youtube.com/results?search_query=AY-3-8910
the_squat1115 the_squat1115 Minecraft Is Awesome! I love Minecraft! Express Yourself Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Video Games I like to play video games! Hobbies I recommend it if you want to put pretty cool 8-bit songs to your game. I highly recommend it to 8/4-bit fans! HTV04 HTV04 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Avatar Taboo I didn't change my avatar for 180 days Website Second Year My account is over 2 years old Website This doesn't really work outside of the program, though. Also 4-bit what the_squat1115 the_squat1115 Minecraft Is Awesome! I love Minecraft! Express Yourself Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Video Games I like to play video games! Hobbies The 4-bits were used by the Atari, Intellivision, ColecoVision, and other ones. IAmRalsei IAmRalsei Forum Leader Hidden Achievements First Year My account is over 1 year old Website Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength No, those consoles were 8-bit. HTV04 HTV04 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Avatar Taboo I didn't change my avatar for 180 days Website Second Year My account is over 2 years old Website How do I remove the bottom controls in order to make the progress show on one display? I’m planning to port this to SB4 and make it into a subprogram so it runs in the background. Killias12 Killias12 Beginner Programmer I'm just starting out! I'm still trying to grasp the basics. Programming Strength Pokemon Is Awesome! I love Pokemon! Express Yourself Video Games I like to play video games! Hobbies For the better menu you might want to make it that you select the file from the folder or make it like a file explorer in the style of windows or an old DOS program Killias12 Killias12 Beginner Programmer I'm just starting out! I'm still trying to grasp the basics. Programming Strength Pokemon Is Awesome! I love Pokemon! Express Yourself Video Games I like to play video games! Hobbies I like all of these songs rn 12Me21 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself More songs: 7ZVXK3LJ (254 files, 704KB) (Source: https://bulba.untergrund.net/music_e.htm [ZX Spectrum Tracker Music v5.1] Albums\May Be My Bank v5.1) I need to add a better menu now.... BraveChampion48 BraveChampion48 Avatar Taboo I didn't change my avatar for 180 days Website Minecraft Is Awesome! I love Minecraft! Express Yourself Video Games I like to play video games! Hobbies Nice library of songs! 😊 I like it! Killias12 Killias12 Beginner Programmer I'm just starting out! I'm still trying to grasp the basics. Programming Strength Pokemon Is Awesome! I love Pokemon! Express Yourself Video Games I like to play video games! Hobbies Good job on the update! I love the new bottom screen design and the new feature! 12Me21 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself I'm almost done fixing the visualizer synchronization. Now it should work sue_qwerty sue_qwerty This is so great. I want to make the program of the sound generator such as this. 12Me21 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself thanks! sue_qwerty sue_qwerty It was finally completed. Supports only PSG files. key:D3E3338S Killias12 Killias12 Beginner Programmer I'm just starting out! I'm still trying to grasp the basics. Programming Strength Pokemon Is Awesome! I love Pokemon! Express Yourself Video Games I like to play video games! Hobbies You did a great job on this! Thank goodness I kept the older versions of the sound chip emulator. 12Me21 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Wow, nice! I think the envelope might be too loud, though. It's also probably best to use a hard-coded lookup table for the volumes since it's not perfectly logarithmic: sue_qwerty sue_qwerty >Killias12 Thank you. Changed to be able to play VTX files (requires VTX.LIB). key:7328YE9Y VTX files are internally converted to PSG files. Therefore, it takes time to start playback. sue_qwerty sue_qwerty 12Me21> Thank you. I measured the AY-3-8910 and YM2149F that output the envelope. I changed the volume table to the measured value, it may be a little better. key:7328YE9Y reference images I used "(AY+YM)/2". amihart amihart This is pretty cool. I got me an AY-3-8912 recently and have been playing around with making music with it. What a coincidence. 12Me21 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Yeah, I have one but I haven't used it in a while. I've been meaning to do testing to make my emulator more accurate but I haven't gotten around to it yet. amihart amihart I'm interested in making my synth able to play those .VTX files. Is there documentation somewhere I can read for this file format? How did you figure it out? 12Me21 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself The documentation I used was: https://raw.githubusercontent.com/asashnov/libayemu/master/contrib/vtx_format.txt For decompressing the data, I ported https://raw.githubusercontent.com/asashnov/libayemu/master/src/lh5dec_old.c to SB. amihart amihart Thanks, much appreciated. 12Me21 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself And the music data itself is stored as: <the values of register 0 for every frame>, <register 1>, <resister 2>, ... <resister 13> For register 13 specifically, it should be updated whenever the value is not 255 (rather than whenever its value changes) snail_ snail_ QSP Contest 1 Contest Participant I participated in the first SmileBASIC Source QSP Contest! Helper Received for being very helpful around SmileBASIC Source Achievements Amazing Contributor Someone thinks I'm an awesome person who has done so much for the community! Achievements Syntax error in 0:30 after the selection screen (N3DS DLC) snail_ snail_ QSP Contest 1 Contest Participant I participated in the first SmileBASIC Source QSP Contest! Helper Received for being very helpful around SmileBASIC Source Achievements Amazing Contributor Someone thinks I'm an awesome person who has done so much for the community! Achievements You forgot to change the EXECs before releasing again 12Me21 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Darn lol It's fixed now 12Me21 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Graphics work without the sound dlc now (except not on o3DS yet...) IAmRalsei IAmRalsei Forum Leader Hidden Achievements First Year My account is over 1 year old Website Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Nice. >:] BraveChampion48 BraveChampion48 Avatar Taboo I didn't change my avatar for 180 days Website Minecraft Is Awesome! I love Minecraft! Express Yourself Video Games I like to play video games! Hobbies I love it! I recommend that for chiptune lovers and ZX Spectrum fans. 😋🎧🎤 HTV04 HTV04 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Avatar Taboo I didn't change my avatar for 180 days Website Second Year My account is over 2 years old Website Is it possible to incorporate this into a game? 12Me21 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself technically maybe yes, but it's probably not a good idea I wonder how hard it would be to convert these songs to MML.... HTV04 HTV04 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Avatar Taboo I didn't change my avatar for 180 days Website Second Year My account is over 2 years old Website How could I put it in a game? 12Me21 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself In its current state that's not really possible, because it basically runs constantly and there isn't anywhere to put your game code where it would execute at a consistent speed HTV04 HTV04 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Avatar Taboo I didn't change my avatar for 180 days Website Second Year My account is over 2 years old Website Okay. I hope that in a future update this will be possible, though. HTV04 HTV04 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Avatar Taboo I didn't change my avatar for 180 days Website Second Year My account is over 2 years old Website Would it be possible to recreate an NES sound chip (like 2A03)? 12Me21 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself 5 It might be possible, but probably not at decent quality. Killias12 Killias12 Beginner Programmer I'm just starting out! I'm still trying to grasp the basics. Programming Strength Pokemon Is Awesome! I love Pokemon! Express Yourself Video Games I like to play video games! Hobbies The most recent update is great and the compression is so good because I tried something similar but it is so horrible that it made my files smaller by just 1 kb so the compression you used is great! Your program is great! 12Me21 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Switched from .PSG to .VTX, much smaller file sizes now you can probably send songs with petit modem in a reasonable amount of time also added progress bar and you can use the touch screen to skip to different parts of the song (might be a bit slow) also hopefully I can make the compression algorithm much faster, since I just ported it from C and it's not really optimal in SB. 12Me21 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself I finally finished porting the lh-5 compression decoder to SB, so I can use .vtx files instead of .psg vtx is a lot smaller (one song was 7KB instead of 126KB) and stores information like the song title, author, etc. IAmRalsei IAmRalsei Forum Leader Hidden Achievements First Year My account is over 1 year old Website Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength the last video on the page is unavailable. 12Me21 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself hmm what if I... IAmRalsei IAmRalsei Forum Leader Hidden Achievements First Year My account is over 1 year old Website Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength fix it 2 days late? Killias12 Killias12 Beginner Programmer I'm just starting out! I'm still trying to grasp the basics. Programming Strength Pokemon Is Awesome! I love Pokemon! Express Yourself Video Games I like to play video games! Hobbies Hey in the latest update I noticed on 0:14 there is a load command for a song that doesn't exist. Was that a planned song? I'm just curious but I do LOVE Star trip! Keep up the good work! 12Me21 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself oh, I guess I forgot to include that one
1 2