07 March 2017, 00:21 | #1 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
How to grab raw audio
Hi Toni, how can i grab audio *before* filter and conversion/interpolation to host?
In 'option' there is a flag to save .wav excluding filter but the saving is only in standard format.. My need is raw sample (16 bit, even L/R mixed and volume adjusted) in 1/(amiga period) real frequency. (i know i know, is a strange request ) |
10 March 2017, 17:23 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Try "sample ripper". It saves all Paula DMA played samples as wave files. (If you use DMA mode).
(Why?) |
10 March 2017, 18:41 | #3 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Hi Toni, I'm trying a not-DMA copper player with a fast sample rate.
But what about changing *volume* even with the copper? I need to know which waveform is real time generated.. (more on this if someone interested but my goal was better resolution with only one voice). What's the formula that calculate sample value for the host? Suppose a 16 bit signed host value (and exclude all mixing). It's something like amiga_sample/64*amiga_volume*256? Thanks! |
10 March 2017, 19:11 | #4 |
Posts: n/a
|
Hi ross, have you really got the copper driving the audio? what sample rate can you get? one voice is fine, do you have any more info on this? thanks. I've been using the Vbl to send quantums of audio to paula, getting realtime waveforms, but using the dma to actually play the sample - streaming the memory basically, but this sounds much better...
|
10 March 2017, 19:20 | #5 | |||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Quote:
Quote:
Quote:
|
|||
10 March 2017, 22:14 | #6 | |||
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Quote:
How to switch-off interpolations? Quote:
With a period of 128 (maxvol*2), PAL freq. 27710, we have two complete and regular sequence; as a bonus is a frequency replicable with DMA to compare If I sincronize copper for [startcycle:sample*2/volume|start+128:volume|start+256:sample*2/volume and so on] in teory we can have a working player... Quote:
This give me 4856 different sample value (>12bit!) with a single audio channel and the great property of being 'dense' on small value and 'relaxed' in high value. More dynamics and better for ear (and for compressor based on quantised table!). Probably this is only a proof of concept, the copper is really difficult to use for synced video effect in this situation.. but if I find the time I try something. I'm totally off-road? Thanks Toni! |
|||
10 March 2017, 22:35 | #7 | |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Quote:
This give You a frequency of (3546895/227*2)Hz -> 31,250KHz in PAL machine. You can use more sample per line, but warning!, if You use <64 periods -> >55,420 kHz the PWM volume cycle is broken (You have to use vol=64). [Toni you can confirm this?] Bye! |
|
10 March 2017, 22:39 | #8 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Sound panel interpolation disabled, filter always off, stereo separation 100%, channel mode 4 channels (=no paula 4 ch -> 2ch mixing). Resampling of course can't be disabled (not really possible to save wave file that has variable frequency)
|
10 March 2017, 22:52 | #9 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Exporting raw audio on a PC for Amiga | pulselooper | Amiga scene | 11 | 22 September 2010 20:35 |
How to grab a .device from RAM? | vulture | request.Other | 2 | 11 March 2010 21:22 |
how to grab screen of AMOS programs... | HexeH | support.Apps | 2 | 11 June 2004 12:53 |
Grab It !!!!! It Is Pure History | plasmatron | Amiga scene | 3 | 15 March 2004 22:08 |
Akiko is out to grab | MethodGit | Amiga scene | 1 | 02 December 2001 23:45 |
|
|