? 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
11 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
52 Comment(s) 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 spaceturtles spaceturtles Video Games I like to play video games! Hobbies Avatar Block I didn't change my avatar for 30 days. Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Do you plan to emulate other chips? MochaProbably MochaProbably Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Night Person I like the quiet night and sleep late. Express Yourself Drawing I like to draw! Hobbies Please emulate Cool Ranch Dorito’s. *laugh track* haha funny joke xD *seinfeld* spaceturtles spaceturtles Video Games I like to play video games! Hobbies Avatar Block I didn't change my avatar for 30 days. Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength nooo emulate lays plain because they're much better 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 i think there should be a cheddar sun chips emulator Aris_A Aris_A Beginner Programmer I'm just starting out! I'm still trying to grasp the basics. Programming Strength Night Person I like the quiet night and sleep late. Express Yourself Yeah I'm on the old 3DS without DLC. 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 That update fixed the issue. I love this program especially since I think the AY-3-8910 is very underrated when it comes to sound hardware. 1 2