changed rewind to be a meta parameter to pass auval. update ios build number
This commit is contained in:
parent
c89c1558e3
commit
b5dc1759b1
@ -80,7 +80,7 @@ Copyright (C) 2006-2011 Nasca Octavian Paul, Tg. Mures, Romania
|
|||||||
# License and 3rd Party Software
|
# License and 3rd Party Software
|
||||||
|
|
||||||
Released under GNU General Public License v.3 license with App Store license
|
Released under GNU General Public License v.3 license with App Store license
|
||||||
exception. The full license text is in the LICENSE and LICENSE_EXCEPTION files. Paul Nasca, Xenakios and Jesse Chappell all explicitly permitted the license exception clause.
|
exception. The full license text is in the LICENSE file. Paul Nasca, Xenakios and Jesse Chappell all explicitly permitted the license exception clause.
|
||||||
|
|
||||||
|
|
||||||
It is built using JUCE 6 (slightly modified on a public fork), I'm using the very handy tool `git-subrepo` to include the source code for my forks of those software libraries in this repository.
|
It is built using JUCE 6 (slightly modified on a public fork), I'm using the very handy tool `git-subrepo` to include the source code for my forks of those software libraries in this repository.
|
||||||
|
@ -116,7 +116,7 @@ PaulstretchpluginAudioProcessorEditor::PaulstretchpluginAudioProcessorEditor(Pau
|
|||||||
m_rewind_button->setTooltip("Return to start");
|
m_rewind_button->setTooltip("Return to start");
|
||||||
m_rewind_button->onClick = [this]()
|
m_rewind_button->onClick = [this]()
|
||||||
{
|
{
|
||||||
*processor.getBoolParameter(cpi_rewind) = true;
|
processor.setParameter( cpi_rewind, 1.0f);
|
||||||
//processor.getStretchSource()->seekPercent(processor.getStretchSource()->getPlayRange().getStart());
|
//processor.getStretchSource()->seekPercent(processor.getStretchSource()->getPlayRange().getStart());
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -199,7 +199,22 @@ m_bufferingthread("pspluginprebufferthread"), m_is_stand_alone_offline(is_stand_
|
|||||||
}
|
}
|
||||||
|
|
||||||
addParameter(new AudioParameterBool("loop_enabled0", "Loop", true)); // 60
|
addParameter(new AudioParameterBool("loop_enabled0", "Loop", true)); // 60
|
||||||
addParameter(new AudioParameterBool("rewind0", "Rewind", false)); // 61
|
|
||||||
|
//addParameter(new AudioParameterBool("rewind0", "Rewind", false)); // 61
|
||||||
|
// have to add it this way to specify rewind as a Meta parameter, so that Apple auval will pass it
|
||||||
|
addParameter(new AudioProcessorValueTreeState::Parameter ("rewind0",
|
||||||
|
"Rewind",
|
||||||
|
"",
|
||||||
|
NormalisableRange<float>(0.0f, 1.0f),
|
||||||
|
0.0f, // float defaultParameterValue,
|
||||||
|
nullptr, //std::function<String (float)> valueToTextFunction,
|
||||||
|
nullptr, // std::function<float (const String&)> textToValueFunction,
|
||||||
|
true, // bool isMetaParameter,
|
||||||
|
false, // bool isAutomatableParameter,
|
||||||
|
true, // bool isDiscrete,
|
||||||
|
AudioProcessorParameter::Category::genericParameter, // AudioProcessorParameter::Category parameterCategory,
|
||||||
|
true));//bool isBoolean));
|
||||||
|
|
||||||
auto dprate_convertFrom0To1Func = [](float rangemin, float rangemax, float value)
|
auto dprate_convertFrom0To1Func = [](float rangemin, float rangemax, float value)
|
||||||
{
|
{
|
||||||
if (value < 0.5f)
|
if (value < 0.5f)
|
||||||
@ -772,7 +787,7 @@ void PaulstretchpluginAudioProcessor::prepareToPlay(double sampleRate, int sampl
|
|||||||
m_cur_sr = sampleRate;
|
m_cur_sr = sampleRate;
|
||||||
m_curmaxblocksize = samplesPerBlock;
|
m_curmaxblocksize = samplesPerBlock;
|
||||||
m_input_buffer.setSize(getTotalNumInputChannels(), samplesPerBlock);
|
m_input_buffer.setSize(getTotalNumInputChannels(), samplesPerBlock);
|
||||||
*getBoolParameter(cpi_rewind) = false;
|
setParameter(cpi_rewind, 0.0f);
|
||||||
m_lastrewind = false;
|
m_lastrewind = false;
|
||||||
int numoutchans = *m_outchansparam;
|
int numoutchans = *m_outchansparam;
|
||||||
if (numoutchans != m_cur_num_out_chans)
|
if (numoutchans != m_cur_num_out_chans)
|
||||||
@ -1042,12 +1057,12 @@ void PaulstretchpluginAudioProcessor::processBlock (AudioSampleBuffer& buffer, M
|
|||||||
|
|
||||||
if (m_stretch_source->isLoopEnabled() != *getBoolParameter(cpi_looping_enabled))
|
if (m_stretch_source->isLoopEnabled() != *getBoolParameter(cpi_looping_enabled))
|
||||||
m_stretch_source->setLoopingEnabled(*getBoolParameter(cpi_looping_enabled));
|
m_stretch_source->setLoopingEnabled(*getBoolParameter(cpi_looping_enabled));
|
||||||
bool rew = *getBoolParameter(cpi_rewind);
|
bool rew = getParameter(cpi_rewind) > 0.0f;
|
||||||
if (rew != m_lastrewind)
|
if (rew != m_lastrewind)
|
||||||
{
|
{
|
||||||
if (rew == true)
|
if (rew == true)
|
||||||
{
|
{
|
||||||
*getBoolParameter(cpi_rewind) = false;
|
setParameter(cpi_rewind, 0.0f);
|
||||||
m_stretch_source->seekPercent(m_stretch_source->getPlayRange().getStart());
|
m_stretch_source->seekPercent(m_stretch_source->getPlayRange().getStart());
|
||||||
}
|
}
|
||||||
m_lastrewind = rew;
|
m_lastrewind = rew;
|
||||||
|
@ -88,7 +88,7 @@
|
|||||||
</MAINGROUP>
|
</MAINGROUP>
|
||||||
<EXPORTFORMATS>
|
<EXPORTFORMATS>
|
||||||
<XCODE_IPHONE targetFolder="Builds/iOS" iosDevelopmentTeamID="XCS435894D" microphonePermissionNeeded="1"
|
<XCODE_IPHONE targetFolder="Builds/iOS" iosDevelopmentTeamID="XCS435894D" microphonePermissionNeeded="1"
|
||||||
iosBackgroundAudio="1" buildNumber="106" iosScreenOrientation="UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight,UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown"
|
iosBackgroundAudio="1" buildNumber="107" iosScreenOrientation="UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight,UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown"
|
||||||
iPadScreenOrientation="UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight,UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown"
|
iPadScreenOrientation="UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight,UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown"
|
||||||
UIStatusBarHidden="0" UIRequiresFullScreen="0" customPList="<plist version="1.0"> <dict> <key>ITSAppUsesNonExemptEncryption</key> 	<false/> <key>UIStatusBarHidden</key> 	<false/> 	<key>UIStatusBarStyle</key> 	<string>UIStatusBarStyleLightContent</string> <key>UIViewControllerBasedStatusBarAppearance</key> <false/> <key>NSLocalNetworkUsageDescription</key> 	<string>DrumJamPad uses networking to communicate with other local services</string> <key>CFBundleDocumentTypes</key> 	<array> 		<dict> 			<key>CFBundleTypeIconFiles</key> 			<array/> 			<key>CFBundleTypeName</key> 			<string>Audio File</string> 			<key>CFBundleTypeRole</key> 			<string>Viewer</string> 			<key>LSHandlerRank</key> 			<string>Owner</string> 			<key>LSItemContentTypes</key> 			<array> 				<string>com.microsoft.waveform-audio</string> 				<string>public.aiff-audio</string> 				<string>com.apple.coreaudio-format</string> 				<string>public.mpeg-4-audio</string> 				<string>public.mp3</string> 			</array> 		</dict> 		</array> </dict> </plist>"
|
UIStatusBarHidden="0" UIRequiresFullScreen="0" customPList="<plist version="1.0"> <dict> <key>ITSAppUsesNonExemptEncryption</key> 	<false/> <key>UIStatusBarHidden</key> 	<false/> 	<key>UIStatusBarStyle</key> 	<string>UIStatusBarStyleLightContent</string> <key>UIViewControllerBasedStatusBarAppearance</key> <false/> <key>NSLocalNetworkUsageDescription</key> 	<string>DrumJamPad uses networking to communicate with other local services</string> <key>CFBundleDocumentTypes</key> 	<array> 		<dict> 			<key>CFBundleTypeIconFiles</key> 			<array/> 			<key>CFBundleTypeName</key> 			<string>Audio File</string> 			<key>CFBundleTypeRole</key> 			<string>Viewer</string> 			<key>LSHandlerRank</key> 			<string>Owner</string> 			<key>LSItemContentTypes</key> 			<array> 				<string>com.microsoft.waveform-audio</string> 				<string>public.aiff-audio</string> 				<string>com.apple.coreaudio-format</string> 				<string>public.mpeg-4-audio</string> 				<string>public.mp3</string> 			</array> 		</dict> 		</array> </dict> </plist>"
|
||||||
UIFileSharingEnabled="1" UISupportsDocumentBrowser="1" extraDefs="PS_USE_VDSP_FFT=1"
|
UIFileSharingEnabled="1" UISupportsDocumentBrowser="1" extraDefs="PS_USE_VDSP_FFT=1"
|
||||||
|
Loading…
Reference in New Issue
Block a user