Protrekkr with PSP replay routine

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
hitchhikr
Posts: 83
Joined: Sat Feb 04, 2006 3:33 pm

Protrekkr with PSP replay routine

Post by hitchhikr »

I recently (today as a matter of fact ;D) made a psp replay routine for my softsynth tracker program available here:

http://protrekkr.googlecode.com/

The tracker is tailored for much faster machines so this is more an experiment than anything else.

If you intend to use it to create music for the PSP you'd better go very easy on the dsp effects and channels polyphony, especially the flanger fx is a really heavy toll because the media engine doesn't have any integrated hardware sin/cos or pow instructions.

The replay routine of the tracker uses the 2nd processor so the occupation time of the main CPU is really minimal.

Samples depacking with the PSP codecs isn't implemented yet (so samples packing should be set to "none" in that case).

The tracker itself is open source and available on Windows, Linux and Mac OS X.

Here is a quick little test using one of the 303 unit (tested on 1.5 and 3.40oe, older consoles):

http://pagesperso-orange.fr/franck.char ... k_test.zip

Have a nice day,
f.
frankoid
Posts: 1
Joined: Sun Feb 15, 2009 8:32 pm

Post by frankoid »

Good stuff! The replay routine works on my fat PSP running 5.00 M33-6 with 1.50 addon.

Protrekkr looks nice too, it might tempt me back into making tracker music :)
hitchhikr
Posts: 83
Joined: Sat Feb 04, 2006 3:33 pm

Post by hitchhikr »

v1.90 released:

Code: Select all

- Added a scrollbar beside patterns.
- The tracker can now load all these .wav file formats (mono or stereo) :
  - 8-bit integer.
  - 12-bit integer.
  - 16-bit integer.
  - 24-bit integer.
  - 32-bit integer.
  - 32-bit float.
  - 64-bit float.
- Added an option to render a module as 32 bit (float) .wav file.
- Inverted the right and left mouse buttons functions in patterns.
- Fixed an issue with the loop editor.
- Patterns now automatically scroll when using the right mouse button
  (also work when selecting a block).
- Added multi notes channels, they can be used to trigger several notes /
  track at the same time in order to make chords or to play several
  instruments in the same track and route them to the same row effect / 
  dsp effect (thus allowing to considerably reduce the dsp usage
  and also introduce some modularity which could be useful,
  especially for the PSP replay).
  Note that these channels are shared with the polyphony ones.
- Improved volume ramping.
- Keys repeat was disabled when editing note columns.
- Added LCTRL+TAB and LCTRL+LSHIFT+TAB to cycle through
  the notes of a track.
- Added LALT+A and LALT+LSHIFT+A to select one
  or all notes/instruments columns of a track.
- Modified the record function (for a better one, i hope).
- Some edition commands weren't working on last track.
- Midi channels polyphony implemented.
- Improved Mac OS X keyboard handling a bit.
- Compressor wasn't set right when loading .ptp files.
User avatar
jean
Posts: 489
Joined: Sat Jan 05, 2008 2:44 am

Post by jean »

Does this handle MIDI in/out??
hitchhikr
Posts: 83
Joined: Sat Feb 04, 2006 3:33 pm

Post by hitchhikr »

Only in the Windows version so far.
User avatar
jean
Posts: 489
Joined: Sat Jan 05, 2008 2:44 am

Post by jean »

uhm....i wrote MIDI libraries (at least an attempt to) for PSP...it could be interesting to apply them on this project....
hitchhikr
Posts: 83
Joined: Sat Feb 04, 2006 3:33 pm

Post by hitchhikr »

The tracker isn't available on the PSP, only the replay routine is and doesn't use midi.

I just updated to v1.90d and added midi support for Linux and Mac OS X.
User avatar
jean
Posts: 489
Joined: Sat Jan 05, 2008 2:44 am

Post by jean »

oh...well, my apologizes, i should have read with more attention!
hitchhikr
Posts: 83
Joined: Sat Feb 04, 2006 3:33 pm

Post by hitchhikr »

v1.93:

