+CyranoJ Posted September 15, 2022 Share Posted September 15, 2022 3 minutes ago, 42bs said: Would be nice, if you'd split player and demo code. Makes it easier to use in another project. I've split the previous version in RAPTOR as an object file. I will be updating the API with this version. 1 Quote Link to comment Share on other sites More sharing options...
Ericde45 Posted September 15, 2022 Author Share Posted September 15, 2022 22 minutes ago, 42bs said: The 5k RAM available is really free? Or just no code, but buffers? they are free and that can be a little bit more, as some variables are now only living in registers i don't see the point to fill buffers to play samples. may be i missed something ? Quote Link to comment Share on other sites More sharing options...
Ericde45 Posted September 15, 2022 Author Share Posted September 15, 2022 (edited) 19 minutes ago, CyranoJ said: I've split the previous version in RAPTOR as an object file. I will be updating the API with this version. please note : version lspv15.s is module replay only, no sound effects. ( only 4 channels/voices ) Edited September 15, 2022 by Ericde45 Quote Link to comment Share on other sites More sharing options...
42bs Posted September 15, 2022 Share Posted September 15, 2022 2 hours ago, Ericde45 said: they are free and that can be a little bit more, as some variables are now only living in registers i don't see the point to fill buffers to play samples. may be i missed something ? I thought, there is maybe a buffer for the mixing. But TBH I did not dive into the sources (yet). Quote Link to comment Share on other sites More sharing options...
Ericde45 Posted September 15, 2022 Author Share Posted September 15, 2022 no buffer, just a long word, 4 bytes, stored in an alternate register, for each voice, to keep 4 bytes of sample I2S does the mixing in realtime. filling a buffer, even located in DSP RAM, involves writing the buffer, and reading it again in I2S interrupt. 1 Quote Link to comment Share on other sites More sharing options...
42bs Posted September 15, 2022 Share Posted September 15, 2022 (edited) 8 minutes ago, Ericde45 said: filling a buffer, even located in DSP RAM, involves writing the buffer, and reading it again in I2S interrupt. Just guessing, if the mixing is quicker than the replay, wouldn't a double buffering (like it would be done with DMA) help save cycles? Hmm, maybe not as we have no sound DMA 😞 but it would prevent jitter effect if sometimes mixing takes to long. Edited September 15, 2022 by 42bs Quote Link to comment Share on other sites More sharing options...
Ericde45 Posted September 15, 2022 Author Share Posted September 15, 2022 i think a buffer would be better if mixing the 4 channels involves reading management values ( volume, frequency, sample location, sample length) from memory because there is not enough registers to hold them all the time. might be useful either to use DSP for other tasks that need free registers, or to mix more than 4 voices and 2 buffers of course Quote Link to comment Share on other sites More sharing options...
omf Posted February 14, 2023 Share Posted February 14, 2023 where would one get the lspconvert program that works for the jaguar implementation? the one found here https://github.com/arnaud-carre/LSPlayer does not seem to work (well for the few modules i have tried anyway) and the jag implementation git hub page does not include the convert program as all i was using lspconvert <module>.mod with no optional switches Quote Link to comment Share on other sites More sharing options...
+CyranoJ Posted February 14, 2023 Share Posted February 14, 2023 lspconvert <modname>.MOD -noinsane works. 1 Quote Link to comment Share on other sites More sharing options...
Zerosquare Posted February 14, 2023 Share Posted February 14, 2023 1 minute ago, CyranoJ said: -noinsane A very important option that should always be used when developing stuff for the Jaguar. 2 Quote Link to comment Share on other sites More sharing options...
omf Posted February 14, 2023 Share Posted February 14, 2023 7 minutes ago, CyranoJ said: lspconvert <modname>.MOD -noinsane works. Light Speed Player Converter v1.11 Fastest & Smallest AMIGA music player ever! Written by Leonard/Oxygene (@leonard_coder) Unknown option "-noinsane" Usage: LSPConvert <mod file> [-options] options: -v : verbose -insane : Generate insane mode fast replayer source code -getpos : Enable LSP_MusicGetPos function use -setpos : Enable LSP_MusicSetPos function use -nosampleoptim : preserve orginal .MOD soundbank layout -amigapreview : generate a wav from LSP data (output simulated LSP Amiga player) -nosettempo : remove $Fxx>$20 SetTempo support (for very old .mods compatiblity) Quote Link to comment Share on other sites More sharing options...
+CyranoJ Posted February 14, 2023 Share Posted February 14, 2023 I've aded LSPConvert to the JS release post. Quote Link to comment Share on other sites More sharing options...
Ericde45 Posted February 16, 2023 Author Share Posted February 16, 2023 i've added the lspconvert v 1.05, as i did the conversion while this version was the last one https://github.com/ericde45/JAG__LSP_8_channels ( by the way, 8 channels replay here ) 3 1 Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted April 10, 2023 Share Posted April 10, 2023 On 2/16/2023 at 10:14 PM, Ericde45 said: i've added the lspconvert v 1.05, as i did the conversion while this version was the last one https://github.com/ericde45/JAG__LSP_8_channels ( by the way, 8 channels replay here ) me toying with jagstudio... first I wanted to sort out mod player... just tried Virgill's Atariklang... but that sounds not like the original... any restrictions on the mod file?https://modarchive.org/index.php?request=view_by_moduleid&query=194104 Quote Link to comment Share on other sites More sharing options...
42bs Posted April 10, 2023 Share Posted April 10, 2023 1 hour ago, Heaven/TQA said: me toying with jagstudio... first I wanted to sort out mod player... just tried Virgill's Atariklang... but that sounds not like the original... any restrictions on the mod file?https://modarchive.org/index.php?request=view_by_moduleid&query=194104 I used the 4 channel version so far and did not notice any difference in the MODs I tried. Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted April 10, 2023 Share Posted April 10, 2023 (edited) 57 minutes ago, 42bs said: I used the 4 channel version so far and did not notice any difference in the MODs I tried. here most crackle... in BigP me using LSP converter 1.5 -noinsane h0ffman_eon.lsbank h0ffman_eon.lsmusic h0fman_eon.mod Edited April 10, 2023 by Heaven/TQA Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted April 10, 2023 Share Posted April 10, 2023 same on the old mod by Triace keep_da_faith.MOD keep_da_faith.lsbank keep_da_faith.lsmusic Quote Link to comment Share on other sites More sharing options...
42bs Posted April 10, 2023 Share Posted April 10, 2023 25 minutes ago, Heaven/TQA said: same on the old mod by Triace keep_da_faith.MOD 76.19 kB · 0 downloads keep_da_faith.lsbank 55.66 kB · 0 downloads keep_da_faith.lsmusic 24.41 kB · 0 downloads 8 or 4 channel? Did you try the 4 channel version? (check new_bjl) Quote Link to comment Share on other sites More sharing options...
42bs Posted April 10, 2023 Share Posted April 10, 2023 40 minutes ago, Heaven/TQA said: BigP And on real HW? The same? Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted April 10, 2023 Share Posted April 10, 2023 17 minutes ago, 42bs said: 8 or 4 channel? Did you try the 4 channel version? (check new_bjl) ? Just installed the latest Jaguar Studio nothing more and downloaded/updated the latest Jaguar ls converter Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted April 10, 2023 Share Posted April 10, 2023 17 minutes ago, 42bs said: And on real HW? The same? I have no flash cart or game drive etc but just checked in BigP Quote Link to comment Share on other sites More sharing options...
42bs Posted April 10, 2023 Share Posted April 10, 2023 55 minutes ago, Heaven/TQA said: ? Just installed the latest Jaguar Studio nothing more and downloaded/updated the latest Jaguar ls converter AFAIK, JS does not contain the latest and optimized version. Again, just try the version from new_bjl. It is easy to use. I think the MODs in JagNICCC sound correct. Quote Link to comment Share on other sites More sharing options...
Sporadic Posted April 10, 2023 Share Posted April 10, 2023 1 hour ago, Heaven/TQA said: ? Just installed the latest Jaguar Studio nothing more and downloaded/updated the latest Jaguar ls converter Try the LSPConvert.zip from this post (it's the one compatible with that JS release). https://forums.atariage.com/topic/347985-jagstudio-v111-released/ Quote Link to comment Share on other sites More sharing options...
Ericde45 Posted April 11, 2023 Author Share Posted April 11, 2023 17 hours ago, Heaven/TQA said: me toying with jagstudio... first I wanted to sort out mod player... just tried Virgill's Atariklang... but that sounds not like the original... any restrictions on the mod file?https://modarchive.org/index.php?request=view_by_moduleid&query=194104 the 8 channels version is made for 8 channels modules. that you split in 2 4 channels modules following the instructions in the readme hosted in the github : in openmpt, save 2 modules with 4 channels each on lsp, use lspconvert.exe with -nosampleoptim option keep the same sound bank the lspconvert.exe is the same as in the jagstudio release above. Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted April 11, 2023 Share Posted April 11, 2023 2 hours ago, Ericde45 said: the 8 channels version is made for 8 channels modules. that you split in 2 4 channels modules following the instructions in the readme hosted in the github : in openmpt, save 2 modules with 4 channels each on lsp, use lspconvert.exe with -nosampleoptim option keep the same sound bank the lspconvert.exe is the same as in the jagstudio release above. Maybe an improvement ticket potentially… showing while converting if it is an 4 or 8 channel source mod file? As I don’t know when I did my tests though. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.