Author Topic: [tool] WAV melody to PSG conversion  (Read 250 times)

0 Members and 1 Guest are viewing this topic.

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 906
  • Country: fr
    • urban exploration
  • Liked: 1237
  • Likes Given: 764
[tool] WAV melody to PSG conversion
« on: 17:35, 09 January 21 »
inspired from an MSX tool, here is a new tool to convert melody/speech/instrument to PSG frequencies
the tool use a WAV as input, you may select the number of channel, replay frequency, ...
it is possible to create a WAV preview of what you will get on a real CPC
the default output is a listing of register in CSV format, you may choose DMA-list to create an optimised almost ready to use DMA-list
joined to this thread a DSK for Amstrad Plus with some Street Fighter 2 sounds (17K of DMA for ONE MINUTE of speech, cries, ...)
i hope @Targhan will allow some integration with Arkos Tracker for SFX in games with music  :P
reference: https://msx.org/forum/development/cross-development/convert-wavmp3-psg-melody?page=0
sources in github: https://github.com/EdouardBERGE/wav2ay
use RASM, the best assembler ever made :p

I will survive

Offline gurneyh

  • CPC464
  • **
  • Posts: 25
  • Country: fr
  • Liked: 79
  • Likes Given: 110
Re: [tool] WAV melody to PSG conversion
« Reply #1 on: 18:40, 09 January 21 »
Great tool, great toy ! :)

Some tests on CPC old
https://rasmlive.amstrad.info/edit/zNAikaHwbFyp9yAe4
https://rasmlive.amstrad.info/edit/aqXEnH33qYPqmrKmw

click on the emulator window to play the sound.
« Last Edit: 19:20, 09 January 21 by gurneyh »

Offline Targhan

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.215
  • Country: fr
  • Liked: 1181
  • Likes Given: 170
Re: [tool] WAV melody to PSG conversion
« Reply #2 on: 20:12, 09 January 21 »
Very interesting! This could replace some samples in music, or create a new kind of SFX, with the same amount of CPU (but slighly more memory).
I could integrate this to AT2, but not short-term (unless some people urge me to).
Targhan/Arkos

Arkos Tracker 2.0.0 now released! - Follow the news on Twitter!
Disark - A cross-platform Z80 disassembler/source converter
FDC Tool 1.1 - Read Amsdos files without the system

Imperial Mahjong
Orion Prime

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 2.190
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
  • Liked: 1004
  • Likes Given: 2449
Re: [tool] WAV melody to PSG conversion
« Reply #3 on: 21:29, 09 January 21 »
Thanks a lot! Saves me the work of doing it, had a similar idea.  :laugh:
http://futureos.de --> Get the revolutionary FutureOS (Recent update: 2020.12.29)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2019.08.28)

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 906
  • Country: fr
    • urban exploration
  • Liked: 1237
  • Likes Given: 764
Re: [tool] WAV melody to PSG conversion
« Reply #4 on: 23:07, 09 January 21 »
Very interesting! This could replace some samples in music, or create a new kind of SFX, with the same amount of CPU (but slighly more memory).
I could integrate this to AT2, but not short-term (unless some people urge me to).

use RASM, the best assembler ever made :p

I will survive