- Resampler improved, should produce much less aliasing.
- Fixed a small issue involving the cache memory in the PSP replay.
- Added an option to show or hide the bottom panel in order to display more patterns rows (Shortcut: LSHIFT+ESCAPE to toggle the view)
- Left shift wasn't active while editing data columns of patterns to enter digits.
- Added global lists for instruments and synths, that should improve the ergonomy a bit.
- Samples weren't re-initiliazed correctly after a "New Module" command was issued.
- Fixed a bug in the 2nd oscillator of the synth core when using custom waveforms.
- Fixed the rand commands in the synth tab.
- Midi controller modification command (0x90) wasn't accessible anymore in panning row, fixed.
- Fixed an issue that could occur with rand() function under linux.
- Introduced zoomed tracks; Each track can be zoomed independantly and will be displayed with a bigger font.
- Track volume wasn't correctly re-initialized when only instrument column was filled without any note.
- Midi notes off command was broken.
- Effect 0xAxx (Set Random Cutoff) slightly modified, the xx value is now the amplitude of the calculated random value from 0 to 0xff.
- Implemented midi in/out for Linux and Mac OS X.
- Fixed a bug in the recording mode.
- Recording now starts at the current pattern line instead of restarting from it's beginning.
- An extra note was pasted after names input when editing mode was turned on.
hitchhikr
Posts: 83
Joined: Sat Feb 04, 2006 3:33 pm

Post by hitchhikr »

v1.94:

- Fixed a nasty memory leak in the PSP replay (also only necessary data are now allocated).
- Space char wasn't available during names input.
- Added effects 0x41 and 0x42 to control the volumes of the 2 303 units.
- Added effect 0x1c: set global volume.
- Start & stop song cleaned up (clicks should be gone or at least reduced).
- Fixed a small issue regarding latency in the Mac OS X version.
Last edited by hitchhikr on Wed Feb 25, 2009 10:38 am, edited 1 time in total.
hitchhikr
Posts: 83
Joined: Sat Feb 04, 2006 3:33 pm

Post by hitchhikr »

I tried to beef the small example up a bit to see how far it could go, it looks like the reverb can be used too:

http://pagesperso-orange.fr/franck.char ... reverb.zip
hitchhikr
Posts: 83
Joined: Sat Feb 04, 2006 3:33 pm

Post by hitchhikr »

Huge update since last time:

Code: Select all

v1.97b:

- Modified the behaviour of the ring mod stereo filter.
- Added a few more constants for the replay.
- Song name wasn't displayed in the plugin infos.
- Fixed a bug in the flanger (early cut).
- Right mouse button on the "Lock / All" button to locked/unlock
  all instruments at once.
- More granularity in constants generation (potentially smaller replay).
- Mp3 samples packing bitrate is now selectable between:
  64, 88, 96, 128, 160 & 192 kbps.
- LSHIFT+I: Show instruments list / LSHIFT+S: Show synths list.
- Forgot to include LameACM.inf in the windows distribution
  (without that file the codec couldn't be installed
   and samples using mp3 packing scheme weren't packed at all, shame).
- Added At3 samples packing scheme (Windows users need to install
  the atrac3 codec located in the install directory in order to pack samples).
  Rates are: 66, 105 & 132 kbps (depacker not yet implemented on PSP, tho).
- Added the ability to select a range of positions for songs rendering to .wav.
- The nasty click occuring when loading a module while another one
  was still playing should be gone.
- Added mouse wheel navigation support in samples editor.
- Cubic interpolation can now be disabled
  (should increase speed a bit but at the expense of lower quality).
- Added ADPCM packing scheme.
- Added an option to pack & lock instruments and use them directly
  in the tracker. (unpacked versions of the instruments are kept safe
  and are saved in .ptk files as usual).
  These instruments can't be modified in the samples editor.
  This should come in handy to finetune a module prior to a .ptp export.
- Fixed a bug with TrueSpeech packed samples.
- Introduced small tracks
  (right click on the 3rd icon of a track or globally via the sequencer).
- Added 3 commands in the sequencer to zoom all tracks at once.
- Filesizes are now displayed beside names.
- Added an instruments remapper in the sequencer tab.
- Added some colors for the notes
  (also changed the font so patterns should be a bit easier to read now).
- Added volume ramping for the 303 units.
- The 2nd 303 unit wasn't triggered correctly.
Post Reply