Jump to content


makewav with direct audio output

supercharger cuttlecart

No replies to this topic

#1 SvOlli OFFLINE  


    Chopper Commander

  • 215 posts
  • Location:Hannover, Germany

Posted Fri Jun 20, 2014 12:47 AM

Hi there!


Since I'm the owner of a Supercharger for a few weeks, I took the opportunity to add a feature that I'm missing to the makewav tool, used for creating the audio output: direct soundcard support.


You can now run:

makewav -l

to get a list of available sound devices, that looks like that on my linux machine:

device #0: HDA Intel PCH: ALC892 Analog (hw:0,0)
device #1: HDA Intel PCH: ALC892 Digital (hw:0,1)
device #2: HDA Intel PCH: ALC892 Analog (hw:0,2)
device #3: HDA Intel PCH: HDMI 0 (hw:0,3)
device #4: HDA Intel PCH: HDMI 1 (hw:0,7)
device #5: USB PnP Sound Device: USB Audio (hw:1,0)
device #6: sysdefault
device #7: front
device #8: surround40
device #9: surround41
device #10: surround50
device #11: surround51
device #12: surround71
device #13: iec958
device #14: spdif
device #15: hdmi
device #16: pulse
device #17: dmix
device #18: default

To upload data directly to the sound card, there's the "-a" option.

makewav -a cart.bin

which will output the audio to the default device.

makewav -a"USB PnP Sound Device: USB Audio (hw:1,0)" cart.bin

Will output the audio to my USB sound card which is attached to the Supercharger.

Since I'm lazy at typing, you can *append* a star at the end of the name for substring match, so in my case it's

makewav -aUSB* cart.bin

If there are more than one matching, the first match of the list will be used.

I'm also lazy at coding, so that's why the star only works at the end of the device name.


If switching to Supercharger mode via "-ts" also the default speed for audio creation will be changed from 1 to 0, because 1 didn't work with my Supercharger.


Have fun,


Attached Files

Also tagged with one or more of these keywords: supercharger, cuttlecart

0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users